1234567891011121314151617181920212223242526272829303132333435 |
- <cu-custom bgColor="bg-gradual-blue" isBack>
- <view slot="backText">返回</view>
- <view slot="content">附件</view>
- </cu-custom>
- <view class="section">
- <view wx:for="{{value}}" wx:key="index" class="item margin-bottom-lg">
- <view class="cu-bar bg-white solid-bottom">
- <view class='action'>
- <text class='cuIcon-titles text-orange '></text> {{item.name}}
- </view>
- </view>
- <!-- 图片列 -->
- <view bindtap="seeFunc" data-url="{{it.value}}" wx:for="{{item.value}}" wx:for-item="it" wx:for-index="ind"
- wx:key="ind" class="bg-img bg-mask padding-tb-xl {{ind==0 ?'' : 'margin-top'}}"
- style="background-image: url({{it.value}});background-size: auto 414rpx;height: 414rpx;">
- <view class="padding-xl text-white">
- <view wx:if="{{it.name}}" class="padding-xs text-xl">
- {{it.name}}
- </view>
- <view wx:if="{{it.meg}}" class="padding-xs">
- {{it.meg}}
- </view>
- <view class="btns text-right">
- <button data-item="{{it}}" catchtap="updateFunc" class="cu-btn rount bg-blue">{{it.novalue ? '上传' :
- "修改"}}</button>
- </view>
- </view>
- </view>
- <!-- 添加 -->
- <view bindtap="addFunc" data-index="{{index}}" wx:if="{{ !item.maxlen}}" class="margin-top bg-white text-center"
- style="height: 414rpx;">
- <image style="width: 100px;height: 414rpx;" mode="aspectFit" src="{{uploadImg}}" />
- </view>
- </view>
- </view>
|