agreement-edit.wxml 3.3 KB
<view style="{{(vuex_theme)}}" class="data-v-237a7dca"><view class="bg data-v-237a7dca"><view class="divide_line data-v-237a7dca"></view><view class="header data-v-237a7dca"><input class="title data-v-237a7dca" type="{{type}}" placeholder="请输入标题" maxlength="30" data-event-opts="{{[['blur',[['getTitle',['$event']]]],['input',[['__set_model',['','title','$event',[]]]]]]}}" value="{{title}}" bindblur="__e" bindinput="__e"/><block wx:if="{{false}}"><image class="edit_img data-v-237a7dca" src="/static/img/internship/edit.png"></image></block></view><block wx:if="{{picList.length>0}}"><view class="content data-v-237a7dca"><view class="divide_line data-v-237a7dca"></view><view class="text_gray_28 data-v-237a7dca" style="margin-top:28rpx;">照片附件(最多可上传15张)</view><u-grid vue-id="4bd4396a-1" col="{{3}}" border="{{false}}" class="data-v-237a7dca" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{picList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('4bd4396a-2-'+index)+','+('4bd4396a-1')}}" class="data-v-237a7dca" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{status=='edit'}}"><image class="delete data-v-237a7dca" src="/static/img/common/delete.png" data-event-opts="{{[['tap',[['deleteImg',[index]]]]]}}" bindtap="__e"></image></block><u-image vue-id="{{('4bd4396a-3-'+index)+','+('4bd4396a-2-'+index)}}" height="{{216}}" width="{{216}}" src="{{item}}" class="data-v-237a7dca" bind:__l="__l"></u-image></u-grid-item></block></u-grid></view></block><block wx:if="{{fileList.length>0}}"><view class="content data-v-237a7dca"><view class="divide_line data-v-237a7dca"></view><view class="text_gray_28 data-v-237a7dca" style="margin-top:38rpx;">PDF附件(最多可上传3个)</view><block wx:for="{{fileList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item,index})}}" class="pdffj data-v-237a7dca" bindtap="__e"><image class="img data-v-237a7dca" src="/static/img/common/link.png"></image><text class="look data-v-237a7dca">{{item.name?item.name:item.filename}}</text><block wx:if="{{status=='edit'}}"><image style="margin-left:7px;width:14px;height:14px;" src="https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/excellet-working/treadTree.png" data-event-opts="{{[['tap',[['deleteModal',[index]]]]]}}" catchtap="__e" class="data-v-237a7dca"></image></block></view></block></view></block><block wx:if="{{status=='edit'}}"><view style="height:20rpx;background-color:#f7f7f7;" class="data-v-237a7dca"></view></block><block wx:if="{{status=='edit'}}"><view data-event-opts="{{[['tap',[['addPhotos',['$event']]]]]}}" class="add_info data-v-237a7dca" bindtap="__e">+ 添加附件</view></block></view><view style="height:200px;" class="data-v-237a7dca"></view><view class="footer data-v-237a7dca"><c-button vue-id="4bd4396a-4" type="confirm" shape="circle" disabled="{{false}}" text="{{confirmText}}" data-event-opts="{{[['^click',[['confirm']]]]}}" bind:click="__e" class="data-v-237a7dca" bind:__l="__l"></c-button></view><u-action-sheet vue-id="4bd4396a-5" list="{{list}}" value="{{show}}" data-event-opts="{{[['^click',[['chooseImg']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-237a7dca" bind:__l="__l"></u-action-sheet></view>