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

@@ -221,6 +221,10 @@
</view>
</view>
</view>
<PopupCandidate v-if='popupCandidateShow' page='asset_wallet_recharge'
:identifier='userStore.state.identifier' @close='onPopupCandidateClose' />
</template>
<script setup>
@@ -228,6 +232,7 @@
import { onShow } from '@dcloudio/uni-app';
import { walletApi } from '@/api/index.js';
import { useUserStore } from '@/store/index.js';
import PopupCandidate from '@/components/PopupCandidate.vue';
import {
consumePendingPaymentRefresh,
handlePaymentError,
@@ -242,6 +247,11 @@
import { getDefaultPaymentMethod, getPaymentMethodOptions, normalizePaymentMethods } from '@/utils/payment-methods.js';
const userStore = useUserStore();
const popupCandidateShow = ref(false);
const onPopupCandidateClose = () => {
popupCandidateShow.value = false;
};
const currentTab = ref(0);
const walletDetail = reactive({
@@ -765,6 +775,7 @@
onMounted(() => {
syncWalletStatus();
popupCandidateShow.value = true;
});
</script>