Authored by QC-L

修复订单详情图片展示有误的问题 review by 黄敬囿

... ... @@ -99,7 +99,7 @@
margin-top: 20px;
width: 100%;
overflow: hidden;
text-overflow:ellipsis;
text-overflow: ellipsis;
white-space: pre-line;
display:-webkit-box; //将对象作为弹性伸缩盒子模型显示。
-webkit-box-orient:vertical; //从上到下垂直排列子元素(设置伸缩盒子的子元素排列方式)
... ...
... ... @@ -36,6 +36,8 @@
letter-spacing: 0;
width: 144px;
margin-left:10rpx;
overflow: hidden;
text-overflow: ellipsis;
// margin-bottom: 20rpx;
}
}
... ...
... ... @@ -52,7 +52,7 @@ Page({
}
})
.catch(error => {
console.log(error)
console.log(error)
})
},
... ...
... ... @@ -99,7 +99,7 @@ Page({
wx.hideLoading();
}).then(data => {
if (data.goodsInfo && data.goodsInfo.goodImg){
data.goodsInfo.goodImg = getImgUrl(data.goodsInfo.goodImg, 90,90);
data.goodsInfo.goodImg = getImgUrl(data.goodsInfo.goodImg, 270,270);
}
let lastIndex = 0;
if (data && data.buttons && data.buttons.length > 0) {
... ...
... ... @@ -159,7 +159,7 @@ Page({
let products = data.data;
for (let index in products) {
let productInfo = products[index];
productInfo.goodsInfo.goodImg = getImgUrl(productInfo.goodsInfo.goodImg,90,90);
productInfo.goodsInfo.goodImg = getImgUrl(productInfo.goodsInfo.goodImg,270,270);
products[index] = productInfo;
}
if (tab.data.data && page != 1){
... ...