|
@@ -22,15 +22,18 @@
|
|
|
</view>
|
|
|
<view style="width: 702rpx;height: 2rpx;margin:0 auto; background-color: rgba(151,151,151, .1); margin-bottom: 18rpx;"></view>
|
|
|
<!-- 更多推荐 -->
|
|
|
- <My_CenterTheTitle title='附件查看'></My_CenterTheTitle>
|
|
|
- <view class="filesList">
|
|
|
- <navigator url="#" class="files-item" wx:for="{{defaultFiles}}" data-index="{{index}}" catchtap="downLoadFiles">
|
|
|
- <view class="files-item-img">
|
|
|
- <image src="/static/annunciate/icon-file.png"></image>
|
|
|
- </view>
|
|
|
- <view class="files-item-name u-line-1">{{item.postfix}}附件<image src="/static/annunciate/icon-downLoad.png"></image>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
- </view>
|
|
|
+ <block wx:if="{{defaultFiles.length>=1}}">
|
|
|
+ <My_CenterTheTitle title='附件查看'></My_CenterTheTitle>
|
|
|
+ <view class="filesList">
|
|
|
+ <navigator url="#" class="files-item" wx:for="{{defaultFiles}}" data-index="{{index}}" catchtap="downLoadFiles">
|
|
|
+ <view class="files-item-img">
|
|
|
+ <image src="/static/annunciate/icon-file.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="files-item-name u-line-1">{{item.postfix}}附件<image src="/static/annunciate/icon-downLoad.png"></image>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <view style="height: 40px;"></view>
|
|
|
</scroll-view>
|
|
|
</view>
|