完善功能

This commit is contained in:
wangxiaowei
2026-05-09 16:50:07 +08:00
parent 6885e1679c
commit b5cb33cd07

View File

@ -72,7 +72,7 @@
query: { id: shopInfo.id }
}"
>
<view class="lg white line-1 bold" style="width: 420rpx">
<view class="lg white line-1 bold" style="width: 340rpx">
{{ shopInfo.name }}
<u-icon name="arrow-right"></u-icon>
</view>
@ -87,11 +87,19 @@
</view>
</view>
</view>
<view class="">
<view class="flex row-center white br60 sm flex-none switch-btn" @tap="switchFlagship" v-if="cityInfo && cityInfo.id !== 0 && shopInfo.id !== 1">
切换旗舰店
<view class="flex-none">
<view
class="flex row-center white br60 sm flex-none switch-btn"
@tap="switchFlagship"
v-if="cityInfo && cityInfo.id !== 0 && shopInfo.id !== 1"
>
茶址甄选茶仓
</view>
<view class="flex row-center white br60 sm flex-none switch-btn" @tap="switchLocal" v-else-if="appConfig.is_open_nearby && cityInfo && cityInfo.id === 0">
<view
class="flex row-center white br60 sm flex-none switch-btn"
@tap="switchLocal"
v-else-if="appConfig.is_open_nearby && cityInfo && cityInfo.id === 0"
>
切换当地店
</view>
</view>
@ -540,6 +548,7 @@ page {
.store-info {
padding-right: 30rpx;
padding-left: 24rpx;
box-sizing: border-box;
.store-tag {
background: linear-gradient(267deg, #ff2c3c 0%, #f52e99 100%);
@ -559,8 +568,8 @@ page {
.switch-btn {
background: linear-gradient(97deg, #ff5784 0%, #ff2c3c 100%);
height: 52rpx;
padding: 0 16rpx;
font-size: 24rpx;
width: 190rpx;
font-size: 28rpx;
}
}
}