diff --git a/components/MapComponent.vue b/components/MapComponent.vue index 84e27e1..063a973 100644 --- a/components/MapComponent.vue +++ b/components/MapComponent.vue @@ -3,10 +3,27 @@ - + @error="onMapError"> + + + + + + + + + + + + + + + + + @@ -18,35 +35,19 @@ - - - - - - - 我的位置 - - - - 扫码使用 - - - - 附近设备 - - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index c83a25d..956b076 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,40 +1,38 @@ + + \ No newline at end of file diff --git a/pages/legal/agreement.vue b/pages/legal/agreement.vue new file mode 100644 index 0000000..54a214c --- /dev/null +++ b/pages/legal/agreement.vue @@ -0,0 +1,134 @@ + + + + + + + diff --git a/pages/legal/privacy.vue b/pages/legal/privacy.vue new file mode 100644 index 0000000..0461273 --- /dev/null +++ b/pages/legal/privacy.vue @@ -0,0 +1,145 @@ + + + + + \ No newline at end of file diff --git a/pages/login/index.vue b/pages/login/index.vue index 283fadc..8f66e52 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -2,7 +2,7 @@ 登录您的账号 @@ -14,9 +14,14 @@ - + - 登录即表示同意《用户协议》和《隐私政策》 + + 登录即表示同意 + 《用户协议》 + 和 + 《隐私政策》 + @@ -37,7 +42,7 @@ const target = '/pages/index/index' const tabPages = ['/pages/index/index', '/pages/my/index'] if (tabPages.includes(target)) { - uni.switchTab({ url: target }) + uni.reLaunch({ url: target }) return } uni.reLaunch({ url: target }) @@ -77,6 +82,10 @@ } catch (_) {} } }) + + const go = (url) => { + uni.navigateTo({ url }) + } diff --git a/pages/my/index.vue b/pages/my/index.vue index e868918..21ff32a 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -88,6 +88,17 @@ + + + + + + 退出登录 + + + + + -