diff --git a/package.json b/package.json index 869d6e90..e0c443e3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "alova": "^2.6.0", "dayjs": "^1.11.8", "element-plus": "^2.3.6", - "gsap": "^3.12.1", "lodash": "^4.17.21", "pinia": "^2.1.3", "pinia-plugin-persistedstate": "^3.1.0", @@ -47,6 +46,7 @@ "@vue/eslint-config-prettier": "^7.1.0", "@vue/eslint-config-typescript": "^11.0.3", "@vue/tsconfig": "^0.1.3", + "@vueuse/core": "^10.2.0", "autoprefixer": "^10.4.14", "eslint": "^8.42.0", "eslint-plugin-vue": "^9.14.1", @@ -71,6 +71,7 @@ "unplugin-vue-components": "^0.24.1", "vite": "4.3.5", "vite-plugin-mkcert": "^1.16.0", - "vue-tsc": "^1.6.5" + "vue-tsc": "^1.6.5", + "xgplayer": "^3.0.5" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 208109ab..690ad67e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true @@ -23,9 +23,6 @@ dependencies: element-plus: specifier: ^2.3.6 version: registry.npmmirror.com/element-plus@2.3.6(vue@3.3.4) - gsap: - specifier: ^3.12.1 - version: registry.npmmirror.com/gsap@3.12.1 lodash: specifier: ^4.17.21 version: registry.npmmirror.com/lodash@4.17.21 @@ -79,6 +76,9 @@ devDependencies: '@vue/tsconfig': specifier: ^0.1.3 version: registry.npmmirror.com/@vue/tsconfig@0.1.3(@types/node@18.16.16) + '@vueuse/core': + specifier: ^10.2.0 + version: registry.npmmirror.com/@vueuse/core@10.2.0(vue@3.3.4) autoprefixer: specifier: ^10.4.14 version: registry.npmmirror.com/autoprefixer@10.4.14(postcss@8.4.24) @@ -138,7 +138,7 @@ devDependencies: version: registry.npmmirror.com/typescript@5.1.3 unplugin-auto-import: specifier: ^0.15.3 - version: registry.npmmirror.com/unplugin-auto-import@0.15.3 + version: registry.npmmirror.com/unplugin-auto-import@0.15.3(@vueuse/core@10.2.0) unplugin-icons: specifier: ^0.15.3 version: registry.npmmirror.com/unplugin-icons@0.15.3 @@ -154,6 +154,9 @@ devDependencies: vue-tsc: specifier: ^1.6.5 version: registry.npmmirror.com/vue-tsc@1.6.5(typescript@5.1.3) + xgplayer: + specifier: ^3.0.5 + version: registry.npmmirror.com/xgplayer@3.0.5(core-js@3.31.0) packages: @@ -1573,6 +1576,12 @@ packages: version: 0.0.16 dev: false + registry.npmmirror.com/@types/web-bluetooth@0.0.17: + resolution: {integrity: sha512-4p9vcSmxAayx72yn70joFoL44c9MO/0+iVEBIQXe3v2h2SiAsEIo/G5v6ObFWvNKRFjbrVadNf9LqEEZeQPzdA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.17.tgz} + name: '@types/web-bluetooth' + version: 0.0.17 + dev: true + registry.npmmirror.com/@typescript-eslint/eslint-plugin@5.59.9(@typescript-eslint/parser@5.59.9)(eslint@8.42.0)(typescript@5.1.3): resolution: {integrity: sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.9.tgz} id: registry.npmmirror.com/@typescript-eslint/eslint-plugin/5.59.9 @@ -1993,6 +2002,21 @@ packages: '@types/node': registry.npmmirror.com/@types/node@18.16.16 dev: true + registry.npmmirror.com/@vueuse/core@10.2.0(vue@3.3.4): + resolution: {integrity: sha512-aHBnoCteIS3hFu7ZZkVB93SanVDY6t4TIb7XDLxJT/HQdAZz+2RdIEJ8rj5LUoEJr7Damb5+sJmtpCwGez5ozQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/core/-/core-10.2.0.tgz} + id: registry.npmmirror.com/@vueuse/core/10.2.0 + name: '@vueuse/core' + version: 10.2.0 + dependencies: + '@types/web-bluetooth': registry.npmmirror.com/@types/web-bluetooth@0.0.17 + '@vueuse/metadata': registry.npmmirror.com/@vueuse/metadata@10.2.0 + '@vueuse/shared': registry.npmmirror.com/@vueuse/shared@10.2.0(vue@3.3.4) + vue-demi: registry.npmmirror.com/vue-demi@0.14.5(vue@3.3.4) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: true + registry.npmmirror.com/@vueuse/core@9.13.0(vue@3.3.4): resolution: {integrity: sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/core/-/core-9.13.0.tgz} id: registry.npmmirror.com/@vueuse/core/9.13.0 @@ -2008,12 +2032,30 @@ packages: - vue dev: false + registry.npmmirror.com/@vueuse/metadata@10.2.0: + resolution: {integrity: sha512-IR7Mkq6QSgZ38q/2ZzOt+Zz1OpcEsnwE64WBumDQ+RGKrosFCtUA2zgRrOqDEzPBXrVB+4HhFkwDjQMu0fDBKw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/metadata/-/metadata-10.2.0.tgz} + name: '@vueuse/metadata' + version: 10.2.0 + dev: true + registry.npmmirror.com/@vueuse/metadata@9.13.0: resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/metadata/-/metadata-9.13.0.tgz} name: '@vueuse/metadata' version: 9.13.0 dev: false + registry.npmmirror.com/@vueuse/shared@10.2.0(vue@3.3.4): + resolution: {integrity: sha512-dIeA8+g9Av3H5iF4NXR/sft4V6vys76CpZ6hxwj8eMXybXk2WRl3scSsOVi+kQ9SX38COR7AH7WwY83UcuxbSg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/shared/-/shared-10.2.0.tgz} + id: registry.npmmirror.com/@vueuse/shared/10.2.0 + name: '@vueuse/shared' + version: 10.2.0 + dependencies: + vue-demi: registry.npmmirror.com/vue-demi@0.14.5(vue@3.3.4) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: true + registry.npmmirror.com/@vueuse/shared@9.13.0(vue@3.3.4): resolution: {integrity: sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vueuse/shared/-/shared-9.13.0.tgz} id: registry.npmmirror.com/@vueuse/shared/9.13.0 @@ -2600,6 +2642,13 @@ packages: version: 1.9.0 dev: true + registry.npmmirror.com/core-js@3.31.0: + resolution: {integrity: sha512-NIp2TQSGfR6ba5aalZD+ZQ1fSxGhDo/s1w0nx3RYzf2pnJxt7YynxFlFScP6eV7+GZsKO95NSjGxyJsU3DZgeQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/core-js/-/core-js-3.31.0.tgz} + name: core-js + version: 3.31.0 + requiresBuild: true + dev: true + registry.npmmirror.com/cosmiconfig-typescript-loader@4.3.0(@types/node@18.16.16)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@4.8.4): resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz} id: registry.npmmirror.com/cosmiconfig-typescript-loader/4.3.0 @@ -2690,6 +2739,23 @@ packages: name: csstype version: 3.1.2 + registry.npmmirror.com/d@1.0.1: + resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/d/-/d-1.0.1.tgz} + name: d + version: 1.0.1 + dependencies: + es5-ext: registry.npmmirror.com/es5-ext@0.10.62 + type: registry.npmmirror.com/type@1.2.0 + dev: true + + registry.npmmirror.com/danmu.js@1.1.8: + resolution: {integrity: sha512-GIFSHqJ+HFTGLLaL2BHMPBaOuPY1bWPwC0Pvi/V06uMIoxNTyEGxMuoO2SzNHsDvKC/r252zR9T/Gwx93AaKfw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/danmu.js/-/danmu.js-1.1.8.tgz} + name: danmu.js + version: 1.1.8 + dependencies: + event-emitter: registry.npmmirror.com/event-emitter@0.3.5 + dev: true + registry.npmmirror.com/dargs@7.0.0: resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/dargs/-/dargs-7.0.0.tgz} name: dargs @@ -2763,6 +2829,12 @@ packages: engines: {node: '>=0.4.0'} dev: true + registry.npmmirror.com/delegate@3.2.0: + resolution: {integrity: sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/delegate/-/delegate-3.2.0.tgz} + name: delegate + version: 3.2.0 + dev: true + registry.npmmirror.com/deprecation@2.3.1: resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/deprecation/-/deprecation-2.3.1.tgz} name: deprecation @@ -2838,6 +2910,12 @@ packages: is-obj: registry.npmmirror.com/is-obj@2.0.0 dev: true + registry.npmmirror.com/downloadjs@1.4.7: + resolution: {integrity: sha512-LN1gO7+u9xjU5oEScGFKvXhYf7Y/empUIIEAGBs1LzUq/rg5duiDrkuH5A2lQGd5jfMOb9X9usDa2oVXwJ0U/Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/downloadjs/-/downloadjs-1.4.7.tgz} + name: downloadjs + version: 1.4.7 + dev: true + registry.npmmirror.com/duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz} name: duplexer @@ -2975,6 +3053,37 @@ packages: is-symbol: registry.npmmirror.com/is-symbol@1.0.4 dev: true + registry.npmmirror.com/es5-ext@0.10.62: + resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.62.tgz} + name: es5-ext + version: 0.10.62 + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + es6-iterator: registry.npmmirror.com/es6-iterator@2.0.3 + es6-symbol: registry.npmmirror.com/es6-symbol@3.1.3 + next-tick: registry.npmmirror.com/next-tick@1.1.0 + dev: true + + registry.npmmirror.com/es6-iterator@2.0.3: + resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz} + name: es6-iterator + version: 2.0.3 + dependencies: + d: registry.npmmirror.com/d@1.0.1 + es5-ext: registry.npmmirror.com/es5-ext@0.10.62 + es6-symbol: registry.npmmirror.com/es6-symbol@3.1.3 + dev: true + + registry.npmmirror.com/es6-symbol@3.1.3: + resolution: {integrity: sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.3.tgz} + name: es6-symbol + version: 3.1.3 + dependencies: + d: registry.npmmirror.com/d@1.0.1 + ext: registry.npmmirror.com/ext@1.7.0 + dev: true + registry.npmmirror.com/esbuild@0.17.19: resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild/-/esbuild-0.17.19.tgz} name: esbuild @@ -3226,6 +3335,21 @@ packages: engines: {node: '>=0.10.0'} dev: true + registry.npmmirror.com/event-emitter@0.3.5: + resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/event-emitter/-/event-emitter-0.3.5.tgz} + name: event-emitter + version: 0.3.5 + dependencies: + d: registry.npmmirror.com/d@1.0.1 + es5-ext: registry.npmmirror.com/es5-ext@0.10.62 + dev: true + + registry.npmmirror.com/eventemitter3@4.0.7: + resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz} + name: eventemitter3 + version: 4.0.7 + dev: true + registry.npmmirror.com/execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz} name: execa @@ -3260,6 +3384,14 @@ packages: strip-final-newline: registry.npmmirror.com/strip-final-newline@3.0.0 dev: true + registry.npmmirror.com/ext@1.7.0: + resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ext/-/ext-1.7.0.tgz} + name: ext + version: 1.7.0 + dependencies: + type: registry.npmmirror.com/type@2.7.2 + dev: true + registry.npmmirror.com/fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz} name: fast-deep-equal @@ -3669,12 +3801,6 @@ packages: version: 1.4.0 dev: true - registry.npmmirror.com/gsap@3.12.1: - resolution: {integrity: sha512-FXtb2YbBE9l8I9Pl5DFLpCMedaiMPztRlr0Ln0CMSnJn+pbTaeKlzgth8cLNPc7PzNwIZe+SEQiBBAWaBKJdVA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/gsap/-/gsap-3.12.1.tgz} - name: gsap - version: 3.12.1 - dev: false - registry.npmmirror.com/gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/gzip-size/-/gzip-size-6.0.0.tgz} name: gzip-size @@ -4728,6 +4854,12 @@ packages: version: 1.4.0 dev: true + registry.npmmirror.com/next-tick@1.1.0: + resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/next-tick/-/next-tick-1.1.0.tgz} + name: next-tick + version: 1.1.0 + dev: true + registry.npmmirror.com/nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nice-try/-/nice-try-1.0.5.tgz} name: nice-try @@ -6332,6 +6464,18 @@ packages: engines: {node: '>=8'} dev: true + registry.npmmirror.com/type@1.2.0: + resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/type/-/type-1.2.0.tgz} + name: type + version: 1.2.0 + dev: true + + registry.npmmirror.com/type@2.7.2: + resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/type/-/type-2.7.2.tgz} + name: type + version: 2.7.2 + dev: true + registry.npmmirror.com/typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.4.tgz} name: typed-array-length @@ -6407,8 +6551,9 @@ packages: engines: {node: '>= 10.0.0'} dev: true - registry.npmmirror.com/unplugin-auto-import@0.15.3: + registry.npmmirror.com/unplugin-auto-import@0.15.3(@vueuse/core@10.2.0): resolution: {integrity: sha512-RLT8SqbPn4bT7yBshZId0uPSofKWnwr66RyDaxWaFb/+f7OTDOWAsVNz+hOQLBWSjvbekr2xZY9ccS8TDHJbCQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-0.15.3.tgz} + id: registry.npmmirror.com/unplugin-auto-import/0.15.3 name: unplugin-auto-import version: 0.15.3 engines: {node: '>=14'} @@ -6423,6 +6568,7 @@ packages: dependencies: '@antfu/utils': registry.npmmirror.com/@antfu/utils@0.7.4 '@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils@5.0.2 + '@vueuse/core': registry.npmmirror.com/@vueuse/core@10.2.0(vue@3.3.4) local-pkg: registry.npmmirror.com/local-pkg@0.4.3 magic-string: registry.npmmirror.com/magic-string@0.30.0 minimatch: registry.npmmirror.com/minimatch@9.0.1 @@ -6626,7 +6772,6 @@ packages: optional: true dependencies: vue: registry.npmmirror.com/vue@3.3.4 - dev: false registry.npmmirror.com/vue-eslint-parser@9.3.0(eslint@8.42.0): resolution: {integrity: sha512-48IxT9d0+wArT1+3wNIy0tascRoywqSUe2E1YalIC1L8jsUGe5aJQItWfRok7DVFGz3UYvzEI7n5wiTXsCMAcQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-9.3.0.tgz} @@ -6840,6 +6985,34 @@ packages: optional: true dev: true + registry.npmmirror.com/xgplayer-subtitles@3.0.5(core-js@3.31.0): + resolution: {integrity: sha512-NH7UjkK+2gy15DZsB4SFNUkdcgLMm6THVEMzl026pxEQyqXr0F65fMhx3nzFGZLzL2TSRpQHPJCeBNqGY0uWEg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/xgplayer-subtitles/-/xgplayer-subtitles-3.0.5.tgz} + id: registry.npmmirror.com/xgplayer-subtitles/3.0.5 + name: xgplayer-subtitles + version: 3.0.5 + peerDependencies: + core-js: '>=3.12.1' + dependencies: + core-js: registry.npmmirror.com/core-js@3.31.0 + eventemitter3: registry.npmmirror.com/eventemitter3@4.0.7 + dev: true + + registry.npmmirror.com/xgplayer@3.0.5(core-js@3.31.0): + resolution: {integrity: sha512-QmKcc2l/ETF6JYOYbYz8dm1OWOwft/6AuUy6RF8ms+3T05sqMXlAqEoXPVnCmiHs4BB4W2LSXsxyQXX6+xNBTw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/xgplayer/-/xgplayer-3.0.5.tgz} + id: registry.npmmirror.com/xgplayer/3.0.5 + name: xgplayer + version: 3.0.5 + peerDependencies: + core-js: '>=3.12.1' + dependencies: + core-js: registry.npmmirror.com/core-js@3.31.0 + danmu.js: registry.npmmirror.com/danmu.js@1.1.8 + delegate: registry.npmmirror.com/delegate@3.2.0 + downloadjs: registry.npmmirror.com/downloadjs@1.4.7 + eventemitter3: registry.npmmirror.com/eventemitter3@4.0.7 + xgplayer-subtitles: registry.npmmirror.com/xgplayer-subtitles@3.0.5(core-js@3.31.0) + dev: true + registry.npmmirror.com/xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz} name: xml-name-validator diff --git a/src/assets/avatars/default.png b/src/assets/avatars/default.png deleted file mode 100644 index 90113952..00000000 Binary files a/src/assets/avatars/default.png and /dev/null differ diff --git a/src/assets/iconfont/index-color.css b/src/assets/iconfont/index-color.css new file mode 100644 index 00000000..89408aa7 --- /dev/null +++ b/src/assets/iconfont/index-color.css @@ -0,0 +1,143 @@ +/* stylelint-disable */ +/* eslint-disable */ +/* prettier-ignore */ +@font-face { + font-family: "mallchatcolor"; /* Project id 4141022 */ + /* Color fonts */ + src: + url('//at.alicdn.com/t/c/font_4141022_j7dvq8wg0dr.woff2?t=1688220706250') format('woff2'), + url('//at.alicdn.com/t/c/font_4141022_j7dvq8wg0dr.woff?t=1688220706250') format('woff'), + url('//at.alicdn.com/t/c/font_4141022_j7dvq8wg0dr.ttf?t=1688220706250') format('truetype'); +} + +.mallchatcolor { + font-family: 'mallchatcolor' !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-happy1:before { + content: '\e620'; +} + +.icon-laughing:before { + content: '\e62b'; +} + +.icon-other:before { + content: '\e67a'; +} + +.icon-posun:before { + content: '\e67e'; +} + +.icon-zip:before { + content: '\e60c'; +} + +.icon-wenjianjia1:before { + content: '\e64d'; +} + +.icon-at:before { + content: '\e629'; +} + +.icon-wenjianjia2:before { + content: '\e647'; +} + +.icon-tupian:before { + content: '\e679'; +} + +.icon-qcloud:before { + content: '\e600'; +} + +.icon-yuque:before { + content: '\e7c0'; +} + +.icon-dazed:before { + content: '\e60f'; +} + +.icon-happy:before { + content: '\e621'; +} + +.icon-secret:before { + content: '\e63c'; +} + +.icon-shocked:before { + content: '\e63e'; +} + +.icon-smiling:before { + content: '\e642'; +} + +.icon-yawn:before { + content: '\e64e'; +} + +.icon-github:before { + content: '\e709'; +} + +.icon-weixin:before { + content: '\e60d'; +} + +.icon-bilibili:before { + content: '\e60e'; +} + +.icon-doc:before { + content: '\e601'; +} + +.icon-code:before { + content: '\e602'; +} + +.icon-ppt:before { + content: '\e603'; +} + +.icon-txt:before { + content: '\e604'; +} + +.icon-java:before { + content: '\e605'; +} + +.icon-pdf:before { + content: '\e606'; +} + +.icon-jpg:before { + content: '\e607'; +} + +.icon-mp3:before { + content: '\e608'; +} + +.icon-mp4:before { + content: '\e609'; +} + +.icon-wenjianjia:before { + content: '\e60a'; +} + +.icon-xls:before { + content: '\e60b'; +} diff --git a/src/assets/iconfont/index.css b/src/assets/iconfont/index.css new file mode 100644 index 00000000..39928c0f --- /dev/null +++ b/src/assets/iconfont/index.css @@ -0,0 +1,85 @@ +/* stylelint-disable */ +/* eslint-disable */ +/* prettier-ignore */ +@font-face { + font-family: "mallchat"; /* Project id 4142069 */ + src: url('//at.alicdn.com/t/c/font_4142069_q7wdf7ccbx.woff2?t=1688219879090') format('woff2'), + url('//at.alicdn.com/t/c/font_4142069_q7wdf7ccbx.woff?t=1688219879090') format('woff'), + url('//at.alicdn.com/t/c/font_4142069_q7wdf7ccbx.ttf?t=1688219879090') format('truetype'); +} + +.mallchat { + font-family: 'mallchat' !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-tupian1:before { + content: '\e640'; +} + +.icon-jianpan:before { + content: '\e6d8'; +} + +.icon-saying:before { + content: '\e62f'; +} + +.icon-xiazai:before { + content: '\e616'; +} + +.icon-dislike:before { + content: '\e67c'; +} + +.icon-huojian:before { + content: '\e68b'; +} + +.icon-like:before { + content: '\e85c'; +} + +.icon-reply:before { + content: '\e716'; +} + +.icon-totop:before { + content: '\e63a'; +} + +.icon-zhankai:before { + content: '\e657'; +} + +.icon-chehui:before { + content: '\e665'; +} + +.icon-shanchu:before { + content: '\e6bb'; +} + +.icon-voice:before { + content: '\e85e'; +} + +.icon-avatar:before { + content: '\e648'; +} + +.icon-loading:before { + content: '\e6de'; +} + +.icon-copy:before { + content: '\e62d'; +} + +.icon-lahei:before { + content: '\e651'; +} diff --git a/src/assets/icons/icon_bilibili.svg b/src/assets/icons/icon_bilibili.svg deleted file mode 100644 index 5b5ebda4..00000000 --- a/src/assets/icons/icon_bilibili.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_github.svg b/src/assets/icons/icon_github.svg deleted file mode 100644 index 3aad2ba0..00000000 --- a/src/assets/icons/icon_github.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_like.svg b/src/assets/icons/icon_like.svg deleted file mode 100644 index 029f1cef..00000000 --- a/src/assets/icons/icon_like.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_liked.svg b/src/assets/icons/icon_liked.svg deleted file mode 100644 index daaf6ab0..00000000 --- a/src/assets/icons/icon_liked.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_reply.svg b/src/assets/icons/icon_reply.svg deleted file mode 100644 index 6c3fe220..00000000 --- a/src/assets/icons/icon_reply.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_tencent_cloud.svg b/src/assets/icons/icon_tencent_cloud.svg deleted file mode 100644 index 03c4dc8e..00000000 --- a/src/assets/icons/icon_tencent_cloud.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_tiktok.svg b/src/assets/icons/icon_tiktok.svg deleted file mode 100644 index f9f91fb0..00000000 --- a/src/assets/icons/icon_tiktok.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_wechat.svg b/src/assets/icons/icon_wechat.svg deleted file mode 100644 index 37c9fca6..00000000 --- a/src/assets/icons/icon_wechat.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/icons/icon_yuque.png b/src/assets/icons/icon_yuque.png deleted file mode 100755 index cf35622e..00000000 Binary files a/src/assets/icons/icon_yuque.png and /dev/null differ diff --git a/src/assets/operate-icons/to_top.svg b/src/assets/operate-icons/to_top.svg deleted file mode 100644 index 78645853..00000000 --- a/src/assets/operate-icons/to_top.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components.d.ts b/src/components.d.ts index cd4a456c..d5cfb6fe 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,44 +9,37 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - AnimateCount: typeof import('./components/AnimateCount.vue')['default'] + Avatar: typeof import('./components/avatar/index.vue')['default'] ElAlert: typeof import('element-plus/es')['ElAlert'] ElAvatar: typeof import('element-plus/es')['ElAvatar'] ElButton: typeof import('element-plus/es')['ElButton'] ElDialog: typeof import('element-plus/es')['ElDialog'] ElIcon: typeof import('element-plus/es')['ElIcon'] + ElImage: typeof import('element-plus/es')['ElImage'] ElInput: typeof import('element-plus/es')['ElInput'] ElPopover: typeof import('element-plus/es')['ElPopover'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] - IconCommunity: typeof import('./components/icons/IconCommunity.vue')['default'] - IconCopy: typeof import('./components/icons/IconCopy.vue')['default'] - IconDelete: typeof import('./components/icons/IconDelete.vue')['default'] - IconDislike: typeof import('./components/icons/iconDislike.vue')['default'] - IconDocumentation: typeof import('./components/icons/IconDocumentation.vue')['default'] - IconEcosystem: typeof import('./components/icons/IconEcosystem.vue')['default'] - IconLike: typeof import('./components/icons/iconLike.vue')['default'] - IconMore: typeof import('./components/icons/IconMore.vue')['default'] - IconRecall: typeof import('./components/icons/IconRecall.vue')['default'] - IconReply: typeof import('./components/icons/IconReply.vue')['default'] - IconShield: typeof import('./components/icons/IconShield.vue')['default'] - IconSupport: typeof import('./components/icons/IconSupport.vue')['default'] - IconTooling: typeof import('./components/icons/IconTooling.vue')['default'] + File: typeof import('./components/RenderMessage/file.vue')['default'] + Icon: typeof import('./components/Icon/index.vue')['default'] IEpArrowDownBold: typeof import('~icons/ep/arrow-down-bold')['default'] IEpChatDotRound: typeof import('~icons/ep/chat-dot-round')['default'] IEpClose: typeof import('~icons/ep/close')['default'] IEpFemale: typeof import('~icons/ep/female')['default'] - IEpFold: typeof import('~icons/ep/fold')['default'] IEpInfoFilled: typeof import('~icons/ep/info-filled')['default'] IEpLoading: typeof import('~icons/ep/loading')['default'] IEpLock: typeof import('~icons/ep/lock')['default'] IEpMale: typeof import('~icons/ep/male')['default'] IEpSuccessFilled: typeof import('~icons/ep/success-filled')['default'] - LikeButton: typeof import('./components/LikeButton/index.vue')['default'] + Image: typeof import('./components/RenderMessage/image.vue')['default'] LoginBox: typeof import('./components/LoginBox/index.vue')['default'] - RenderMsg: typeof import('./components/RenderMsg.vue')['default'] + RenderMessage: typeof import('./components/RenderMessage/index.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + Text: typeof import('./components/RenderMessage/text.vue')['default'] UserSettingBox: typeof import('./components/UserSettingBox/index.vue')['default'] + Video: typeof import('./components/RenderMessage/video.vue')['default'] + VideoPlayer: typeof import('./components/VideoPlayer/index.vue')['default'] + Voice: typeof import('./components/RenderMessage/voice.vue')['default'] } export interface ComponentCustomProperties { vLoading: typeof import('element-plus/es')['ElLoadingDirective'] diff --git a/src/components/AnimateCount.vue b/src/components/AnimateCount.vue deleted file mode 100644 index 0de50573..00000000 --- a/src/components/AnimateCount.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - diff --git a/src/components/Icon/index.vue b/src/components/Icon/index.vue new file mode 100644 index 00000000..850135f4 --- /dev/null +++ b/src/components/Icon/index.vue @@ -0,0 +1,47 @@ + + + diff --git a/src/components/RenderMessage/file.vue b/src/components/RenderMessage/file.vue new file mode 100644 index 00000000..8388adfc --- /dev/null +++ b/src/components/RenderMessage/file.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/components/RenderMessage/image.vue b/src/components/RenderMessage/image.vue new file mode 100644 index 00000000..2cd58ee9 --- /dev/null +++ b/src/components/RenderMessage/image.vue @@ -0,0 +1,57 @@ + + + diff --git a/src/components/RenderMessage/index.vue b/src/components/RenderMessage/index.vue new file mode 100644 index 00000000..115c73e5 --- /dev/null +++ b/src/components/RenderMessage/index.vue @@ -0,0 +1,31 @@ + + + diff --git a/src/components/RenderMessage/text.vue b/src/components/RenderMessage/text.vue new file mode 100644 index 00000000..d145b1c3 --- /dev/null +++ b/src/components/RenderMessage/text.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/components/RenderMessage/video.vue b/src/components/RenderMessage/video.vue new file mode 100644 index 00000000..feae55f4 --- /dev/null +++ b/src/components/RenderMessage/video.vue @@ -0,0 +1,18 @@ + + + diff --git a/src/components/RenderMessage/voice.vue b/src/components/RenderMessage/voice.vue new file mode 100644 index 00000000..9c66d1c9 --- /dev/null +++ b/src/components/RenderMessage/voice.vue @@ -0,0 +1,64 @@ + + + diff --git a/src/components/RenderMsg.vue b/src/components/RenderMsg.vue deleted file mode 100644 index 6fc2ea01..00000000 --- a/src/components/RenderMsg.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/components/UserSettingBox/index.vue b/src/components/UserSettingBox/index.vue index a370c1c8..b75f51b1 100644 --- a/src/components/UserSettingBox/index.vue +++ b/src/components/UserSettingBox/index.vue @@ -4,7 +4,7 @@ import { useRequest } from 'alova' import { ElMessage } from 'element-plus' import { Select, CloseBold, EditPen } from '@element-plus/icons-vue' import { useUserStore } from '@/stores/user' -import { SexType, IsYet } from '@/services/types' +import { SexEnum, IsYetEnum } from '@/enums' import type { BadgeType } from '@/services/types' import apis from '@/services/apis' import { judgeClient } from '@/utils/detectDevice' @@ -44,7 +44,7 @@ watchEffect(() => { }) const currentBadge = computed(() => - badgeList.value.find((item) => item.obtain === IsYet.Yes && item.wearing === IsYet.Yes), + badgeList.value.find((item) => item.obtain === IsYetEnum.YES && item.wearing === IsYetEnum.YES), ) // 佩戴卸下徽章 @@ -111,15 +111,15 @@ const onCancelEditName = async () => { size="20" color="var(--font-main)" class="setting-avatar-sex" - v-if="userInfo.sex && [SexType.Man, SexType.Female].includes(userInfo.sex)" + v-if="userInfo.sex && [SexEnum.MAN, SexEnum.REMALE].includes(userInfo.sex)" :style="{ backgroundColor: `var(${ - userInfo.sex === SexType.Man ? '--avatar-sex-bg-man' : '--avatar-sex-bg-female' + userInfo.sex === SexEnum.MAN ? '--avatar-sex-bg-man' : '--avatar-sex-bg-female' })`, }" > - - + + @@ -183,20 +183,20 @@ const onCancelEditName = async () => {
  • badge
    -