Merge branch 'ma'

# Conflicts:
#	pages/product/goods.vue
#	pages/product/product/shop/-shop.vue
#	pages/product/product/style.scss
master
mabo 2021-06-24 17:58:34 +08:00
commit 60a8fe7361
5 changed files with 60 additions and 33 deletions

View File

@ -7,10 +7,14 @@ const dev = {
// common: "http://192.168.0.100:8890",
// buyer: "http://192.168.0.100:8888",
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",
buyer: "https://buyer-api.pickmall.cn",
};

View File

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

View File

@ -126,16 +126,16 @@
<span v-if="selectedGoods.spec">{{ selectedGoods.spec.specName }}-{{
selectedGoods.spec.specValue
}}</span>
<span v-else></span>
</view>
<view class="card-bottom">
<u-icon name="more-dot-fill"></u-icon>
</view>
</view>
<view class="card-flex" @click="shutMask(3)">
<view class="card-title"> 送至 </view>
<view class="card-content">
<span v-if="delivery">{{
<span v-else></span>
</view>
<view class="card-bottom">
<u-icon name="more-dot-fill"></u-icon>
</view>
</view>
<view class="card-flex" @click="shutMask(3)">
<view class="card-title"> 送至 </view>
<view class="card-content">
<span v-if="delivery">{{
delivery.consigneeAddressPath | clearStrComma
}}</span>
<span v-else></span>
@ -878,10 +878,10 @@ export default {
</script>
<style lang="scss" scoped>
// #ifdef MP-WEIXIN
@import "./product/mp-goods.scss";
// #endif
// #ifdef MP-WEIXIN
@import "./product/mp-goods.scss";
// #endif
@import "./product/style.scss";
@import "./product/product.scss";
@import "./product/style.scss";
@import "./product/product.scss";
</style>

View File

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

View File

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