diff --git a/api/topicItem.js b/api/topicItem.js index cc804c7..1de9835 100644 --- a/api/topicItem.js +++ b/api/topicItem.js @@ -7,4 +7,12 @@ export const topicItemScore = async (data) => { method: "POST", data, }); +}; + +// 获取主题下的评分项 +export const fetchTopicRatingItems = async (itemId) => { + return request({ + url: `/api/rating/topic/item/detail/${itemId}`, + method: "GET", + }); }; \ No newline at end of file diff --git a/pages/rating/detail.vue b/pages/rating/detail.vue index fa2a72c..45b0b1f 100644 --- a/pages/rating/detail.vue +++ b/pages/rating/detail.vue @@ -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 {