优化页面
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
lower-threshold="100"
|
||||
@scrolltolower="onScrollToLower"
|
||||
:refresher-triggered="triggered"
|
||||
v-if="pkRecordlist.length !== 0"
|
||||
>
|
||||
<uni-card v-for="(item, index) in pkRecordlist" :key="index" >
|
||||
<view class="card" @click="onItemClick(item)">
|
||||
@@ -86,6 +87,7 @@
|
||||
</view>
|
||||
</uni-card>
|
||||
</scroll-view>
|
||||
<view v-if="pkRecordlist.length === 0" class="nodata">暂无内容</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -289,6 +291,14 @@ export default {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.nodata {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 1300rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
color: #a3a3a3;
|
||||
}
|
||||
/* 卡片 */
|
||||
.card {
|
||||
width: 694.66rpx;
|
||||
|
||||
Reference in New Issue
Block a user