f
This commit is contained in:
@@ -6,6 +6,7 @@ import { useUserStore } from "@/stores/userStore";
|
|||||||
import { useDialogStore } from "@/stores/dialogStore";
|
import { useDialogStore } from "@/stores/dialogStore";
|
||||||
import { useAuthStore } from "@/stores/authStore";
|
import { useAuthStore } from "@/stores/authStore";
|
||||||
import { useWeixinShare } from "@/composables/useWeixinShare";
|
import { useWeixinShare } from "@/composables/useWeixinShare";
|
||||||
|
import WechatOverlay from "@/components/WechatOverlay.vue";
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const agentStore = useAgentStore();
|
const agentStore = useAgentStore();
|
||||||
@@ -205,6 +206,8 @@ const h5WeixinGetCode = () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<RouterView />
|
<RouterView />
|
||||||
|
|
||||||
|
<!-- <WechatOverlay /> -->
|
||||||
<BindPhoneDialog />
|
<BindPhoneDialog />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -122,15 +122,19 @@ const posterImages = ref([]);
|
|||||||
|
|
||||||
// QR码位置配置(为每个海报单独配置)
|
// QR码位置配置(为每个海报单独配置)
|
||||||
const qrCodePositions = ref({
|
const qrCodePositions = ref({
|
||||||
// promote模式的配置 (tg_qrcode)
|
|
||||||
promote: [
|
promote: [
|
||||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_1.png
|
{ x: 180, y: 1440, size: 300 }, // tg_qrcode_1.png
|
||||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_2.jpg
|
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_2.jpg
|
||||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_3.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模式的配置 (yq_qrcode)
|
||||||
invitation: [
|
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 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) {
|
for (const i of imageNumbers) {
|
||||||
|
|||||||
@@ -14,23 +14,23 @@ import housekeepingRiskIcon from "@/assets/images/index/housekeeping_risk_bg.png
|
|||||||
import preLoanRiskIcon from "@/assets/images/index/preloan_risk_bg.png";
|
import preLoanRiskIcon from "@/assets/images/index/preloan_risk_bg.png";
|
||||||
|
|
||||||
function toInquire(name) {
|
function toInquire(name) {
|
||||||
if (name === "marriage") {
|
// if (name === "marriage") {
|
||||||
showConfirmDialog({
|
// showConfirmDialog({
|
||||||
title: "婚恋风险查询",
|
// title: "婚恋风险查询",
|
||||||
message: "是否进入天远查进行婚恋查询?",
|
// message: "是否进入天远查进行婚恋查询?",
|
||||||
confirmButtonText: "进入",
|
// confirmButtonText: "进入",
|
||||||
cancelButtonText: "取消",
|
// cancelButtonText: "取消",
|
||||||
})
|
// })
|
||||||
.then(() => {
|
// .then(() => {
|
||||||
// 在当前标签页打开,不新开tab
|
// // 在当前标签页打开,不新开tab
|
||||||
window.location.href = "https://www.tianyuancha.cn";
|
// window.location.href = "https://www.tianyuancha.cn";
|
||||||
})
|
// })
|
||||||
.catch(() => {
|
// .catch(() => {
|
||||||
// 取消则继续后续逻辑
|
// // 取消则继续后续逻辑
|
||||||
router.push(`/inquire/marriage`);
|
// router.push(`/inquire/marriage`);
|
||||||
});
|
// });
|
||||||
return; // 阻止继续跳转,等待 dialog 回调
|
// return; // 阻止继续跳转,等待 dialog 回调
|
||||||
}
|
// }
|
||||||
router.push(`/inquire/${name}`);
|
router.push(`/inquire/${name}`);
|
||||||
}
|
}
|
||||||
function toInvitation() {
|
function toInvitation() {
|
||||||
|
|||||||
Reference in New Issue
Block a user