From 9bef0f01f093badb5e2b66fdd132da78d5df5d6c Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 31 三月 2021 11:20:04 +0800 Subject: [PATCH] 修改文件接口路徑 --- src/api/mapApi.js | 3 +++ src/api/mapUrl.js | 2 ++ src/components/BaseNav/PublicBounced/PublicBounced.vue | 9 ++++++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/api/mapApi.js b/src/api/mapApi.js index 7376708..80e2ff7 100644 --- a/src/api/mapApi.js +++ b/src/api/mapApi.js @@ -11,4 +11,7 @@ getUser (data) { return axios.get(mapUrl.GetUser, data) } + // getWasteGas (data) { + // return axios.get(mapUrl.GetWasteGas, data) + // } } diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js index f5f7815..1c054d5 100644 --- a/src/api/mapUrl.js +++ b/src/api/mapUrl.js @@ -4,3 +4,5 @@ import { $HOST } from './host' export const GetUser = $HOST + '/user/getUser' + +// export const GetWasteGas = $HOST + '/wasteGas/getWasteGas' diff --git a/src/components/BaseNav/PublicBounced/PublicBounced.vue b/src/components/BaseNav/PublicBounced/PublicBounced.vue index 0085f00..f0b58c2 100644 --- a/src/components/BaseNav/PublicBounced/PublicBounced.vue +++ b/src/components/BaseNav/PublicBounced/PublicBounced.vue @@ -85,16 +85,19 @@ .public-bounced-content { margin: 15px auto; display: flex; - align-items: center; + //align-items: center; justify-content: space-around; + padding: 10px; .public-bounced-content-left { - width: 48%; + flex: 3; height: 100%; + margin-right: 10px; } .public-bounced-content-right { - width: 48%; + flex: 2; + //width: 48%; height: 100%; } } -- Gitblit v1.8.0