合并客服

master
lemon橪 2021-06-24 17:59:20 +08:00
commit 8005cc6c1c
5 changed files with 60 additions and 33 deletions

View File

@ -8,9 +8,13 @@ const dev = {
// buyer: "http://192.168.0.100:8888", // buyer: "http://192.168.0.100:8888",
common: "https://common-api.pickmall.cn", common: "https://common-api.pickmall.cn",
buyer: "https://buyer-api.pickmall.cn", buyer: "https://buyer-api.pickmall.cn",
// common: 'http://192.168.0.109:8890',
// buyer: 'http://192.168.0.109:8888',
}; };
// 生产环境 // 生产环境
const prod = { const prod = {
// common: 'http://192.168.0.109:8890',
// buyer: 'http://192.168.0.109:8888',
common: "https://common-api.pickmall.cn", common: "https://common-api.pickmall.cn",
buyer: "https://buyer-api.pickmall.cn", buyer: "https://buyer-api.pickmall.cn",
}; };

View File

@ -14,28 +14,29 @@
methods: { methods: {
}, },
onLoad () { onLoad (e) {
const params = JSON.parse((decodeURIComponent(e.params)))
chat.init({ chat.init({
sign: '4a971f4f4ff9637cd9286a0197b0573bf2f65de052c21791f90d4235fca41456e1cc145075567f5f47b8e13c895f3fc8cacec5789f9afee8df670f7cbe5c0f82', // sign: params.mpSign, //
token: '', // token: params.token, //
uid: '', // uid: params.uuid, //
title: 'lilishop自营店', // title: params.storageName, //
isRMB: '', //,false isRMB: '', //,false
data: { //c1,c2,c3,c4,c5d1,d2,d3,d4,d5,d6 data: { //c1,c2,c3,c4,c5d1,d2,d3,d4,d5,d6
c1: '1', c1: '',
c2: '2', c2: '',
c3: '3', c3: '',
c4: '4', c4: '',
c5: '5', c5: '',
d1: '这是描述', // d1: params.goodsName, //
d2: '122.00', // d2: params.price, //
d3: '150.00', // d3: '', //
d4: '', // d4: params.goodsImg, //
d5: '', // d5: '', //
d6: '', //id d6: params.goodsId, //id
data: ''//, data: ''//,
}, },
viewUrl(res){ //web-view viewUrl(res){ //web-view
if (res) { if (res) {
wx.navigateTo({ wx.navigateTo({
url: '/pages/webview/index?href=' + res url: '/pages/webview/index?href=' + res

View File

@ -878,10 +878,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
@import "./product/mp-goods.scss"; @import "./product/mp-goods.scss";
// #endif // #endif
@import "./product/style.scss"; @import "./product/style.scss";
@import "./product/product.scss"; @import "./product/product.scss";
</style> </style>

View File

@ -148,6 +148,15 @@ export default {
font-weight: 700; font-weight: 700;
font-size: 28rpx; font-size: 28rpx;
line-height: 24px; line-height: 24px;
margin-left: 10px;
}
.desc {
font-size: 12px;
color: #999;
margin-left: 10px;
text{
margin-right: 10px;
}
} }
} }

View File

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