diff --git a/package.json b/package.json index 41723cd..f07d513 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,12 @@ "axios": "0.26.1", "core-js": "3.21.1", "dayjs": "1.11.0", + "gl-matrix": "^3.4.3", "lodash": "4.17.21", "mitt": "3.0.0", "mockjs": "1.1.0", "pinyin": "2.11.1", + "vconsole": "^3.15.0", "vue": "3.2.31", "vue-router": "4.0.14", "vue-switches": "2.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6428136..02d5c7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,12 +7,14 @@ specifiers: axios: 0.26.1 core-js: 3.21.1 dayjs: 1.11.0 + gl-matrix: ^3.4.3 less: ^4.1.3 lodash: 4.17.21 mitt: 3.0.0 mobile-select: 1.1.2 mockjs: 1.1.0 pinyin: 2.11.1 + vconsole: ^3.15.0 vite: 4.0.4 vue: 3.2.31 vue-router: 4.0.14 @@ -24,10 +26,12 @@ dependencies: axios: 0.26.1 core-js: 3.21.1 dayjs: 1.11.0 + gl-matrix: 3.4.3 lodash: 4.17.21 mitt: 3.0.0 mockjs: 1.1.0 pinyin: 2.11.1 + vconsole: 3.15.0 vue: 3.2.31 vue-router: 4.0.14_vue@3.2.31 vue-switches: 2.0.1 @@ -305,6 +309,13 @@ packages: - supports-color dev: true + /@babel/runtime/7.20.7: + resolution: {integrity: sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.13.11 + dev: false + /@babel/template/7.20.7: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} engines: {node: '>=6.9.0'} @@ -883,6 +894,11 @@ packages: is-what: 3.14.1 dev: true + /copy-text-to-clipboard/3.0.1: + resolution: {integrity: sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q==} + engines: {node: '>=12'} + dev: false + /core-js/3.21.1: resolution: {integrity: sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig==} deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. @@ -1051,6 +1067,10 @@ packages: engines: {node: '>=6.9.0'} dev: true + /gl-matrix/3.4.3: + resolution: {integrity: sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==} + dev: false + /glob/7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} dependencies: @@ -1303,6 +1323,10 @@ packages: dev: true optional: true + /mutation-observer/1.0.3: + resolution: {integrity: sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==} + dev: false + /nanoid/3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -1448,6 +1472,10 @@ packages: dev: false optional: true + /regenerator-runtime/0.13.11: + resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} + dev: false + /resolve/1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true @@ -1612,6 +1640,15 @@ packages: dev: false optional: true + /vconsole/3.15.0: + resolution: {integrity: sha512-8hq7wabPcRucSWQyN7/1tthMawP9JPvM95zgtMHpPknMMMCKj+abpoK7P7oKK4B0qw58C24Mdvo9+raUdpHyVQ==} + dependencies: + '@babel/runtime': 7.20.7 + copy-text-to-clipboard: 3.0.1 + core-js: 3.21.1 + mutation-observer: 1.0.3 + dev: false + /vite/4.0.4_less@4.1.3: resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==} engines: {node: ^14.18.0 || >=16.0.0} diff --git a/src/assets/less/custom.less b/src/assets/less/custom.less index 4f0294e..ea4625f 100644 --- a/src/assets/less/custom.less +++ b/src/assets/less/custom.less @@ -185,7 +185,7 @@ p { height: 100%; width: 100%; - .slide-wrapper { + .slide-list { height: 100%; width: 100%; display: flex; diff --git a/src/components/slide/SlideImgs.vue b/src/components/slide/SlideImgs.vue index 55c28d1..1c5dce6 100644 --- a/src/components/slide/SlideImgs.vue +++ b/src/components/slide/SlideImgs.vue @@ -1,9 +1,9 @@