From 5d37b65d076ffb8397f4a7b2528f4a1b6731234c Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Apr 2021 12:05:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/competeTimeList.js | 5 ++ manifest.json | 6 +- pages.json | 10 ++- pages/Athletes/AthAdd.vue | 3 +- pages/Coach/Coach.vue | 3 +- pages/First/Choose.vue | 97 ++++++++++++++++++++++++++++++ pages/First/First.vue | 23 ++++--- pages/Login/Login.vue | 4 +- store/modules/project/mutations.js | 13 +++- store/modules/project/state.js | 1 + 10 files changed, 146 insertions(+), 19 deletions(-) create mode 100644 api/competeTimeList.js create mode 100644 pages/First/Choose.vue diff --git a/api/competeTimeList.js b/api/competeTimeList.js new file mode 100644 index 0000000..8bb56fd --- /dev/null +++ b/api/competeTimeList.js @@ -0,0 +1,5 @@ +const proxyUrl = '/mt'; +import { http } from 'plugins/request/index'; + +// 查看比赛列表 +export const competeTimeList = params => http.post(`${proxyUrl}/compete/competeTimeList`, params); diff --git a/manifest.json b/manifest.json index 2277717..8bc15c2 100644 --- a/manifest.json +++ b/manifest.json @@ -101,9 +101,9 @@ "port" : 30022 }, "router" : { - "base" : "/compete-province" + "base" : "" }, - "domain" : "https://www.tall.wiki", + "domain" : "https://test.tall.wiki", "async" : { //页面js异步加载配置 "loading" : "AsyncLoading", //页面js加载时使用的组件(需注册为全局组件) @@ -111,7 +111,7 @@ "delay" : 500, //展示 loading 加载组件的延时时间(页面 js 若在 delay 时间内加载完成,则不会显示 loading 组件) "timeout" : 1000 //页面js加载超时时间(超时后展示 error 对应的组件) }, - "title" : "2020年山西省学生跳绳比赛报名系统", + "title" : "2021年山西省学生跳绳比赛报名系统", "optimization" : { "treeShaking" : { "enable" : false diff --git a/pages.json b/pages.json index 3fb95dc..8fcaa48 100644 --- a/pages.json +++ b/pages.json @@ -116,10 +116,18 @@ "path" : "pages/Project/MatchDetail/TeamDetail", "style" : {} } + ,{ + "path" : "pages/First/Choose", + "style" : { + "navigationBarTitleText": "选择比赛类型", + "navigationBarTextStyle": "#0a97c6", + "navigationBarBackgroundColor": "#6D99F2" + } + } ], "globalStyle": { "navigationBarTextStyle": "white", - "navigationBarTitleText": "2020年山西省学生跳绳比赛报名系统", + "navigationBarTitleText": "2021年山西省学生跳绳比赛报名系统", "navigationBarBackgroundColor": "#6D99F2", "backgroundColor": "#0a97c6" }, diff --git a/pages/Athletes/AthAdd.vue b/pages/Athletes/AthAdd.vue index 4c629e9..ff76225 100644 --- a/pages/Athletes/AthAdd.vue +++ b/pages/Athletes/AthAdd.vue @@ -269,7 +269,8 @@ import { group } from 'api/group' // that.urlTobase64(res.tempFilePaths[0],type); uni.uploadFile({ - url: '//www.tall.wiki/gateway/mt/file/upload/photo', + url: '//test.tall.wiki/gateway/mt/file/upload/photo', + // url: '//www.tall.wiki/gateway/mt/file/upload/photo', filePath: tempFilePaths, header:{ "Authorization" : "Bearer " + that.$store.state.user.token diff --git a/pages/Coach/Coach.vue b/pages/Coach/Coach.vue index 612be35..58fd3d9 100644 --- a/pages/Coach/Coach.vue +++ b/pages/Coach/Coach.vue @@ -126,7 +126,8 @@ const tempFilePaths = res.tempFilePaths[0] that[`${type}`] = tempFilePaths uni.uploadFile({ - url: '//www.tall.wiki/gateway/mt/file/upload/photo', + url: '//test.tall.wiki/gateway/mt/file/upload/photo', + // url: '//www.tall.wiki/gateway/mt/file/upload/photo', filePath: tempFilePaths, header:{ "Authorization" : "Bearer " + that.$store.state.user.token diff --git a/pages/First/Choose.vue b/pages/First/Choose.vue new file mode 100644 index 0000000..848b761 --- /dev/null +++ b/pages/First/Choose.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/pages/First/First.vue b/pages/First/First.vue index b9f8326..a5fb627 100644 --- a/pages/First/First.vue +++ b/pages/First/First.vue @@ -27,6 +27,7 @@