Fix(账户明细):[31841]账户明细空白时,加上暂无消费记录的图片
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<Loading :loaded="loaded" :loading="loading"></Loading>
|
||||
<view v-if="loaded">
|
||||
<image :src="webUrl + '/noConsumption.png'" class="no-data"></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@@ -39,6 +42,7 @@ export default {
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
types: 0,
|
||||
where: {
|
||||
page: 1,
|
||||
@@ -114,3 +118,11 @@ export default {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.no-data {
|
||||
display: block;
|
||||
width: 500rpx;
|
||||
height: 500rpx;
|
||||
margin: 100rpx auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user