Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 7db86ad9
authored
Jan 24, 2022
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
d5060231
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
97 additions
and
70 deletions
src/router/routes.js
src/views/beforeSale/editEquity.vue
src/views/beforeSale/introduct.vue
src/views/config/addConfig.vue
src/views/config/index.vue
src/router/routes.js
View file @
7db86ad
...
...
@@ -70,5 +70,11 @@ const staticRoutes = Object.freeze([{
component
:
resolve
=>
require
([
`@/views/beforeSale/editEquity.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'checkSet'
,
path
:
'/beforeSale/introduct'
,
component
:
resolve
=>
require
([
`@/views/beforeSale/introduct.vue`
],
resolve
),
meta
:
{}
},
])
export
default
staticRoutes
\ No newline at end of file
src/views/beforeSale/editEquity.vue
View file @
7db86ad
This diff is collapsed.
Click to expand it.
src/views/beforeSale/introduct.vue
View file @
7db86ad
<
template
>
<div
class=
"introduct_container"
>
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"text_wrap"
>
<span
class=
"maxTitle"
>
售前权益服务
</span>
<span
class=
"maxTitle"
>
一套可变现的权益服务系统
</span>
<span
class=
"midTitle"
>
帮您实现客户线上化闭环
</span>
<span>
车生活权益促活跃,养车权益促返厂,赚钱锁客两不误
</span>
</div>
<div
class=
"bg_wrap flex_cc"
>
<img
class=
"max_icon"
src=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_intro.png"
/>
<img
@
click=
"videoShow = true"
class=
"play_icon"
src=
"../../assets/play_icon.png"
/>
</div>
</div>
<div
class=
"mid_wrapper"
>
<div
class=
"content_one flex_sc"
>
<div
class=
"title left"
>
<span>
您提供的
</span>
<i
class=
"el-icon-caret-right"
></i>
<div
class=
"app"
>
<div
class=
"introduct_container"
>
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"text_wrap"
>
<span
class=
"maxTitle"
>
售前权益服务
</span>
<span
class=
"maxTitle"
>
一套可变现的权益服务系统
</span>
<span
class=
"midTitle"
>
帮您实现客户线上化闭环
</span>
<span>
车生活权益促活跃,养车权益促返厂,赚钱锁客两不误
</span>
</div>
<div
class=
"
title right
"
>
<
span>
您将获得的
</span
>
<
div
class=
"icon_point"
></div
>
<div
class=
"
bg_wrap flex_cc
"
>
<
img
class=
"max_icon"
src=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_intro.png"
/
>
<
img
@
click=
"videoShow = true"
class=
"play_icon"
src=
"../../assets/play_icon.png"
/
>
</div>
</div>
<div
class=
"
content_two flex_scb
"
>
<
template
v-for=
"(item, index) in localList
"
>
<div
:key=
"index"
class=
"box_item_wrap flex_cc
"
>
<
img
:src=
"item.icon"
/
>
<
div
class=
"box_title"
>
{{
item
.
title
}}
</div
>
<div
class=
"
mid_wrapper
"
>
<
div
class=
"content_one flex_sc
"
>
<div
class=
"title left
"
>
<
span>
您提供的
</span
>
<
i
class=
"el-icon-caret-right"
></i
>
</div>
</
template
>
</div>
<div
class=
"label_title"
>
无忧案例
</div>
<div
class=
"content_three"
>
<
template
v-for=
"(item, index) in localList2"
>
<div
:key=
"index"
class=
"box_new_item_wrapper"
:class=
"[
{ noborder: index == 1 }]">
<div
class=
"left_wrap"
>
<img
class=
"image_wrap"
:src=
"item.icon"
/>
<div
class=
"new_title"
>
{{
item
.
title
}}
</div>
<div
class=
"con_wrap"
>
<div
class=
"point flex_cc"
>
<div
class=
"icon_po"
></div>
<div
class=
"title right"
>
<span>
您将获得的
</span>
<div
class=
"icon_point"
></div>
</div>
</div>
<div
class=
"content_two flex_scb"
>
<template
v-for=
"(item, index) in localList"
>
<div
:key=
"index"
class=
"box_item_wrap flex_cc"
>
<img
:src=
"item.icon"
/>
<div
class=
"box_title"
>
{{
item
.
title
}}
</div>
</div>
</
template
>
</div>
<div
class=
"label_title"
>
无忧案例
</div>
<div
class=
"content_three"
>
<
template
v-for=
"(item, index) in localList2"
>
<div
:key=
"index"
class=
"box_new_item_wrapper"
:class=
"[
{ noborder: index == 1 }]">
<div
class=
"left_wrap"
>
<img
class=
"image_wrap"
:src=
"item.icon"
/>
<div
class=
"new_title"
>
{{
item
.
title
}}
</div>
<div
class=
"con_wrap"
>
<div
class=
"point flex_cc"
>
<div
class=
"icon_po"
></div>
</div>
<div
class=
"point_content"
>
{{
item
.
desc1
}}
</div>
</div>
<div
class=
"point_content"
>
{{
item
.
desc1
}}
</div>
</div
>
<div
style=
"height: 15px"
></div
>
<div
class=
"con_wrap"
>
<div
class=
"point flex_cc"
>
<div
class=
"
icon_po"
>
</div>
<div
style=
"height: 15px"
>
</div>
<div
class=
"con_wrap"
>
<div
class=
"point flex_cc"
>
<div
class=
"icon_po"
></div
>
</div
>
<div
class=
"
point_content"
>
{{
item
.
desc2
}}
</div>
</div>
<div
class=
"point_content"
>
{{
item
.
desc2
}}
</div>
</div>
<div
class=
"right_wrap"
>
<img
:src=
"item.img"
/>
</div>
</div>
<div
class=
"right_wrap"
>
<img
:src=
"item.img"
/>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<qrCode
:codeUrl=
"code"
:phone=
"phone"
></qrCode>
<el-dialog
:visible
.
sync=
"videoShow"
width=
"50%"
:before-close=
"handleClose"
>
<div
slot=
"title"
style=
"height: 18px"
></div>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"
></video>
</el-dialog>
</div>
<qrCode
:codeUrl=
"code"
:phone=
"phone"
></qrCode>
<el-dialog
:visible
.
sync=
"videoShow"
width=
"50%"
:before-close=
"handleClose"
>
<div
slot=
"title"
style=
"height: 18px"
></div>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"
></video>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -76,7 +78,7 @@ export default {
return
{
videoShow
:
false
,
code
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/wangdy.png'
,
phone
:
'134 8079 2980'
,
phone
:
'134 8079 2980'
,
localList
:
[
{
icon
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_1.png'
,
...
...
@@ -118,7 +120,7 @@ export default {
},
mounted
()
{
// let [href] = window.location.href.split('/#/')
let
href
=
window
.
location
.
host
;
let
href
=
window
.
location
.
host
// 从域名判断是不是广汇的
let
gxurl1
=
'http://scrm.cgacar.com'
let
gxurl2
=
'https://scrm.cgacar.com'
...
...
@@ -135,6 +137,17 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app
{
background
:
#f4f5fa
;
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
top
:
0px
;
left
:
0px
;
overflow-y
:
auto
;
height
:
100%
;
}
.introduct_container
{
margin-top
:
17px
;
}
...
...
src/views/config/addConfig.vue
View file @
7db86ad
<
template
>
<div
class=
"equity-wrap container"
>
<div
class=
"equity-wrap contain"
style=
"padding: 0; margin-bottom: 0"
>
<div
class=
"top"
>
开通
配置
</div>
<div
class=
"top"
>
{{
configTitle
}}
配置
</div>
</div>
<div
class=
"equity-wrap contain"
style=
"padding-left: 72px"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"left"
size=
"medium"
class=
"detailForm"
>
...
...
@@ -103,6 +103,7 @@ export default {
name
:
''
,
data
()
{
return
{
configTitle
:
''
,
selectedTable
:
false
,
tableData
:
[],
merchantIds
:
[],
...
...
@@ -163,7 +164,9 @@ export default {
if
(
merchantId
)
{
this
.
getConfig
(
merchantId
)
console
.
log
(
'11111'
)
this
.
configTitle
=
'修改'
}
else
{
this
.
configTitle
=
'开通'
this
.
add
=
true
this
.
theftAll
=
true
this
.
vehicleAll
=
true
...
...
src/views/config/index.vue
View file @
7db86ad
<
template
>
<div
class=
"equity-wrap"
>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<div
class=
"equity-wrap contain merchant-select"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<el-row>
...
...
@@ -24,7 +25,7 @@
</el-form-item>
</el-row>
</el-form>
<div
class=
"row-btns"
style=
"margin-top:20px"
>
<div
class=
"row-btns"
style=
"margin-top:
20px"
>
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<div
style=
"float: right"
>
...
...
@@ -63,7 +64,7 @@ export default {
// mixins: [searchMixin],
data
()
{
return
{
checkbox
:
false
,
checkbox
:
false
,
date_format
,
openFlag
:
''
,
getConfigList
:
this
.
$apis
.
openconfig
.
getConfigList
,
...
...
@@ -177,9 +178,9 @@ export default {
},
jump
(
e
)
{
if
(
e
==
'add'
)
{
this
.
$router
.
push
({
path
:
'/config/addConfig'
})
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
:
{
$title
:
encodeURI
(
'开通配置'
)
}
})
}
else
{
let
query
=
{
}
let
query
=
{
$title
:
encodeURI
(
'修改配置'
)
}
query
.
merchantId
=
e
console
.
log
(
query
,
'query'
)
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
})
...
...
@@ -330,10 +331,10 @@ export default {
//
margin-bottom
:
20px
;
}
.merchant-select
{
margin-bottom
:
10px
!important
;
margin-bottom
:
10px
!important
;
}
/
deep
/
.equity-wrap
{
.el-button
+
.el-button
{
.el-button
+
.el-button
{
margin-left
:
20px
;
}
.el-form--inline
.el-form-item
{
...
...
@@ -349,20 +350,24 @@ export default {
display
:
inline
;
padding-right
:
15px
;
}
}
.el-input-group--prepend
.el-select
.el-input__inner
,
.el-input-group__append
{
}
.el-input-group--prepend
.el-select
.el-input__inner
,
.el-input-group__append
{
width
:
120px
;
color
:
#333333
;
}
.el-input-group--prepend
.el-input__inner
,
.el-input-group__append
:last-child
{
.el-input-group--prepend
.el-input__inner
,
.el-input-group__append
:last-child
{
width
:
166px
;
color
:
#999
;
}
.el-form-item__content
.el-button--small
:first-child
,
.row-btns
>
div
.el-button--small
:first-child
{
.el-form-item__content
.el-button--small
:first-child
,
.row-btns
>
div
.el-button--small
:first-child
{
border-color
:
#5850ff
;
color
:
#5850ff
;
}
.el-form-item__content
.el-button--small
:last-child
,
.row-btns
>
div
.el-button--small
:last-child
{
.el-form-item__content
.el-button--small
:last-child
,
.row-btns
>
div
.el-button--small
:last-child
{
border-color
:
#999
;
color
:
#666666
;
}
...
...
@@ -374,7 +379,7 @@ export default {
.el-pagination
{
margin-top
:
20px
;
}
}
}
.row-btns
{
height
:
32px
;
line-height
:
32px
;
...
...
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