From a9a128a2cae39922bc4e8236220fd9225bde1be1 Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Wed, 22 Nov 2023 18:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 146 ++++++++++++++++++++++++++ package.json | 1 + public/assets/imgs/icon/shbz1.png | Bin 378 -> 394 bytes public/assets/imgs/icon/shbz2.png | Bin 394 -> 378 bytes public/assets/imgs/icon/shbz3.png | Bin 383 -> 372 bytes public/assets/imgs/icon/shbz4.png | Bin 372 -> 383 bytes src/App.vue | 26 ++++- src/components/card/CardCount2.vue | 1 + src/components/card/CardTwoCount.vue | 23 +++- src/components/card/PersonPercent.vue | 2 +- src/components/circle/CircleWave.vue | 6 +- src/components/datetime/DateTime.vue | 71 +++++++++++++ src/components/echarts/Bar.vue | 4 + src/components/echarts/BarSpike.vue | 4 + src/components/echarts/Pie3d.vue | 2 +- src/components/scroll/ScrollPanel.vue | 57 +++------- src/main.js | 11 ++ src/module/ModuleBottom.vue | 90 ++++++++++++++-- src/module/ModuleCenter.vue | 104 +++++++++++++++--- src/module/ModuleLeft1.vue | 29 +++-- src/module/ModuleLeft2.vue | 38 +++---- src/module/ModuleLeft3.vue | 26 ++++- src/module/ModuleRight1.vue | 28 +++-- src/module/ModuleRight2.vue | 24 ++++- src/module/ModuleRight3.vue | 24 ++++- src/style.css | 1 + vite.config.js | 4 + 27 files changed, 596 insertions(+), 126 deletions(-) create mode 100644 src/components/datetime/DateTime.vue diff --git a/package-lock.json b/package-lock.json index a8e65a1..4500e3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "btgxq-population-bigdata", "version": "0.0.0", "dependencies": { + "axios": "^1.6.2", "echarts": "^5.4.3", "echarts-gl": "^2.0.9", "stylus": "^0.61.0", @@ -663,6 +664,21 @@ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.8.tgz", "integrity": "sha512-8PGwybFwM4x8pcfgqEQFy70NaQxASvOC5DJwLQfpArw1UDfUXrJkdxD3BhVTMS+0Lef/TU7YO0Jvr0jJY8T+mw==" }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/axios": { + "version": "1.6.2", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -682,6 +698,17 @@ "resolved": "https://registry.npmmirror.com/claygl/-/claygl-1.3.0.tgz", "integrity": "sha512-+gGtJjT6SSHD2l2yC3MCubW/sCV40tZuSs5opdtn79vFSGUgp/lH139RNEQ6Jy078/L0aV8odCw8RSrUcMfLaQ==" }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -708,6 +735,14 @@ } } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/echarts": { "version": "5.4.3", "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.4.3.tgz", @@ -771,6 +806,32 @@ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, + "node_modules/follow-redirects": { + "version": "1.15.3", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -834,6 +895,25 @@ "node": ">=12" } }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -915,6 +995,11 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/rollup": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.4.1.tgz", @@ -1455,6 +1540,21 @@ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.8.tgz", "integrity": "sha512-8PGwybFwM4x8pcfgqEQFy70NaQxASvOC5DJwLQfpArw1UDfUXrJkdxD3BhVTMS+0Lef/TU7YO0Jvr0jJY8T+mw==" }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "axios": { + "version": "1.6.2", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "requires": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1474,6 +1574,14 @@ "resolved": "https://registry.npmmirror.com/claygl/-/claygl-1.3.0.tgz", "integrity": "sha512-+gGtJjT6SSHD2l2yC3MCubW/sCV40tZuSs5opdtn79vFSGUgp/lH139RNEQ6Jy078/L0aV8odCw8RSrUcMfLaQ==" }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1492,6 +1600,11 @@ "ms": "2.1.2" } }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, "echarts": { "version": "5.4.3", "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.4.3.tgz", @@ -1545,6 +1658,21 @@ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, + "follow-redirects": { + "version": "1.15.3", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==" + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -1592,6 +1720,19 @@ "@jridgewell/sourcemap-codec": "^1.4.15" } }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -1638,6 +1779,11 @@ "source-map-js": "^1.0.2" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "rollup": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.4.1.tgz", diff --git a/package.json b/package.json index 8cdc21f..baa12c6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "preview": "vite preview" }, "dependencies": { + "axios": "^1.6.2", "echarts": "^5.4.3", "echarts-gl": "^2.0.9", "stylus": "^0.61.0", diff --git a/public/assets/imgs/icon/shbz1.png b/public/assets/imgs/icon/shbz1.png index d9041f76659145c38bd82a616de3580bd99b1aa9..84db4e0c4b3247c556d17ffa5464570e677b8340 100644 GIT binary patch delta 367 zcmV-#0g(Rs0*V8WB!5d#OjJb{XuKtM#y*eMN0{6eXuK9^yf=x`SEuGoX>nMn=ToEP zTdV0&q2pSr=oV{tm;+L{=5JH02p*q zPE$ZkaEKT7 zO?o1z3k;y3X|AIQZrVN?Is{rJ`F@(R+{p2P4$TaAJALIRlp6icHP`+qC&9)`k$J~- z7aG89@hz4q+-Q!gVQI_duh4cnM&@xc2U{k&92{>5bZIE(${7OH24iB0Kh&z6fUKw| zvX*?&;8AgH{UnG^dAj*8f8X$VF^62b>Fjzie|V+-c7N{n?`nS);umas8@pL}jL!f7 N002ovPDHLkV1mlvsxbfn delta 330 zcmeBT{>3ywCB-JdC&cyte+FF0C$kWj6h!=-xrhb>1A}l$kYBKag+xk+&yEWP3=uV7 zUT7>>bLU9n{mDub=Sb8a^>lFz(U{me`L0-t0!Pc)c$3)GmH*4{DqlPL$}6VySH=Ry zke;gG|H+pPSN({*AU1!+mWHX9vQ+OSFIgs~d6)S^cFu*QwGL-8PYQqDqL;uJvCzJ{ z#rc8t>-XMrGul~~suVtV6xy#)#68FF0qarDzn0&gCdIwVVchuk?*C~<=b}%PM1Lz# z_c8rsT<$*Ql@06vJz4zg6n4kYGkVY&)p(%U;uznj*k3vEY)>{eUzx_gb5p^m=DPph pv&!G+{=fh3`P+X>eqS}LW8}Wg)8m-9!vW}H22WQ%mvv4FO#mJ&sNMho diff --git a/public/assets/imgs/icon/shbz2.png b/public/assets/imgs/icon/shbz2.png index 84db4e0c4b3247c556d17ffa5464570e677b8340..d9041f76659145c38bd82a616de3580bd99b1aa9 100644 GIT binary patch delta 330 zcmeBT{>3ywCB-JdC&cyte+FF0C$kWj6h!=-xrhb>1A}l$kYBKag+xk+&yEWP3=uV7 zUT7>>bLU9n{mDub=Sb8a^>lFz(U{me`L0-t0!Pc)c$3)GmH*4{DqlPL$}6VySH=Ry zke;gG|H+pPSN({*AU1!+mWHX9vQ+OSFIgs~d6)S^cFu*QwGL-8PYQqDqL;uJvCzJ{ z#rc8t>-XMrGul~~suVtV6xy#)#68FF0qarDzn0&gCdIwVVchuk?*C~<=b}%PM1Lz# z_c8rsT<$*Ql@06vJz4zg6n4kYGkVY&)p(%U;uznj*k3vEY)>{eUzx_gb5p^m=DPph pv&!G+{=fh3`P+X>eqS}LW8}Wg)8m-9!vW}H22WQ%mvv4FO#mJ&sNMho delta 367 zcmV-#0g(Rs0*V8WB!5d#OjJb{XuKtM#y*eMN0{6eXuK9^yf=x`SEuGoX>nMn=ToEP zTdV0&q2pSr=oV{tm;+L{=5JH02p*q zPE$ZkaEKT7 zO?o1z3k;y3X|AIQZrVN?Is{rJ`F@(R+{p2P4$TaAJALIRlp6icHP`+qC&9)`k$J~- z7aG89@hz4q+-Q!gVQI_duh4cnM&@xc2U{k&92{>5bZIE(${7OH24iB0Kh&z6fUKw| zvX*?&;8AgH{UnG^dAj*8f8X$VF^62b>Fjzie|V+-c7N{n?`nS);umas8@pL}jL!f7 N002ovPDHLkV1mlvsxbfn diff --git a/public/assets/imgs/icon/shbz3.png b/public/assets/imgs/icon/shbz3.png index 4e21cd807e45226b1570ea03238f935fb264e544..6e8c0156f8b73116df2173377bed68ec595ce779 100644 GIT binary patch literal 372 zcmeAS@N?(olHy`uVBq!ia0vp^@*vE?3?wxQo^b;y?*N|=*YA_%Fp*DYA*LWfkxJd0 zbAiT6lmz(&J476r;v-?faN$me#+Q^AYj)HWEO5&Ts^7t}X*Ey{XMsm#F#`j)5C}6~ zx?A@LD7f0w#W6%<;@ruRe1{cyT+WJ3Z&A5x{oOv(b;2f-V;*z$k2Fh4CnoX9o_xh* z{4ro*By(_pLEwT}l@t9~ZF|otUtwk|kSce$@^&GsgadEEOmD{drx#7JJay|`W&h+p zvv=ar^*$1h=PfIqSa+{LX6dWz%v04jy{^?y-2d~tkiM;-_eay;nP0XEO?bP$a=(Al z0oj*fVQP;Qf6PAnV@0{;S#B!5m&OjJbx&GrDQo&c(#0JOIN&GrDz_5iG;0L9|~tD;P4aRANs z0LSM5xWfRhsQ}CI0LknCva+f3itLK~yM_t&`af zgdhw>3kYr99i65B|DzK@ClLWNiRZ}Tz-%i>Q(0!ALWZ7xYRFP~=e}{`5_xRou@V{Ui2BrFziW`>RqWv!iw?}dp kSMUF7ey--PG{2Vl3r@Ea)+S}W@Bjb+07*qoM6N<$f+p{wlK=n! diff --git a/public/assets/imgs/icon/shbz4.png b/public/assets/imgs/icon/shbz4.png index 6e8c0156f8b73116df2173377bed68ec595ce779..4e21cd807e45226b1570ea03238f935fb264e544 100644 GIT binary patch delta 338 zcmV-Y0j>V@0{;S#B!5m&OjJbx&GrDQo&c(#0JOIN&GrDz_5iG;0L9|~tD;P4aRANs z0LSM5xWfRhsQ}CI0LknCva+f3itLK~yM_t&`af zgdhw>3kYr99i65B|DzK@ClLWNiRZ}Tz-%i>Q(0!ALWZ7xYRFP~=e}{`5_xRou@V{Ui2BrFziW`>RqWv!iw?}dp kSMUF7ey--PG{2Vl3r@Ea)+S}W@Bjb+07*qoM6N<$f+p{wlK=n! literal 372 zcmeAS@N?(olHy`uVBq!ia0vp^@*vE?3?wxQo^b;y?*N|=*YA_%Fp*DYA*LWfkxJd0 zbAiT6lmz(&J476r;v-?faN$me#+Q^AYj)HWEO5&Ts^7t}X*Ey{XMsm#F#`j)5C}6~ zx?A@LD7f0w#W6%<;@ruRe1{cyT+WJ3Z&A5x{oOv(b;2f-V;*z$k2Fh4CnoX9o_xh* z{4ro*By(_pLEwT}l@t9~ZF|otUtwk|kSce$@^&GsgadEEOmD{drx#7JJay|`W&h+p zvv=ar^*$1h=PfIqSa+{LX6dWz%v04jy{^?y-2d~tkiM;-_eay;nP0XEO?bP$a=(Al z0oj*fVQP;Qf6PAn
-
+
+ +
人口系统数据看板
+
+
@@ -17,6 +21,7 @@ diff --git a/src/components/card/PersonPercent.vue b/src/components/card/PersonPercent.vue index 6b63700..6040442 100644 --- a/src/components/card/PersonPercent.vue +++ b/src/components/card/PersonPercent.vue @@ -1,7 +1,7 @@ diff --git a/src/components/circle/CircleWave.vue b/src/components/circle/CircleWave.vue index 77da6bc..91106b1 100644 --- a/src/components/circle/CircleWave.vue +++ b/src/components/circle/CircleWave.vue @@ -1,5 +1,5 @@ + + + + \ No newline at end of file diff --git a/src/components/echarts/Bar.vue b/src/components/echarts/Bar.vue index 1f0a5ed..2c159dd 100644 --- a/src/components/echarts/Bar.vue +++ b/src/components/echarts/Bar.vue @@ -42,6 +42,10 @@ const init = () => { text: props.title }, tooltip: {}, + grid: { + left: 50, + top: 10 + }, xAxis: { type: 'category', data: props.xData diff --git a/src/components/echarts/BarSpike.vue b/src/components/echarts/BarSpike.vue index 7e87501..8664e90 100644 --- a/src/components/echarts/BarSpike.vue +++ b/src/components/echarts/BarSpike.vue @@ -42,6 +42,10 @@ const init = () => { text: props.title }, tooltip: {}, + grid: { + left: 50, + top: 10 + }, xAxis: { type: 'category', data: props.xData diff --git a/src/components/echarts/Pie3d.vue b/src/components/echarts/Pie3d.vue index 6b43015..0e96e44 100644 --- a/src/components/echarts/Pie3d.vue +++ b/src/components/echarts/Pie3d.vue @@ -274,7 +274,7 @@ const dataSource = [ const init = () => { // const colorList = ["#D98053", "#E2B062", "#5A9CF1", "#6ED3D3"]; const colorList = []; - const paramsList = dataSource.map((item, index) => { + const paramsList = props.data.map((item, index) => { return { ...item, shading: "realistic", diff --git a/src/components/scroll/ScrollPanel.vue b/src/components/scroll/ScrollPanel.vue index 1f72ae9..a6d70b8 100644 --- a/src/components/scroll/ScrollPanel.vue +++ b/src/components/scroll/ScrollPanel.vue @@ -7,12 +7,12 @@ 占有率(%)
- -
- 序号 - 民族民族民族民族民族 - 人数(人) - 占有率(%) + +
+ {{ index + 1 }} + {{ item.name }} + {{ item.value }} + {{ item.percent }}
@@ -21,46 +21,15 @@ \ No newline at end of file diff --git a/src/module/ModuleLeft1.vue b/src/module/ModuleLeft1.vue index f47b7c8..746a518 100644 --- a/src/module/ModuleLeft1.vue +++ b/src/module/ModuleLeft1.vue @@ -1,26 +1,37 @@ \ No newline at end of file diff --git a/src/module/ModuleLeft2.vue b/src/module/ModuleLeft2.vue index 9da45af..45dddec 100644 --- a/src/module/ModuleLeft2.vue +++ b/src/module/ModuleLeft2.vue @@ -1,35 +1,35 @@ \ No newline at end of file diff --git a/src/module/ModuleRight2.vue b/src/module/ModuleRight2.vue index 3a50b1d..1584343 100644 --- a/src/module/ModuleRight2.vue +++ b/src/module/ModuleRight2.vue @@ -3,11 +3,11 @@
- +
- - + +
@@ -15,11 +15,27 @@ \ No newline at end of file diff --git a/src/style.css b/src/style.css index 2340bb3..d515d51 100644 --- a/src/style.css +++ b/src/style.css @@ -14,6 +14,7 @@ html, body { height: max-content; margin: 0; padding: 0; + background-color: rgba(0, 2, 5) } #app { diff --git a/vite.config.js b/vite.config.js index 05c1740..9c87972 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,5 +3,9 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ + base: './', + server: { + host: '0.0.0.0', + }, plugins: [vue()], })