rating
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<!-- 领奖台 (Top 3) -->
|
||||
<view class="podium-section" v-if="ratingItems && ratingItems.length >= 3">
|
||||
<!-- 第二名 -->
|
||||
<view class="podium-item rank-2">
|
||||
<view class="podium-item rank-2" @tap="goToDetail(ratingItems[1].id)">
|
||||
<view class="avatar-wrap">
|
||||
<image class="avatar" :src="FILE_BASE_URL + ratingItems[1].avatarUrl" mode="aspectFill" />
|
||||
<text class="rank-badge badge-2">2</text>
|
||||
@@ -50,7 +50,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 第一名 -->
|
||||
<view class="podium-item rank-1">
|
||||
<view class="podium-item rank-1" @tap="goToDetail(ratingItems[0].id)">
|
||||
<view class="avatar-wrap">
|
||||
<image class="avatar avatar-1" :src="FILE_BASE_URL + ratingItems[0].avatarUrl" mode="aspectFill" />
|
||||
<text class="rank-badge badge-1">1</text>
|
||||
@@ -61,7 +61,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 第三名 -->
|
||||
<view class="podium-item rank-3">
|
||||
<view class="podium-item rank-3" @tap="goToDetail(ratingItems[2].id)">
|
||||
<view class="avatar-wrap">
|
||||
<image class="avatar" :src="FILE_BASE_URL + ratingItems[2].avatarUrl" mode="aspectFill" />
|
||||
<text class="rank-badge badge-3">3</text>
|
||||
@@ -263,6 +263,11 @@ const loadItems = async (topicId, page = 1) => {
|
||||
};
|
||||
|
||||
onLoad((options) => {
|
||||
uni.$trackRecord({
|
||||
eventName: "rating_topic_detail_page_visit",
|
||||
eventType: `visit`,
|
||||
elementId: options.topicId
|
||||
})
|
||||
if (options.topicId) {
|
||||
currentTopicId.value = options.topicId;
|
||||
loadDetail(options.topicId);
|
||||
@@ -576,7 +581,7 @@ onReachBottom(() => {
|
||||
}
|
||||
|
||||
.box-3 {
|
||||
height: 130rpx;
|
||||
height: 150rpx; /* 从 130rpx 调整到 150rpx */
|
||||
background-color: #eef1f8;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user