优化页面
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;
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
<!-- 弹窗 -->
|
||||
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-container">
|
||||
<view class="popup-title">选择我的主播</view>
|
||||
<view class="popup-title">点击选择我的主播</view>
|
||||
<scroll-view
|
||||
show-scrollbar="false"
|
||||
scroll-y="true"
|
||||
@@ -175,7 +175,7 @@
|
||||
class="card-content"
|
||||
@click="Select(item.id, item)"
|
||||
:style="{
|
||||
background: selectedId === item.id ? '#f6f6f6' : '#ffffff',
|
||||
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
|
||||
}"
|
||||
>
|
||||
<view class="Avatarimg">
|
||||
|
||||
Reference in New Issue
Block a user