diff --git a/app/app.vue b/app/app.vue index af18edc..5262000 100644 --- a/app/app.vue +++ b/app/app.vue @@ -2,8 +2,8 @@ import useKeepalive from '~/composables/keepalive' import { appName, appDescription } from '~/constants' import { useI18n } from 'vue-i18n' -import {message} from '@/components/x-message/useMessage.js' -message.success('success') +/*import {message} from '@/components/x-message/useMessage.js' +message.success('success')*/ useHead({ title: useI18n().t('appSetting.appName'), meta: [ diff --git a/app/pages/LiveRoom/index.client.vue b/app/pages/LiveRoom/index.client.vue new file mode 100644 index 0000000..5cf8816 --- /dev/null +++ b/app/pages/LiveRoom/index.client.vue @@ -0,0 +1,95 @@ + + + + + \ No newline at end of file diff --git a/app/pages/LiveRoom/index.vue b/app/pages/LiveRoom/index.vue deleted file mode 100644 index 9bce594..0000000 --- a/app/pages/LiveRoom/index.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/static/images/lockdfd@2x.png b/app/static/images/lockdfd@2x.png new file mode 100644 index 0000000..ec6785d Binary files /dev/null and b/app/static/images/lockdfd@2x.png differ diff --git a/package.json b/package.json index 959b93a..c397cf7 100644 --- a/package.json +++ b/package.json @@ -4,18 +4,18 @@ "version": "0.3.0", "packageManager": "pnpm@9.15.1", "scripts": { - "build": "nuxt build", - "dev": "nuxt dev", - "generate": "nuxt generate", - "preview": "nuxt preview", - "postinstall": "nuxt prepare", - "typecheck": "vue-tsc --noEmit", - "release": "bumpp --commit --push --tag" + "dev": "cross-env NODE_ENV=test nuxt dev", + "build": "cross-env NODE_ENV=prod nuxt build", + "build:test": "cross-env NODE_ENV=test nuxt build", + "build:prod": "cross-env NODE_ENV=prod nuxt build", + "preview": "cross-env NODE_ENV=prod nuxt preview", + "preview:test": "cross-env NODE_ENV=test nuxt preview" }, "dependencies": { "@nuxtjs/color-mode": "^3.5.2", "@nuxtjs/i18n": "^9.1.1", "@vueuse/core": "^12.4.0", + "aliyun-aliplayer": "^2.28.5", "nuxt": "^3.15.0", "pinia-plugin-persistedstate": "^4.2.0", "pinyin": "4.0.0-alpha.2", @@ -30,6 +30,7 @@ "@unocss/preset-rem-to-px": "0.65.2", "@vant/nuxt": "^1.0.6", "bumpp": "^9.9.2", + "cross-env": "^7.0.3", "pinia": "^2.3.0", "postcss-mobile-forever": "^4.3.1", "sass": "^1.83.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 83b2a02..9435d9a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: '@vueuse/core': specifier: ^12.4.0 version: 12.4.0(typescript@5.7.2) + aliyun-aliplayer: + specifier: ^2.28.5 + version: 2.28.5 nuxt: specifier: ^3.15.0 version: 3.15.0(@parcel/watcher@2.5.0)(@types/node@22.10.2)(db0@0.2.1)(eslint@9.17.0(jiti@2.4.2))(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.29.1)(sass@1.83.1)(terser@5.37.0)(tsx@4.19.2)(typescript@5.7.2)(vite@6.0.5(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.1)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1))(yaml@2.6.1) @@ -57,6 +60,9 @@ importers: bumpp: specifier: ^9.9.2 version: 9.9.2(magicast@0.3.5) + cross-env: + specifier: ^7.0.3 + version: 7.0.3 pinia: specifier: ^2.3.0 version: 2.3.0(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)) @@ -1609,6 +1615,9 @@ packages: ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + aliyun-aliplayer@2.28.5: + resolution: {integrity: sha512-UDy4Fj95fv/Syy0p8HRmYUGqadJHLuvucHEeJu6G71uHch87bllnaOI1r++ndfWu36oZph+dbArnP2eowR/Xsg==} + ansi-colors@4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} @@ -1897,6 +1906,11 @@ packages: resolution: {integrity: sha512-NKgHbWkSZXJUcaBHSsyzC8eegD6bBd4O0oCI6XMIJ+y4Bq3v4w7sY3wfWoKPuVlq9pQHRB6od0lmKpIqi8TlKA==} hasBin: true + cross-env@7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -1904,6 +1918,9 @@ packages: crossws@0.3.1: resolution: {integrity: sha512-HsZgeVYaG+b5zA+9PbIPGq4+J/CJynJuearykPsXx4V/eMhyQ5EDVg3Ak2FBZtVXCiOLu/U7IiwDHTr9MA+IKw==} + crypto-js@4.2.0: + resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==} + css-declaration-sorter@7.2.0: resolution: {integrity: sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow==} engines: {node: ^14 || ^16 || >=18} @@ -5979,6 +5996,10 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + aliyun-aliplayer@2.28.5: + dependencies: + crypto-js: 4.2.0 + ansi-colors@4.1.3: {} ansi-escapes@4.3.2: @@ -6279,6 +6300,10 @@ snapshots: cronstrue@2.52.0: {} + cross-env@7.0.3: + dependencies: + cross-spawn: 7.0.6 + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 @@ -6289,6 +6314,8 @@ snapshots: dependencies: uncrypto: 0.1.3 + crypto-js@4.2.0: {} + css-declaration-sorter@7.2.0(postcss@8.4.49): dependencies: postcss: 8.4.49