Commit b2956a0b by cwq0219

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

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