通过wx:if 控制wx:for 循环显示的条数 wx:if="{ {index<3}}" <view wx:for="{ {noticeList}}" wx:key="index" catchtap="checkUrl" data-type="webview" data-webview="{ {item.url}}" wx: