10.10综合交易所原始源码_移动端
1
7 days ago 4f9044ae2a9f2db03bbb916bc5f6dfd12916361d
src/views/Record/DepositAndWithdrawal.vue
@@ -11,8 +11,8 @@
        </div>
        <div class="list-wrap px-8 pt-8">
            <div class="tab-wrap flex px-4 mt-5">
                <div class="tab-item mr-4" :class="[selectIndexActive === index ? 'active' : '']"
                    v-for="(item, index) in tabListTwo" :key="index" @click="changeCoin(index)">{{ item }}</div>
                <!-- <div class="tab-item mr-4" :class="[selectIndexActive === index ? 'active' : '']"
                    v-for="(item, index) in tabListTwo" :key="index" @click="changeCoin(index)">{{ item }}</div> -->
            </div>
            <van-pull-refresh v-model="refreshing" @refresh="onRefresh" :pulling-text="t('下拉即可刷新')"
                :loosing-text="t('释放即可刷新')" :loading-text="t('加载中...')">
@@ -82,7 +82,7 @@
const router = useRouter()
const route = useRoute()
let active = ref(0)
let selectIndexActive = ref(0)
let selectIndexActive = ref(1)
const list = ref([]);
const loading = ref(false);
const refreshing = ref(false)
@@ -119,13 +119,15 @@
            selectIndexActive.value = 0
        }
    }
    changeCoin(1)
})
let currentTab = ref({
    name: t('recharge'),
    direction: 'recharge'
})
// const tabListTwo = [t('foreignCurrency'), t('digitalCurrency')]
const tabListTwo = [t('foreignCurrency')]
const tabListTwo = ['', t('digitalCurrency')]
// const tabListTwo = [ t('digitalCurrency')]
// const tabListTwo = [t('foreignCurrency')]
const page = ref(1)
const onClickTab = () => {
    currentTab.value = tabList.value[active.value]