fix:rating

This commit is contained in:
zzc
2026-06-08 10:34:47 +08:00
parent 27c244f3cd
commit 65cef99610
4 changed files with 11 additions and 3 deletions

View File

@@ -40,3 +40,11 @@ export const fetchTopicRatingItems = async (topicId, page = 1) => {
method: "GET", method: "GET",
}); });
}; };
// 获取当前用户参与的话题列表
export const fetchUserTopics = async (page = 1) => {
return request({
url: `/api/rating/personal/topic/list?page=${page}`,
method: "GET",
});
};

View File

@@ -65,7 +65,7 @@
<view class="menu-group"> <view class="menu-group">
<view class="menu-item" @tap="navTo('avatar')"> <view class="menu-item" @tap="navTo('avatar')">
<view class="icon-box pink-bg"><text></text></view> <view class="icon-box pink-bg"><text></text></view>
<text class="menu-text">的专属头像</text> <text class="menu-text">参与的话题</text>
<text class="arrow"></text> <text class="arrow"></text>
</view> </view>
</view> </view>

0
pages/mine/topics.vue Normal file
View File

View File

@@ -111,7 +111,7 @@
</view> </view>
</view> </view>
<view class="settings-card card-block"> <!-- <view class="settings-card card-block">
<view class="setting-row"> <view class="setting-row">
<view class="setting-info"> <view class="setting-info">
<text class="setting-title">允许用户锐评</text> <text class="setting-title">允许用户锐评</text>
@@ -147,7 +147,7 @@
@change="formData.anonymous = $event.detail.value" @change="formData.anonymous = $event.detail.value"
/> />
</view> </view>
</view> </view> -->
</view> </view>
<view class="footer-bar"> <view class="footer-bar">