update square/square.vue

This commit is contained in:
linfeng 2023-11-22 10:38:59 +08:00
parent c179fe03c5
commit 0a667b478b

View File

@ -26,7 +26,6 @@
v-for="(item, index) in userList" :key="index">
<view v-if="index < 3" class="user-index-hot">{{ index + 1 }}</view>
<view v-else class="user-index-common">{{ index + 1 }}</view>
<image class="avatar" mode="aspectFill" :src="item.avatar"></image>
<view class="right">
<text class="username">{{ item.username }}</text>
@ -197,7 +196,7 @@
text-align: center;
line-height: 55rpx;
}
.user-index-common {
margin: 20rpx 20rpx 0rpx 0rpx;
color: #fff;
@ -243,14 +242,14 @@
color: #a3a3a3;
font-size: 22rpx;
}
.post-num{
.post-num {
display: inline-block;
border-radius: 10rpx;
margin-right: 20rpx;
margin-top: 40rpx;
color: #aaaaff;
font-size: 34rpx;
font-size: 36rpx;
font-weight: 800;
}
}