diff --git a/.gitignore b/.gitignore index 5e85813..f60e997 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ yarn-error.log* *.sln *.keystore unpackage/ +assets/css/style.css +assets/css/style.css.map diff --git a/assets/css/style.less b/assets/css/style.less index 6318817..72d1df2 100644 --- a/assets/css/style.less +++ b/assets/css/style.less @@ -2566,7 +2566,8 @@ page { } .product-con .wrapper .coupon .hide { - width: 5.4*100rpx; + text-overflow: clip; + flex:1; height: 0.8*100rpx; line-height: 0.8*100rpx; } diff --git a/components/ProductWindow.vue b/components/ProductWindow.vue index a20d6d3..3e6e79b 100644 --- a/components/ProductWindow.vue +++ b/components/ProductWindow.vue @@ -82,7 +82,6 @@ export default { }, watch: { attr(nextAttr) { - console.log(nextAttr); }, }, methods: { @@ -116,7 +115,6 @@ export default { getCheckedValue: function () { let productAttr = this.attr.productAttr; let value = []; - console.log(productAttr); for (let i = 0; i < productAttr.length; i++) { for (let j = 0; j < productAttr[i].attrValueArr.length; j++) { if (productAttr[i].index === j) { diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 7e922e5..79d0359 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -22,7 +22,7 @@ 销量:{{ storeInfo.sales }}{{ storeInfo.unitName }} - + 优惠券: 满{{ item.useMinPrice }}减{{ item.couponPrice }}