From 6f2c9299e0314303a8ee94af854268238bc13861 Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 11 May 2022 14:27:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feature=20-=20=E5=A2=9E=E5=8A=A0=20?= =?UTF-8?q?=E5=A4=9A=E9=A1=B5=E9=9D=A2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +- public/gaode.html | 152 +++++++++++++++++++++++++++ public/index.html | 4 +- src/App.vue | 7 +- src/main.js | 2 +- src/pages/gaode.js | 10 ++ src/pages/gaode.vue | 19 ++++ src/router/index.js | 5 +- src/views/gaode-demo/PointInRing.vue | 4 +- vue.config.js | 20 +++- 10 files changed, 218 insertions(+), 15 deletions(-) create mode 100644 public/gaode.html create mode 100644 src/pages/gaode.js create mode 100644 src/pages/gaode.vue diff --git a/README.md b/README.md index 0aa2ab5..e489f52 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -99,4 +99,10 @@ feature - 增加 一个高德demo 判断一个点是否在一个多边形围栏内 - 增加 引入高德地图api - 增加 圆形围栏判断 一个点是否在圆形围栏内 -- 增加 坐标点显示 \ No newline at end of file +- 增加 坐标点显示 + + +### v1.0.5 +`2022.05.11` +feature +- 增加 多页面配置 \ No newline at end of file diff --git a/public/gaode.html b/public/gaode.html new file mode 100644 index 0000000..b53a790 --- /dev/null +++ b/public/gaode.html @@ -0,0 +1,152 @@ + + + + + + + 高德地图demo + + + + + + +
+
+

拖动marker可调整位置

+ +
+ +
+ + \ No newline at end of file diff --git a/public/index.html b/public/index.html index bcee272..90f4921 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,8 @@ diff --git a/src/App.vue b/src/App.vue index b1fafa0..ebd201a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ @@ -25,7 +25,8 @@ export default { } }, mounted() { - console.log("当前版本号::", VERSION_MODEL, "当前环境::", process.env.NODE_ENV); + console.log("当前版本号::", VERSION_MODEL, "当前环境::", process.env.NODE_ENV, this.$title); + }, methods: { reload() { @@ -33,7 +34,7 @@ export default { this.$nextTick(() => { this.isRouterAlive = true; }); - } + }, } } diff --git a/src/main.js b/src/main.js index 9102d62..ae55265 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,7 @@ /* * @Date: 2022-01-19 10:08:26 * @LastEditors: JinxChen - * @LastEditTime: 2022-04-12 15:07:40 + * @LastEditTime: 2022-05-11 14:24:55 * @FilePath: \AntpayFrontEnd\src\main.js * @description: */ diff --git a/src/pages/gaode.js b/src/pages/gaode.js new file mode 100644 index 0000000..513bef6 --- /dev/null +++ b/src/pages/gaode.js @@ -0,0 +1,10 @@ +import Vue from 'vue'; +import gaode from './gaode.vue'; +import router from '../router'; +import store from '../store'; +Vue.config.productionTip = false; +new Vue({ + router, + store, + render: (h) => h(gaode), + }).$mount("#gaode"); \ No newline at end of file diff --git a/src/pages/gaode.vue b/src/pages/gaode.vue new file mode 100644 index 0000000..5a85f53 --- /dev/null +++ b/src/pages/gaode.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 7acadff..0904cce 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,7 +1,7 @@ /* * @Date: 2022-01-19 10:08:26 * @LastEditors: JinxChen - * @LastEditTime: 2022-05-09 14:24:03 + * @LastEditTime: 2022-05-11 14:24:34 * @FilePath: \AntpayFrontEnd\src\router\index.js * @description: */ @@ -11,7 +11,6 @@ import Nprogress from "nprogress"; import "nprogress/nprogress.css"; Vue.use(VueRouter); - const routes = [ { path: '/', redirect: 'index' }, { path: '/index', name: 'index', component: resolve => require(['@/views/AliPayIndex'], resolve) }, @@ -34,7 +33,7 @@ const routes = [ { path: '/form-dealers', name: 'form-dealers', component: resolve => require(['@/views/alipay-dealers/AlipayFormDealers'], resolve) }, // 高德地图测试demo - { path: '/gaode-point-in-ring', name: 'gaode-point-in-ring', component: resolve => require(['@/views/gaode-demo/PointInRing'], resolve) }, + { path: '/gaode-point-in-ring', name: 'gaode-point-in-ring', component: resolve => require(['@/views/gaode-demo/PointInRing'], resolve),}, diff --git a/src/views/gaode-demo/PointInRing.vue b/src/views/gaode-demo/PointInRing.vue index d50609e..2779c10 100644 --- a/src/views/gaode-demo/PointInRing.vue +++ b/src/views/gaode-demo/PointInRing.vue @@ -1,6 +1,6 @@