fix(modal): resolve premature modal closing caused by unsupported click.self in wechat miniprogram
这个提交包含在:
@@ -184,8 +184,8 @@
|
||||
</view>
|
||||
|
||||
<!-- 举报不良行为弹窗 -->
|
||||
<view class="review-modal-mask" v-if="reportModalVisible" @click.self="closeReportModal">
|
||||
<view class="review-modal-content">
|
||||
<view class="review-modal-mask" v-if="reportModalVisible" @click="closeReportModal">
|
||||
<view class="review-modal-content" @click.stop="stopPropagation">
|
||||
<view class="modal-header">
|
||||
<view class="modal-header-left">
|
||||
<text class="modal-title">举报违规行为</text>
|
||||
@@ -264,6 +264,12 @@ onUnmounted(() => {
|
||||
uni.$off('theme-change', onThemeChanged);
|
||||
});
|
||||
|
||||
const stopPropagation = (e) => {
|
||||
if (e && typeof e.stopPropagation === 'function') {
|
||||
e.stopPropagation();
|
||||
}
|
||||
};
|
||||
|
||||
const isLoading = ref(true);
|
||||
const isFav = ref(false);
|
||||
const expert = ref({
|
||||
|
||||
@@ -244,8 +244,8 @@
|
||||
</view>
|
||||
|
||||
<!-- 参与人身份核验确认卡弹窗 (Modal) -->
|
||||
<view class="verify-modal-mask" v-if="showConfirmModal" @click.self="showConfirmModal = false">
|
||||
<view class="verify-modal-content">
|
||||
<view class="verify-modal-mask" v-if="showConfirmModal" @click="showConfirmModal = false">
|
||||
<view class="verify-modal-content" @click.stop="stopPropagation">
|
||||
<view class="modal-header">
|
||||
<text class="modal-title">参与人身份核验确认</text>
|
||||
<view class="badge-ready">门票有效</view>
|
||||
@@ -343,8 +343,8 @@
|
||||
</view>
|
||||
|
||||
<!-- 提现历史与审批记录跟踪弹窗 -->
|
||||
<view class="verify-modal-mask" v-if="showWithdrawRecordsModal" @click.self="showWithdrawRecordsModal = false">
|
||||
<view class="verify-modal-content withdraw-records-modal">
|
||||
<view class="verify-modal-mask" v-if="showWithdrawRecordsModal" @click="showWithdrawRecordsModal = false">
|
||||
<view class="verify-modal-content withdraw-records-modal" @click.stop="stopPropagation">
|
||||
<view class="modal-header">
|
||||
<text class="modal-title">提现记录与审批状态</text>
|
||||
<view class="btn-close btn-active" @click="showWithdrawRecordsModal = false">
|
||||
@@ -420,6 +420,12 @@ const todayIncome = ref('0.00');
|
||||
const todayOrdersCount = ref(0);
|
||||
const waitingVerifyCount = ref(0);
|
||||
|
||||
const stopPropagation = (e) => {
|
||||
if (e && typeof e.stopPropagation === 'function') {
|
||||
e.stopPropagation();
|
||||
}
|
||||
};
|
||||
|
||||
// 多维收益统计走势状态
|
||||
const trendPeriod = ref('daily');
|
||||
const trendMetric = ref('income');
|
||||
|
||||
在新工单中引用
屏蔽一个用户