This commit is contained in:
zzc
2026-05-27 18:09:15 +08:00
parent 87784a78c6
commit cbb0cf0ac7
2 changed files with 10 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
</view> </view>
<view class="stat-item heat"> <view class="stat-item heat">
<text class="stat-icon icon-fire"></text> <text class="stat-icon icon-fire"></text>
<text>热度 {{ topic.heat }}</text> <text>热度 {{ topic.hotScore }} w</text>
</view> </view>
</view> </view>
</view> </view>

View File

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