diff --git a/pages.json b/pages.json
index ce25e7c..1912a38 100644
--- a/pages.json
+++ b/pages.json
@@ -12,21 +12,28 @@
}
},
"pages": [
+ {
+ "path": "pages/home/index",
+ "style": {
+ "navigationBarTitleText": "首页"
+ }
+ },
{
"path": "pages/login/login",
"style": {
- "navigationBarTitleText": "登录",
- "app-plus": {
- "bounce": "vertical",
- "titleNView": {
- "buttons": [{
- "text": "\ue534",
- "fontSrc": "/static/uni.ttf",
- "fontSize": "22px",
- "color": "#FFFFFF"
- }]
- }
- }
+ "navigationBarTitleText": "登录"
+ }
+ },
+ {
+ "path": "pages/highWay/runData/list",
+ "style": {
+ "navigationBarTitleText": "高速运行数据"
+ }
+ },
+ {
+ "path": "pages/highWay/runStatusData/list",
+ "style": {
+ "navigationBarTitleText": "高速运行情况"
}
},
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
diff --git a/pages/highWay/runData/form.vue b/pages/highWay/runData/form.vue
new file mode 100644
index 0000000..3529f54
--- /dev/null
+++ b/pages/highWay/runData/form.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/highWay/runData/list.vue b/pages/highWay/runData/list.vue
new file mode 100644
index 0000000..e67219f
--- /dev/null
+++ b/pages/highWay/runData/list.vue
@@ -0,0 +1,92 @@
+
+
+
+
+ {{item.organizationName}}
+ {{item.statDate}}{{item.statPeriod}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/highWay/runStatusData/list.vue b/pages/highWay/runStatusData/list.vue
new file mode 100644
index 0000000..566a7ba
--- /dev/null
+++ b/pages/highWay/runStatusData/list.vue
@@ -0,0 +1,92 @@
+
+
+
+
+ {{item.organizationName}}
+ {{item.statDate}}{{item.statPeriod}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/home/index.vue b/pages/home/index.vue
new file mode 100644
index 0000000..04bed32
--- /dev/null
+++ b/pages/home/index.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 3529f54..942009e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,16 +1,21 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 验证码:
+
+
+
+
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/static/image/airport.png b/static/image/airport.png
new file mode 100644
index 0000000..12e1e02
Binary files /dev/null and b/static/image/airport.png differ
diff --git a/static/image/bus.png b/static/image/bus.png
new file mode 100644
index 0000000..6000973
Binary files /dev/null and b/static/image/bus.png differ
diff --git a/static/image/highway.png b/static/image/highway.png
new file mode 100644
index 0000000..ddc1e65
Binary files /dev/null and b/static/image/highway.png differ
diff --git a/static/image/metro.png b/static/image/metro.png
new file mode 100644
index 0000000..9001863
Binary files /dev/null and b/static/image/metro.png differ
diff --git a/static/image/portShipping.png b/static/image/portShipping.png
new file mode 100644
index 0000000..ae7de5f
Binary files /dev/null and b/static/image/portShipping.png differ
diff --git a/static/image/railway.png b/static/image/railway.png
new file mode 100644
index 0000000..1441140
Binary files /dev/null and b/static/image/railway.png differ
diff --git a/static/image/roadTransport.png b/static/image/roadTransport.png
new file mode 100644
index 0000000..1b3a5cf
Binary files /dev/null and b/static/image/roadTransport.png differ
diff --git a/static/image/water.png b/static/image/water.png
new file mode 100644
index 0000000..f390243
Binary files /dev/null and b/static/image/water.png differ
diff --git a/util/request.js b/util/request.js
index 2b52cc9..20be434 100644
--- a/util/request.js
+++ b/util/request.js
@@ -3,10 +3,9 @@ const request = (url, data, method = 'GET') => {
let header = {
"Content-Type": "application/json"
}
- const res = uni.getStorageSync('storage_key');
- const token = res.token
- if (token) {
- header['Authorization'] = token
+ const satoken = uni.getStorageSync('satoken');
+ if (satoken) {
+ header['satoken'] = satoken;
}
console.log(url)
uni.request({
@@ -26,7 +25,7 @@ const request = (url, data, method = 'GET') => {
} else {
resolve(res.data)
uni.showToast({
- title: res.data.message,
+ title: res.data.msg,
icon: "none"
})
}