feat: 功能完善: 订单模块的button切边、评论自动跳转、详情页进入个人页前置判断、详情分享卡片取值问题以及部分样式问题

This commit is contained in:
2025-10-18 11:23:20 +08:00
parent 9ef35267cf
commit 2ba4586804
13 changed files with 131 additions and 42 deletions

View File

@@ -54,7 +54,7 @@ export interface ToggleLikeType {
class CommentService {
// 查询评论列表
async getComments(req: { game_id: number, page: number, pageSize: number }): Promise<ApiResponse<CommentResponse>> {
return httpService.post("/comments/list", req, { showLoading: true });
return httpService.post("/comments/list", req, { showLoading: false });
}
// 发表评论

View File

@@ -106,7 +106,7 @@ class GameDetailService {
"/games/detail",
{ id },
{
showLoading: true,
showLoading: false,
},
);
}

View File

@@ -112,7 +112,7 @@ class EvaluateService {
// 获取最后一次(最新)测试结果
async getLastResult(): Promise<ApiResponse<LastTimeTestResult>> {
return httpService.post("/ntrp/last_result", {}, { showLoading: true });
return httpService.post("/ntrp/last_result", {}, { showLoading: false });
}
// 更新NTRP等级