Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 d07efad8
authored
Apr 15, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
19c5727b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
src/App.vue
src/views/beforeSale/serviceSet.vue
src/views/ghPreSale/serviceSet.vue
src/App.vue
View file @
d07efad
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
}
}
#app
{
#app
{
background
:
#f4f5fa
;
background
:
#f4f5fa
;
padding
:
0px
20px
20px
4
0px
;
//
padding
:
0px
20px
20px
2
0px
;
position
:
absolute
;
position
:
absolute
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
...
@@ -43,7 +43,7 @@ export default {
...
@@ -43,7 +43,7 @@ export default {
//
分页全局
//
分页全局
.pagination_box
{
.pagination_box
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
}
}
</
style
>
</
style
>
src/views/beforeSale/serviceSet.vue
View file @
d07efad
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<div
class=
"radio_title"
>
<div
class=
"radio_title"
>
<el-radio
v-model=
"wayRadio"
:label=
"2"
>
加企微领取
</el-radio>
<el-radio
v-model=
"wayRadio"
:label=
"2"
>
加企微领取
</el-radio>
</div>
</div>
<el-button
:disabled=
"wayRadio
==
1"
size=
"small"
@
click=
"openActiveModal"
class=
"custom_blue"
>
选择活码
</el-button>
<el-button
:disabled=
"wayRadio
==
1"
size=
"small"
@
click=
"openActiveModal"
class=
"custom_blue"
>
选择活码
</el-button>
</div>
</div>
<div
v-if=
"settingData.liveCodeUrl || this.activeId"
class=
"box"
>
<div
v-if=
"settingData.liveCodeUrl || this.activeId"
class=
"box"
>
<div
class=
"radio_title"
>
<div
class=
"radio_title"
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<el-image
:class=
"wayRadio == 1 ? 'opcaSty' : ''"
style=
"width: 88px; height: 88px"
:src=
"settingData.liveCodeUrl"
:preview-src-list=
"[settingData.liveCodeUrl]"
></el-image>
<el-image
:class=
"wayRadio == 1 ? 'opcaSty' : ''"
style=
"width: 88px; height: 88px"
:src=
"settingData.liveCodeUrl"
:preview-src-list=
"[settingData.liveCodeUrl]"
></el-image>
</div>
</div>
<div
class=
"radio_tip"
>
{{ settingData.liveCodeName }}
</div>
<div
class=
"radio_tip"
>
{{ settingData.liveCodeName }}
</div>
<div
v-show=
"wayRadio
==
2"
class=
"radio_edit"
@
click=
"toEditActived"
>
修改
</div>
<div
v-show=
"wayRadio
==
2"
class=
"radio_edit"
@
click=
"toEditActived"
>
修改
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
{
{
label
:
'使用专员'
,
label
:
'使用专员'
,
prop
:
'staffName'
,
prop
:
'staffName'
,
width
:
'130px'
,
width
:
'130px'
},
},
{
{
label
:
'标签'
,
label
:
'标签'
,
...
@@ -195,7 +195,7 @@ export default {
...
@@ -195,7 +195,7 @@ export default {
{
{
label
:
'回复活动'
,
label
:
'回复活动'
,
prop
:
'marketingName'
,
prop
:
'marketingName'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
cellValue
=>
{
return
`【
${
cellValue
.
marketingName
}
】`
return
`【
${
cellValue
.
marketingName
}
】`
}
}
}
}
...
@@ -250,7 +250,7 @@ export default {
...
@@ -250,7 +250,7 @@ export default {
getHotline
()
{
getHotline
()
{
this
.
$apis
.
beforeSale
.
getHotlineApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getHotlineApi
({}).
then
(
res
=>
{
this
.
editForm
.
hotline
=
res
.
serviceHotline
this
.
editForm
.
hotline
=
res
.
serviceHotline
this
.
wayRadio
=
res
.
codeType
?
res
.
codeType
:
1
this
.
wayRadio
=
res
.
codeType
?
res
.
codeType
:
1
this
.
settingData
=
res
this
.
settingData
=
res
})
})
},
},
...
@@ -288,7 +288,7 @@ export default {
...
@@ -288,7 +288,7 @@ export default {
})
})
},
},
handleConfirm
()
{
handleConfirm
()
{
if
(
this
.
wayRadio
==
1
||
(
this
.
activeId
&&
this
.
wayRadio
==
2
))
{
if
(
this
.
wayRadio
==
1
||
(
this
.
activeId
&&
this
.
wayRadio
==
2
))
{
this
.
comfimSelect
()
this
.
comfimSelect
()
}
}
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
...
@@ -333,14 +333,14 @@ export default {
...
@@ -333,14 +333,14 @@ export default {
this
.
dialogTableVisible
=
true
this
.
dialogTableVisible
=
true
},
},
// 列表确定活码
// 列表确定活码
toConfimActived
(){
toConfimActived
()
{
this
.
comfimSelect
()
this
.
comfimSelect
()
},
},
comfimSelect
()
{
comfimSelect
()
{
if
(
this
.
activeId
==
-
1
&&
this
.
wayRadio
==
2
)
{
if
(
this
.
activeId
==
-
1
&&
this
.
wayRadio
==
2
)
{
return
return
}
}
if
(
!
this
.
tableData
.
length
&&
this
.
dialogTableVisible
)
{
if
(
!
this
.
tableData
.
length
&&
this
.
dialogTableVisible
)
{
this
.
dialogTableVisible
=
false
this
.
dialogTableVisible
=
false
return
return
}
}
...
@@ -384,12 +384,12 @@ export default {
...
@@ -384,12 +384,12 @@ export default {
this
.
activeInfo
=
item
this
.
activeInfo
=
item
},
},
// 跳转到新建活码渠道
// 跳转到新建活码渠道
jumpToCreated
(){
jumpToCreated
()
{
this
.
$history
.
push
(
'/drainage/channel/addCode'
)
this
.
$history
.
push
(
'/drainage/channel/addCode'
)
},
},
// 选择企微
// 选择企微
selectActivedRadio
(
e
){
selectActivedRadio
(
e
)
{
if
(
this
.
settingData
.
liveCodeUrl
)
{
if
(
this
.
settingData
.
liveCodeUrl
)
{
this
.
activeId
=
this
.
settingData
.
liveCodeUrl
this
.
activeId
=
this
.
settingData
.
liveCodeUrl
this
.
activeInfo
=
{
this
.
activeInfo
=
{
codeName
:
this
.
settingData
.
liveCodeName
,
codeName
:
this
.
settingData
.
liveCodeName
,
...
@@ -404,12 +404,11 @@ export default {
...
@@ -404,12 +404,11 @@ export default {
.edit-equity
{
.edit-equity
{
margin-top
:
17px
;
margin-top
:
17px
;
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
108px
);
//
height
:
calc
(
100%
-
108px
);
min-height
:
600px
;
}
}
.edit-container
{
.edit-container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
76vh
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
}
}
...
@@ -641,13 +640,13 @@ export default {
...
@@ -641,13 +640,13 @@ export default {
//
top
:
7px
;
//
top
:
7px
;
//
}
//
}
}
}
.dialog-footer
{
.dialog-footer
{
position
:
relative
;
position
:
relative
;
.created_btn{
.created_btn
{
position
:
absolute
;
position
:
absolute
;
left
:
0px
;
left
:
0px
;
height
:
50%
;
height
:
50%
;
transform
:
translate
(
0
,
-50%
);
transform
:
translate
(
0
,
-50%
);
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
font-weight
:
600
;
...
...
src/views/ghPreSale/serviceSet.vue
View file @
d07efad
...
@@ -393,6 +393,7 @@ export default {
...
@@ -393,6 +393,7 @@ export default {
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
padding
:
20px
;
height
:
76vh
;
}
}
.before-sale
{
.before-sale
{
...
...
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