changeVip.wxml 9.0 KB

1
  1. <view class="column flex-1 hb data-v-6fba3476"><view class="p20 justify-between data-v-6fba3476"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['change',[index]]]]]}}" class="{{['column','base-bg-f8','p20','mr20','top-item','data-v-6fba3476',active==index?'top-itemActive':'']}}" style="width:50%;" bindtap="__e"><text class="fs28 bold mb4 data-v-6fba3476">{{item.name}}</text><text class="fs24 base-color-6 data-v-6fba3476">{{item.text}}</text></view></block></view><block wx:if="{{active==0}}"><view class="pl20 data-v-6fba3476"><view class="mb20 fs28 data-v-6fba3476">选择接收销售</view><view class="base-bg-f8 p10 justify-between align-center mr20 pl20 data-v-6fba3476"><text class="mr20 data-v-6fba3476">接收销售</text><view data-event-opts="{{[['tap',[['selsome',['$event']]]]]}}" class="{{['flex-1','data-v-6fba3476',username==''?'base-color-9':'color3']}}" bindtap="__e">{{username?username:'请选择销售'}}</view></view><view class="fs24 mtb12 base-color base-bg-sure mr20 pl20 ptb4 data-v-6fba3476">如更换全部会员,则包含小黑屋会员</view></view></block><block wx:else><view class="pl20 data-v-6fba3476"><view class="mb20 fs28 data-v-6fba3476">选择会员</view><view class="base-bg-f8 p10 justify-between align-center mr20 pl20 data-v-6fba3476"><text class="mr20 data-v-6fba3476">标签</text><view data-event-opts="{{[['tap',[['changelabel',['$event']]]]]}}" class="{{['flex-1','fs28','data-v-6fba3476',usertag==''?'base-color-9':'color3']}}" bindtap="__e">{{usertag?usertag:'请选择销售'}}</view></view><view class="base-bg-f8 p10 justify-between align-center mr20 pl20 mt20 data-v-6fba3476"><text class="mr20 data-v-6fba3476">选择项目</text><view data-event-opts="{{[['tap',[['changeproject',['$event']]]]]}}" class="{{['flex-1','fs28','data-v-6fba3476',projectuser==''?'base-color-9':'color3']}}" bindtap="__e">{{projectuser?projectuser:'请选择项目'}}</view></view><view class="base-bg-f8 p10 justify-between align-center mr20 pl20 mt20 data-v-6fba3476"><text class="mr20 data-v-6fba3476">选择会员</text><view data-event-opts="{{[['tap',[['changelabelvip',['$event']]]]]}}" class="{{['flex-1','fs28','data-v-6fba3476',tagsuser==''?'base-color-9':'color3']}}" bindtap="__e">{{tagsuser?tagsuser:'请选择会员'}}</view></view><view class="mb20 fs28 mt20 data-v-6fba3476">选择接收销售</view><view class="base-bg-f8 p10 justify-between align-center mr20 pl20 data-v-6fba3476"><text class="mr20 data-v-6fba3476">接收销售</text><view data-event-opts="{{[['tap',[['changeuser',['$event']]]]]}}" class="{{['flex-1','fs28','data-v-6fba3476',username==''?'base-color-9':'color3']}}" bindtap="__e">{{username?username:"请选择销售"}}</view></view></view></block><view class="foot-box justify-around data-v-6fba3476"><view data-event-opts="{{[['tap',[['sure',['$event']]]]]}}" class="box base-bg-blue colorf data-v-6fba3476" bindtap="__e">确定</view></view><u-picker vue-id="f0e64960-1" show="{{show}}" columns="{{columns}}" keyName="nickName" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['receiveA']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-6fba3476" bind:__l="__l"></u-picker><u-picker vue-id="f0e64960-2" show="{{showb}}" columns="{{columnsb}}" keyName="nickName" data-event-opts="{{[['^cancel',[['e1']]],['^confirm',[['receiveC']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-6fba3476" bind:__l="__l"></u-picker><u-popup vue-id="f0e64960-3" show="{{showvip}}" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" class="data-v-6fba3476" bind:__l="__l" vue-slots="{{['default']}}"><view class="p20 h400 data-v-6fba3476"><view class="mb20 data-v-6fba3476" style="text-align:center;"><view style="display:inline-block;" class="data-v-6fba3476">选择会员</view><u-icon style="display:inline-block;float:right;" vue-id="{{('f0e64960-4')+','+('f0e64960-3')}}" name="close-circle" color="#ccc" size="28" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" class="data-v-6fba3476" bind:__l="__l"></u-icon></view><view class="justify-start wrap data-v-6fba3476"><block wx:for="{{tagsuserlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="p16 mlr4 data-v-6fba3476"><u-tag vue-id="{{('f0e64960-5-'+index)+','+('f0e64960-3')}}" text="{{item.userName}}" plain="{{!item.checked}}" type="primary" name="{{index}}" data-event-opts="{{[['^click',[['checkboxClick']]]]}}" bind:click="__e" class="data-v-6fba3476" bind:__l="__l"></u-tag></view></block><block wx:if="{{$root.g0==0}}"><view class="base-color-red fs24 bor-red p8 radius8 plr12 data-v-6fba3476">暂无会员</view></block></view><view class="centerV data-v-6fba3476"><view data-event-opts="{{[['tap',[['getuserid',['$event']]]]]}}" class="surebtn data-v-6fba3476" bindtap="__e">确定</view></view></view></u-popup><u-popup vue-id="f0e64960-6" show="{{showproject}}" data-event-opts="{{[['^close',[['e3']]]]}}" bind:close="__e" class="data-v-6fba3476" bind:__l="__l" vue-slots="{{['default']}}"><view class="p20 h400 data-v-6fba3476"><view class="mb20 data-v-6fba3476" style="text-align:center;"><view style="display:inline-block;" class="data-v-6fba3476">选择项目</view><u-icon style="display:inline-block;float:right;" vue-id="{{('f0e64960-7')+','+('f0e64960-6')}}" name="close-circle" color="#ccc" size="28" data-event-opts="{{[['^click',[['e4']]]]}}" bind:click="__e" class="data-v-6fba3476" bind:__l="__l"></u-icon></view><view class="justify-start wrap data-v-6fba3476"><block wx:for="{{projectlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="p16 mlr12 data-v-6fba3476"><u-tag vue-id="{{('f0e64960-8-'+index)+','+('f0e64960-6')}}" text="{{item.dictLabel}}" plain="{{!item.checked}}" type="primary" name="{{index}}" data-event-opts="{{[['^click',[['checkproClick']]]]}}" bind:click="__e" class="data-v-6fba3476" bind:__l="__l"></u-tag></view></block><block wx:if="{{$root.g1==0}}"><view class="base-color-red fs24 bor-red p8 radius8 plr12 data-v-6fba3476">暂无项目</view></block></view><view class="centerV data-v-6fba3476"><view data-event-opts="{{[['tap',[['getprojectid',['$event']]]]]}}" class="surebtn data-v-6fba3476" bindtap="__e">确定</view></view></view></u-popup><u-popup class="model data-v-6fba3476" style="flex:0;" vue-id="f0e64960-9" show="{{showPop}}" round="{{12}}" zIndex="{{10076}}" data-event-opts="{{[['^close',[['closePop']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popbox data-v-6fba3476"><view class="popbox-head data-v-6fba3476"><u-icon class="close-circle data-v-6fba3476" vue-id="{{('f0e64960-10')+','+('f0e64960-9')}}" name="close-circle" color="#ccc" size="24" data-event-opts="{{[['^click',[['e5']]]]}}" bind:click="__e" bind:__l="__l"></u-icon>标签筛选</view><view class="popbox-body data-v-6fba3476"><view class="mb20 data-v-6fba3476"><u-search vue-id="{{('f0e64960-11')+','+('f0e64960-9')}}" placeholder="请输入标签 多个标签用 , 隔开" showAction="{{false}}" height="30px" value="{{tagkeywords}}" data-event-opts="{{[['^search',[['getcompanyTag']]],['^input',[['__set_model',['','tagkeywords','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-6fba3476" bind:__l="__l"></u-search></view><scroll-view class="hb data-v-6fba3476" scroll-y="true" refresher-enabled="{{isEnableds}}" refresher-triggered="{{triggereds}}" refresher-background="rgba(0,0,0,0)" upper-threshold="{{100}}" lower-threshold="{{100}}" data-event-opts="{{[['refresherrefresh',[['pullDownRefreshs',['$event']]]],['refresherrestore',[['e6',['$event']]]],['refresherabort',[['e7',['$event']]]],['scrolltolower',[['reachBottoms',['$event']]]]]}}" bindrefresherrefresh="__e" bindrefresherrestore="__e" bindrefresherabort="__e" bindscrolltolower="__e"><view class="tagbox-list x-f data-v-6fba3476" style="white-space:nowrap;flex-wrap:wrap;"><block wx:if="{{$root.g2<=0}}"><view class="base-color-red fs24 bor-red p8 radius8 plr12 data-v-6fba3476">暂无标签</view></block><block wx:for="{{columnsa}}" wx:for-item="item" wx:for-index="index" wx:key="tagId"><view class="mlr10 mb10 data-v-6fba3476"><u-tag vue-id="{{('f0e64960-12-'+index)+','+('f0e64960-9')}}" text="{{item.tag}}" plain="{{!item.checked}}" name="{{index}}" data-event-opts="{{[['^click',[['chooseTag',[index]]]]]}}" bind:click="__e" class="data-v-6fba3476" bind:__l="__l"></u-tag></view></block></view><view class="center fs24 mt20 data-v-6fba3476"><text data-event-opts="{{[['tap',[['getTagpage',['last']]]]]}}" class="mr20 data-v-6fba3476" bindtap="__e">上一页</text><text class="base-color-red data-v-6fba3476">{{pagetag.pageNum+"/"+pagetag.pages}}</text><text data-event-opts="{{[['tap',[['getTagpage',['next']]]]]}}" class="ml20 data-v-6fba3476" bindtap="__e">下一页</text></view></scroll-view></view><view class="popbox-footer x-bc data-v-6fba3476"><button data-event-opts="{{[['tap',[['resetPop',['$event']]]]]}}" class="popbox-footer-btn data-v-6fba3476" bindtap="__e">重置</button><button data-event-opts="{{[['tap',[['confirmPop',['$event']]]]]}}" class="popbox-footer-btn con-btn data-v-6fba3476" bindtap="__e">确定</button></view></view></u-popup></view>