确认订单

This commit is contained in:
2024-03-11 23:02:41 +08:00
parent 00013cb46c
commit 0883e88df0
11 changed files with 371 additions and 11 deletions

View File

@@ -44,6 +44,7 @@
<script setup lang='ts'>
import { onLoad, onShow } from '@dcloudio/uni-app';
import { generateBarCode, generateQrCode } from '@/api/common';
import {getDynamicCode} from '@/api/user';
import { assetsUrl } from '@/utils/assets';
const code = ref<{ barCode: string, qrCode: string }>();
@@ -52,6 +53,7 @@ const codeRefreshInterval = ref(30);
onLoad(() => {
generateCode();
getDynamicCode()
setInterval(() => {
codeRefreshInterval.value -= 1;