From d974db82863415f349137b078e2ab87f986a5b31 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Tue, 18 Feb 2025 09:53:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(liveRoom):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20gsap=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96-=20=E4=BB=8E=20liveRoom=20=E7=BB=84=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=20gsap=20=E7=9A=84=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E8=AF=AD=E5=8F=A5=20-=20=E4=BB=8E=20package.json=20?= =?UTF-8?q?=E4=B8=AD=E7=A7=BB=E9=99=A4=E4=BA=86=20gsap=20=E7=9A=84?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E9=A1=B9=20-=20=E6=9B=B4=E6=96=B0=20pnpm-loc?= =?UTF-8?q?k.yaml=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=BA=86=E4=B8=8E=20gsap=20?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=9A=84=E6=9D=A1=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/liveRoom/index.client.vue | 4 ---- package.json | 1 - pnpm-lock.yaml | 8 -------- 3 files changed, 13 deletions(-) diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue index 6cccad8..c41276a 100644 --- a/app/pages/liveRoom/index.client.vue +++ b/app/pages/liveRoom/index.client.vue @@ -13,7 +13,6 @@ import {message} from "~/components/x-message/useMessage.js" import {showConfirmDialog} from 'vant'; import {artworkBuy} from "@/api/goods/index.js" import {useI18n} from 'vue-i18n' -import gsap from 'gsap' import {CountUp} from 'countup.js' const { t } = useI18n() const countUpRef = ref(null) @@ -23,9 +22,6 @@ const player = ref(null) const {quoteStatus, show, playerId, show1, auctionData, getSocketData, getLiveLink, fullLive} = liveStore() const pullLink = ref('') -definePageMeta({ - i18n: 'login.title', -}) const handlePlayerError = (error) => { console.error('播放器错误:', error) player.value?.play() diff --git a/package.json b/package.json index 82dc11f..58d0ef5 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "crypto-js": "^4.2.0", "dayjs": "^1.11.13", "dotenv": "^16.4.7", - "gsap": "^3.12.7", "nuxt": "^3.15.0", "pinyin": "4.0.0-alpha.2", "qrcode": "^1.5.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 837f4f6..5aeab94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,9 +38,6 @@ importers: dotenv: specifier: ^16.4.7 version: 16.4.7 - gsap: - specifier: ^3.12.7 - version: 3.12.7 nuxt: specifier: ^3.15.0 version: 3.15.4(@parcel/watcher@2.5.1)(@types/node@22.13.4)(db0@0.2.4)(eslint@9.20.1(jiti@2.4.2))(ioredis@5.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.34.6)(sass@1.85.0)(terser@5.39.0)(tsx@4.19.2)(typescript@5.7.3)(vite@6.1.0(@types/node@22.13.4)(jiti@2.4.2)(sass@1.85.0)(terser@5.39.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0) @@ -2605,9 +2602,6 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - gsap@3.12.7: - resolution: {integrity: sha512-V4GsyVamhmKefvcAKaoy0h6si0xX7ogwBoBSs2CTJwt7luW0oZzC0LhdkyuKV8PJAXr7Yaj8pMjCKD4GJ+eEMg==} - gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} engines: {node: '>=10'} @@ -7434,8 +7428,6 @@ snapshots: graceful-fs@4.2.11: {} - gsap@3.12.7: {} - gzip-size@6.0.0: dependencies: duplexer: 0.1.2