Authored by htoooth

fix

... ... @@ -163,6 +163,9 @@ Page(Object.assign({
};
} else if (res.from === 'button') {
// 用户点击分享按钮
console.log(`/pages/product/detail/detail?limitProductCode=${this.data.limitProductCode}&originUid=${app.getUid()}&originUnionID=${app.getUnionID()}`);
return {
title: params.TITLE, // 分享标题
desc: params.DESC, // 分享描述
... ... @@ -268,12 +271,12 @@ Page(Object.assign({
}
this.setData({
productSkn: res.data.productSkn,
productName: res.data.productName,
price: res.data.price,
saleTime: res.data.saleTime,
reminderNum: res.data.reminderNum,
limitProductType: res.data.limitProductType,
productSkn: res.data.productSkn ? res.data.productSkn : '',
productName: res.data.productName ? res.data.productName : '',
price: res.data.price ? res.data.price : '即将开售',
saleTime: res.data.saleTime ? res.data.saleTime : '',
reminderNum: res.data.reminderNum ? res.data.reminderNum : 0,
limitProductType: res.data.limitProductType ? res.data.limitProductType : 4,
showStatus: res.data.showStatus ? res.data.showStatus : 0,
assisLimit: res.data.helpLimit ? res.data.helpLimit : 0,
queueType: res.data.queueType ? res.data.queueType : QUEUE_TYPE.READY,
... ...
... ... @@ -23,6 +23,7 @@
<view class="detail-btn" bindtap="buyNow">查看商品详情</view>
</view>
<view class="line"></view>
<image class="banner-image" bindtap="goList" src="../../../static/images/banner.png"></image>
<view class="detail-container">
<view class="goodsInfo">
<view wx:for="{{productDesc}}">
... ...
... ... @@ -151,6 +151,9 @@
font-size: 28rpx;
background-color: #d0021b;
right: 30rpx;
top:50%;
transform:translateY(-50%);
}
.top-assis-action {
... ... @@ -254,3 +257,8 @@
border-radius: 40rpx;
color: white;
}
.banner-image {
width: 100%;
height: 290rpx;
}
\ No newline at end of file
... ...
... ... @@ -33,7 +33,7 @@
"list": []
},
"miniprogram": {
"current": 7,
"current": 5,
"list": [
{
"id": 0,
... ...