feat: new

This commit is contained in:
luo
2026-09-16 16:32:08 +08:00
parent 6a1543f9f6
commit 8bd9de15cd
22 changed files with 2502 additions and 33 deletions

View File

@@ -95,6 +95,10 @@
</view>
</up-popup>
</view>
<PopupCandidate v-if='popupCandidateShow' page='package_purchase'
:identifier='userStore.state.identifier' @close='onPopupCandidateClose' />
</template>
<script setup>
@@ -102,6 +106,7 @@
import { onLoad, onShow } from '@dcloudio/uni-app';
import { assetApi, isAssetRealNameCompleted, orderApi, walletApi } from '@/api/index.js';
import { useUserStore } from '@/store/index.js';
import PopupCandidate from '@/components/PopupCandidate.vue';
import {
consumePendingPaymentRefresh,
handlePaymentError,
@@ -116,6 +121,11 @@
import { getDefaultPaymentMethod, getPaymentMethodOptions, normalizePaymentMethods } from '@/utils/payment-methods.js';
const userStore = useUserStore();
const popupCandidateShow = ref(false);
const onPopupCandidateClose = () => {
popupCandidateShow.value = false;
};
const showModal = ref(false);
const currentPackage = ref(null);
@@ -515,6 +525,7 @@
} catch (error) {
renewalPackageNames.value = [];
}
popupCandidateShow.value = true;
});
onMounted(() => {