From e2b5e6bcbf38437b17b89535677260763a6bb562 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:34:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(env):=20=E6=B7=BB=E5=8A=A0=20websocket=20U?= =?UTF-8?q?RL=20=E5=B9=B6=E6=9B=B4=E6=96=B0=E7=9B=B4=E6=92=AD=E5=AE=A4?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 .env.test 中添加 NUXT_PUBLIC_SOCKET_URL 配置项 - 在直播室页面中实现 websocket连接和消息监听 -优化拍卖详情获取逻辑 - 更新首页和详情页相关组件 --- app/components/itemDetail/index.vue | 4 ++-- app/components/x-image/index.vue | 4 +++- app/pages/home/components/ItemList/index.vue | 2 +- app/pages/home/index.vue | 8 +++++--- app/pages/liveRoom/index.client.vue | 21 +++++++++++++++++++- app/stores/goods/index.js | 4 +--- env/.env.test | 2 +- nuxt.config.js | 4 +--- 8 files changed, 34 insertions(+), 15 deletions(-) diff --git a/app/components/itemDetail/index.vue b/app/components/itemDetail/index.vue index 4b82658..43ce8b2 100644 --- a/app/components/itemDetail/index.vue +++ b/app/components/itemDetail/index.vue @@ -43,8 +43,8 @@ const props = defineProps({