下单详情

This commit is contained in:
wwz
2025-03-06 18:48:38 +08:00
parent 56799f41f6
commit 70edc6756d
20 changed files with 4477 additions and 319 deletions

View File

@@ -163,9 +163,6 @@
APIhomehomePageUp,
APIhome
} from "@/common/api/index/index.js"
import {
APIshopUserInfo
} from "@/common/api/member.js"
import {
useNavbarStore
} from '@/stores/navbarStore';
@@ -173,6 +170,7 @@
productStore
} from '@/stores/user.js';
const store = useNavbarStore();
const storeuser = productStore();
store.updateNavbarConfig({
showBack: true, //左边返回键
rightText: '', //右边文字
@@ -344,11 +342,7 @@
await proxy.$onLaunched;
if (uni.cache.get('shopId') && uni.cache.get('token')) {
showindex.value = 'shopIndex'
let res = await APIshopUserInfo()
if (res) {
//商家信息
uni.cache.set('ShopUser', res)
}
await storeuser.actionsAPIuser()
} else {
hometop()
init_fn()