完善管理师端多店铺登录选择

This commit is contained in:
2026-06-25 22:04:58 +08:00
parent 87254919a8
commit 9b46ed7d5d
4 changed files with 299 additions and 14 deletions
+25
View File
@@ -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>