解决客服上面的代码冲突

master
lemon橪 2021-06-24 18:11:11 +08:00
parent 8005cc6c1c
commit ca1cfb7575
2 changed files with 54 additions and 28 deletions

View File

@ -548,9 +548,35 @@ export default {
}
},
linkMsgDetail() {
//
// #ifdef MP-WEIXIN
const params = {
storeName: this.storeDetail.storeName,
goodsName: this.goodsDetail.goodsName,
goodsId: this.goodsDetail.goodsId,
goodsImg: this.goodsDetail.thumbnail,
price: this.goodsDetail.promotionPrice || this.goodsDetail.price,
// originalPrice: this.goodsDetail.original || this.goodsDetail.price,
uuid: storage.getUuid(),
token: storage.getAccessToken(),
sign: this.storeDetail.yzfSign,
mpSign: this.storeDetail.yzfMpSign,
};
uni.navigateTo({
url: "/pages/product/customerservice/index",
url:
"/pages/product/customerservice/index?params=" +
encodeURIComponent(JSON.stringify(params)),
});
// #endif
// #ifndef MP-WEIXIN
const sign = this.storeDetail.yzfSign;
uni.navigateTo({
url:
"/pages/tabbar/home/web-view?src=https://yzf.qq.com/xv/web/static/chat/index.html?sign=" +
sign,
});
// #endif
},
// 1999 --> [1999,00]
formatPrice(val) {

View File

@ -136,18 +136,18 @@ page {
> .headerList {
flex: 8;
}
> div:nth-child(2) {
flex: 1;
.headerList{
display: flex;
div{
flex: 1;
}
}
}
> div:nth-child(3) {
width: 100rpx;
}
// > div:nth-child(2) {
// flex: 1;
// .headerList{
// display: flex;
// div{
// flex: 1;
// }
// }
// }
// > div:nth-child(3) {
// width: 100rpx;
// }
justify-content: space-between;
}