lableSetup.wxml 4.0 KB

1
  1. <view class="column hb bgf"><view class="align-center justify-between p20 bgf"><view class="justify-start fs28 align-center"><u-icon vue-id="ecaac970-1" name="bookmark-fill" color="#1677ff" size="28" bind:__l="__l"></u-icon><view>自定义标签</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="fs28" bindtap="__e">{{''+(isShowSelectAll?'取消多选':'多选')}}</view></view><view class="mtb20 mlr20"><u-search vue-id="ecaac970-2" placeholder="请输入标签 多个标签用 , 隔开" showAction="{{false}}" height="30px" value="{{tagkeywords}}" data-event-opts="{{[['^search',[['getcompanyTag']]],['^input',[['__set_model',['','tagkeywords','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search></view><view class="column flex-1 scrolly plr20"><scroll-view class="hb" scroll-y="true" refresher-enabled="{{isEnabled}}" refresher-triggered="{{triggereds}}" refresher-background="rgba(0,0,0,0)" upper-threshold="{{100}}" lower-threshold="{{100}}" data-event-opts="{{[['refresherrefresh',[['pullDownRefreshs',['$event']]]],['refresherrestore',[['e1',['$event']]]],['refresherabort',[['e2',['$event']]]],['scrolltolower',[['reachBottoms',['$event']]]]]}}" bindrefresherrefresh="__e" bindrefresherrestore="__e" bindrefresherabort="__e" bindscrolltolower="__e"><block wx:for="{{companylabel}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="justify-start"><u-checkbox-group bind:change="__e" vue-id="{{'ecaac970-3-'+index}}" data-event-opts="{{[['^change',[['selectlist',[index]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{isShowSelectAll}}"><u-checkbox vue-id="{{('ecaac970-4-'+index)+','+('ecaac970-3-'+index)}}" checked="{{item.checked}}" shape="circle" activeColor="#FF6C47" name="{{true}}" label=" " labelColor="#333" bind:__l="__l"></u-checkbox></block></u-checkbox-group><view class="justify-start align-center ptb16 flex-1" style="border-bottom:2rpx solid #e7e7e7;"><u-icon vue-id="{{'ecaac970-5-'+index}}" name="list" color="#666" size="24" bind:__l="__l"></u-icon><view class="fs28 ml12">{{item.tag}}</view></view></view></block><u-loadmore vue-id="ecaac970-6" status="{{statusA}}" bind:__l="__l"></u-loadmore></scroll-view></view><view class="h120"></view><view class="footbtn"><block wx:if="{{isShowSelectAll}}"><view class="justify-between p20 bgf"><block wx:if="{{isShowSelectAll}}"><view class="align-center justify-between"><u-checkbox-group bind:change="__e" vue-id="ecaac970-7" data-event-opts="{{[['^change',[['selectAll']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('ecaac970-8')+','+('ecaac970-7')}}" checked="{{isSelectAll}}" shape="circle" activeColor="#FF6C47" name="{{true}}" label="全选" labelColor="#333" bind:__l="__l"></u-checkbox><text class="fs24 base-color-9 ml12">{{"已选 "+selectedCount+"\n\t\t\t\t\t\t个"}}</text></u-checkbox-group></view></block><view class="justify-center"><button data-event-opts="{{[['tap',[['changeProhibit',['$event']]]]]}}" class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10 plr60" bindtap="__e">删除</button></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['addLable',['$event']]]]]}}" class="base-bg radius50 m20 p20 center colorf" bindtap="__e">新增标签</view></block></view><view><u-modal style="flex:0;" vue-id="ecaac970-9" show="{{showlist}}" title="新增标签" showCancelButton="{{true}}" data-event-opts="{{[['^confirm',[['confirmchange']]],['^cancel',[['cancel']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="slot-content"><u-input bind:input="__e" vue-id="{{('ecaac970-10')+','+('ecaac970-9')}}" placeholder="请输入新增标签" value="{{addlable}}" data-event-opts="{{[['^input',[['__set_model',['','addlable','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></u-modal></view><u-loading-page vue-id="ecaac970-11" loading="{{viewload}}" iconSize="32" loadingColor="#3c9cff" fontSize="20" loading-text="{{loadingtext}}" bind:__l="__l"></u-loading-page></view>