Commit 734b290d by 李伟康

commit 提交

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