fix: rating

This commit is contained in:
zzc
2026-06-09 23:55:11 +08:00
parent 36dbf05c11
commit d4478cccd8
8 changed files with 101 additions and 58 deletions

View File

@@ -151,7 +151,7 @@
</view>
<view class="footer-bar">
<button class="submit-btn" @tap="handleSubmit">发布全民评分</button>
<button class="submit-btn" @tap="handleSubmit">发布夯拉评分</button>
</view>
</view>
</template>
@@ -321,6 +321,17 @@ const handleSubmit = async () => {
participants: participants.value,
};
await releaseTopic(payload);
// 记录发布事件
uni.$trackRecord({
eventName: 'release_topic',
eventType: 'release',
elementContent: `话题_${payload.title}`,
customParams: {
title: payload.title,
categoryId: payload.categoryId,
}
});
uni.hideLoading();
uni.showToast({