Feat(客服):新增进入客服页自动发送商品信息功能

This commit is contained in:
linxi
2024-08-28 11:25:35 +08:00
parent 3fac704828
commit dce2377383
3 changed files with 83 additions and 12 deletions
+11 -1
View File
@@ -663,8 +663,18 @@ export default {
},
methods: {
goRoom() {
const params = {
goodsId: this.productId,
goodsName: this.attr.productSelect.store_name,
skuStr: this.attrValue,
price: this.attr.productSelect.price,
seckillId: this.activityId,
cover: this.attr.productSelect.image,
goodsData: '',
seckillData: ''
}
uni.navigateTo({
url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${this.storeInfo.merName}`
url: `/pkg_common/views/room?id=${this.storeInfo.merId}&name=${this.storeInfo.merName}&params=${JSON.stringify(params)}`
})
},
goodsDetail: function (item) {