Browse Source

个人资产登录后获取

master
luyisha 2 years ago
parent
commit
b2f2943431
  1. 20
      pages/base/home.vue

20
pages/base/home.vue

@ -25,13 +25,13 @@
<scroll-view @refresherrefresh="onRefresh" :refresher-enabled="refresherEnabled&&scrollTop<50"
:refresher-triggered="refreshing" refresher-background="transparent" :refresher-threshold="50">
<!-- 轮播 -->
<swiper v-if="0" class="my-swipe m-x-md p-b-xs" :autoplay="true" indicator-dots indicator-color="white">
<swiper v-if="false" class="my-swipe m-x-md p-b-xs" :autoplay="true" indicator-dots indicator-color="white">
<swiper-item class="my_swipe_item" v-for="(item, idx) in home" :key="idx">
<img width="100%" height="100%" class="rounded-sm" fit="cover" :src="item.imgurl" />
</swiper-item>
</swiper>
<!-- 公告 -->
<v-notice-bar v-if="notice.length&&0" class="m-t-md m-x-md bg-panel-1 box-shadow rounded-sm">
<v-notice-bar v-if="notice.length&&false" class="m-t-md m-x-md bg-panel-1 box-shadow rounded-sm">
<template #left-icon>
<van-icon class="m-r-sm fn-16" @click="() => _router.push({ path: '/pages/notice/index' })"
name="volume-o" />
@ -73,7 +73,7 @@
</v-link>
</view> -->
<!-- 指数 -->
<view class="stock-swipe d-flex p-x-md m-t-ms" v-if="0">
<view class="stock-swipe d-flex p-x-md m-t-ms" v-if="false">
<view class="swipe_right flex-fill lists" v-for="(parentItem,index) in marketList" v-if="index==1"
:key="parentItem.coin_name">
<view v-for="(item,iindex) in parentItem.collect
@ -291,7 +291,7 @@
<!-- 适合所有人的加密货币交易所 -->
<view style="margin-top: 100rpx;">
<view style="margin-top: 100rpx;" v-if="false">
<view style="width: 700rpx;margin: 0px auto;">
<view class="fn-28 fn-bold m-y-md" style="width: 75%;color: #e7e7e7;">
{{ $t("homeNewText.bb4") }}
@ -349,7 +349,7 @@
</view>
</view>
</view>
<view class="introduce_area">
<view class="introduce_area" v-if="false">
<view class="fn-28 fn-bold color-white m-y-md">{{ $t("homeNewText.dd1") }}</view>
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.dd2") }}</view>
<view class="zhanshi"></view>
@ -376,7 +376,7 @@
</view>
<!-- 交易随时随地 -->
<view class="download_area">
<view class="download_area" v-if="false">
<view style="width: 700rpx;margin: 0px auto;">
<view class="fn-28 fn-bold m-y-md" style="color: #e7e7e7;">{{ $t("homeNewText.cc5") }}</view>
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.cc8") }}</view>
@ -393,7 +393,7 @@
</view>
</view>
<!-- 帮助中心 -->
<view style="width: 700rpx;margin: 120rpx auto 40rpx;" v-if="0">
<view style="width: 700rpx;margin: 120rpx auto 40rpx;" v-if="false">
<view class="fn-20 fn-bold color-white m-b-lg" style="text-align: center;">
{{ $t("homeNewText.dd7") }}
</view>
@ -407,7 +407,7 @@
</view>
<!-- 五百万 -->
<view class="five_million">
<view class="five_million" v-if="false">
<view class="f_item">
<view class="txt1">Top 10</view>
<view class="txt2">{{ $t("homeNewText.ee1") }}</view>
@ -425,7 +425,7 @@
<view class="txt2">{{ $t("homeNewText.ee4") }}</view>
</view>
</view>
<view class="now_area">
<view class="now_area" v-if="false">
<view style="margin-bottom: 40rpx;">
{{ $t("homeNewText.ee5") }}
</view>
@ -1153,10 +1153,10 @@
this.indexMarketList();
this.getCurrencyExCny();
this.getHelpList();
this.personalAssets();
if (this.isLogin) {
this.createWalletAddress();
this.getAuthInfo()
this.personalAssets();
}
},
destroyed() {},

Loading…
Cancel
Save