<view><image class="background" src="/static/icon/background-from.png" mode></image><view class="project-content"><u-form class="vue-ref" vue-id="1acab0be-1" model="{{form}}" rules="{{rules}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="vue-ref" vue-id="{{('1acab0be-2')+','+('1acab0be-1')}}" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><view>备注</view><u-input bind:input="__e" vue-id="{{('1acab0be-3')+','+('1acab0be-2')}}" disabled="{{type==1}}" type="textarea" placeholder="请输入警示柱信息" value="{{form.remarks}}" data-event-opts="{{[['^input',[['__set_model',['$0','remarks','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('1acab0be-4')+','+('1acab0be-1')}}" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><view>警示柱照片</view><view style="display:flex;flex-wrap:wrap;margin:0 55rpx;"><block wx:if="{{type!=1}}"><image style="width:190rpx;height:190rpx;margin:0 12rpx;" src="/static/icon/chooseimg.png" mode data-event-opts="{{[['tap',[['choose']]]]}}" bindtap="__e"></image></block><block wx:for="{{imgymxs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="position:relative;"><block wx:if="{{item.type=='image'}}"><view><image style="width:190rpx;height:190rpx;margin:0 20rpx;" src="{{item.url}}" mode data-event-opts="{{[['tap',[['showPhoto',[index]]]]]}}" bindtap="__e"></image></view></block><block wx:else><view><video style="width:190rpx;height:190rpx;margin:0 20rpx;" src="{{item}}"></video></view></block><view data-event-opts="{{[['tap',[['remove',[index]]]]]}}" style="position:absolute;top:0;right:14rpx;border-radius:50%;background-color:#FF0000;" bindtap="__e"><block wx:if="{{type!=1}}"><u-icon vue-id="{{('1acab0be-5-'+index)+','+('1acab0be-4')}}" name="close" color="#FFFFFF" size="35" bind:__l="__l"></u-icon></block></view></view></block></view></u-form-item></u-form><block wx:if="{{type!=1}}"><u-button style="margin:500rpx 155rpx 0;" vue-id="1acab0be-6" type="primary" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认上传</u-button></block></view></view>