From b6d55e76981eebb0ef5d1d512f56b41f7274e3b7 Mon Sep 17 00:00:00 2001
From: zzc <1761997216@qq.com>
Date: Tue, 26 May 2026 21:02:06 +0800
Subject: [PATCH] rating detail
---
components/TopicCard/TopicCard.vue | 2 +-
pages/rating/detail.vue | 6 +++---
pages/rating/index.vue | 9 +++++----
pages/release/index.vue | 29 ++++++++++++++---------------
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/components/TopicCard/TopicCard.vue b/components/TopicCard/TopicCard.vue
index f254986..55fb9e8 100644
--- a/components/TopicCard/TopicCard.vue
+++ b/components/TopicCard/TopicCard.vue
@@ -6,7 +6,7 @@
- {{ topic.participants }}人参与
+ {{ topic.participantCount }}人参与
diff --git a/pages/rating/detail.vue b/pages/rating/detail.vue
index 0e0ece5..5a1c43c 100644
--- a/pages/rating/detail.vue
+++ b/pages/rating/detail.vue
@@ -27,7 +27,7 @@
🥇 No.1
- 🔥 {{ detailData.hotScore }} 热度
+ 🔥 {{ detailData.hotScore }}w 热度
{{ detailData.ratingCount }} 人评分
@@ -83,7 +83,7 @@
最热
最新
-
+
@@ -85,7 +85,7 @@
-
@@ -209,7 +209,7 @@ const tagInput = ref("");
const participants = ref([
{
id: 1,
- name: "秦始皇",
+ name: "",
desc: "一句话简介",
avatar: "",
},
@@ -298,10 +298,10 @@ const handleSubmit = async () => {
uni.showToast({ title: '请输入话题', icon: 'none' });
return;
}
- if (!formData.coverUrl) {
- uni.showToast({ title: '请上传封面图', icon: 'none' });
- return;
- }
+ // if (!formData.coverUrl) {
+ // uni.showToast({ title: '请上传封面图', icon: 'none' });
+ // return;
+ // }
if (!formData.categoryId) {
uni.showToast({ title: '请选择话题分类', icon: 'none' });
return;
@@ -320,7 +320,6 @@ const handleSubmit = async () => {
...formData,
participants: participants.value,
};
- console.log(11111, payload)
await releaseTopic(payload);
uni.hideLoading();