rating
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<text class="topic-title">{{ topicData.title }}</text>
|
<text class="topic-title">{{ topicData.title }}</text>
|
||||||
<view class="topic-stats">
|
<view class="topic-stats">
|
||||||
<text class="stat-icon fire-icon"></text>
|
<text class="stat-icon fire-icon"></text>
|
||||||
<text class="stat-text">热度 {{ topicData.heat }}</text>
|
<text class="stat-text">热度 {{ topicData.hotScore }} w</text>
|
||||||
<text class="stat-text margin-left">{{ topicData.participantCount }}人参与</text>
|
<text class="stat-text margin-left">{{ topicData.participantCount }}人参与</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -193,7 +193,8 @@ const loadDetail = async (topicId) => {
|
|||||||
heat: data.heat || '0',
|
heat: data.heat || '0',
|
||||||
participants: data.participants || '0',
|
participants: data.participants || '0',
|
||||||
aiSummary: data.aiSummary || '暂无总结',
|
aiSummary: data.aiSummary || '暂无总结',
|
||||||
participantCount: data.participantCount || '0'
|
participantCount: data.participantCount || '0',
|
||||||
|
hotScore: data.hotScore || '0'
|
||||||
};
|
};
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("获取主题详情失败:", e);
|
console.error("获取主题详情失败:", e);
|
||||||
@@ -445,14 +446,14 @@ onReachBottom(() => {
|
|||||||
.stat-icon.fire-icon {
|
.stat-icon.fire-icon {
|
||||||
width: 26rpx;
|
width: 26rpx;
|
||||||
height: 26rpx;
|
height: 26rpx;
|
||||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232953ff'%3E%3Cpath d='M19.48 13.03c-.02-.19-.13-.36-.29-.46-.17-.11-.38-.13-.56-.05-.98.42-2.12.3-2.92-.31-1.07-.81-1.55-2.22-1.28-3.75.12-.66.1-1.32-.06-1.97-.24-.95-1.1-1.6-2.09-1.58-1 .02-1.83.74-2 1.72-.25 1.55-.95 2.94-2 4.02-1.38 1.41-2.05 3.39-1.85 5.4.2 2.05 1.42 3.86 3.25 4.82 1.37.72 2.94 1.01 4.5.83 2.74-.32 5.06-2.28 5.86-4.95.23-.75.29-1.52.19-2.28-.06-.5-.21-.99-.41-1.45l-.34-.99zm-4.98 6.47c-1.37 0-2.5-1.13-2.5-2.5s1.13-2.5 2.5-2.5 2.5 1.13 2.5 2.5-1.13 2.5-2.5 2.5z'/%3E%3C/svg%3E");
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4d4f'%3E%3Cpath d='M19.48 13.03c-.02-.19-.13-.36-.29-.46-.17-.11-.38-.13-.56-.05-.98.42-2.12.3-2.92-.31-1.07-.81-1.55-2.22-1.28-3.75.12-.66.1-1.32-.06-1.97-.24-.95-1.1-1.6-2.09-1.58-1 .02-1.83.74-2 1.72-.25 1.55-.95 2.94-2 4.02-1.38 1.41-2.05 3.39-1.85 5.4.2 2.05 1.42 3.86 3.25 4.82 1.37.72 2.94 1.01 4.5.83 2.74-.32 5.06-2.28 5.86-4.95.23-.75.29-1.52.19-2.28-.06-.5-.21-.99-.41-1.45l-.34-.99zm-4.98 6.47c-1.37 0-2.5-1.13-2.5-2.5s1.13-2.5 2.5-2.5 2.5 1.13 2.5 2.5-1.13 2.5-2.5 2.5z'/%3E%3C/svg%3E");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
margin-right: 12rpx;
|
margin-right: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-text {
|
.stat-text {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #2953ff;
|
color: #FF5A5F;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user