酷炫直播运营系统小程序版本

editPlan.wxml 7.8KB

1
  1. <view style="background:#F1F5F7;min-height:100vh;" class="data-v-4b0e0ee2"><view class="accountBox data-v-4b0e0ee2"><text class="text data-v-4b0e0ee2">账号</text><image class="accountImg data-v-4b0e0ee2" src="{{accountInfo.head}}" mode="widthFix"></image><text class="accountName data-v-4b0e0ee2">{{accountInfo.name}}</text></view><view class="liveTimeBox data-v-4b0e0ee2"><view class="itmeIconFont iconfont icon-shijian_icon data-v-4b0e0ee2"></view><view data-event-opts="{{[['tap',[['editEvent',['all']]]]]}}" class="{{['flex','data-v-4b0e0ee2',main_time_falg?'errTime':'']}}" bindtap="__e"><block wx:if="{{startLiveTime.time==''&&startLiveTime.date==''}}"><view class="no_worder data-v-4b0e0ee2">开播时间</view></block><block wx:else><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{startLiveTime.time}}</view><view class="date data-v-4b0e0ee2">{{startLiveTime.date}}</view></view></block><image class="liveTimeImg data-v-4b0e0ee2" src="../../static/img/you_icon@2x.png" mode="widthFix"></image><block wx:if="{{endLiveTime.time==''&&endLiveTime.date==''}}"><view class="no_worder data-v-4b0e0ee2">下播时间</view></block><block wx:else><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{endLiveTime.time}}</view><view class="date data-v-4b0e0ee2">{{endLiveTime.date}}</view></view></block></view></view><scroll-view style="height:calc(100vh - 258rpx);margin-top:10rpx;" scroll-y="true" class="data-v-4b0e0ee2"><view class="workerBox data-v-4b0e0ee2" style="margin-top:6rpx;"><view class="wirkerTitle data-v-4b0e0ee2"><view class="title data-v-4b0e0ee2">主播</view><view data-event-opts="{{[['tap',[['addStaffInfo',['staff_info_anchor']]]]]}}" class="iconfont icon-tianjia_icon data-v-4b0e0ee2" bindtap="__e"></view></view><uni-swipe-action vue-id="16b44e64-1" class="data-v-4b0e0ee2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><uni-swipe-action-item vue-id="{{('16b44e64-2-'+index)+','+('16b44e64-1')}}" right-options="{{options}}" data-event-opts="{{[['^click',[['swipeClick',[index,'staff_info_anchor']]]]]}}" bind:click="__e" class="data-v-4b0e0ee2" bind:__l="__l" vue-slots="{{['default']}}"><view class="liveTimeBox data-v-4b0e0ee2"><view class="itmeIconFont iconfont icon-shijian_icon data-v-4b0e0ee2"></view><view data-event-opts="{{[['tap',[['editEvent',['staff_info_anchor',index]]]]]}}" class="{{['flex','data-v-4b0e0ee2',item.$orig.err_time?'errTime':'']}}" bindtap="__e"><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{item.$orig.slefStartTime.time}}</view><view class="date data-v-4b0e0ee2">{{item.$orig.slefStartTime.date}}</view></view><image class="liveTimeImg data-v-4b0e0ee2" src="../../static/img/you_icon@2x.png" mode="widthFix"></image><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{item.$orig.slefEndTime.time}}</view><view class="date data-v-4b0e0ee2">{{item.$orig.slefEndTime.date}}</view></view></view></view><view data-event-opts="{{[['tap',[['plan_enableStaffList',['staff_info_anchor',index]]]]]}}" class="worderSelectBox data-v-4b0e0ee2" bindtap="__e"><block wx:if="{{item.$orig.staff_name_list&&item.$orig.staff_name_list.length==0}}"><view class="no_worder data-v-4b0e0ee2">请选择主播</view></block><block wx:else><view class="worder data-v-4b0e0ee2">{{item.g0}}</view></block><view class="iconfont icon-down_icon data-v-4b0e0ee2"></view></view></uni-swipe-action-item></block></uni-swipe-action></view><view class="workerBox data-v-4b0e0ee2"><view class="wirkerTitle data-v-4b0e0ee2"><view class="title data-v-4b0e0ee2">工作人员</view><view data-event-opts="{{[['tap',[['addStaffInfo',['staff_info_worker']]]]]}}" class="iconfont icon-tianjia_icon data-v-4b0e0ee2" bindtap="__e"></view></view><uni-swipe-action vue-id="16b44e64-3" class="data-v-4b0e0ee2" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index"><uni-swipe-action-item vue-id="{{('16b44e64-4-'+index)+','+('16b44e64-3')}}" right-options="{{options}}" data-event-opts="{{[['^click',[['swipeClick',[index,'staff_info_worker']]]]]}}" bind:click="__e" class="data-v-4b0e0ee2" bind:__l="__l" vue-slots="{{['default']}}"><view class="liveTimeBox data-v-4b0e0ee2"><view class="itmeIconFont iconfont icon-shijian_icon data-v-4b0e0ee2"></view><view data-event-opts="{{[['tap',[['editEvent',['staff_info_worker',index]]]]]}}" class="{{['flex','data-v-4b0e0ee2',item.$orig.err_time?'errTime':'']}}" bindtap="__e"><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{item.$orig.slefStartTime.time}}</view><view class="date data-v-4b0e0ee2">{{item.$orig.slefStartTime.date}}</view></view><image class="liveTimeImg data-v-4b0e0ee2" src="../../static/img/you_icon@2x.png" mode="widthFix"></image><view class="liveStartTimeBox data-v-4b0e0ee2"><view class="time data-v-4b0e0ee2">{{item.$orig.slefEndTime.time}}</view><view class="date data-v-4b0e0ee2">{{item.$orig.slefEndTime.date}}</view></view></view></view><view data-event-opts="{{[['tap',[['plan_enableStaffList',['staff_info_worker',index]]]]]}}" class="worderSelectBox data-v-4b0e0ee2" bindtap="__e"><block wx:if="{{item.$orig.staff_name_list&&item.$orig.staff_name_list.length==0}}"><view class="no_worder data-v-4b0e0ee2">请选择工作人员</view></block><block wx:else><view class="worder data-v-4b0e0ee2">{{item.g1}}</view></block><view class="iconfont icon-down_icon data-v-4b0e0ee2"></view></view></uni-swipe-action-item></block></uni-swipe-action></view><view class="buttons data-v-4b0e0ee2"><view data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" class="button button1 data-v-4b0e0ee2" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['livePlan_edit',['$event']]]]]}}" class="button button2 data-v-4b0e0ee2" bindtap="__e">提交</view><view data-event-opts="{{[['tap',[['deleteFlagEvent',['$event']]]]]}}" class="button button3 data-v-4b0e0ee2" bindtap="__e">删除计划</view></view></scroll-view><block wx:if="{{editPlanTimeFlag}}"><edit-plan-time vue-id="16b44e64-5" editTimeData="{{editTimeData}}" data-event-opts="{{[['^changeTime',[['changeTime']]],['^closeEvent',[['e0']]]]}}" bind:changeTime="__e" bind:closeEvent="__e" class="data-v-4b0e0ee2" bind:__l="__l"></edit-plan-time></block><block wx:if="{{checkboxFlag}}"><view data-event-opts="{{[['touchmove',[['moveStop',['$event']]]],['tap',[['clearMask',['$event']]]]]}}" class="worker_mask data-v-4b0e0ee2" catchtouchmove="__e" bindtap="__e"><view data-event-opts="{{[['tap',[['moveStop',['$event']]]]]}}" class="worker_mask_container data-v-4b0e0ee2" catchtap="__e"><view class="operationBox data-v-4b0e0ee2"><view data-event-opts="{{[['tap',[['clearMask',['$event']]]]]}}" class="cancel data-v-4b0e0ee2" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEvent',['$event']]]]]}}" class="define data-v-4b0e0ee2" bindtap="__e">确定</view></view><block wx:if="{{workerList.length==0}}"><no-data vue-id="16b44e64-6" fcolor="#ccc" class="data-v-4b0e0ee2" bind:__l="__l"></no-data></block><scroll-view class="checkboxGroup data-v-4b0e0ee2" scroll-y="true"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" style="display:flex;flex-wrap:wrap;" bindchange="__e" class="data-v-4b0e0ee2"><block wx:for="{{workerList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><label class="list_cell data-v-4b0e0ee2"><view class="data-v-4b0e0ee2"><checkbox style="transform:scale(0.7);" value="{{item.id}}" checked="{{item.checked}}" class="data-v-4b0e0ee2"></checkbox></view><view class="data-v-4b0e0ee2">{{item.real_name}}</view></label></block></checkbox-group></scroll-view></view></view></block><wm-watermark vue-id="16b44e64-7" text="{{real_name}}" opacity="{{editPlanTimeFlag?0.1:0.2}}" class="data-v-4b0e0ee2" bind:__l="__l"></wm-watermark></view>