f
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
</van-button>
|
||||
</template>
|
||||
</van-field>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 金额提示 -->
|
||||
<div class="text-sm mb-2" style="color: var(--van-text-color);">
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user