测试扫码

This commit is contained in:
weiwei committed 2025-03-20 11:43:03 +08:00
1 parent e3e0d1fd81
commit 5db6615167
2 files changed
+16 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<script src="https://dapp.tmuyun.com/oss-static/app/jcommind.js"></script>
<script src="https://g.alicdn.com/gdt/jsapi/1.9.24/index.js"></script>
<script src="https://g.alicdn.com/gdt/jsapi/1.9.43/index.js"></script>
<script>
var coverSupport =
"CSS" in window && typeof CSS.supports === "function" && (CSS.supports("top: env(a)") || CSS.supports("top: constant(a)"))
+15 -3
View File
@@ -1,7 +1,6 @@
<script setup lang="ts">
import { ref, reactive } from "vue"
import { onLoad, onShow } from "@dcloudio/uni-app"
import { onShow } from "@dcloudio/uni-app"
import { hooks, router } from "@@/index"
import { merchantApi } from "@@/api"
import { filePath } from "@@/utils/file"
@@ -14,7 +13,6 @@ const state = reactive<any>({
},
})
onLoad(() => {})
onShow(() => {
if (pageRef.value) {
pageRef.value.reload(false)
@@ -57,6 +55,20 @@ const doScanCode = async () => {
icon: "none",
})
}
dd.ready(function () {
dd.confirm({
message: "2022年亚运会在哪里举办",
title: "提问",
buttonLabels: ["杭州", "上海"],
})
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error(err)
})
})
</script>
<template>