mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-30 09:24:46 +08:00
feat:地图组件暂存
This commit is contained in:
parent
0ee38c24c8
commit
3c8e0c5277
@ -1,3 +1,15 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.0"
|
"version": "1.0.0",
|
||||||
|
"MapConfigure": {
|
||||||
|
"amapKey": "97b3248d1553172e81f168cf94ea667e",
|
||||||
|
"baiduKey": "wTHbkkEweiFqZLKunMIjcrb2RcqNXkhc",
|
||||||
|
"options": {
|
||||||
|
"resizeEnable": true,
|
||||||
|
"center": [
|
||||||
|
114.085947,
|
||||||
|
22.547
|
||||||
|
],
|
||||||
|
"zoom": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
19
src/components/map/amap.vue
Normal file
19
src/components/map/amap.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang='ts'>
|
||||||
|
export default {
|
||||||
|
setup(){
|
||||||
|
return{
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
19
src/components/map/baiduMap.vue
Normal file
19
src/components/map/baiduMap.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang='ts'>
|
||||||
|
export default {
|
||||||
|
setup(){
|
||||||
|
return{
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
@ -8,6 +8,7 @@
|
|||||||
"401": "401",
|
"401": "401",
|
||||||
"components": "组件",
|
"components": "组件",
|
||||||
"video": "视频组件",
|
"video": "视频组件",
|
||||||
|
"map": "地图组件",
|
||||||
"draggable": "拖拽组件",
|
"draggable": "拖拽组件",
|
||||||
"split-pane": "切割面板"
|
"split-pane": "切割面板"
|
||||||
}
|
}
|
@ -8,6 +8,7 @@
|
|||||||
"401": "401",
|
"401": "401",
|
||||||
"components": "Components",
|
"components": "Components",
|
||||||
"video": "Video Components",
|
"video": "Video Components",
|
||||||
|
"map": "Map Components",
|
||||||
"draggable": "Draggable Components",
|
"draggable": "Draggable Components",
|
||||||
"split-pane": "Split Pane"
|
"split-pane": "Split Pane"
|
||||||
}
|
}
|
@ -41,6 +41,15 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
savedPosition: true
|
savedPosition: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/components/map',
|
||||||
|
component: () => import(/* webpackChunkName: "components" */ '../views/components/map/index.vue'),
|
||||||
|
meta: {
|
||||||
|
title: 'map',
|
||||||
|
showLink: false,
|
||||||
|
savedPosition: true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/components/draggable',
|
path: '/components/draggable',
|
||||||
component: () => import(/* webpackChunkName: "components" */ '../views/components/draggable/index.vue'),
|
component: () => import(/* webpackChunkName: "components" */ '../views/components/draggable/index.vue'),
|
||||||
|
19
src/views/components/map/index.vue
Normal file
19
src/views/components/map/index.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang='ts'>
|
||||||
|
export default {
|
||||||
|
setup(){
|
||||||
|
return{
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
@ -2,7 +2,7 @@
|
|||||||
<div class="welcome">
|
<div class="welcome">
|
||||||
<a
|
<a
|
||||||
title="欢迎Star"
|
title="欢迎Star"
|
||||||
href="https://github.com/xiaoxian521/CURD-TS/tree/vue-ts"
|
href="https://github.com/xiaoxian521/CURD-TS"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>点击打开仓库地址</a
|
>点击打开仓库地址</a
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user