From 5f404bdd3bf98a4d450cda887868a1f7db968dea Mon Sep 17 00:00:00 2001
From: Gao xiaosong <704041637@qq.com>
Date: Sat, 19 Dec 2020 13:48:53 +0800
Subject: [PATCH] =?UTF-8?q?uni=20h5=20GoodsCon=E4=BC=98=E6=83=A0=E5=88=B8?=
=?UTF-8?q?=E6=95=B0=E9=87=8F=E8=BF=87=E9=95=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 2 ++
assets/css/style.less | 3 ++-
components/ProductWindow.vue | 2 --
pages/shop/GoodsCon/index.vue | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
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 }}