diff --git a/pages/login/index.vue b/pages/login/index.vue
index 56d3477..e86808e 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -9,7 +9,8 @@
-
+
@@ -20,7 +21,7 @@
-
diff --git a/pages/persomInfo/index.vue b/pages/persomInfo/index.vue
index ee091fa..e1a413e 100644
--- a/pages/persomInfo/index.vue
+++ b/pages/persomInfo/index.vue
@@ -54,7 +54,11 @@
import card from '@/components/card/index.vue'
import { onMounted } from "vue";
import { onLoad } from "@dcloudio/uni-app"
-
+import mumuGetQrcode from "../../components/mumu-getQrcode/mumu-getQrcode.vue";
+import { ref, getCurrentInstance } from 'vue';
+const currentInstance = getCurrentInstance();
+const { $request } =
+ currentInstance.appContext.config.globalProperties;
onLoad((option) => {
console.log(option);
getQrInfo()
diff --git a/pages/scan/index.vue b/pages/scan/index.vue
index 83fb78d..50f1082 100644
--- a/pages/scan/index.vue
+++ b/pages/scan/index.vue
@@ -1,8 +1,8 @@
-
-
+
+
@@ -12,12 +12,19 @@ import { ref, getCurrentInstance } from 'vue';
const currentInstance = getCurrentInstance();
const { $request } =
currentInstance.appContext.config.globalProperties;
-const qrcodeSucess = () => {
- $request.qrCodeInfo({ appointmentUid: '245fa520-3724-4151-82a9-dd84d6838b68' }).then((res) => {
- if (res.status === 0) {
+const qrcodeSucess = (id) => {
+ uni.showModal({
+ title: id,
+ content: id,
+ success: () => {
+ uni.navigateBack({});
+ },
+ });
+ // $request.qrCodeInfo({ appointmentUid: '245fa520-3724-4151-82a9-dd84d6838b68' }).then((res) => {
+ // if (res.status === 0) {
- }
- })
+ // }
+ // })
}
const qrcodeError = (err) => {
console.log(err);