Browse Source

修改为空的页面显示图标

master
liaoxinyu 1 year ago
parent
commit
2687ca695e
  1. 4
      pages/assets/account-bill.vue
  2. 1
      pages/assets/records.vue
  3. 6
      pages/base/home.vue
  4. 4
      pages/base/mine.vue
  5. 2
      pages/exchange/exchange-transaction.vue
  6. 4
      pages/exchange/open-position.vue
  7. 1
      pages/transfer/bill.vue

4
pages/assets/account-bill.vue

@ -4,6 +4,7 @@
<!-- 币币 -->
<v-paging class="layout-main backcor-black" :ajax="accountFlow" :data="query">
<template #box="list">
<van-empty style="background-color: #22222d;" v-if="isEmptyObject(list)" description=""/>
<view
class="item bg-panel-4 m-x-md m-y-xs rounded-sm box-shadow backcor-grey"
v-for="item in $list(list)"
@ -66,6 +67,9 @@ export default {
this.detail = res.data;
});
},
isEmptyObject(obj) {
return Object.keys(obj).length === 0;
}
},
created() {
this.appTokenAssets();

1
pages/assets/records.vue

@ -10,6 +10,7 @@
</view>
</template>
</v-header>
<van-empty style="background-color: #22222d;" v-if="!list.length" :description="$t('contract.d0')"/>
<view class="layout-main">
<view class="bg-panel-3" style="height: 100%;">
<view class="rounded-md m-b-lg" v-if="list.length" style="padding-bottom: 100px !important;">

6
pages/base/home.vue

@ -268,13 +268,13 @@
</view>
</view>
<!-- href="https://app.mhbcoin.com/download/Otlwcoin.html" -->
<a style="display: block;width: 100%;text-decoration: none;">
<a style="display: block;width: 100%;text-decoration: none;" v-if="0">
<view class="store_view">
<image src="@/assets/img/home/antFill-apple@2x.png" mode="" style="width: 48rpx;height: 48rpx;"></image>
<view style="color: #908F94;margin-left: 20rpx;">APP Store</view>
</view>
</a>
<a style="display: block;width: 100%;text-decoration: none;">
<a style="display: block;width: 100%;text-decoration: none;" v-if="0">
<view class="store_view">
<image src="@/assets/img/home/md-android@2x.png" mode="" style="width: 48rpx;height: 48rpx;"></image>
<view style="color: #908F94;margin-left: 20rpx;">Android</view>
@ -1956,7 +1956,7 @@
.positionBox_box3{
position: absolute;
bottom: 40px;
bottom: 0px;
animation: boxImg 1.3s ease-in-out infinite alternate;
}
@keyframes boxImg{

4
pages/base/mine.vue

@ -261,6 +261,7 @@
</view>
<view class="h-4 m-t-xs"></view>
</router-link>
<van-empty class="bg-panel-3" v-if="filteredList.length === 0" :description="$t('contract.d0')"/>
</view>
<!-- </van-tab>
@ -358,6 +359,9 @@ export default {
hideMoney: "hideMoney",
theme: "theme",
}),
filteredList() {
return this.list.filter(item => this.ifShow(item));
}
},
props: {
isShow: {

2
pages/exchange/exchange-transaction.vue

@ -356,7 +356,7 @@
<view class="">当前交易品种</view>
<view class="">批量撤单</view>
</view> -->
<van-empty v-if="!Object.values(list).length" description="" />
<van-empty v-if="!Object.values(list).length" :description="$t('contract.d0')" />
<view v-for="item in (list)" class="item border-b fn-14" :key="item.order_no">
<view class="p-x-md p-y-xs">
<view class="row d-flex m-y-xs">

4
pages/exchange/open-position.vue

@ -648,7 +648,7 @@
</view>
</view>
</template>
<van-empty class="bg-panel-3" v-if="!list.length&&active==0" description=""/>
<van-empty class="bg-panel-3" v-if="!list.length&&active==0" :description="$t('contract.d0')"/>
<template v-if="active==1">
<view
class="item border-b bg-panel-3"
@ -714,7 +714,7 @@
</view>
</view>
</template>
<van-empty v-if="!listCurrent.length&&active==1" description=""/>
<van-empty v-if="!listCurrent.length&&active==1" :description="$t('contract.d0')"/>
</view>
<van-popup :show="stoplossShow" @close="stoplossShow = false" closeable
custom-style="height:auto;width:90%;overflow:auto;padding-bottom:20px;border-radius:5px">

1
pages/transfer/bill.vue

@ -3,6 +3,7 @@
<v-header :title="$t('transfer.a0')"></v-header>
<v-scroll class="layout-main backcor-black" @ref="ref" @load="load">
<ul class="list">
<van-empty style="background-color: #22222d;" v-if="!list.length" description=""/>
<div @click="paying(item.order_status)" class="item bg-panel-4 m-x-md m-y-xs rounded-sm box-shadow backcor-grey" v-for="item in list" :key="item.datetime">
<div class="head d-flex align-center border-b p-x-md p-y-xs justify-between">
<div class="d-flex">

Loading…
Cancel
Save