add.wxml 4.8 KB

1
  1. <view class="real-name data-v-83f3f3cc"><view class="item data-v-83f3f3cc"><view class="label data-v-83f3f3cc">活动标题</view><view data-event-opts="{{[['tap',[['goEdit',['活动标题',1]]]]]}}" class="right data-v-83f3f3cc" bindtap="__e">{{''+(form.title?form.title:'去填写')+''}}<u-icon vue-id="02bb3e2c-1" name="arrow-right" size="20" margin-left="20" class="data-v-83f3f3cc" bind:__l="__l"></u-icon></view></view><view class="item data-v-83f3f3cc"><view class="label data-v-83f3f3cc">封面图</view><view data-event-opts="{{[['tap',[['goEdit',['封面图',2]]]]]}}" class="right data-v-83f3f3cc" bindtap="__e">{{''+(form.cover?'已上传':'去上传')+''}}<u-icon vue-id="02bb3e2c-2" name="arrow-right" size="20" margin-left="20" class="data-v-83f3f3cc" bind:__l="__l"></u-icon></view></view><view class="item data-v-83f3f3cc"><view class="label data-v-83f3f3cc">活动内容</view><view data-event-opts="{{[['tap',[['goEdit',['活动内容',3]]]]]}}" class="right data-v-83f3f3cc" bindtap="__e">{{''+(form.body?'已填写':'点击填写')+''}}<u-icon vue-id="02bb3e2c-3" name="arrow-right" size="20" margin-left="20" class="data-v-83f3f3cc" bind:__l="__l"></u-icon></view></view><view class="item data-v-83f3f3cc"><view class="label data-v-83f3f3cc">活动时间</view><view data-event-opts="{{[['tap',[['goEdit',['活动时间',4]]]]]}}" class="right data-v-83f3f3cc" bindtap="__e">{{''+(form.published_at?form.published_at:'去选择')+''}}<u-icon vue-id="02bb3e2c-4" name="arrow-right" size="20" margin-left="20" class="data-v-83f3f3cc" bind:__l="__l"></u-icon></view></view><u-popup bind:input="__e" vue-id="02bb3e2c-5" mode="bottom" height="100%" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-83f3f3cc" bind:__l="__l" vue-slots="{{['default']}}"><view class="form data-v-83f3f3cc"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="back data-v-83f3f3cc" bindtap="__e"><u-icon vue-id="{{('02bb3e2c-6')+','+('02bb3e2c-5')}}" name="arrow-left" color="#2979ff" size="28" class="data-v-83f3f3cc" bind:__l="__l"></u-icon></view><u-navbar vue-id="{{('02bb3e2c-7')+','+('02bb3e2c-5')}}" is-back="{{false}}" title="填写信息" class="data-v-83f3f3cc" bind:__l="__l"></u-navbar><view class="title data-v-83f3f3cc">{{''+input_name+''}}</view><block wx:if="{{item==3}}"><view class="data-v-83f3f3cc"><jin-edit vue-id="{{('02bb3e2c-8')+','+('02bb3e2c-5')}}" placeholder="请输入内容..." uploadFileUrl="/api/common/upload" html="{{form.body}}" data-event-opts="{{[['^editOk',[['editOk']]]]}}" bind:editOk="__e" class="data-v-83f3f3cc" bind:__l="__l"></jin-edit></view></block><block wx:if="{{item==4}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="input data-v-83f3f3cc" bindtap="__e">{{''+(form.published_at?form.published_at:'点击选择时间')+''}}<u-picker vue-id="{{('02bb3e2c-9')+','+('02bb3e2c-5')}}" mode="time" params="{{params}}" value="{{show1}}" data-event-opts="{{[['^confirm',[['changeDate']]],['^input',[['__set_model',['','show1','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-83f3f3cc" bind:__l="__l"></u-picker></view></block><block wx:if="{{item==2&&image_edit==0}}"><view class="upload_image1 data-v-83f3f3cc"><u-upload vue-id="{{('02bb3e2c-10')+','+('02bb3e2c-5')}}" action="{{action}}" auto-upload="{{true}}" form-data="{{imageDate}}" file-list="{{fileList}}" on-progress="{{changeImage}}" data-ref="uUpload" data-event-opts="{{[['^onSuccess',[['uploadSuccess']]]]}}" bind:onSuccess="__e" class="data-v-83f3f3cc vue-ref" bind:__l="__l"></u-upload></view></block><block wx:if="{{item==2&&image_edit==1}}"><view class="upload_image data-v-83f3f3cc"><u-image vue-id="{{('02bb3e2c-11')+','+('02bb3e2c-5')}}" width="100%" height="300rpx" src="{{uploadImage}}" class="data-v-83f3f3cc" bind:__l="__l"></u-image></view></block><block wx:if="{{item==1}}"><view class="input data-v-83f3f3cc"><u-input bind:input="__e" vue-id="{{('02bb3e2c-12')+','+('02bb3e2c-5')}}" placeholder="{{'请输入'+input_name}}" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" class="data-v-83f3f3cc" bind:__l="__l"></u-input></view></block><block wx:if="{{item==2&&image_edit==1}}"><view data-event-opts="{{[['tap',[['reload',['$event']]]]]}}" class="complate data-v-83f3f3cc" bindtap="__e">重新上传</view></block><block wx:if="{{item==2}}"><view data-event-opts="{{[['tap',[['complate',['$event']]]]]}}" class="complate1 data-v-83f3f3cc" bindtap="__e">完成</view></block><block wx:if="{{item!==2&&item!=3}}"><view data-event-opts="{{[['tap',[['complate',['$event']]]]]}}" class="complate data-v-83f3f3cc" bindtap="__e">完成</view></block></view></u-popup><view data-event-opts="{{[['tap',[['release',['$event']]]]]}}" class="buttom data-v-83f3f3cc" bindtap="__e">提交审核</view></view>