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 @@