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"> v-for="(item, index) in userList" :key="index">
<view v-if="index < 3" class="user-index-hot">{{ index + 1 }}</view> <view v-if="index < 3" class="user-index-hot">{{ index + 1 }}</view>
<view v-else class="user-index-common">{{ index + 1 }}</view> <view v-else class="user-index-common">{{ index + 1 }}</view>
<image class="avatar" mode="aspectFill" :src="item.avatar"></image> <image class="avatar" mode="aspectFill" :src="item.avatar"></image>
<view class="right"> <view class="right">
<text class="username">{{ item.username }}</text> <text class="username">{{ item.username }}</text>
@ -244,13 +243,13 @@
font-size: 22rpx; font-size: 22rpx;
} }
.post-num{ .post-num {
display: inline-block; display: inline-block;
border-radius: 10rpx; border-radius: 10rpx;
margin-right: 20rpx; margin-right: 20rpx;
margin-top: 40rpx; margin-top: 40rpx;
color: #aaaaff; color: #aaaaff;
font-size: 34rpx; font-size: 36rpx;
font-weight: 800; font-weight: 800;
} }
} }