From b78bdcb64bb53f3ffeb90a5154e51ff450dd7257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 27 Nov 2025 18:11:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B7=B7=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/live-content/live-content.vue | 34 +++++++++++-------- pages/plugins/live/pull/pull.nvue | 30 +++------------- pages/plugins/live/pull/pull.vue | 25 +++----------- 3 files changed, 28 insertions(+), 61 deletions(-) diff --git a/pages/plugins/live/pull/components/live-content/live-content.vue b/pages/plugins/live/pull/components/live-content/live-content.vue index 2c3c85c7..1a574cf4 100644 --- a/pages/plugins/live/pull/components/live-content/live-content.vue +++ b/pages/plugins/live/pull/components/live-content/live-content.vue @@ -15,11 +15,11 @@ - + @@ -27,7 +27,7 @@ - + @@ -99,13 +99,11 @@ {{ message_num }}条新消息 - - - - - {{ explain_goods.goods_name }} - ¥{{ explain_goods.goods_price }} - + + + + {{ explain_goods.goods_name }} + ¥{{ explain_goods.goods_price }} @@ -129,7 +127,7 @@ - + @@ -153,6 +151,7 @@ import componentIcon from "@/pages/plugins/live/pull/components/icon/icon.vue"; import componentPopup from "@/pages/plugins/live/pull/components/popup/popup"; import componentLikeButton from "@/pages/plugins/live/pull/components/like-button/like-button"; + import { isEmpty } from '@/common/js/common/common.js'; const app = getApp(); export default { name: 'LiveContent', @@ -303,6 +302,7 @@ } }, methods: { + isEmpty, //#region 头部样式和页面宽度处理 init_window_info() { const data = uni.getWindowInfo(); @@ -555,6 +555,10 @@ this.$refs.popupGoodsRef.open(); }, //#endregion + share_event() { + // 分享菜单处理 + app.globalData.page_share_handle(); + }, } } @@ -776,10 +780,10 @@ background: #fff; padding: 4rpx; box-sizing: border-box; - .explain-goods-image { - width: 100%; - height: 180rpx; - } + position: absolute; + right: 0; + bottom: 20rpx; + border-radius: 20rpx; } /* #ifdef MP-WEIXIN | APP-PLUS */ diff --git a/pages/plugins/live/pull/pull.nvue b/pages/plugins/live/pull/pull.nvue index 2f6aef77..b06762a0 100644 --- a/pages/plugins/live/pull/pull.nvue +++ b/pages/plugins/live/pull/pull.nvue @@ -1,5 +1,5 @@