白屏,首页,霸王餐,网络完善

This commit is contained in:
wwz
2025-03-27 14:41:50 +08:00
parent 98ce8b5544
commit 9094818ea1
11 changed files with 104 additions and 76 deletions

View File

@@ -14,8 +14,8 @@
</view>
<view class="item" @click="tabCut(-1)">
<view class="num_item" :style="numIndex==-1?'background-color: #E8AD7B;':'' ">
<up--input v-model="otherNum" @input="isOtherNum" @blur="blur()"
border="none" type="nubmer" maxlength="3" placeholder='请输入..'></up--input>
<up--input v-model="otherNum" @input="isOtherNum" @blur="blur()" border="none" type="nubmer"
maxlength="3" placeholder='请输入..'></up--input>
</view>
@@ -27,7 +27,7 @@
</view>
</view>
</view>
<Loading :isLoading="isLoading" />
</view>
</template>
@@ -35,7 +35,8 @@
import {
ref,
onMounted,
getCurrentInstance
getCurrentInstance,
nextTick
} from 'vue'
import {
@@ -46,6 +47,8 @@
Storelogin
} from '@/stores/user.js';
import Loading from '@/components/Loading.vue';
// 获取全局属性
const {
proxy
@@ -55,6 +58,9 @@
productStore
} from '@/stores/user.js';
// 初始加载中
const isLoading = ref(true);
const otherNum = ref('')
const numIndex = ref(0)
@@ -125,6 +131,8 @@
await store.scanCodeactions(getApp().globalData.tableCode)
}
// #endif
await nextTick()
isLoading.value = uni.cache.get('shopInfo').isTableFee == 0 ? false : true
})
</script>