|
@@ -1,5 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="container">
|
|
<div class="container">
|
|
|
|
+ <van-pull-refresh v-model="loading" @refresh="onRefresh" style="height:100%">
|
|
<svg-icon name="wallet-bg" class="bg-img" />
|
|
<svg-icon name="wallet-bg" class="bg-img" />
|
|
<div class="user-info-body">
|
|
<div class="user-info-body">
|
|
<div class="user-info-lf">
|
|
<div class="user-info-lf">
|
|
@@ -126,6 +127,7 @@
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </van-pull-refresh>
|
|
<van-popup v-model:show="showWallet" position="bottom" round>
|
|
<van-popup v-model:show="showWallet" position="bottom" round>
|
|
<div class="pop-content">
|
|
<div class="pop-content">
|
|
<div class="pop-title">
|
|
<div class="pop-title">
|
|
@@ -312,6 +314,7 @@ const router = useRouter();
|
|
const walletStore = useWalletStore();
|
|
const walletStore = useWalletStore();
|
|
const systemStore = useSystemStore();
|
|
const systemStore = useSystemStore();
|
|
|
|
|
|
|
|
+const loading = ref(false);
|
|
const isShow = ref(true);
|
|
const isShow = ref(true);
|
|
const showWallet = ref(false);
|
|
const showWallet = ref(false);
|
|
const showHistory = ref(false);
|
|
const showHistory = ref(false);
|
|
@@ -323,6 +326,12 @@ const selectUrl = ref({});
|
|
const goToPage = (url) => {
|
|
const goToPage = (url) => {
|
|
router.push(url);
|
|
router.push(url);
|
|
};
|
|
};
|
|
|
|
+const onRefresh = () => {
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ gethotTokens();
|
|
|
|
+ loading.value = false;
|
|
|
|
+ }, 1000);
|
|
|
|
+};
|
|
// 跳转详情
|
|
// 跳转详情
|
|
const goToPageDetail = () => {
|
|
const goToPageDetail = () => {
|
|
router.push({
|
|
router.push({
|