购物车逻辑

This commit is contained in:
2024-03-20 22:20:24 +08:00
parent 8d7f82b07c
commit 792aa4268a
9 changed files with 118 additions and 63 deletions

View File

@@ -33,8 +33,8 @@
<text>卡信息</text>
</view>
<text>店铺名称武汉xx店</text>
<text>253654587852</text>
<text>店铺名称{{userInfo.creatorName}}</text>
<text>{{ userInfo.storeId }}</text>
</view>
</view>
@@ -48,6 +48,7 @@ import { generateBarCode, generateQrCode } from '@/api/common';
import { getDynamicCode } from '@/api/user';
import { useUserStore } from '@/store';
import { goPath } from '@/utils';
import { use } from 'licia';
const store = useUserStore();
const { userInfo } = storeToRefs(store);
@@ -58,6 +59,7 @@ const codeRefreshInterval = ref(30);
onLoad(() => {
generateCode();
console.log('------->>>',userInfo.value)
setInterval(() => {
codeRefreshInterval.value -= 1;