|
|
@@ -163,7 +163,7 @@
|
|
|
/>
|
|
|
<product-window :attr='attribute' :limitNum='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" :type="'seckill'"
|
|
|
@ChangeCartNum="ChangeCartNum" @attrVal="attrVal" @iptCartNum="iptCartNum" @getImg="showImg"></product-window>
|
|
|
-
|
|
|
+
|
|
|
<!-- #ifdef MP -->
|
|
|
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth"></authorize> -->
|
|
|
<!-- #endif -->
|
|
|
@@ -469,7 +469,7 @@
|
|
|
// #endif
|
|
|
/**
|
|
|
* 购物车手动填写
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
iptCartNum: function(e) {
|
|
|
this.$set(this.attribute.productSelect, 'cart_num', e);
|
|
|
@@ -580,7 +580,7 @@
|
|
|
},
|
|
|
/**
|
|
|
* 默认选中属性
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
DefaultSelect: function() {
|
|
|
let self = this
|
|
|
@@ -661,7 +661,7 @@
|
|
|
},
|
|
|
/**
|
|
|
* 购物车数量加和数量减
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
ChangeCartNum: function(changeValue) {
|
|
|
//changeValue:是否 加|减
|
|
|
@@ -727,7 +727,7 @@
|
|
|
},
|
|
|
/**
|
|
|
* 属性变动赋值
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
ChangeAttr: function(res) {
|
|
|
this.$set(this, 'cart_num', 1);
|
|
|
@@ -875,7 +875,7 @@
|
|
|
},
|
|
|
/**
|
|
|
* 分享打开
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
listenerActionSheet: function() {
|
|
|
if (this.isLogin === false) {
|
|
|
@@ -924,7 +924,7 @@
|
|
|
/**
|
|
|
* 获取产品分销二维码
|
|
|
* @param function successFn 下载完成回调
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
downloadFilePromotionCode: function(successFn) {
|
|
|
let that = this;
|
|
|
@@ -1114,11 +1114,9 @@
|
|
|
},
|
|
|
//滑动轮播图选择商品
|
|
|
changeSwitch(e) {
|
|
|
- console.log(this.skuArr[e])
|
|
|
let productSelect = this.skuArr[e];
|
|
|
this.$set(this, "selectSku", productSelect);
|
|
|
var skuList = productSelect.suk.split(",");
|
|
|
- console.log(this.attribute.productAttr)
|
|
|
this.$set(this.attribute.productAttr[0], "index", skuList[0]);
|
|
|
if (skuList.length == 2) {
|
|
|
this.$set(this.attribute.productAttr[0], "index", skuList[0]);
|
|
|
@@ -1263,7 +1261,7 @@
|
|
|
padding: 0 30rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.product-con .nav /deep/.time .styleAll {
|
|
|
padding: 0 6rpx;
|
|
|
font-size: 22rpx;
|
|
|
@@ -1551,7 +1549,7 @@
|
|
|
display: block;
|
|
|
margin-right: 14rpx;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.switchTxt {
|
|
|
height: 60rpx;
|
|
|
flex: 1;
|
|
|
@@ -1562,7 +1560,7 @@
|
|
|
border-radius: 8rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.attribute {
|
|
|
padding: 10rpx 30rpx;
|
|
|
.line1 {
|
|
|
@@ -1577,7 +1575,7 @@
|
|
|
.flexs {
|
|
|
display: flex;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.attr-txt {
|
|
|
display: flex;
|
|
|
flex-wrap: nowrap;
|