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 @@
+
+
+
+ {{ index + 1 }}
+ {{ item.name }}
+
+ 已结束
+
+ 正在报名中
+
+ 未开始
+
+
+
+ ({{$moment(+item.startTime).format('MM-DD HH:mm:ss')}} - {{$moment(+item.endTime).format('MM-DD HH:mm:ss')}})
+
+
+
+
+
+
+
+
+
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 @@