This commit is contained in:
linfeng 2023-11-28 10:42:13 +08:00
commit 03c64af20d
2 changed files with 6 additions and 7 deletions

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;
} }
} }

View File

@ -33,14 +33,14 @@
prop="id" prop="id"
header-align="center" header-align="center"
align="center" align="center"
label="id" label="评论ID"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="uid" prop="uid"
header-align="center" header-align="center"
align="center" align="center"
label="评论作者ID" label="评论用户ID"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column