改为常量判断方式
This commit is contained in:
@ -91,13 +91,13 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="tabs">
|
<view class="tabs">
|
||||||
<wd-tabs ref="tabsRef" v-model="tab" swipeable slidable="always" @change="Room.handleChangeTab" :lazy="false" :duration="0">
|
<wd-tabs ref="tabsRef" v-model="tab" swipeable slidable="always" @change="Room.handleChangeTab" :lazy="false" :duration="0">
|
||||||
<wd-tab title="茶室预定" v-if="storeType != 2"></wd-tab>
|
<wd-tab title="茶室预定" v-if="storeType == StoreType.Direct"></wd-tab>
|
||||||
<wd-tab title="团购套餐"></wd-tab>
|
<wd-tab title="团购套餐"></wd-tab>
|
||||||
<wd-tab title="抖音兑换" v-if="storeType != 2"></wd-tab>
|
<wd-tab title="抖音兑换" v-if="storeType == StoreType.Direct"></wd-tab>
|
||||||
</wd-tabs>
|
</wd-tabs>
|
||||||
|
|
||||||
<view class="mx-30rpx mt-34rpx">
|
<view class="mx-30rpx mt-34rpx">
|
||||||
<view class="text-24rpx flex items-center justify-end mb-20rpx" v-if="storeType != 2">
|
<view class="text-24rpx flex items-center justify-end mb-20rpx" v-if="storeType == StoreType.Direct && tab == 0">
|
||||||
<view class="flex items-center mr-12rpx">
|
<view class="flex items-center mr-12rpx">
|
||||||
<view class="bg-[#C9C9C9] w-20rpx h-20rpx rounded-10rpx mr-10rpx"></view>
|
<view class="bg-[#C9C9C9] w-20rpx h-20rpx rounded-10rpx mr-10rpx"></view>
|
||||||
<view>过期</view>
|
<view>过期</view>
|
||||||
@ -253,6 +253,8 @@
|
|||||||
handleInit: async () => {
|
handleInit: async () => {
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
userInfo.value = userStore.userInfo
|
userInfo.value = userStore.userInfo
|
||||||
|
console.log("🚀 ~ uni.getStorageSync('latitude'):", uni.getStorageSync('latitude'))
|
||||||
|
console.log("🚀 ~ uni.getStorageSync('longitude'):", uni.getStorageSync('longitude'))
|
||||||
|
|
||||||
const res = await getTeaRoomDetail({
|
const res = await getTeaRoomDetail({
|
||||||
id: teaRoomId.value,
|
id: teaRoomId.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user