From 0f6fb41e56fa30b67f01725a3e0ea6f1a8a7eebc Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 16 Sep 2025 16:21:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=90=E6=AC=BE=E6=97=B6=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E5=AE=9E=E5=90=8D=EF=BC=8C=E6=9C=AA=E5=AE=9E=E5=90=8D=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=8E=BB=E5=AE=9E=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/future/components/goToCertification.vue | 179 ++++++++++++++++++ pages/future/future.vue | 39 +++- pages/realName/realName.vue | 17 +- 3 files changed, 220 insertions(+), 15 deletions(-) create mode 100644 pages/future/components/goToCertification.vue diff --git a/pages/future/components/goToCertification.vue b/pages/future/components/goToCertification.vue new file mode 100644 index 0000000..0eceac0 --- /dev/null +++ b/pages/future/components/goToCertification.vue @@ -0,0 +1,179 @@ + + + + + diff --git a/pages/future/future.vue b/pages/future/future.vue index 8e91fd4..22cfb97 100644 --- a/pages/future/future.vue +++ b/pages/future/future.vue @@ -139,6 +139,12 @@ + + @@ -150,8 +156,10 @@ import { } from "../../api/institutionalStructure/institutionalStructureDetail"; import { createPagination } from "../../composables/winB_Pagination"; import { postInstitutionalStructure } from "../../api/institutionalStructure/institutionalStructure"; +import GoToCertification from "./components/goToCertification.vue"; export default { + components: { GoToCertification }, mixins: [ createPagination({ fetchData: getProjectSchedule, @@ -162,6 +170,7 @@ export default { ], data() { return { + visible: false, show: false, CommonEnum, buddhaIcon: "https://api.ccttiot.com/image-1756353071821.png", @@ -244,6 +253,14 @@ export default { this.loadPageData(); }, methods: { + handleClose() { + this.visible = false; + }, + goToCertification() { + uni.navigateTo({ + url: "/pages/realName/realName", + }); + }, // 加载页面数据 async loadPageData() { try { @@ -348,16 +365,18 @@ export default { if (res.code === 200) { this.openPaymentUrl(res.data.payParams.payUrl); } else if (res.code === 10001) { - uni.showModal({ - title: "去实名", - content: "需要实名", - showCancel: true, - confirmText: "yes", - cancelText: "no", - success: function () { - uni.navigateTo({ url: "/pages/realName/realName" }); - }, - }); + this.show = false; + this.visible = true; //打开实名弹窗 + // uni.showModal({ + // title: "去实名", + // content: "需要实名", + // showCancel: true, + // confirmText: "yes", + // cancelText: "no", + // success: function () { + // uni.navigateTo({ url: "/pages/realName/realName" }); + // }, + // }); console.log("10001", res.msg); } }, diff --git a/pages/realName/realName.vue b/pages/realName/realName.vue index 436d648..b9d214b 100644 --- a/pages/realName/realName.vue +++ b/pages/realName/realName.vue @@ -48,10 +48,7 @@