Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
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 7f4234b5
authored
Aug 04, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
ca4f1c40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
252 deletions
src/assets/css/variables.scss
src/views/home/components/scene-subscription/index.vue
vue.config.js
src/assets/css/variables.scss
deleted
100644 → 0
View file @
ca4f1c4
.background-f7
{
background
:
#f7f7fc
;
}
.home-data-container
{
margin
:
16px
0px
;
display
:
flex
;
.home-data-item
{
background
:
#ffffff
;
padding
:
16px
;
margin-right
:
16px
;
width
:
20%
;
position
:
relative
;
&
:nth-child
(
3
)
{
margin-right
:
0px
;
}
.step-icon
{
width
:
32px
;
height
:
32px
;
margin
:
14px
auto
20px
;
}
.arrow-icon
{
position
:
absolute
;
right
:
-25px
;
z-index
:
99
;
top
:
50%
;
width
:
34px
;
height
:
26px
;
margin-top
:
2px
;
}
&
.item-step-2
{
flex
:
1
;
}
.step-title
{
font-size
:
16px
;
color
:
#333333
;
letter-spacing
:
0
;
font-weight
:
600
;
text-align
:
center
;
}
.step-border-1
{
margin-top
:
16px
;
padding
:
10px
16px
;
position
:
relative
;
.step-icon
{
position
:
absolute
;
top
:
8px
;
right
:
8px
;
height
:
20px
;
width
:
20px
;
margin
:
0px
;
}
.step-title-h3
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
20px
;
}
.step-title-h2
{
font-size
:
18px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
25px
;
margin
:
6px
0px
10px
;
&
.text-number
{
font-size
:
26px
;
label
{
font-size
:
14px
;
font-weight
:
500
;
}
}
}
.base-download
{
cursor
:
pointer
;
width
:
104px
;
height
:
32px
;
line-height
:
32px
;
background
:
#2cca74
;
border-radius
:
3px
;
text-align
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#ffffff
;
i
{
font-size
:
20px
;
vertical-align
:
middle
;
}
}
.step-ceil-panel
{
font-size
:
12px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
18px
;
margin-top
:
20px
;
img
{
width
:
14px
;
height
:
15px
;
}
}
}
.step-panel-2
{
display
:
flex
;
.step-border-2
{
width
:
60%
;
margin-top
:
16px
;
margin-right
:
16px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
relative
;
.base-container
{
width
:
20
.78vw
;
height
:
7
.55vw
;
background-size
:
100%
100%
;
position
:
relative
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.base-box
{
width
:
210px
;
height
:
160px
;
position
:
absolute
;
background-size
:
100%
100%
;
.base-panel
{
background
:
none
;
padding-left
:
30px
;
.step-title-h3
{
margin-top
:
30px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
20px
;
}
.step-title-h2
{
font-size
:
18px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
25px
;
margin
:
6px
0px
10px
;
&
.text-number
{
font-size
:
26px
;
label
{
font-size
:
14px
;
font-weight
:
500
;
}
}
}
.step-ceil-panel
{
font-size
:
12px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
18px
;
margin-top
:
20px
;
img
{
width
:
14px
;
height
:
15px
;
}
}
}
}
}
.base-panel
{
background
:
#ffffff
;
border-radius
:
6px
;
}
.arrow-icon
{
position
:
absolute
;
right
:
-25px
;
z-index
:
99
;
top
:
50%
;
width
:
34px
;
height
:
26px
;
margin-top
:
-13px
;
}
}
.step-border-3
{
flex
:
1
;
position
:
relative
;
.arrow-icon
{
position
:
absolute
;
right
:
-42px
;
z-index
:
99
;
top
:
50%
;
width
:
34px
;
height
:
26px
;
margin-top
:
-13px
;
}
}
}
.step-border-3
,
.step-border-4
{
margin-top
:
16px
;
padding
:
30px
0px
20px
;
.step-title-h2
{
font-size
:
18px
;
color
:
#111111
;
letter-spacing
:
0
;
text-align
:
center
;
line-height
:
28px
;
font-weight
:
600
;
margin
:
4px
0px
;
}
.step-operation
{
background
:
#5850ff
;
border-radius
:
3px
;
width
:
60%
;
height
:
32px
;
margin
:
16px
auto
0px
;
padding
:
0px
12px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
color
:
#ffffff
;
cursor
:
pointer
;
z-index
:
99
;
label
{
cursor
:
pointer
;
display
:
inline-block
;
width
:
96px
;
text-align
:
center
;
}
img
{
width
:
18px
;
height
:
18px
;
}
}
}
}
}
src/views/home/components/scene-subscription/index.vue
View file @
7f4234b
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</div>
</div>
<div
class=
"use-flex"
v-else
>
<div
class=
"use-flex"
v-else
>
<div
class=
"use-operation"
@
click=
"useHandle(item.type)"
>
立即使用
</div>
<div
class=
"use-operation"
@
click=
"useHandle(item.type)"
>
立即使用
</div>
<
div
class=
"use-operation bgf"
@
click=
"scanningHandle(item)"
>
扫码体验
</div
>
<
!--
<div
class=
"use-operation bgf"
@
click=
"scanningHandle(item)"
>
扫码体验
</div>
--
>
</div>
</div>
</div>
</div>
<div
class=
"mask"
v-if=
"item.isShow"
>
<div
class=
"mask"
v-if=
"item.isShow"
>
...
...
vue.config.js
View file @
7f4234b
/*
/*
* @Author:
前端 qianduan01
@didihu.com.cn
* @Author:
yangming yangming
@didihu.com.cn
* @Date: 202
2-07-22 18:15:13
* @Date: 202
3-08-04 11:28:27
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
7-24 14:18:1
7
* @LastEditTime: 2023-0
8-04 13:53:2
7
* @FilePath: \scrm-micro-home\vue.config.js
* @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -35,18 +35,6 @@ module.exports = {
...
@@ -35,18 +35,6 @@ module.exports = {
libraryTarget
:
'umd'
,
// 把微应用打包成 umd 库格式
libraryTarget
:
'umd'
,
// 把微应用打包成 umd 库格式
jsonpFunction
:
`webpackJsonp_
${
packageName
}
`
jsonpFunction
:
`webpackJsonp_
${
packageName
}
`
},
},
module
:
{
rules
:
[
{
test
:
/
\.
scss$/
,
use
:
[
'sass-loader'
]
},
{
test
:
/
\.(
png|svg|jpg|gif
)
$/
,
use
:
[
'url-loader'
]
}
]
},
externals
:
{
externals
:
{
vue
:
'Vue'
,
vue
:
'Vue'
,
'element-ui'
:
'ELEMENT'
,
'element-ui'
:
'ELEMENT'
,
...
@@ -71,13 +59,7 @@ module.exports = {
...
@@ -71,13 +59,7 @@ module.exports = {
args
[
0
].
cdn
=
cdn
args
[
0
].
cdn
=
cdn
return
args
return
args
})
})
config
.
plugin
(
'preload'
).
tap
(
options
=>
{
config
.
plugins
.
delete
(
'preload'
)
// TODO: need test
options
[
0
].
include
=
'allAssets'
options
[
0
].
as
=
'style'
options
[
0
].
fileBlacklist
=
[
/
\.
map$/
,
/hot-update
\.
js$/
]
return
options
})
// config.plugins.delete('preload') // TODO: need test
config
.
plugins
.
delete
(
'prefetch'
)
// TODO: need test
config
.
plugins
.
delete
(
'prefetch'
)
// TODO: need test
config
.
module
config
.
module
.
rule
(
'fonts'
)
.
rule
(
'fonts'
)
...
...
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