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 @@