浏览记录字段问题及代码优化

This commit is contained in:
clay
2023-01-17 23:19:52 +08:00
parent 2d08416f5e
commit 4b10b9486d
9 changed files with 64 additions and 29 deletions

View File

@@ -0,0 +1,38 @@
<template>
<view>
<news></news>
<view v-if="newsShow" class="no-data">已经到底啦</view>
</view>
</template>
<script>
export default {
data() {
return {
newsShow: true,
}
},
onLoad() {
},
methods: {
// this.newsShow = this.list.length === 0 ? true : false
}
}
</script>
<style lang="scss">
page {
background: #FFFFFF;
}
.no-data {
text-align: center;
margin-top: 29rpx;
font-size: 20rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #BBBBBB;
line-height: 28rpx;
}
</style>