diff --git a/pages/chat/components/messageListItem.vue b/pages/chat/components/messageListItem.vue index a1c66463..41db1650 100644 --- a/pages/chat/components/messageListItem.vue +++ b/pages/chat/components/messageListItem.vue @@ -241,7 +241,7 @@ padding: 20rpx; color: #fff; background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); - margin-top: 18px; + margin-top: 3px; margin-bottom: 9px; border-top-left-radius: 10px; border-bottom-right-radius: 10px; @@ -249,7 +249,7 @@ &.admin { background: #fff; color: #333; - margin-top: 18px; + margin-top: 3px; margin-bottom: 9px; border-radius: 0 10px 10px 10px; } diff --git a/pages/commission/goods.vue b/pages/commission/goods.vue index 76ecc0fa..d868879b 100644 --- a/pages/commission/goods.vue +++ b/pages/commission/goods.vue @@ -76,13 +76,12 @@ shareInfo: {}, }); - // TODO @puhui999:【分享】接入 function onShareGoods(goodsInfo) { state.shareInfo = $share.getShareInfo( { - title: goodsInfo.title, - image: sheep.$url.cdn(goodsInfo.image), - desc: goodsInfo.subtitle, + title: goodsInfo.name, + image: sheep.$url.cdn(goodsInfo.picUrl), + desc: goodsInfo.introduction, params: { page: '2', query: goodsInfo.id, @@ -90,10 +89,10 @@ }, { type: 'goods', // 商品海报 - title: goodsInfo.title, // 商品标题 - image: sheep.$url.cdn(goodsInfo.image), // 商品主图 - price: goodsInfo.price[0], // 商品价格 - original_price: goodsInfo.original_price, // 商品原价 + title: goodsInfo.name, // 商品名称 + image: sheep.$url.cdn(goodsInfo.picUrl), // 商品主图 + price: fen2yuan(goodsInfo.price), // 商品价格 + original_price: fen2yuan(goodsInfo.marketPrice), // 商品原价 }, ); showShareModal(); diff --git a/pages/commission/withdraw.vue b/pages/commission/withdraw.vue index 6cde0283..a9fd9de8 100644 --- a/pages/commission/withdraw.vue +++ b/pages/commission/withdraw.vue @@ -78,6 +78,7 @@ limit="1" mode="grid" :imageStyles="{ width: '168rpx', height: '168rpx' }" + @success="(payload) => state.accountInfo.accountQrCodeUrl = payload.tempFilePaths[0]" /> @@ -161,13 +162,14 @@