优化页面
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
lower-threshold="100"
|
||||
@scrolltolower="onScrollToLower"
|
||||
:refresher-triggered="triggered"
|
||||
v-if="pointslist.length!= 0"
|
||||
>
|
||||
<uni-card class="card" v-for="(item, index) in pointslist" :key="index" >
|
||||
<view
|
||||
@@ -40,6 +41,7 @@
|
||||
</view>
|
||||
</uni-card>
|
||||
</scroll-view>
|
||||
<view v-if="pointslist.length == 0" class="empty">暂无积分记录</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -153,6 +155,14 @@ export default {
|
||||
height: 100%;
|
||||
width: 750rpx;
|
||||
}
|
||||
.empty{
|
||||
height: 100%;
|
||||
width: 750rpx;
|
||||
line-height: 1200rpx;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
color: #898989;
|
||||
}
|
||||
.card-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user