Commit 734b290d by 李伟康

commit 提交

1 parent ce0771ea
......@@ -134,7 +134,6 @@ export default {
this.close();
},
clear () {
console.log(123)
this.component_chooseList = []
this.$forceUpdate()
}
......
......@@ -5,7 +5,7 @@
>
<image
class="img"
:src="item.cover"
:src="item.cover || 'https://img02.glsx.com.cn/weapp/resource/app-tape/common/default-cover.webp'"
:style="imgStyle"
mode="aspectFill"
></image>
......@@ -122,7 +122,7 @@ export default {
color: #666666;
line-height: 40rpx;
padding: 0 32rpx;
margin-bottom: 2rpx;
margin-bottom: 4rpx;
}
.case-label {
width: 120rpx;
......
......@@ -267,7 +267,7 @@ export default {
list: [],
flag: false,
nothing: false,
pageSize: 18,
pageSize: 12,
customerId: '',
showInfo: false,
caseParams: {
......@@ -307,7 +307,6 @@ export default {
changeType (index) {
if (this.firstIndex == index) return // 点击同一个
this.firstIndex = index
this.tagsList = []
this.refresh()
},
init () {
......@@ -473,7 +472,7 @@ export default {
currentPage: pageNum,
pageSize,
customerLabelList,
// merchantId: shopMerchantId,
merchantId: shopMerchantId,
...caseParams
}
const { list, total } = await uni.$api.customerApi.getMaterialResponsePage(params)
......@@ -489,7 +488,6 @@ export default {
})
e.tags = tags.join('、')
e.goods = goods.join('、')
if (!e.cover) e.cover = 'https://img02.glsx.com.cn/weapp/resource/app-tape/common/default-cover.webp'
})
this.list[pageNum - 1] = list
this.flag = true
......@@ -843,7 +841,7 @@ export default {
border: 12rpx solid transparent;
border-left-color: #000;
margin-left: 12rpx;
transform: translateY(2rpx);
transform: translateY(-2rpx);
}
}
}
......
......@@ -91,7 +91,8 @@
"vueVersion" : "2",
"h5" : {
"devServer" : {
"port" : ""
"port" : 8080,
"https" : false
}
}
}
......@@ -98,10 +98,6 @@ export default {
immediate: true,
handler (newval) {
this.optionalsList = []
this.scrollTop = -1
setTimeout(() => {
this.scrollTop = 0
}, 100);
}
},
currentCar: {
......@@ -151,6 +147,10 @@ export default {
optionals.map(e => e.checked = false)
this.optionalsList = optionals
console.log(this.optionalsList)
this.scrollTop = -1
setTimeout(() => {
this.scrollTop = 0
}, 100);
this.$forceUpdate()
},
chooseAll () {
......@@ -298,6 +298,7 @@ export default {
align-items: flex-start;
.price {
margin-top: 44rpx;
align-items: baseline;
}
.total {
font-weight: 700;
......
......@@ -265,17 +265,15 @@ export default {
list: e[item.key],
})
})
e.optionals?.map(item => {
item.checked = false
item.warranty = item.warranty?.replace(/<\/?br\s*\/?>|\n/g, '<br>')
})
boutiqueMediaConfig[e.carModelName].optionals = e.optionals
boutiqueMediaConfig[e.carModelName].optionals = e.optionals
})
this.carBannerList.map(e => {
e.configList = boutiqueMediaConfig[e.title].retrofitting
})
console.log(boutiqueMediaConfig)
this.$store.state.user.boutiqueMediaConfig = boutiqueMediaConfig
}).catch(error => {
uni.hideLoading()
......
......@@ -241,7 +241,6 @@ export default {
})
e.tags = tags.join('、')
e.goods = goods.join('、')
if (!e.cover) e.cover = 'https://img02.glsx.com.cn/weapp/resource/app-tape/common/default-cover.webp'
})
this.list[currentPage - 1] = list
this.flag = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!