commit e3ba78c5bf302ca0d4fee608d7dc73b6f7512fbb Author: cxc Date: Fri Jan 6 16:59:02 2023 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..c0a6e5a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..e62e093 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + + + +
+ + + + \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..fe49237 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "types": ["element-plus/global"] + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..324b72d --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "amap-test", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", + "@element-plus/icons-vue": "^2.0.10", + "element-plus": "^2.2.28", + "modern-normalize": "^1.1.0", + "vue": "^3.2.45" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^4.0.0", + "sass": "^1.57.1", + "vite": "^4.0.0" + } +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..ccdffd7 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,763 @@ +lockfileVersion: 5.4 + +specifiers: + '@amap/amap-jsapi-loader': ^1.0.1 + '@element-plus/icons-vue': ^2.0.10 + '@vitejs/plugin-vue': ^4.0.0 + element-plus: ^2.2.28 + modern-normalize: ^1.1.0 + sass: ^1.57.1 + vite: ^4.0.0 + vue: ^3.2.45 + +dependencies: + '@amap/amap-jsapi-loader': 1.0.1 + '@element-plus/icons-vue': 2.0.10_vue@3.2.45 + element-plus: 2.2.28_vue@3.2.45 + modern-normalize: 1.1.0 + vue: 3.2.45 + +devDependencies: + '@vitejs/plugin-vue': 4.0.0_vite@4.0.4+vue@3.2.45 + sass: 1.57.1 + vite: 4.0.4_sass@1.57.1 + +packages: + + /@amap/amap-jsapi-loader/1.0.1: + resolution: {integrity: sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw==} + dev: false + + /@babel/helper-string-parser/7.19.4: + resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-identifier/7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + engines: {node: '>=6.9.0'} + + /@babel/parser/7.20.7: + resolution: {integrity: sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.20.7 + + /@babel/types/7.20.7: + resolution: {integrity: sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.19.4 + '@babel/helper-validator-identifier': 7.19.1 + to-fast-properties: 2.0.0 + + /@ctrl/tinycolor/3.5.0: + resolution: {integrity: sha512-tlJpwF40DEQcfR/QF+wNMVyGMaO9FQp6Z1Wahj4Gk3CJQYHwA2xVG7iKDFdW6zuxZY9XWOpGcfNCTsX4McOsOg==} + engines: {node: '>=10'} + dev: false + + /@element-plus/icons-vue/2.0.10_vue@3.2.45: + resolution: {integrity: sha512-ygEZ1mwPjcPo/OulhzLE7mtDrQBWI8vZzEWSNB2W/RNCRjoQGwbaK4N8lV4rid7Ts4qvySU3njMN7YCiSlSaTQ==} + peerDependencies: + vue: ^3.2.0 + dependencies: + vue: 3.2.45 + dev: false + + /@esbuild/android-arm/0.16.14: + resolution: {integrity: sha512-u0rITLxFIeYAvtJXBQNhNuV4YZe+MD1YvIWT7Nicj8hZAtRVZk2PgNH6KclcKDVHz1ChLKXRfX7d7tkbQBUfrg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm64/0.16.14: + resolution: {integrity: sha512-hTqB6Iq13pW4xaydeqQrs8vPntUnMjbkq+PgGiBMi69eYk74naG2ftHWqKnxn874kNrt5Or3rQ0PJutx2doJuQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64/0.16.14: + resolution: {integrity: sha512-jir51K4J0K5Rt0KOcippjSNdOl7akKDVz5I6yrqdk4/m9y+rldGptQUF7qU4YpX8U61LtR+w2Tu2Ph+K/UaJOw==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64/0.16.14: + resolution: {integrity: sha512-vrlaP81IuwPaw1fyX8fHCmivP3Gr73ojVEZy+oWJLAiZVcG8o8Phwun/XDnYIFUHxIoUnMFEpg9o38MIvlw8zw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64/0.16.14: + resolution: {integrity: sha512-KV1E01eC2hGYA2qzFDRCK4wdZCRUvMwCNcobgpiiOzp5QXpJBqFPdxI69j8vvzuU7oxFXDgANwEkXvpeQqyOyg==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64/0.16.14: + resolution: {integrity: sha512-xRM1RQsazSvL42BNa5XC7ytD4ZDp0ZyJcH7aB0SlYUcHexJUKiDNKR7dlRVlpt6W0DvoRPU2nWK/9/QWS4u2fw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64/0.16.14: + resolution: {integrity: sha512-7ALTAn6YRRf1O6fw9jmn0rWmOx3XfwDo7njGtjy1LXhDGUjTY/vohEPM3ii5MQ411vJv1r498EEx2aBQTJcrEw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm/0.16.14: + resolution: {integrity: sha512-X6xULug66ulrr4IzrW7qq+eq9n4MtEyagdWvj4o4cmWr+JXOT47atjpDF9j5M2zHY0UQBmqnHhwl+tXpkpIb2w==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64/0.16.14: + resolution: {integrity: sha512-TLh2OcbBUQcMYRH4GbiDkDZfZ4t1A3GgmeXY27dHSI6xrU7IkO00MGBiJySmEV6sH3Wa6pAN6UtaVL0DwkGW4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32/0.16.14: + resolution: {integrity: sha512-oBZkcZ56UZDFCAfE3Fd/Jgy10EoS7Td77NzNGenM+HSY8BkdQAcI9VF9qgwdOLZ+tuftWD7UqZ26SAhtvA3XhA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.16.14: + resolution: {integrity: sha512-udz/aEHTcuHP+xdWOJmZ5C9RQXHfZd/EhCnTi1Hfay37zH3lBxn/fNs85LA9HlsniFw2zccgcbrrTMKk7Cn1Qg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el/0.16.14: + resolution: {integrity: sha512-kJ2iEnikUOdC1SiTGbH0fJUgpZwa0ITDTvj9EHf9lm3I0hZ4Yugsb3M6XSl696jVxrEocLe519/8CbSpQWFSrg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64/0.16.14: + resolution: {integrity: sha512-kclKxvZvX5YhykwlJ/K9ljiY4THe5vXubXpWmr7q3Zu3WxKnUe1VOZmhkEZlqtnJx31GHPEV4SIG95IqTdfgfg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64/0.16.14: + resolution: {integrity: sha512-fdwP9Dc+Kx/cZwp9T9kNqjAE/PQjfrxbio4rZ3XnC3cVvZBjuxpkiyu/tuCwt6SbAK5th6AYNjFdEV9kGC020A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x/0.16.14: + resolution: {integrity: sha512-++fw3P4fQk9nqvdzbANRqimKspL8pDCnSpXomyhV7V/ISha/BZIYvZwLBWVKp9CVWKwWPJ4ktsezuLIvlJRHqA==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64/0.16.14: + resolution: {integrity: sha512-TomtswAuzBf2NnddlrS4W01Tv85RM9YtATB3OugY6On0PLM4Ksz5qvQKVAjtzPKoLgL1FiZtfc8mkZc4IgoMEA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64/0.16.14: + resolution: {integrity: sha512-U06pfx8P5CqyoPNfqIJmnf+5/r4mJ1S62G4zE6eOjS59naQcxi6GnscUCPH3b+hRG0qdKoGX49RAyiqW+M9aSw==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64/0.16.14: + resolution: {integrity: sha512-/Jl8XVaWEZNu9rZw+n792GIBupQwHo6GDoapHSb/2xp/Ku28eK6QpR2O9cPBkzHH4OOoMH0LB6zg/qczJ5TTGg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64/0.16.14: + resolution: {integrity: sha512-2iI7D34uTbDn/TaSiUbEHz+fUa8KbN90vX5yYqo12QGpu6T8Jl+kxODsWuMCwoTVlqUpwfPV22nBbFPME9OPtw==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64/0.16.14: + resolution: {integrity: sha512-SjlM7AHmQVTiGBJE/nqauY1aDh80UBsXZ94g4g60CDkrDMseatiqALVcIuElg4ZSYzJs8hsg5W6zS2zLpZTVgg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32/0.16.14: + resolution: {integrity: sha512-z06t5zqk8ak0Xom5HG81z2iOQ1hNWYsFQp3sczVLVx+dctWdgl80tNRyTbwjaFfui2vFO12dfE3trCTvA+HO4g==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64/0.16.14: + resolution: {integrity: sha512-ED1UpWcM6lAbalbbQ9TrGqJh4Y9TaASUvu8bI/0mgJcxhSByJ6rbpgqRhxYMaQ682WfA71nxUreaTO7L275zrw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@floating-ui/core/1.1.0: + resolution: {integrity: sha512-zbsLwtnHo84w1Kc8rScAo5GMk1GdecSlrflIbfnEBJwvTSj1SL6kkOYV+nHraMCPEy+RNZZUaZyL8JosDGCtGQ==} + dev: false + + /@floating-ui/dom/1.1.0: + resolution: {integrity: sha512-TSogMPVxbRe77QCj1dt8NmRiJasPvuc+eT5jnJ6YpLqgOD2zXc5UA3S1qwybN+GVCDNdKfpKy1oj8RpzLJvh6A==} + dependencies: + '@floating-ui/core': 1.1.0 + dev: false + + /@sxzz/popperjs-es/2.11.7: + resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} + dev: false + + /@types/lodash-es/4.17.6: + resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==} + dependencies: + '@types/lodash': 4.14.191 + dev: false + + /@types/lodash/4.14.191: + resolution: {integrity: sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==} + dev: false + + /@types/web-bluetooth/0.0.16: + resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} + dev: false + + /@vitejs/plugin-vue/4.0.0_vite@4.0.4+vue@3.2.45: + resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 + vue: ^3.2.25 + dependencies: + vite: 4.0.4_sass@1.57.1 + vue: 3.2.45 + dev: true + + /@vue/compiler-core/3.2.45: + resolution: {integrity: sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A==} + dependencies: + '@babel/parser': 7.20.7 + '@vue/shared': 3.2.45 + estree-walker: 2.0.2 + source-map: 0.6.1 + + /@vue/compiler-dom/3.2.45: + resolution: {integrity: sha512-tyYeUEuKqqZO137WrZkpwfPCdiiIeXYCcJ8L4gWz9vqaxzIQRccTSwSWZ/Axx5YR2z+LvpUbmPNXxuBU45lyRw==} + dependencies: + '@vue/compiler-core': 3.2.45 + '@vue/shared': 3.2.45 + + /@vue/compiler-sfc/3.2.45: + resolution: {integrity: sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q==} + dependencies: + '@babel/parser': 7.20.7 + '@vue/compiler-core': 3.2.45 + '@vue/compiler-dom': 3.2.45 + '@vue/compiler-ssr': 3.2.45 + '@vue/reactivity-transform': 3.2.45 + '@vue/shared': 3.2.45 + estree-walker: 2.0.2 + magic-string: 0.25.9 + postcss: 8.4.20 + source-map: 0.6.1 + + /@vue/compiler-ssr/3.2.45: + resolution: {integrity: sha512-6BRaggEGqhWht3lt24CrIbQSRD5O07MTmd+LjAn5fJj568+R9eUD2F7wMQJjX859seSlrYog7sUtrZSd7feqrQ==} + dependencies: + '@vue/compiler-dom': 3.2.45 + '@vue/shared': 3.2.45 + + /@vue/reactivity-transform/3.2.45: + resolution: {integrity: sha512-BHVmzYAvM7vcU5WmuYqXpwaBHjsS8T63jlKGWVtHxAHIoMIlmaMyurUSEs1Zcg46M4AYT5MtB1U274/2aNzjJQ==} + dependencies: + '@babel/parser': 7.20.7 + '@vue/compiler-core': 3.2.45 + '@vue/shared': 3.2.45 + estree-walker: 2.0.2 + magic-string: 0.25.9 + + /@vue/reactivity/3.2.45: + resolution: {integrity: sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A==} + dependencies: + '@vue/shared': 3.2.45 + + /@vue/runtime-core/3.2.45: + resolution: {integrity: sha512-gzJiTA3f74cgARptqzYswmoQx0fIA+gGYBfokYVhF8YSXjWTUA2SngRzZRku2HbGbjzB6LBYSbKGIaK8IW+s0A==} + dependencies: + '@vue/reactivity': 3.2.45 + '@vue/shared': 3.2.45 + + /@vue/runtime-dom/3.2.45: + resolution: {integrity: sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA==} + dependencies: + '@vue/runtime-core': 3.2.45 + '@vue/shared': 3.2.45 + csstype: 2.6.21 + + /@vue/server-renderer/3.2.45_vue@3.2.45: + resolution: {integrity: sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g==} + peerDependencies: + vue: 3.2.45 + dependencies: + '@vue/compiler-ssr': 3.2.45 + '@vue/shared': 3.2.45 + vue: 3.2.45 + + /@vue/shared/3.2.45: + resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==} + + /@vueuse/core/9.10.0_vue@3.2.45: + resolution: {integrity: sha512-CxMewME07qeuzuT/AOIQGv0EhhDoojniqU6pC3F8m5VC76L47UT18DcX88kWlP3I7d3qMJ4u/PD8iSRsy3bmNA==} + dependencies: + '@types/web-bluetooth': 0.0.16 + '@vueuse/metadata': 9.10.0 + '@vueuse/shared': 9.10.0_vue@3.2.45 + vue-demi: 0.13.11_vue@3.2.45 + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + + /@vueuse/metadata/9.10.0: + resolution: {integrity: sha512-G5VZhgTCapzU9rv0Iq2HBrVOSGzOKb+OE668NxhXNcTjUjwYxULkEhAw70FtRLMZc+hxcFAzDZlKYA0xcwNMuw==} + dev: false + + /@vueuse/shared/9.10.0_vue@3.2.45: + resolution: {integrity: sha512-vakHJ2ZRklAzqmcVBL38RS7BxdBA4+5poG9NsSyqJxrt9kz0zX3P5CXMy0Hm6LFbZXUgvKdqAS3pUH1zX/5qTQ==} + dependencies: + vue-demi: 0.13.11_vue@3.2.45 + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + + /anymatch/3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + dev: true + + /async-validator/4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: false + + /binary-extensions/2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + dev: true + + /braces/3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /chokidar/3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /csstype/2.6.21: + resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==} + + /dayjs/1.11.7: + resolution: {integrity: sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==} + dev: false + + /element-plus/2.2.28_vue@3.2.45: + resolution: {integrity: sha512-BsxF7iEaBydmRfw1Tt++EO9jRBjbtJr7ZRIrnEwz4J3Cwa1IzHCNCcx3ZwcYTlJq9CYFxv94JnbNr1EbkTou3A==} + peerDependencies: + vue: ^3.2.0 + dependencies: + '@ctrl/tinycolor': 3.5.0 + '@element-plus/icons-vue': 2.0.10_vue@3.2.45 + '@floating-ui/dom': 1.1.0 + '@popperjs/core': /@sxzz/popperjs-es/2.11.7 + '@types/lodash': 4.14.191 + '@types/lodash-es': 4.17.6 + '@vueuse/core': 9.10.0_vue@3.2.45 + async-validator: 4.2.5 + dayjs: 1.11.7 + escape-html: 1.0.3 + lodash: 4.17.21 + lodash-es: 4.17.21 + lodash-unified: 1.0.3_3ib2ivapxullxkx3xftsimdk7u + memoize-one: 6.0.0 + normalize-wheel-es: 1.2.0 + vue: 3.2.45 + transitivePeerDependencies: + - '@vue/composition-api' + dev: false + + /esbuild/0.16.14: + resolution: {integrity: sha512-6xAn3O6ZZyoxZAEkwfI9hw4cEqSr/o1ViJtnkvImVkblmUN65Md04o0S/7H1WNu1XGf1Cjij/on7VO4psIYjkw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.16.14 + '@esbuild/android-arm64': 0.16.14 + '@esbuild/android-x64': 0.16.14 + '@esbuild/darwin-arm64': 0.16.14 + '@esbuild/darwin-x64': 0.16.14 + '@esbuild/freebsd-arm64': 0.16.14 + '@esbuild/freebsd-x64': 0.16.14 + '@esbuild/linux-arm': 0.16.14 + '@esbuild/linux-arm64': 0.16.14 + '@esbuild/linux-ia32': 0.16.14 + '@esbuild/linux-loong64': 0.16.14 + '@esbuild/linux-mips64el': 0.16.14 + '@esbuild/linux-ppc64': 0.16.14 + '@esbuild/linux-riscv64': 0.16.14 + '@esbuild/linux-s390x': 0.16.14 + '@esbuild/linux-x64': 0.16.14 + '@esbuild/netbsd-x64': 0.16.14 + '@esbuild/openbsd-x64': 0.16.14 + '@esbuild/sunos-x64': 0.16.14 + '@esbuild/win32-arm64': 0.16.14 + '@esbuild/win32-ia32': 0.16.14 + '@esbuild/win32-x64': 0.16.14 + dev: true + + /escape-html/1.0.3: + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + dev: false + + /estree-walker/2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + /fill-range/7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /function-bind/1.1.1: + resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true + + /glob-parent/5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /has/1.0.3: + resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} + engines: {node: '>= 0.4.0'} + dependencies: + function-bind: 1.1.1 + dev: true + + /immutable/4.2.1: + resolution: {integrity: sha512-7WYV7Q5BTs0nlQm7tl92rDYYoyELLKHoDMBKhrxEoiV4mrfVdRz8hzPiYOzH7yWjzoVEamxRuAqhxL2PLRwZYQ==} + dev: true + + /is-binary-path/2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + dev: true + + /is-core-module/2.11.0: + resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} + dependencies: + has: 1.0.3 + dev: true + + /is-extglob/2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-glob/4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-number/7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /lodash-es/4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: false + + /lodash-unified/1.0.3_3ib2ivapxullxkx3xftsimdk7u: + resolution: {integrity: sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==} + peerDependencies: + '@types/lodash-es': '*' + lodash: '*' + lodash-es: '*' + dependencies: + '@types/lodash-es': 4.17.6 + lodash: 4.17.21 + lodash-es: 4.17.21 + dev: false + + /lodash/4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: false + + /magic-string/0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + dependencies: + sourcemap-codec: 1.4.8 + + /memoize-one/6.0.0: + resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==} + dev: false + + /modern-normalize/1.1.0: + resolution: {integrity: sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA==} + engines: {node: '>=6'} + dev: false + + /nanoid/3.3.4: + resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + /normalize-path/3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /normalize-wheel-es/1.2.0: + resolution: {integrity: sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==} + dev: false + + /path-parse/1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /picocolors/1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + + /picomatch/2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /postcss/8.4.20: + resolution: {integrity: sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.4 + picocolors: 1.0.0 + source-map-js: 1.0.2 + + /readdirp/3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + dev: true + + /resolve/1.22.1: + resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} + hasBin: true + dependencies: + is-core-module: 2.11.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /rollup/3.9.1: + resolution: {integrity: sha512-GswCYHXftN8ZKGVgQhTFUJB/NBXxrRGgO2NCy6E8s1rwEJ4Q9/VttNqcYfEvx4dTo4j58YqdC3OVztPzlKSX8w==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /sass/1.57.1: + resolution: {integrity: sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==} + engines: {node: '>=12.0.0'} + hasBin: true + dependencies: + chokidar: 3.5.3 + immutable: 4.2.1 + source-map-js: 1.0.2 + dev: true + + /source-map-js/1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + + /source-map/0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + /sourcemap-codec/1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + + /supports-preserve-symlinks-flag/1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /to-fast-properties/2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + /to-regex-range/5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /vite/4.0.4_sass@1.57.1: + resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.16.14 + postcss: 8.4.20 + resolve: 1.22.1 + rollup: 3.9.1 + sass: 1.57.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /vue-demi/0.13.11_vue@3.2.45: + resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + peerDependencies: + '@vue/composition-api': ^1.0.0-rc.1 + vue: ^3.0.0-0 || ^2.6.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + dependencies: + vue: 3.2.45 + dev: false + + /vue/3.2.45: + resolution: {integrity: sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA==} + dependencies: + '@vue/compiler-dom': 3.2.45 + '@vue/compiler-sfc': 3.2.45 + '@vue/runtime-dom': 3.2.45 + '@vue/server-renderer': 3.2.45_vue@3.2.45 + '@vue/shared': 3.2.45 diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..5137cb9 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,10 @@ + + + + + diff --git a/src/assets/vue.svg b/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue new file mode 100644 index 0000000..d3c3f15 --- /dev/null +++ b/src/components/HelloWorld.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/components/Map.vue b/src/components/Map.vue new file mode 100644 index 0000000..e53cba2 --- /dev/null +++ b/src/components/Map.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/components/route_cep_wanshui.json b/src/components/route_cep_wanshui.json new file mode 100644 index 0000000..b9bd968 --- /dev/null +++ b/src/components/route_cep_wanshui.json @@ -0,0 +1,1260 @@ +{ + "info": "OK", + "origin": [117.122166, 31.821747], + "destination": [117.136588, 31.844244], + "routes": [ + { + "steps": [ + { + "start_location": [117.122219, 31.821745], + "end_location": [117.121837, 31.821534], + "instruction": "向西南行驶55米左转", + "orientation": "西南", + "road": "", + "distance": 55, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 27, + "path": [ + [117.122219, 31.821745], + [117.122213, 31.821625], + [117.122191, 31.82155], + [117.122143, 31.821539], + [117.121837, 31.821534] + ], + "action": "左转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 55, + "status": "未知", + "path": [ + [117.122219, 31.821745], + [117.122213, 31.821625], + [117.122191, 31.82155], + [117.122143, 31.821539], + [117.121837, 31.821534] + ], + "polyline": "117.122219,31.821745;117.122213,31.821625;117.122191,31.82155;117.122143,31.821539;117.121837,31.821534" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.122219, 31.821745], + [117.122213, 31.821625], + [117.122191, 31.82155], + [117.122143, 31.821539], + [117.121837, 31.821534] + ], + "status": "未知", + "distance": 55 + } + ] + }, + { + "start_location": [117.121837, 31.821534], + "end_location": [117.121869, 31.821126], + "instruction": "向南行驶44米右转", + "orientation": "南", + "road": "", + "distance": 44, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 23, + "path": [ + [117.121837, 31.821534], + [117.121843, 31.82133], + [117.121869, 31.821126] + ], + "action": "右转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 22, + "status": "未知", + "path": [ + [117.121837, 31.821534], + [117.121843, 31.82133] + ], + "polyline": "117.121837,31.821534;117.121843,31.82133" + }, + { + "lcode": [], + "distance": 22, + "status": "未知", + "path": [ + [117.121843, 31.82133], + [117.121869, 31.821126] + ], + "polyline": "117.121843,31.82133;117.121869,31.821126" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.121837, 31.821534], + [117.121843, 31.82133], + [117.121843, 31.82133], + [117.121869, 31.821126] + ], + "status": "未知", + "distance": 44 + } + ] + }, + { + "start_location": [117.121869, 31.821126], + "end_location": [117.120829, 31.821126], + "instruction": "沿习友路向西行驶98米左转调头", + "orientation": "西", + "road": "习友路", + "distance": 98, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 42, + "path": [ + [117.121869, 31.821126], + [117.120829, 31.821126] + ], + "action": "左转调头", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 98, + "status": "畅通", + "path": [ + [117.121869, 31.821126], + [117.120829, 31.821126] + ], + "polyline": "117.121869,31.821126;117.120829,31.821126" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.121869, 31.821126], + [117.120829, 31.821126] + ], + "status": "畅通", + "distance": 98 + } + ] + }, + { + "start_location": [117.120829, 31.821126], + "end_location": [117.124718, 31.820955], + "instruction": "沿习友路向东行驶384米靠左", + "orientation": "东", + "road": "习友路", + "distance": 384, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 67, + "path": [ + [117.120829, 31.821126], + [117.120834, 31.820955], + [117.122277, 31.820955], + [117.12269, 31.820955], + [117.123886, 31.82096], + [117.124718, 31.820955] + ], + "action": "靠左", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 19, + "status": "畅通", + "path": [ + [117.120829, 31.821126], + [117.120834, 31.820955] + ], + "polyline": "117.120829,31.821126;117.120834,31.820955" + }, + { + "lcode": [], + "distance": 136, + "status": "畅通", + "path": [ + [117.120834, 31.820955], + [117.122277, 31.820955] + ], + "polyline": "117.120834,31.820955;117.122277,31.820955" + }, + { + "lcode": [], + "distance": 38, + "status": "畅通", + "path": [ + [117.122277, 31.820955], + [117.12269, 31.820955] + ], + "polyline": "117.122277,31.820955;117.12269,31.820955" + }, + { + "lcode": [], + "distance": 113, + "status": "畅通", + "path": [ + [117.12269, 31.820955], + [117.123886, 31.82096] + ], + "polyline": "117.12269,31.820955;117.123886,31.82096" + }, + { + "lcode": [], + "distance": 78, + "status": "畅通", + "path": [ + [117.123886, 31.82096], + [117.124718, 31.820955] + ], + "polyline": "117.123886,31.82096;117.124718,31.820955" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.120829, 31.821126], + [117.120834, 31.820955], + [117.120834, 31.820955], + [117.122277, 31.820955], + [117.122277, 31.820955], + [117.12269, 31.820955], + [117.12269, 31.820955], + [117.123886, 31.82096], + [117.123886, 31.82096], + [117.124718, 31.820955] + ], + "status": "畅通", + "distance": 384 + } + ] + }, + { + "start_location": [117.124852, 31.820955], + "end_location": [117.12784, 31.820949], + "instruction": "沿习友路向东行驶281米直行进入隧道", + "orientation": "东", + "road": "习友路", + "distance": 281, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 22, + "path": [ + [117.124852, 31.820955], + [117.12556, 31.820944], + [117.12784, 31.820949] + ], + "action": "直行", + "assistant_action": "进入隧道", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 66, + "status": "畅通", + "path": [ + [117.124852, 31.820955], + [117.12556, 31.820944] + ], + "polyline": "117.124852,31.820955;117.12556,31.820944" + }, + { + "lcode": [], + "distance": 215, + "status": "畅通", + "path": [ + [117.12556, 31.820944], + [117.12784, 31.820949] + ], + "polyline": "117.12556,31.820944;117.12784,31.820949" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.124852, 31.820955], + [117.12556, 31.820944], + [117.12556, 31.820944], + [117.12784, 31.820949] + ], + "status": "畅通", + "distance": 281 + } + ] + }, + { + "start_location": [117.12784, 31.820949], + "end_location": [117.131348, 31.820928], + "instruction": "沿习友路向东行驶330米向右前方行驶进入辅路", + "orientation": "东", + "road": "习友路", + "distance": 330, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 25, + "path": [ + [117.12784, 31.820949], + [117.1285, 31.820949], + [117.130619, 31.820944], + [117.130994, 31.820939], + [117.131348, 31.820928] + ], + "action": "向右前方行驶", + "assistant_action": "进入辅路", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 62, + "status": "畅通", + "path": [ + [117.12784, 31.820949], + [117.1285, 31.820949] + ], + "polyline": "117.12784,31.820949;117.1285,31.820949" + }, + { + "lcode": [], + "distance": 200, + "status": "畅通", + "path": [ + [117.1285, 31.820949], + [117.130619, 31.820944] + ], + "polyline": "117.1285,31.820949;117.130619,31.820944" + }, + { + "lcode": [], + "distance": 35, + "status": "畅通", + "path": [ + [117.130619, 31.820944], + [117.130994, 31.820939] + ], + "polyline": "117.130619,31.820944;117.130994,31.820939" + }, + { + "lcode": [], + "distance": 33, + "status": "畅通", + "path": [ + [117.130994, 31.820939], + [117.131348, 31.820928] + ], + "polyline": "117.130994,31.820939;117.131348,31.820928" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.12784, 31.820949], + [117.1285, 31.820949], + [117.1285, 31.820949], + [117.130619, 31.820944], + [117.130619, 31.820944], + [117.130994, 31.820939], + [117.130994, 31.820939], + [117.131348, 31.820928] + ], + "status": "畅通", + "distance": 330 + } + ] + }, + { + "start_location": [117.131348, 31.820928], + "end_location": [117.134095, 31.820772], + "instruction": "沿习友路辅路向东行驶261米左转", + "orientation": "东", + "road": "习友路辅路", + "distance": 261, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 40, + "path": [ + [117.131348, 31.820928], + [117.131579, 31.820874], + [117.132974, 31.820842], + [117.133054, 31.820837], + [117.133285, 31.820778], + [117.134095, 31.820772] + ], + "action": "左转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 185, + "status": "畅通", + "path": [ + [117.131348, 31.820928], + [117.131579, 31.820874], + [117.132974, 31.820842], + [117.133054, 31.820837], + [117.133285, 31.820778] + ], + "polyline": "117.131348,31.820928;117.131579,31.820874;117.132974,31.820842;117.133054,31.820837;117.133285,31.820778" + }, + { + "lcode": [], + "distance": 76, + "status": "畅通", + "path": [ + [117.133285, 31.820778], + [117.134095, 31.820772] + ], + "polyline": "117.133285,31.820778;117.134095,31.820772" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.131348, 31.820928], + [117.131579, 31.820874], + [117.132974, 31.820842], + [117.133054, 31.820837], + [117.133285, 31.820778], + [117.133285, 31.820778], + [117.134095, 31.820772] + ], + "status": "畅通", + "distance": 261 + } + ] + }, + { + "start_location": [117.134325, 31.821255], + "end_location": [117.134341, 31.845111], + "instruction": "沿创新大道向北行驶2.6千米右转", + "orientation": "北", + "road": "创新大道", + "distance": 2630, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 411, + "path": [ + [117.134325, 31.821255], + [117.13432, 31.821598], + [117.13431, 31.822296], + [117.13431, 31.82309], + [117.13431, 31.823149], + [117.134315, 31.824736], + [117.13432, 31.825257], + [117.134315, 31.825343], + [117.134315, 31.825922], + [117.134315, 31.827], + [117.134315, 31.827392], + [117.134315, 31.828476], + [117.134315, 31.829629], + [117.134304, 31.83024], + [117.134304, 31.830428], + [117.13431, 31.831195], + [117.134315, 31.831485], + [117.13431, 31.831753], + [117.13431, 31.832123], + [117.13432, 31.833395], + [117.13432, 31.833545], + [117.13432, 31.834339], + [117.13432, 31.834441], + [117.13432, 31.834859], + [117.13432, 31.835305], + [117.134315, 31.835401], + [117.13432, 31.835905], + [117.134325, 31.836946], + [117.134331, 31.837461], + [117.134325, 31.838008], + [117.134331, 31.838378], + [117.134331, 31.838534], + [117.134336, 31.83988], + [117.134336, 31.840449], + [117.134336, 31.840615], + [117.134341, 31.840948], + [117.134341, 31.841232], + [117.134347, 31.842106], + [117.134341, 31.843378], + [117.134341, 31.843614], + [117.134341, 31.844183], + [117.134341, 31.844623], + [117.134341, 31.845111] + ], + "action": "右转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 37, + "status": "畅通", + "path": [ + [117.134325, 31.821255], + [117.13432, 31.821598] + ], + "polyline": "117.134325,31.821255;117.13432,31.821598" + }, + { + "lcode": [], + "distance": 77, + "status": "畅通", + "path": [ + [117.13432, 31.821598], + [117.13431, 31.822296] + ], + "polyline": "117.13432,31.821598;117.13431,31.822296" + }, + { + "lcode": [], + "distance": 87, + "status": "畅通", + "path": [ + [117.13431, 31.822296], + [117.13431, 31.82309] + ], + "polyline": "117.13431,31.822296;117.13431,31.82309" + }, + { + "lcode": [], + "distance": 6, + "status": "畅通", + "path": [ + [117.13431, 31.82309], + [117.13431, 31.823149] + ], + "polyline": "117.13431,31.82309;117.13431,31.823149" + }, + { + "lcode": [], + "distance": 176, + "status": "畅通", + "path": [ + [117.13431, 31.823149], + [117.134315, 31.824736] + ], + "polyline": "117.13431,31.823149;117.134315,31.824736" + }, + { + "lcode": [], + "distance": 67, + "status": "畅通", + "path": [ + [117.134315, 31.824736], + [117.13432, 31.825257], + [117.134315, 31.825343] + ], + "polyline": "117.134315,31.824736;117.13432,31.825257;117.134315,31.825343" + }, + { + "lcode": [], + "distance": 64, + "status": "畅通", + "path": [ + [117.134315, 31.825343], + [117.134315, 31.825922] + ], + "polyline": "117.134315,31.825343;117.134315,31.825922" + }, + { + "lcode": [], + "distance": 119, + "status": "畅通", + "path": [ + [117.134315, 31.825922], + [117.134315, 31.827] + ], + "polyline": "117.134315,31.825922;117.134315,31.827" + }, + { + "lcode": [], + "distance": 163, + "status": "畅通", + "path": [ + [117.134315, 31.827], + [117.134315, 31.827392], + [117.134315, 31.828476] + ], + "polyline": "117.134315,31.827;117.134315,31.827392;117.134315,31.828476" + }, + { + "lcode": [], + "distance": 127, + "status": "畅通", + "path": [ + [117.134315, 31.828476], + [117.134315, 31.829629] + ], + "polyline": "117.134315,31.828476;117.134315,31.829629" + }, + { + "lcode": [], + "distance": 88, + "status": "畅通", + "path": [ + [117.134315, 31.829629], + [117.134304, 31.83024], + [117.134304, 31.830428] + ], + "polyline": "117.134315,31.829629;117.134304,31.83024;117.134304,31.830428" + }, + { + "lcode": [], + "distance": 84, + "status": "畅通", + "path": [ + [117.134304, 31.830428], + [117.13431, 31.831195] + ], + "polyline": "117.134304,31.830428;117.13431,31.831195" + }, + { + "lcode": [], + "distance": 32, + "status": "畅通", + "path": [ + [117.13431, 31.831195], + [117.134315, 31.831485] + ], + "polyline": "117.13431,31.831195;117.134315,31.831485" + }, + { + "lcode": [], + "distance": 29, + "status": "畅通", + "path": [ + [117.134315, 31.831485], + [117.13431, 31.831753] + ], + "polyline": "117.134315,31.831485;117.13431,31.831753" + }, + { + "lcode": [], + "distance": 41, + "status": "畅通", + "path": [ + [117.13431, 31.831753], + [117.13431, 31.832123] + ], + "polyline": "117.13431,31.831753;117.13431,31.832123" + }, + { + "lcode": [], + "distance": 141, + "status": "畅通", + "path": [ + [117.13431, 31.832123], + [117.13432, 31.833395] + ], + "polyline": "117.13431,31.832123;117.13432,31.833395" + }, + { + "lcode": [], + "distance": 16, + "status": "畅通", + "path": [ + [117.13432, 31.833395], + [117.13432, 31.833545] + ], + "polyline": "117.13432,31.833395;117.13432,31.833545" + }, + { + "lcode": [], + "distance": 88, + "status": "畅通", + "path": [ + [117.13432, 31.833545], + [117.13432, 31.834339] + ], + "polyline": "117.13432,31.833545;117.13432,31.834339" + }, + { + "lcode": [], + "distance": 11, + "status": "畅通", + "path": [ + [117.13432, 31.834339], + [117.13432, 31.834441] + ], + "polyline": "117.13432,31.834339;117.13432,31.834441" + }, + { + "lcode": [], + "distance": 46, + "status": "畅通", + "path": [ + [117.13432, 31.834441], + [117.13432, 31.834859] + ], + "polyline": "117.13432,31.834441;117.13432,31.834859" + }, + { + "lcode": [], + "distance": 60, + "status": "畅通", + "path": [ + [117.13432, 31.834859], + [117.13432, 31.835305], + [117.134315, 31.835401] + ], + "polyline": "117.13432,31.834859;117.13432,31.835305;117.134315,31.835401" + }, + { + "lcode": [], + "distance": 55, + "status": "畅通", + "path": [ + [117.134315, 31.835401], + [117.13432, 31.835905] + ], + "polyline": "117.134315,31.835401;117.13432,31.835905" + }, + { + "lcode": [], + "distance": 115, + "status": "畅通", + "path": [ + [117.13432, 31.835905], + [117.134325, 31.836946] + ], + "polyline": "117.13432,31.835905;117.134325,31.836946" + }, + { + "lcode": [], + "distance": 57, + "status": "畅通", + "path": [ + [117.134325, 31.836946], + [117.134331, 31.837461] + ], + "polyline": "117.134325,31.836946;117.134331,31.837461" + }, + { + "lcode": [], + "distance": 61, + "status": "畅通", + "path": [ + [117.134331, 31.837461], + [117.134325, 31.838008] + ], + "polyline": "117.134331,31.837461;117.134325,31.838008" + }, + { + "lcode": [], + "distance": 58, + "status": "畅通", + "path": [ + [117.134325, 31.838008], + [117.134331, 31.838378], + [117.134331, 31.838534] + ], + "polyline": "117.134325,31.838008;117.134331,31.838378;117.134331,31.838534" + }, + { + "lcode": [], + "distance": 149, + "status": "畅通", + "path": [ + [117.134331, 31.838534], + [117.134336, 31.83988] + ], + "polyline": "117.134331,31.838534;117.134336,31.83988" + }, + { + "lcode": [], + "distance": 82, + "status": "畅通", + "path": [ + [117.134336, 31.83988], + [117.134336, 31.840449], + [117.134336, 31.840615] + ], + "polyline": "117.134336,31.83988;117.134336,31.840449;117.134336,31.840615" + }, + { + "lcode": [], + "distance": 36, + "status": "畅通", + "path": [ + [117.134336, 31.840615], + [117.134341, 31.840948] + ], + "polyline": "117.134336,31.840615;117.134341,31.840948" + }, + { + "lcode": [], + "distance": 31, + "status": "畅通", + "path": [ + [117.134341, 31.840948], + [117.134341, 31.841232] + ], + "polyline": "117.134341,31.840948;117.134341,31.841232" + }, + { + "lcode": [], + "distance": 97, + "status": "畅通", + "path": [ + [117.134341, 31.841232], + [117.134347, 31.842106] + ], + "polyline": "117.134341,31.841232;117.134347,31.842106" + }, + { + "lcode": [], + "distance": 140, + "status": "畅通", + "path": [ + [117.134347, 31.842106], + [117.134341, 31.843378] + ], + "polyline": "117.134347,31.842106;117.134341,31.843378" + }, + { + "lcode": [], + "distance": 25, + "status": "畅通", + "path": [ + [117.134341, 31.843378], + [117.134341, 31.843614] + ], + "polyline": "117.134341,31.843378;117.134341,31.843614" + }, + { + "lcode": [], + "distance": 63, + "status": "畅通", + "path": [ + [117.134341, 31.843614], + [117.134341, 31.844183] + ], + "polyline": "117.134341,31.843614;117.134341,31.844183" + }, + { + "lcode": [], + "distance": 48, + "status": "畅通", + "path": [ + [117.134341, 31.844183], + [117.134341, 31.844623] + ], + "polyline": "117.134341,31.844183;117.134341,31.844623" + }, + { + "lcode": [], + "distance": 54, + "status": "畅通", + "path": [ + [117.134341, 31.844623], + [117.134341, 31.845111] + ], + "polyline": "117.134341,31.844623;117.134341,31.845111" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.134325, 31.821255], + [117.13432, 31.821598], + [117.13432, 31.821598], + [117.13431, 31.822296], + [117.13431, 31.822296], + [117.13431, 31.82309], + [117.13431, 31.82309], + [117.13431, 31.823149], + [117.13431, 31.823149], + [117.134315, 31.824736], + [117.134315, 31.824736], + [117.13432, 31.825257], + [117.134315, 31.825343], + [117.134315, 31.825343], + [117.134315, 31.825922], + [117.134315, 31.825922], + [117.134315, 31.827], + [117.134315, 31.827], + [117.134315, 31.827392], + [117.134315, 31.828476], + [117.134315, 31.828476], + [117.134315, 31.829629], + [117.134315, 31.829629], + [117.134304, 31.83024], + [117.134304, 31.830428], + [117.134304, 31.830428], + [117.13431, 31.831195], + [117.13431, 31.831195], + [117.134315, 31.831485], + [117.134315, 31.831485], + [117.13431, 31.831753], + [117.13431, 31.831753], + [117.13431, 31.832123], + [117.13431, 31.832123], + [117.13432, 31.833395], + [117.13432, 31.833395], + [117.13432, 31.833545], + [117.13432, 31.833545], + [117.13432, 31.834339], + [117.13432, 31.834339], + [117.13432, 31.834441], + [117.13432, 31.834441], + [117.13432, 31.834859], + [117.13432, 31.834859], + [117.13432, 31.835305], + [117.134315, 31.835401], + [117.134315, 31.835401], + [117.13432, 31.835905], + [117.13432, 31.835905], + [117.134325, 31.836946], + [117.134325, 31.836946], + [117.134331, 31.837461], + [117.134331, 31.837461], + [117.134325, 31.838008], + [117.134325, 31.838008], + [117.134331, 31.838378], + [117.134331, 31.838534], + [117.134331, 31.838534], + [117.134336, 31.83988], + [117.134336, 31.83988], + [117.134336, 31.840449], + [117.134336, 31.840615], + [117.134336, 31.840615], + [117.134341, 31.840948], + [117.134341, 31.840948], + [117.134341, 31.841232], + [117.134341, 31.841232], + [117.134347, 31.842106], + [117.134347, 31.842106], + [117.134341, 31.843378], + [117.134341, 31.843378], + [117.134341, 31.843614], + [117.134341, 31.843614], + [117.134341, 31.844183], + [117.134341, 31.844183], + [117.134341, 31.844623], + [117.134341, 31.844623], + [117.134341, 31.845111] + ], + "status": "畅通", + "distance": 2630 + } + ] + }, + { + "start_location": [117.134341, 31.845111], + "end_location": [117.137399, 31.845095], + "instruction": "沿皖水路向东行驶288米右转", + "orientation": "东", + "road": "皖水路", + "distance": 288, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 61, + "path": [ + [117.134341, 31.845111], + [117.135661, 31.845105], + [117.13579, 31.8451], + [117.13623, 31.845095], + [117.136605, 31.845095], + [117.137399, 31.845095] + ], + "action": "右转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 124, + "status": "畅通", + "path": [ + [117.134341, 31.845111], + [117.135661, 31.845105] + ], + "polyline": "117.134341,31.845111;117.135661,31.845105" + }, + { + "lcode": [], + "distance": 12, + "status": "畅通", + "path": [ + [117.135661, 31.845105], + [117.13579, 31.8451] + ], + "polyline": "117.135661,31.845105;117.13579,31.8451" + }, + { + "lcode": [], + "distance": 77, + "status": "畅通", + "path": [ + [117.13579, 31.8451], + [117.13623, 31.845095], + [117.136605, 31.845095] + ], + "polyline": "117.13579,31.8451;117.13623,31.845095;117.136605,31.845095" + }, + { + "lcode": [], + "distance": 75, + "status": "畅通", + "path": [ + [117.136605, 31.845095], + [117.137399, 31.845095] + ], + "polyline": "117.136605,31.845095;117.137399,31.845095" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.134341, 31.845111], + [117.135661, 31.845105], + [117.135661, 31.845105], + [117.13579, 31.8451], + [117.13579, 31.8451], + [117.13623, 31.845095], + [117.136605, 31.845095], + [117.136605, 31.845095], + [117.137399, 31.845095] + ], + "status": "畅通", + "distance": 288 + } + ] + }, + { + "start_location": [117.137399, 31.845095], + "end_location": [117.137405, 31.844424], + "instruction": "向南行驶73米右转", + "orientation": "南", + "road": "", + "distance": 73, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 39, + "path": [ + [117.137399, 31.845095], + [117.137405, 31.844778], + [117.137405, 31.844687], + [117.137405, 31.844424] + ], + "action": "右转", + "assistant_action": "", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 34, + "status": "未知", + "path": [ + [117.137399, 31.845095], + [117.137405, 31.844778] + ], + "polyline": "117.137399,31.845095;117.137405,31.844778" + }, + { + "lcode": [], + "distance": 10, + "status": "未知", + "path": [ + [117.137405, 31.844778], + [117.137405, 31.844687] + ], + "polyline": "117.137405,31.844778;117.137405,31.844687" + }, + { + "lcode": [], + "distance": 29, + "status": "未知", + "path": [ + [117.137405, 31.844687], + [117.137405, 31.844424] + ], + "polyline": "117.137405,31.844687;117.137405,31.844424" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.137399, 31.845095], + [117.137405, 31.844778], + [117.137405, 31.844778], + [117.137405, 31.844687], + [117.137405, 31.844687], + [117.137405, 31.844424] + ], + "status": "未知", + "distance": 73 + } + ] + }, + { + "start_location": [117.137405, 31.844424], + "end_location": [117.136444, 31.84424], + "instruction": "向西行驶112米到达目的地", + "orientation": "西", + "road": "", + "distance": 112, + "tolls": 0, + "toll_distance": 0, + "toll_road": "", + "time": 30, + "path": [ + [117.137405, 31.844424], + [117.136616, 31.84444], + [117.136461, 31.844445], + [117.136439, 31.844419], + [117.136444, 31.84424] + ], + "action": "", + "assistant_action": "到达目的地", + "cities": [ + { + "name": "合肥市", + "citycode": "0551", + "adcode": "340100", + "districts": [{ "name": "蜀山区", "adcode": "340104" }] + } + ], + "tmcs": [ + { + "lcode": [], + "distance": 74, + "status": "未知", + "path": [ + [117.137405, 31.844424], + [117.136616, 31.84444] + ], + "polyline": "117.137405,31.844424;117.136616,31.84444" + }, + { + "lcode": [], + "distance": 38, + "status": "未知", + "path": [ + [117.136616, 31.84444], + [117.136461, 31.844445], + [117.136439, 31.844419], + [117.136444, 31.84424] + ], + "polyline": "117.136616,31.84444;117.136461,31.844445;117.136439,31.844419;117.136444,31.84424" + } + ], + "tmcsPaths": [ + { + "path": [ + [117.137405, 31.844424], + [117.136616, 31.84444], + [117.136616, 31.84444], + [117.136461, 31.844445], + [117.136439, 31.844419], + [117.136444, 31.84424] + ], + "status": "未知", + "distance": 112 + } + ] + } + ], + "restriction": 0, + "distance": 4556, + "time": 787, + "policy": "速度最快", + "tolls": 0, + "tolls_distance": 0 + } + ], + "start": { + "location": [117.122166, 31.821747], + "name": "起点", + "type": "start" + }, + "end": { "location": [117.136588, 31.844244], "name": "终点", "type": "end" }, + "waypoints": [] +} diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..27a4289 --- /dev/null +++ b/src/main.js @@ -0,0 +1,13 @@ +import { createApp } from "vue"; +import "./style.css"; +import "modern-normalize"; +import ElementPlus from "element-plus"; +import * as ElementPlusIconsVue from "@element-plus/icons-vue"; +import "element-plus/dist/index.css"; +import App from "./App.vue"; +const app = createApp(App); +app.use(ElementPlus); +for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component); +} +app.mount("#app"); diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..87bc805 --- /dev/null +++ b/src/style.css @@ -0,0 +1,90 @@ +/* :root { + font-family: Inter, Avenir, Helvetica, Arial, sans-serif; + font-size: 16px; + line-height: 24px; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +.card { + padding: 2em; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +} */ diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..05c1740 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [vue()], +})