修改一些Bug,优化关于我们样式 ,合并版本说明中重复内容

This commit is contained in:
lemon橪
2021-06-11 17:58:49 +08:00
parent 983dbda3e6
commit 2995383d63
12 changed files with 176 additions and 267 deletions

View File

@@ -146,11 +146,9 @@ export default {
/**点击规格 */
handleClickSpec(val, index, specValue) {
this.$set(this.currentSelceted, index, specValue.id);
let selectedSkuId = this.goodsSpec.find((i) => {
let matched = true;
let specValues = i.specValues.filter((j) => j.specName !== "images");
for (let n = 0; n < specValues.length; n++) {
if (specValues[n].specValueId !== this.currentSelceted[n]) {
matched = false;
@@ -206,7 +204,11 @@ export default {
// 判断是否拼团商品
if (this.buyType) {
data.cartType = "PINTUAN";
} else {
}
else if(this.goodsDetail.goodsType == 'VIRTUAL_GOODS'){
data.cartType = "VIRTUAL";
}
else {
data.cartType = "BUY_NOW";
}