完善管理师端多店铺登录选择
This commit is contained in:
@@ -44,4 +44,29 @@
|
||||
</view>
|
||||
|
||||
<button class="secondary-btn wechat-btn" bindtap="wechatLogin">微信快捷登录</button>
|
||||
|
||||
<view wx:if="{{shopSelectVisible}}" class="shop-select-mask">
|
||||
<view class="shop-select-dialog">
|
||||
<view class="shop-select-header">
|
||||
<text class="shop-select-title">选择店铺</text>
|
||||
<text class="shop-select-subtitle">请选择本次登录的店铺</text>
|
||||
</view>
|
||||
<scroll-view class="shop-option-list" scroll-y>
|
||||
<view
|
||||
wx:for="{{shopOptions}}"
|
||||
wx:key="id"
|
||||
class="shop-option {{switchingShop ? 'disabled' : ''}}"
|
||||
data-id="{{item.id}}"
|
||||
bindtap="selectLoginShop"
|
||||
>
|
||||
<view class="shop-option-icon">店</view>
|
||||
<view class="shop-option-copy">
|
||||
<text class="shop-option-name">{{item.name}}</text>
|
||||
<text class="shop-option-id">ID {{item.id}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view wx:if="{{switchingShop}}" class="shop-switching">正在进入店铺...</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user