feat: new
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user