From 8d53a67e99623b648a1a5e05c7b58ec8ead55fe5 Mon Sep 17 00:00:00 2001 From: JayChou Date: Wed, 5 Feb 2025 16:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=B9=B4=E5=BA=A6=E6=AF=94?= =?UTF-8?q?=E8=B5=9B=E9=A1=B9=E7=9B=AEid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/race.ts | 10 +++- src/styles/index.scss | 5 ++ src/views/raceInfo/index.vue | 98 ++++++++++++++++++++---------------- 3 files changed, 68 insertions(+), 45 deletions(-) diff --git a/src/api/race.ts b/src/api/race.ts index 8083bb8..845ebf9 100644 --- a/src/api/race.ts +++ b/src/api/race.ts @@ -127,4 +127,12 @@ export const cancelRace = (params: any) => { method: 'GET', params, }) -} \ No newline at end of file +} +// 获取项目id +export const getProjectId = (params: any) => { + return request({ + url: '/comp/comp/findanncomppid', + method: 'GET', + params, + }) +} diff --git a/src/styles/index.scss b/src/styles/index.scss index 3d14fe2..a142426 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -46,4 +46,9 @@ } img{ width: 100%; +} +.race-description{ + p{ + line-height: 30px; + } } \ No newline at end of file diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue index be12e88..60d8030 100644 --- a/src/views/raceInfo/index.vue +++ b/src/views/raceInfo/index.vue @@ -1,13 +1,11 @@