<view class="content"> <view wx:for="{{list}}" class="list">{{item.name}} <text bindtap="open" data-src='{{item.url}}'>查看文件</text> </view> </view>