From 368123acb201c6b14995dc21b68799df45751623 Mon Sep 17 00:00:00 2001 From: songsong428 Date: Fri, 6 Mar 2020 12:38:18 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=88=91=E7=9A=84=E5=81=A5=E5=BA=B7=E6=89=93?= =?UTF-8?q?=E5=8D=A1=20=20=202.=E6=88=91=E7=9A=84=E8=A1=8C=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 +++ pages/add-stroke/add-stroke.vue | 14 +++ pages/apply-code/apply-code.vue | 24 ++++- pages/index/components/home.vue | 125 ++++++++++++----------- pages/index/components/mine.vue | 80 +++++++-------- pages/my-code/my-code.vue | 170 ++++++++++++++++++++++++++++++++ pages/my-trips/my-trips.vue | 116 ++++++++++++++++++++++ 7 files changed, 441 insertions(+), 100 deletions(-) create mode 100644 pages/my-code/my-code.vue create mode 100644 pages/my-trips/my-trips.vue diff --git a/pages.json b/pages.json index c514991..2591d85 100644 --- a/pages.json +++ b/pages.json @@ -43,6 +43,18 @@ "style": { "navigationBarTitleText": "申请健康码" } + }, + { + "path": "pages/my-code/my-code", + "style": { + "navigationBarTitleText": "我的健康打卡" + } + }, + { + "path": "pages/my-trips/my-trips", + "style": { + "navigationBarTitleText": "我的行程" + } } ], "globalStyle": { diff --git a/pages/add-stroke/add-stroke.vue b/pages/add-stroke/add-stroke.vue index 2f2e194..e7f51f5 100644 --- a/pages/add-stroke/add-stroke.vue +++ b/pages/add-stroke/add-stroke.vue @@ -34,6 +34,8 @@ + + @@ -141,4 +143,16 @@ export default { .primary-btn{ border-radius: 15rpx; } + .history-btn{ + position: fixed; + top: 30rpx; + right: 30rpx; + width: 96rpx; + height: 96rpx; + line-height: 96rpx; + padding: 0; + } + .history-btn::after{ + border: none; + } \ No newline at end of file diff --git a/pages/apply-code/apply-code.vue b/pages/apply-code/apply-code.vue index 3377855..9176c55 100644 --- a/pages/apply-code/apply-code.vue +++ b/pages/apply-code/apply-code.vue @@ -6,8 +6,8 @@ - *当前所在城市 - + *当前所在详细地址 + *当前状态 @@ -66,6 +66,8 @@ + + @@ -76,7 +78,7 @@ export default { data() { return { area: '', - city: '', + address: '', status: [ { value: '0', @@ -174,8 +176,8 @@ export default { showToast('请输入当前所在地区'); return; } - if (!this.city) { - showToast('请输入当前所在城市'); + if (!this.address) { + showToast('请输入当前所在地址'); return; } if (!this.status) { @@ -210,4 +212,16 @@ export default { .primary-btn{ border-radius: 15rpx; } + .history-btn{ + position: fixed; + top: 30rpx; + right: 30rpx; + width: 96rpx; + height: 96rpx; + line-height: 96rpx; + padding: 0; + } + .history-btn::after{ + border: none; + } \ No newline at end of file diff --git a/pages/index/components/home.vue b/pages/index/components/home.vue index 5463b5a..d01ab80 100644 --- a/pages/index/components/home.vue +++ b/pages/index/components/home.vue @@ -1,13 +1,15 @@ diff --git a/pages/index/components/mine.vue b/pages/index/components/mine.vue index 7272dcd..46db38d 100644 --- a/pages/index/components/mine.vue +++ b/pages/index/components/mine.vue @@ -16,22 +16,22 @@ - - 个人信息 - - - - 我的健康打卡 - - - - 我的行程 - - - - 我的校园打卡 - - + + 个人信息 + + + + 我的健康打卡 + + + + 我的行程 + + + + 我的校园打卡 + + @@ -39,30 +39,32 @@ diff --git a/pages/my-code/my-code.vue b/pages/my-code/my-code.vue new file mode 100644 index 0000000..4bfdde3 --- /dev/null +++ b/pages/my-code/my-code.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/pages/my-trips/my-trips.vue b/pages/my-trips/my-trips.vue new file mode 100644 index 0000000..cd34f41 --- /dev/null +++ b/pages/my-trips/my-trips.vue @@ -0,0 +1,116 @@ + + + + +