Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b2956a0b
authored
Dec 21, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首页设置,去掉“新车优惠政策”
1 parent
342d0a59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
36 deletions
src/views/homeSet/index.vue
src/views/homeSet/index.vue
View file @
b2956a0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment