uni h5 GoodsCon优惠券数量过长
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,3 +12,5 @@ yarn-error.log*
|
|||||||
*.sln
|
*.sln
|
||||||
*.keystore
|
*.keystore
|
||||||
unpackage/
|
unpackage/
|
||||||
|
assets/css/style.css
|
||||||
|
assets/css/style.css.map
|
||||||
|
@ -2566,7 +2566,8 @@ page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.product-con .wrapper .coupon .hide {
|
.product-con .wrapper .coupon .hide {
|
||||||
width: 5.4*100rpx;
|
text-overflow: clip;
|
||||||
|
flex:1;
|
||||||
height: 0.8*100rpx;
|
height: 0.8*100rpx;
|
||||||
line-height: 0.8*100rpx;
|
line-height: 0.8*100rpx;
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,6 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
attr(nextAttr) {
|
attr(nextAttr) {
|
||||||
console.log(nextAttr);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -116,7 +115,6 @@ export default {
|
|||||||
getCheckedValue: function () {
|
getCheckedValue: function () {
|
||||||
let productAttr = this.attr.productAttr;
|
let productAttr = this.attr.productAttr;
|
||||||
let value = [];
|
let value = [];
|
||||||
console.log(productAttr);
|
|
||||||
for (let i = 0; i < productAttr.length; i++) {
|
for (let i = 0; i < productAttr.length; i++) {
|
||||||
for (let j = 0; j < productAttr[i].attrValueArr.length; j++) {
|
for (let j = 0; j < productAttr[i].attrValueArr.length; j++) {
|
||||||
if (productAttr[i].index === j) {
|
if (productAttr[i].index === j) {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<text>销量:{{ storeInfo.sales }}{{ storeInfo.unitName }}</text>
|
<text>销量:{{ storeInfo.sales }}{{ storeInfo.unitName }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="coupon acea-row row-between-wrapper" @click="couponTap" v-if="couponList.length">
|
<view class="coupon acea-row row-between-wrapper" @click="couponTap" v-if="couponList.length">
|
||||||
<text class="hide line1 acea-row">
|
<text class="hide line1">
|
||||||
<text>优惠券:</text>
|
<text>优惠券:</text>
|
||||||
<text class="activity" v-for="(item, couponListEq) in couponList"
|
<text class="activity" v-for="(item, couponListEq) in couponList"
|
||||||
:key="couponListEq">满{{ item.useMinPrice }}减{{ item.couponPrice }}</text>
|
:key="couponListEq">满{{ item.useMinPrice }}减{{ item.couponPrice }}</text>
|
||||||
|
Reference in New Issue
Block a user