From e692cd9fc84cc0a672efa84b2a889869c8caee88 Mon Sep 17 00:00:00 2001 From: ailanyin Date: Mon, 24 Jul 2023 17:31:15 +0800 Subject: [PATCH] bugfix --- index.html | 11 +- package.json | 3 + src/assets/images/map_back.png | Bin 0 -> 508 bytes src/views/website/home/comp/MapFullpage.vue | 11 + src/views/website/home/comp/RegionPagine.vue | 30 +- src/views/website/home/comp/index0.vue | 413 +++++++++++++++++++ src/views/website/home/comp/index1.vue | 2 +- src/views/website/home/comp/index3.vue | 2 +- src/views/website/home/index.vue | 47 ++- vite.config.js | 4 +- 10 files changed, 483 insertions(+), 40 deletions(-) create mode 100644 src/assets/images/map_back.png create mode 100644 src/views/website/home/comp/MapFullpage.vue create mode 100644 src/views/website/home/comp/index0.vue diff --git a/index.html b/index.html index 945d0cc..02900c2 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,14 @@ - - - + + + + 中科云 diff --git a/package.json b/package.json index e26c1b8..2bc25d9 100644 --- a/package.json +++ b/package.json @@ -16,16 +16,19 @@ "url": "https://gitee.com/y_project/RuoYi-Vue.git" }, "dependencies": { + "@amap/amap-jsapi-loader": "^1.0.1", "@element-plus/icons-vue": "1.1.4", "@vueuse/core": "8.5.0", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.12", + "animejs": "^3.2.1", "axios": "0.26.1", "echarts": "^5.4.0", "echarts-extension-amap": "^1.10.1", "element-plus": "2.1.8", "file-saver": "2.0.5", "fuse.js": "6.5.3", + "html2canvas": "^1.4.1", "js-cookie": "3.0.1", "js-md5": "^0.7.3", "jsencrypt": "3.2.1", diff --git a/src/assets/images/map_back.png b/src/assets/images/map_back.png new file mode 100644 index 0000000000000000000000000000000000000000..f5b7ef4e50c8a5f99e2ca9f24f93b2d789538735 GIT binary patch literal 508 zcmV^_l{J28nDygTyhNLgWBH8{7ELZ8&MQ$+nLek&p5#T9wcY)VX zx(_^)^#4}vnb1A}ubK!g?{Ea1Cr&a9OaLQI^4BD-H>{fNDd1CS#q#>fYPUTP>;Ml6 zL;M5A@7nX{Krj*J(lK}@=h~tpwf)XkqZOpX~Pq+;&{s?~>xzdJb-T z6!-;{t$VU-aNDtpFI!y6BOvxX9wWurm9%gl;IYGp74#4eIW6h3-{A3eo0Sy5^b0)J ya~pUk=_+UGKEU&DK{Mtr;xPgIkQ5J#y0``?p^-&rzDP3w0000 + + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/RegionPagine.vue b/src/views/website/home/comp/RegionPagine.vue index 56171e1..c25e035 100644 --- a/src/views/website/home/comp/RegionPagine.vue +++ b/src/views/website/home/comp/RegionPagine.vue @@ -1,31 +1,33 @@ diff --git a/src/views/website/home/comp/index0.vue b/src/views/website/home/comp/index0.vue new file mode 100644 index 0000000..ae08e5b --- /dev/null +++ b/src/views/website/home/comp/index0.vue @@ -0,0 +1,413 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index1.vue b/src/views/website/home/comp/index1.vue index 576de71..e816eb9 100644 --- a/src/views/website/home/comp/index1.vue +++ b/src/views/website/home/comp/index1.vue @@ -146,7 +146,7 @@ const testEnter = (ev) => { console.log("rere"); }; const queryParams = reactive({ - queryType: undefined, + // queryType: undefined, keyword: "", queryType: "2", }); diff --git a/src/views/website/home/comp/index3.vue b/src/views/website/home/comp/index3.vue index ec5494c..d23f436 100644 --- a/src/views/website/home/comp/index3.vue +++ b/src/views/website/home/comp/index3.vue @@ -469,7 +469,7 @@ function loadMap(mapName, data) { width: 100%; text-align: center; font-size: 36px; - font-family: Source Han Sans CN; + font-family: Source Han Sans CN,sans-serif; font-weight: 300; color: #ffffff; } diff --git a/src/views/website/home/index.vue b/src/views/website/home/index.vue index e6b8f9b..83f496c 100644 --- a/src/views/website/home/index.vue +++ b/src/views/website/home/index.vue @@ -58,6 +58,7 @@ import { onUnmounted, computed, } from "vue"; +import index0 from "./comp/index0.vue" import index1 from "./comp/index1.vue"; import index2 from "./comp/index2.vue"; import index3 from "./comp/index3.vue"; @@ -152,41 +153,47 @@ let state = reactive({ }, showBox: 0, boxList: [ + { comp: shallowRef(index1), zIndex: 1, title: "index1", }, + { + comp: shallowRef(index0), + zIndex: 1, + title: "index1", + }, // { // comp: shallowRef(index2), // zIndex: 1, // title: "index2", // }, - { - comp: shallowRef(index3), - zIndex: 1, - title: "index3", - }, + // { + // comp: shallowRef(index3), + // zIndex: 1, + // title: "index3", + // }, // { // comp: shallowRef(index4), // zIndex: 1, // title: "index4", // }, - { - comp: shallowRef(index5), - zIndex: 1, - title: "index5", - }, - { - comp: shallowRef(index6), - zIndex: 1, - title: "index6", - }, - { - comp: shallowRef(index7), - zIndex: 1, - title: "index7", - }, + // { + // comp: shallowRef(index5), + // zIndex: 1, + // title: "index5", + // }, + // { + // comp: shallowRef(index6), + // zIndex: 1, + // title: "index6", + // }, + // { + // comp: shallowRef(index7), + // zIndex: 1, + // title: "index7", + // }, { comp: shallowRef(index8), zIndex: 1, diff --git a/vite.config.js b/vite.config.js index cd7aa15..98138f2 100644 --- a/vite.config.js +++ b/vite.config.js @@ -32,8 +32,8 @@ export default defineConfig(({ mode, command }) => { // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { // target: "http://101.34.131.16:1618", - // target: "http://101.34.131.16:1618", - target: "http://192.168.0.201:1618", + target: "http://101.34.131.16:1618", + // target: "http://192.168.0.201:1618", // target: 'http://172.18.3.127:1618', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, ""),