index.wxml 4.8 KB

1
  1. <view class="app-body-white _div data-v-5154c90e"><view class="flex-between-center broadcast-head _div data-v-5154c90e"><view class="flex-between-center head-search _div data-v-5154c90e"><input class="head-search-select data-v-5154c90e" type="text" placeholder="请选择" readonly="{{true}}" data-event-opts="{{[['tap',[['e0',['$event']]]],['input',[['__set_model',['','type','$event',[]]]]]]}}" value="{{type}}" bindtap="__e" bindinput="__e"/><input class="head-search-keyword data-v-5154c90e" placeholder="请输入关键词" type="text" data-event-opts="{{[['input',[['__set_model',['$0','activityName','$event',[]],['search']],['titleChange',['$event']]]]]}}" value="{{search.activityName}}" bindinput="__e"/></view><view class="broadcast-head-add _div data-v-5154c90e"><van-button vue-id="79f4eb4a-1" icon="plus" color="#3b7aff" size="small" data-event-opts="{{[['^click',[['goNavigator']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}">新增</van-button></view></view><van-pull-refresh data-custom-hidden="{{!($root.g0!==0)}}" bind:refresh="__e" bind:input="__e" vue-id="79f4eb4a-2" value="{{isDownLoading}}" data-event-opts="{{[['^refresh',[['onDownRefresh']]],['^input',[['__set_model',['','isDownLoading','$event',[]]]]]]}}" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}"><van-list vue-id="{{('79f4eb4a-3')+','+('79f4eb4a-2')}}" error="{{error}}" finished="{{upFinished}}" immediate-check="{{false}}" offset="{{10}}" finished-text="加载完成" value="{{isUpLoading}}" data-event-opts="{{[['^updateError',[['__set_sync',['$0','error','$event'],['']]]],['^load',[['onLoadList']]],['^input',[['__set_model',['','isUpLoading','$event',[]]]]]]}}" bind:updateError="__e" bind:load="__e" bind:input="__e" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{$root.g1>0}}"><view class="admin-exposure-list _ul data-v-5154c90e"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="__i0__"><view class="box-shadow-gray _li data-v-5154c90e"><image src="{{item.annexUrl}}" alt data-event-opts="{{[['tap',[['goNavigator',['$0','view'],[[['listData','',__i0__,'id']]]]]]]}}" bindtap="__e" class="_img data-v-5154c90e"></image><view class="exposure-main _div data-v-5154c90e"><view class="exposure-name _div data-v-5154c90e">{{item.activityName}}</view><view class="flex-between-center notice-edit-mesg _div data-v-5154c90e"><view class="activities-text _div data-v-5154c90e"><label class="_span data-v-5154c90e">{{item.registrationNumbers+"人报名"}}</label>{{''+item.signInNumber+'人签到'}}</view><view class="notice-edit-button _div data-v-5154c90e" style="padding-top:0;"><block wx:if="{{item.releaseStatus!=='1'}}"><van-button vue-id="{{('79f4eb4a-4-'+__i0__)+','+('79f4eb4a-3')}}" color="#1989fa" size="mini" plain="{{true}}" round="{{true}}" data-event-opts="{{[['^click',[['goNavigator',['$0',''],[[['listData','',__i0__,'id']]]]]]]}}" data-com-type="wx" catch:click="__e" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}">编辑</van-button></block><block wx:if="{{item.releaseStatus!=='1'}}"><van-button vue-id="{{('79f4eb4a-5-'+__i0__)+','+('79f4eb4a-3')}}" color="#1989fa" size="mini" round="{{true}}" data-event-opts="{{[['^click',[['handleRecruitment',['$0','1'],[[['listData','',__i0__,'id']]]]]]]}}" data-com-type="wx" catch:click="__e" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}">上架</van-button></block><block wx:if="{{item.releaseStatus==='1'}}"><van-button vue-id="{{('79f4eb4a-6-'+__i0__)+','+('79f4eb4a-3')}}" color="#1989fa" size="mini" round="{{true}}" data-event-opts="{{[['^click',[['handleRecruitment',['$0','2'],[[['listData','',__i0__,'id']]]]]]]}}" data-com-type="wx" catch:click="__e" class="data-v-5154c90e" bind:__l="__l" vue-slots="{{['default']}}">下架</van-button></block></view></view></view><view class="notice-edit-label _div data-v-5154c90e"><block wx:if="{{item.releaseStatus==='1'}}"><view class="label-style _div data-v-5154c90e">已发布</view></block><block wx:if="{{item.releaseStatus==='0'}}"><view class="label-style disable _div data-v-5154c90e">未发布</view></block><block wx:if="{{item.releaseStatus==='2'}}"><view class="label-style disable _div data-v-5154c90e">已下架</view></block></view></view></block></view></block></van-list></van-pull-refresh><van-popup class="popup-box data-v-5154c90e" vue-id="79f4eb4a-7" show="{{showResult}}" position="bottom" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-picker vue-id="{{('79f4eb4a-8')+','+('79f4eb4a-7')}}" show-toolbar="{{true}}" title="请选择" columns="{{columns}}" value-key="label" data-event-opts="{{[['^cancel',[['e1']]],['^confirm',[['onConfirm']]],['^change',[['onChange']]]]}}" data-com-type="wx" bind:cancel="__e" bind:confirm="__e" bind:change="__e" class="data-v-5154c90e" bind:__l="__l"></van-picker></van-popup></view>