diff --git a/src/App.vue b/src/App.vue index 6a5e664..365a72a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,7 @@ import { useUserStore } from "@/stores/userStore"; import { useDialogStore } from "@/stores/dialogStore"; import { useAuthStore } from "@/stores/authStore"; import { useWeixinShare } from "@/composables/useWeixinShare"; +import WechatOverlay from "@/components/WechatOverlay.vue"; const router = useRouter(); const agentStore = useAgentStore(); @@ -205,6 +206,8 @@ const h5WeixinGetCode = () => { diff --git a/src/components/QRcode.vue b/src/components/QRcode.vue index 24d428b..0691a98 100644 --- a/src/components/QRcode.vue +++ b/src/components/QRcode.vue @@ -122,15 +122,19 @@ const posterImages = ref([]); // QR码位置配置(为每个海报单独配置) const qrCodePositions = ref({ - // promote模式的配置 (tg_qrcode) promote: [ - { x: 138, y: 954, size: 220 }, // tg_qrcode_1.png - { x: 138, y: 954, size: 220 }, // tg_qrcode_2.jpg - { x: 138, y: 954, size: 220 }, // tg_qrcode_3.jpg + { x: 180, y: 1440, size: 300 }, // tg_qrcode_1.png + { x: 525, y: 1955, size: 500 }, // tg_qrcode_2.jpg + { x: 525, y: 1955, size: 500 }, // tg_qrcode_3.jpg + { x: 525, y: 1955, size: 500 }, // tg_qrcode_4.jpg + { x: 525, y: 1955, size: 500 }, // tg_qrcode_5.jpg + { x: 525, y: 1955, size: 500 }, // tg_qrcode_6.jpg + { x: 255, y: 940, size: 250 }, // tg_qrcode_7.jpg + { x: 255, y: 940, size: 250 }, // tg_qrcode_8.jpg ], // invitation模式的配置 (yq_qrcode) invitation: [ - { x: 138, y: 954, size: 220 }, // yq_qrcode_1.png + { x: 360, y: -1370, size: 360 }, // yq_qrcode_1.png ], }); @@ -148,7 +152,7 @@ const loadPosterImages = async () => { const basePrefix = mode.value === "promote" ? "tg_qrcode_" : "yq_qrcode_"; // 根据模式确定要加载的图片编号 - const imageNumbers = mode.value === "promote" ? [1, 2, 3] : [1]; + const imageNumbers = mode.value === "promote" ? [1, 2, 3, 4, 5, 6, 7, 8] : [1]; // 加载图片 for (const i of imageNumbers) { diff --git a/src/views/Withdraw.vue b/src/views/Withdraw.vue index 5e30bef..8452800 100644 --- a/src/views/Withdraw.vue +++ b/src/views/Withdraw.vue @@ -78,7 +78,7 @@ - +
diff --git a/src/views/index.vue b/src/views/index.vue index 7f11afd..ed2ed6d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -14,23 +14,23 @@ import housekeepingRiskIcon from "@/assets/images/index/housekeeping_risk_bg.png import preLoanRiskIcon from "@/assets/images/index/preloan_risk_bg.png"; function toInquire(name) { - if (name === "marriage") { - showConfirmDialog({ - title: "婚恋风险查询", - message: "是否进入天远查进行婚恋查询?", - confirmButtonText: "进入", - cancelButtonText: "取消", - }) - .then(() => { - // 在当前标签页打开,不新开tab - window.location.href = "https://www.tianyuancha.cn"; - }) - .catch(() => { - // 取消则继续后续逻辑 - router.push(`/inquire/marriage`); - }); - return; // 阻止继续跳转,等待 dialog 回调 - } + // if (name === "marriage") { + // showConfirmDialog({ + // title: "婚恋风险查询", + // message: "是否进入天远查进行婚恋查询?", + // confirmButtonText: "进入", + // cancelButtonText: "取消", + // }) + // .then(() => { + // // 在当前标签页打开,不新开tab + // window.location.href = "https://www.tianyuancha.cn"; + // }) + // .catch(() => { + // // 取消则继续后续逻辑 + // router.push(`/inquire/marriage`); + // }); + // return; // 阻止继续跳转,等待 dialog 回调 + // } router.push(`/inquire/${name}`); } function toInvitation() {