fix: rating

This commit is contained in:
zzc
2026-05-24 22:54:35 +08:00
parent 553d546c6e
commit f8f7d80922
2 changed files with 15 additions and 4 deletions

View File

@@ -8,3 +8,11 @@ export const topicItemScore = async (data) => {
data,
});
};
// 获取主题下的评分项
export const fetchTopicRatingItems = async (itemId) => {
return request({
url: `/api/rating/topic/item/detail/${itemId}`,
method: "GET",
});
};

View File

@@ -256,8 +256,9 @@ onReachBottom(() => {
.nav-title {
font-size: 34rpx;
font-weight: bold;
font-weight: 700;
color: #111;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
.nav-right {
@@ -385,10 +386,11 @@ onReachBottom(() => {
/* 你的态度面板 */
.section-title {
font-size: 34rpx;
font-weight: bold;
font-weight: 700;
color: #111;
margin-bottom: 32rpx;
display: block;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
.action-group {
@@ -571,13 +573,14 @@ onReachBottom(() => {
font-weight: 500;
position: relative;
padding-bottom: 12rpx;
transition: all 0.3s;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
.tab.active {
color: #111;
font-size: 36rpx;
font-weight: 800;
font-weight: 700; /* 稍微减轻字重从800改为700显得不那么生硬 */
}
.tab.active::after {