This commit is contained in:
2025-12-16 12:58:09 +08:00
parent 3135250b1e
commit 5840a1022d
4 changed files with 31 additions and 24 deletions

View File

@@ -78,7 +78,7 @@
</van-button>
</template>
</van-field>
</div>
</div>
<!-- 金额提示 -->
<div class="text-sm mb-2" style="color: var(--van-text-color);">

View File

@@ -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() {