修复订单结算私域引流弹窗问题,修复后付费模式下确认订单显示问题

This commit is contained in:
2025-12-09 09:19:18 +08:00
parent a6190774c8
commit d02948a936
6 changed files with 1513 additions and 1317 deletions

View File

@@ -2,7 +2,7 @@
<view>
<!-- 私域引流 -->
<up-popup
:show="showPreview"
:show="show"
mode="center"
round="16rpx"
closeOnClickOverlay
@@ -53,10 +53,12 @@ const showPreview = defineModel({
type: Boolean,
default: false,
});
const show=ref(false);
const emit = defineEmits(["close"]);
function close() {
showPreview.value = false;
show.value = false;
emit("close");
}
const drainageConfig = ref({});
@@ -67,7 +69,7 @@ async function getDrainageConfig() {
});
drainageConfig.value = drainageConfigRes;
if (drainageConfig.value.isEnable) {
showPreview.value = true;
show.value = true;
} else {
close();
}