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