artificerSelectPopup.wxml
1.21 KB
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="85%" slotStyle="height: calc(100% - var(--fontSize130));">
<view class="artificer-select-popup-box" >
<view class="box">
<view class="sub-title text-center">{{title}}</view>
<view class="artificer-box">
<search-input bindsearch="search" value="{{searchValue}}" />
<view class="box-title">
<view>技师</view>
<view class="tips">使用<text bind:tap="goMiniprogram">生意助手小程序</text>登录创建技师</view>
</view>
<scroll-view scroll-y style="height: calc(100% - var(--fontSize194));" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{artificerList}}" wx:key="index">
<view class="artificerList {{item.active?'active':''}}" bindtap="changeItem" data-target="{{item}}" data-index="{{index}}">
<view class="checked_img">
<image wx:if="{{item.active}}" src="{{IMG_URL}}checked.png"></image>
</view>
<view class="text_box"><view class="text-hide">{{item.staffName}}</view></view>
</view>
</block>
</scroll-view>
</view>
</view>
</view>
</popup>