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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
24 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 {
}
#app
{
background
:
#f4f5fa
;
padding
:
0px
20px
20px
4
0px
;
//
padding
:
0px
20px
20px
2
0px
;
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
...
...
@@ -43,7 +43,7 @@ export default {
//
分页全局
.pagination_box
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
}
</
style
>
src/views/beforeSale/serviceSet.vue
View file @
d07efad
...
...
@@ -36,24 +36,24 @@
<el-radio
v-model=
"wayRadio"
:label=
"1"
>
小程序领取
</el-radio>
</div>
<div
class=
"radio_panel"
>
<el-image
:class=
"wayRadio == 2 ? 'opcaSty' : ''"
style=
"width: 88px; height: 88px"
:src=
"settingData.qrcodeUrl"
:preview-src-list=
"[settingData.qrcodeUrl]"
></el-image>
<el-image
:class=
"wayRadio == 2 ? 'opcaSty' : ''"
style=
"width: 88px; height: 88px"
:src=
"settingData.qrcodeUrl"
:preview-src-list=
"[settingData.qrcodeUrl]"
></el-image>
</div>
</div>
<div
v-if=
"!settingData.liveCodeUrl"
class=
"box"
>
<div
class=
"radio_title"
>
<el-radio
v-model=
"wayRadio"
:label=
"2"
>
加企微领取
</el-radio>
</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
v-if=
"settingData.liveCodeUrl || this.activeId"
class=
"box"
>
<div
class=
"radio_title"
>
<el-radio
v-model=
"wayRadio"
:label=
"2"
@
change=
"selectActivedRadio"
>
加企微领取
</el-radio>
</div>
<div
class=
"radio_panel"
>
<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
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>
...
...
@@ -184,7 +184,7 @@ export default {
{
label
:
'使用专员'
,
prop
:
'staffName'
,
width
:
'130px'
,
width
:
'130px'
},
{
label
:
'标签'
,
...
...
@@ -195,7 +195,7 @@ export default {
{
label
:
'回复活动'
,
prop
:
'marketingName'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
cellValue
=>
{
return
`【
${
cellValue
.
marketingName
}
】`
}
}
...
...
@@ -250,7 +250,7 @@ export default {
getHotline
()
{
this
.
$apis
.
beforeSale
.
getHotlineApi
({}).
then
(
res
=>
{
this
.
editForm
.
hotline
=
res
.
serviceHotline
this
.
wayRadio
=
res
.
codeType
?
res
.
codeType
:
1
this
.
wayRadio
=
res
.
codeType
?
res
.
codeType
:
1
this
.
settingData
=
res
})
},
...
...
@@ -288,7 +288,7 @@ export default {
})
},
handleConfirm
()
{
if
(
this
.
wayRadio
==
1
||
(
this
.
activeId
&&
this
.
wayRadio
==
2
))
{
if
(
this
.
wayRadio
==
1
||
(
this
.
activeId
&&
this
.
wayRadio
==
2
))
{
this
.
comfimSelect
()
}
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
...
...
@@ -333,14 +333,14 @@ export default {
this
.
dialogTableVisible
=
true
},
// 列表确定活码
toConfimActived
(){
toConfimActived
()
{
this
.
comfimSelect
()
},
comfimSelect
()
{
if
(
this
.
activeId
==
-
1
&&
this
.
wayRadio
==
2
)
{
return
}
if
(
!
this
.
tableData
.
length
&&
this
.
dialogTableVisible
)
{
if
(
!
this
.
tableData
.
length
&&
this
.
dialogTableVisible
)
{
this
.
dialogTableVisible
=
false
return
}
...
...
@@ -384,17 +384,17 @@ export default {
this
.
activeInfo
=
item
},
// 跳转到新建活码渠道
jumpToCreated
(){
jumpToCreated
()
{
this
.
$history
.
push
(
'/drainage/channel/addCode'
)
},
// 选择企微
selectActivedRadio
(
e
){
if
(
this
.
settingData
.
liveCodeUrl
)
{
selectActivedRadio
(
e
)
{
if
(
this
.
settingData
.
liveCodeUrl
)
{
this
.
activeId
=
this
.
settingData
.
liveCodeUrl
this
.
activeInfo
=
{
codeName
:
this
.
settingData
.
liveCodeName
,
id
:
this
.
settingData
.
liveCodeId
}
codeName
:
this
.
settingData
.
liveCodeName
,
id
:
this
.
settingData
.
liveCodeId
}
}
}
}
...
...
@@ -404,12 +404,11 @@ export default {
.edit-equity
{
margin-top
:
17px
;
width
:
100%
;
height
:
calc
(
100%
-
108px
);
min-height
:
600px
;
//
height
:
calc
(
100%
-
108px
);
}
.edit-container
{
width
:
100%
;
height
:
100%
;
height
:
76vh
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
}
...
...
@@ -641,13 +640,13 @@ export default {
//
top
:
7px
;
//
}
}
.dialog-footer
{
.dialog-footer
{
position
:
relative
;
.created_btn{
.created_btn
{
position
:
absolute
;
left
:
0px
;
height
:
50%
;
transform
:
translate
(
0
,
-50%
);
transform
:
translate
(
0
,
-50%
);
cursor
:
pointer
;
font-size
:
16px
;
font-weight
:
600
;
...
...
src/views/ghPreSale/serviceSet.vue
View file @
d07efad
...
...
@@ -393,6 +393,7 @@ export default {
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
height
:
76vh
;
}
.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