Commit b2956a0b by cwq0219

首页设置,去掉“新车优惠政策”

1 parent 342d0a59
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
editForm: { editForm: {
merchantQrcode: '', merchantQrcode: '',
noticeContent: '', noticeContent: '',
preferentialPolicy: '', // preferentialPolicy: '',
customerServerUserId: '', customerServerUserId: '',
bannerList: [] bannerList: []
}, },
...@@ -249,19 +249,19 @@ export default { ...@@ -249,19 +249,19 @@ export default {
} }
] ]
}, },
{ // {
title: '新车优惠政策', // title: '新车优惠政策',
editFormData: [ // editFormData: [
{ // {
label: '优惠政策', // label: '优惠政策',
name: 'preferentialPolicy', // name: 'preferentialPolicy',
type: 'input', // type: 'input',
rows: '4', // rows: '4',
inputType: 'textarea', // inputType: 'textarea',
maxlength: '300' // maxlength: '300'
} // }
] // ]
}, // },
{ {
title: '在线客服', title: '在线客服',
editFormData: [ editFormData: [
...@@ -324,7 +324,7 @@ export default { ...@@ -324,7 +324,7 @@ export default {
this.editForm.bannerList = [] this.editForm.bannerList = []
this.editForm.noticeContent = res.noticeContent this.editForm.noticeContent = res.noticeContent
this.editForm.merchantQrcode = res.merchantQrcode this.editForm.merchantQrcode = res.merchantQrcode
this.editForm.preferentialPolicy = res.preferentialPolicy // this.editForm.preferentialPolicy = res.preferentialPolicy
this.editForm.customerServerUserId = '' this.editForm.customerServerUserId = ''
// 在线客服 // 在线客服
this.customerServerList = [] this.customerServerList = []
...@@ -446,7 +446,6 @@ export default { ...@@ -446,7 +446,6 @@ export default {
case '2': case '2':
break; break;
case '3': case '3':
console.log('视频介绍')
break; break;
} }
}, },
...@@ -528,9 +527,9 @@ export default { ...@@ -528,9 +527,9 @@ export default {
// }, // },
getConsultant() { getConsultant() {
this.$apis.homeSet.getConsultantListApi({ merchantId: this.userInfo.merchantId, followTypes: [3] }).then(res => { this.$apis.homeSet.getConsultantListApi({ merchantId: this.userInfo.merchantId, followTypes: [3] }).then(res => {
// console.log(res)
this.baseData.consultantList = res this.baseData.consultantList = res
this.externalFormList[4].editFormData[0].optionList = res var idx = this.externalFormList.findIndex(item => item.title == '在线客服')
this.externalFormList[idx].editFormData[0].optionList = res
}) })
}, },
// 在线客服-end // 在线客服-end
...@@ -576,27 +575,10 @@ export default { ...@@ -576,27 +575,10 @@ export default {
} }
</script> </script>
<style> <style>
/* .home-set .container {
padding: 20px 24px 20px 0;
} */
.home-set .home-img-w-h { .home-set .home-img-w-h {
width: 264px; width: 264px;
height: 108px; height: 108px;
} }
/* .wechat-container {
width: 375px;
margin-right: 45px;
background: #ffffff;
position: relative;
}
.wechat-container .w-100-per {
width: 100%;
}
.wechat-container .wechat-box {
border: 1px solid #cecece;
width: 100%;
border-radius: 2px;
} */
.home-set .wechat-container .wechat-box .wechant-back { .home-set .wechat-container .wechat-box .wechant-back {
width: 252px; width: 252px;
box-sizing: border-box; box-sizing: border-box;
...@@ -648,7 +630,6 @@ export default { ...@@ -648,7 +630,6 @@ export default {
.home-set .img-56 { .home-set .img-56 {
width: 56px; width: 56px;
height: 56px; height: 56px;
/* margin-right: 12px; */
} }
.home-set .m-t-8 { .home-set .m-t-8 {
margin-top: 8px; margin-top: 8px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!