Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 70890e6b
authored
Feb 20, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xxj-v4.x-ui-2023.02.14' into develop
2 parents
ce85ab93
9e8776fc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
297 additions
and
202 deletions
linkwe-pc/src/components/CardGroupIndex.vue
linkwe-pc/src/components/ChartBar.vue
linkwe-pc/src/components/ChartLine.vue
linkwe-pc/src/components/ChartPie.vue
linkwe-pc/src/layout/components/AppMain.vue
linkwe-pc/src/layout/components/Navbar.vue
linkwe-pc/src/layout/components/Sidebar/SidebarItem.vue
linkwe-pc/src/layout/components/Sidebar/index.vue
linkwe-pc/src/layout/index.vue
linkwe-pc/src/styles/common.scss
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/styles/index.scss
linkwe-pc/src/styles/variables.scss
linkwe-pc/src/views/index/index.vue
linkwe-pc/src/components/CardGroupIndex.vue
View file @
70890e6
...
...
@@ -58,16 +58,16 @@ export default {
<
template
>
<ul
class=
"card-group-index flex"
>
<li
v-for=
"(row, index) in data"
:key=
"index"
class=
"card-index-li"
>
<div
class=
"
mb5
label"
>
<div
class=
"label"
>
<span>
{{
row
[
defaultProps
.
title
]
}}
</span>
<div
v-if=
"row[defaultProps.tips] !== undefined"
class=
"fr"
>
<el-popover
trigger=
"hover"
:content=
"row[defaultProps.tips]"
placement=
"top-start"
>
<i
slot=
"reference"
class=
"el-icon-
question
"
></i>
<i
slot=
"reference"
class=
"el-icon-
warning-outline
"
></i>
</el-popover>
</div>
</div>
<div
class=
"m
b1
5 value"
>
{{
row
[
defaultProps
.
value
]
||
0
}}
</div>
<div
v-if=
"row[defaultProps.title1] !== undefined || row[defaultProps.value1] !== undefined"
>
<div
class=
"m
t
5 value"
>
{{
row
[
defaultProps
.
value
]
||
0
}}
</div>
<div
class=
"mt15"
v-if=
"row[defaultProps.title1] !== undefined || row[defaultProps.value1] !== undefined"
>
{{
row
[
defaultProps
.
title1
]
}}
<span
class=
"fr"
:class=
"row[defaultProps.noArrow] || getClass(row[defaultProps.value1])"
>
{{
row
[
defaultProps
.
noArrow
]
?
''
:
getArrow
(
row
[
defaultProps
.
value1
])
}}
...
...
@@ -83,13 +83,15 @@ export default {
.card-index-li
{
position
:
relative
;
width
:
200px
;
//
height
:
108px
;
//
background
:
linear-gradient
(
90deg
,
#f7f8fb
0%
,
#f1f3f8
100%
);
background
:
#fff
;
border-radius
:
$
border-radius
;
margin
:
0
10px
20px
0
;
border-radius
:
var
(
--border-radius-big
);
border
:
1px
solid
#edf2f9
;
margin
:
0
10px
0
0
;
line-height
:
1
;
padding
:
22px
20px
;
&:last-child
{
margin-right
:
0
;
}
.card-icon
{
position
:
absolute
;
top
:
0
;
...
...
@@ -108,7 +110,7 @@ export default {
font-size
:
$
font-size-keydata
;
line-height
:
1.15
;
}
.el-icon-
question
{
.el-icon-
warning-outline
{
color
:
#999
;
}
.icon-arrow
{
...
...
linkwe-pc/src/components/ChartBar.vue
View file @
70890e6
...
...
@@ -10,15 +10,7 @@ export default {
// X轴坐标数据
xData
:
{
type
:
Array
,
default
:
()
=>
[
'腾讯广告'
,
'巨量引擎'
,
'京东数坊'
,
'达摩盘'
,
'数据银行'
,
'微信广告'
,
'企业微信'
,
],
default
:
()
=>
[
'腾讯广告'
,
'巨量引擎'
,
'京东数坊'
,
'达摩盘'
,
'数据银行'
,
'微信广告'
,
'企业微信'
],
},
// 图例
legend
:
{
...
...
@@ -62,7 +54,7 @@ export default {
})
},
},
created
()
{
},
created
()
{},
mounted
()
{
this
.
drawChart
()
},
...
...
@@ -100,18 +92,18 @@ export default {
// text: 'Stacked Area Chart'
// },
tooltip
:
{
backgroundColor
:
'#505050'
,
borderWidth
:
0
,
textStyle
:
{
color
:
'#fff'
,
},
trigger
:
'axis'
,
axisPointer
:
{
type
:
'cross'
,
label
:
{
backgroundColor
:
'#6a7985'
,
},
},
// backgroundColor: '#505050',
// borderWidth: 0,
// textStyle: {
// color: '#fff',
// },
// axisPointer: {
// type: 'cross',
// label: {
// backgroundColor: '#6a7985',
// },
// },
},
legend
:
{
data
:
this
.
legend
,
...
...
linkwe-pc/src/components/ChartLine.vue
View file @
70890e6
...
...
@@ -16,15 +16,7 @@ export default {
// X轴坐标数据
xData
:
{
type
:
Array
,
default
:
()
=>
[
'2021-12-01'
,
'2021-12-02'
,
'2021-12-03'
,
'2021-12-03'
,
'2021-12-04'
,
'2021-12-05'
,
'2021-12-06'
,
],
default
:
()
=>
[
'2021-12-01'
,
'2021-12-02'
,
'2021-12-03'
,
'2021-12-03'
,
'2021-12-04'
,
'2021-12-05'
,
'2021-12-06'
],
},
// 图例; 单个图例可传字符串,实际转换成单元素数组[string]
legend
:
{
...
...
@@ -124,19 +116,19 @@ export default {
// text: 'Stacked Area Chart'
// },
tooltip
:
{
textStyle
:
{
color
:
'#FFF'
,
// 设置文字颜色
fontSize
:
12
,
},
trigger
:
'axis'
,
backgroundColor
:
'#505050'
,
borderWidth
:
0
,
axisPointer
:
{
type
:
'cross'
,
label
:
{
backgroundColor
:
'#6a7985'
,
},
},
// textStyle: {
// color: '#FFF', // 设置文字颜色
// fontSize: 12,
// },
// backgroundColor: '#505050',
// borderWidth: 0,
// axisPointer: {
// type: 'cross',
// label: {
// backgroundColor: '#6a7985',
// },
// },
},
legend
:
{
data
:
legend
,
...
...
@@ -156,7 +148,7 @@ export default {
icon
:
'roundRect'
,
itemWidth
:
24
,
itemHeight
:
4
,
itemGap
:
14
,
itemGap
:
14
,
tooltip
:
{
show
:
true
,
},
...
...
linkwe-pc/src/components/ChartPie.vue
View file @
70890e6
...
...
@@ -4,14 +4,14 @@ import { echartColors } from '@/utils/index'
import
merge
from
'lodash.merge'
export
default
{
//
折线
图
//
饼
图
name
:
'ChartPie'
,
components
:
{},
props
:
{
// 图例
legend
:
{
type
:
Array
,
default
:
()
=>
[
'新增客户'
]
default
:
()
=>
[
'新增客户'
]
,
},
// 展示数据集
series
:
{
...
...
@@ -21,15 +21,15 @@ export default {
{
value
:
735
,
name
:
'Direct'
},
{
value
:
580
,
name
:
'Email'
},
{
value
:
484
,
name
:
'Union Ads'
},
{
value
:
300
,
name
:
'Video Ads'
}
]
{
value
:
300
,
name
:
'Video Ads'
}
,
]
,
},
// 自定义图表配置项,使用loadsh.merge(origin, option)和原有的配置进行覆盖合并
// loadsh.merge: https://www.html.cn/doc/lodash/#_mergeobject-sources
option
:
{
type
:
Object
,
default
:
null
}
default
:
null
,
}
,
},
data
()
{
return
{}
...
...
@@ -38,7 +38,7 @@ export default {
watch
:
{
series
()
{
this
.
drawChart
()
}
}
,
},
created
()
{},
mounted
()
{
...
...
@@ -56,19 +56,19 @@ export default {
// top: 'bottom'
// },
tooltip
:
{
textStyle
:
{
color
:
'#FFF'
,
// 设置文字颜色
fontSize
:
12
},
trigger
:
'item'
,
backgroundColor
:
'#505050'
,
borderWidth
:
0
,
axisPointer
:
{
type
:
'cross'
,
label
:
{
backgroundColor
:
'#6a7985'
}
}
// textStyle: {
// color: '#FFF', // 设置文字颜色
// fontSize: 12,
// },
// backgroundColor: '#505050',
// borderWidth: 0,
// axisPointer: {
// type: 'cross',
// label: {
// backgroundColor: '#6a7985',
// },
// },
},
legend
:
{
x
:
'center'
,
...
...
@@ -79,20 +79,20 @@ export default {
itemWidth
:
8
,
itemHeight
:
8
,
tooltip
:
{
show
:
true
show
:
true
,
},
textStyle
:
{
color
:
'#36363A'
,
fontSize
:
12
,
lineHeight
:
14
}
lineHeight
:
14
,
}
,
},
grid
:
{
left
:
'3%'
,
right
:
'3%'
,
bottom
:
'20px'
,
top
:
'30px'
,
containLabel
:
true
containLabel
:
true
,
},
series
:
{
type
:
'pie'
,
...
...
@@ -102,10 +102,10 @@ export default {
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
}
}
shadowColor
:
'rgba(0, 0, 0, 0.5)'
,
}
,
}
,
}
,
}
this
.
option
&&
merge
(
option
,
this
.
option
)
option
&&
this
.
myChart
.
setOption
(
option
)
...
...
@@ -113,8 +113,8 @@ export default {
new
ResizeObserver
((
entries
)
=>
{
this
.
myChart
.
resize
()
}).
observe
(
this
.
$refs
.
chart
)
}
}
}
,
}
,
}
</
script
>
...
...
linkwe-pc/src/layout/components/AppMain.vue
View file @
70890e6
<
template
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<router-view
class=
"page app-main"
:key=
"key"
/>
<!--
<keep-alive
:include=
"cachedViews"
>
<!--
<el-scrollbar
class=
"page-scrollbar"
>
-->
<div
class=
"app-main"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<router-view
class=
"page"
:key=
"key"
/>
<!--
<keep-alive
:include=
"cachedViews"
>
</keep-alive>
-->
</transition>
</transition>
</div>
<!--
</el-scrollbar>
-->
</
template
>
<
script
>
export
default
{
name
:
'AppMain'
,
computed
:
{
cachedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
cachedViews
},
key
()
{
return
this
.
$route
.
path
}
}
}
export
default
{
name
:
'AppMain'
,
computed
:
{
cachedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
cachedViews
},
key
()
{
return
this
.
$route
.
path
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app-main
{
/* 50= navbar 50 */
//
min-height
:
calc
(
100vh
-
50px
);
width
:
100%
;
position
:
relative
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
//
padding-top
:
15px
;
//
background-color
:
#fff
;
}
//
::v-deep
.el-scrollbar__wrap
{
//
margin
:
20px
0
;
//
padding
:
0
20px
;
//
}
.app-main
{
position
:
relative
;
overflow-y
:
auto
;
margin
:
20px
0
0
;
padding
:
0
20px
;
.fixed-header
+
.app-main
{
padding-top
:
50px
;
&::-webkit-scrollbar-thumb
{
visibility
:
hidden
;
}
&
:hover::-webkit-scrollbar-thumb
{
visibility
:
visible
;
}
}
.hasTagsView
{
.app-main
{
/* 84 = navbar + tags-view = 50 + 34 */
height
:
calc
(
100vh
-
84px
);
}
.page
{
background
:
#fff
;
border-radius
:
var
(
--border-radius-big
);
overflow
:
hidden
;
}
.fixed-header
+
.app-main
{
padding-top
:
50px
;
}
.fixed-header
+
.app-main
{
padding-top
:
84px
;
}
.hasTagsView
{
.app-main
{
/* 84 = navbar + tags-view = 50 + 34 */
height
:
calc
(
100vh
-
84px
);
}
.fixed-header
+
.app-main
{
padding-top
:
84px
;
}
}
</
style
>
<
style
lang=
"scss"
>
//
fix
css
style
bug
in
open
el-dialog
.el-popup-parent--hidden
{
.fixed-header
{
padding-right
:
15px
;
}
//
fix
css
style
bug
in
open
el-dialog
.el-popup-parent--hidden
{
.fixed-header
{
padding-right
:
15px
;
}
}
</
style
>
linkwe-pc/src/layout/components/Navbar.vue
View file @
70890e6
...
...
@@ -226,7 +226,7 @@ export default {
.avatar-wrapper
{
position
:
relative
;
.user-avatar
{
---temp
:
rgba
(
225
,
225
,
225
,
0.1
)
;
---temp
:
#fafafa
;
display
:
inline-block
;
position
:
relative
;
width
:
34px
;
...
...
linkwe-pc/src/layout/components/Sidebar/SidebarItem.vue
View file @
70890e6
...
...
@@ -2,16 +2,19 @@
<div
v-if=
"!item.hidden"
>
<app-link
v-if=
"isLeafMeu(item)"
:to=
"resolvePath(onlyOneChild.path, onlyOneChild.query)"
>
<el-menu-item
v-if=
"onlyOneChild.meta"
:index=
"resolvePath(onlyOneChild.path)"
>
{{
onlyOneChild
.
meta
.
title
}}
<div
class=
"menu-title"
:style=
"
{ padding: `0px ${15 * level}px` }">
{{
onlyOneChild
.
meta
.
title
}}
</div>
</el-menu-item>
</app-link>
<el-submenu
v-else
:index=
"resolvePath(item.path)"
popper-append-to-body
>
<span
slot=
"title"
v-if=
"item.meta"
>
{{
item
.
meta
.
title
}}
</span>
<div
slot=
"title"
class=
"menu-title"
:style=
"
{ padding: `0px ${20 * level}px` }" v-if="item.meta">
{{
item
.
meta
.
title
}}
</div>
<sidebar-item
v-for=
"child in item.children"
:key=
"child.path"
:is-nest=
"true"
:level=
"~~level + 1"
:item=
"child"
:base-path=
"resolvePath(child.path)"
class=
"nest-menu"
/>
...
...
@@ -36,6 +39,10 @@ export default {
type
:
Object
,
required
:
true
,
},
level
:
{
type
:
String
|
Number
,
default
:
1
,
},
isNest
:
{
type
:
Boolean
,
default
:
false
,
...
...
linkwe-pc/src/layout/components/Sidebar/index.vue
View file @
70890e6
...
...
@@ -11,9 +11,11 @@
v-for=
"(route, index) in sidebarRouters"
:key=
"route.path + index"
:item=
"route"
level=
"1"
:base-path=
"route.path"
/>
</el-menu>
</el-scrollbar>
<div
class=
"card"
>
<div
class=
""
>
{{
lwConfig
.
SYSTEM_NAME
}}
</div>
<div
class=
"info mt10 mb5"
>
版本:全功能最新版
</div>
...
...
@@ -111,6 +113,7 @@ export default {
//
菜单,目录
.el-menu-item
,
.el-submenu
>
.el-submenu__title
{
padding
:
0
!important
;
margin
:
4px
auto
;
font-weight
:
500
;
height
:
40px
;
...
...
linkwe-pc/src/layout/index.vue
View file @
70890e6
...
...
@@ -10,12 +10,10 @@
<div
class=
"breadcrumb-wrap"
v-show=
"visiableSidebarRouters"
>
<breadcrumb
/>
</div>
<div
class=
"page-content"
>
<app-main
/>
<RightPanel
v-if=
"showSettings"
>
<app-main
/>
<!--
<RightPanel
v-if=
"showSettings"
>
<settings
/>
</RightPanel>
</div>
</RightPanel>
-->
</div>
</div>
</div>
...
...
@@ -96,9 +94,6 @@ export default {
background
:
#fff
;
border-top
:
1px
solid
#eee
;
}
.page-content
{
margin
:
20px
20px
0
;
}
&
.mobile.openSidebar
{
position
:
fixed
;
...
...
linkwe-pc/src/styles/common.scss
View file @
70890e6
...
...
@@ -40,8 +40,7 @@ body {
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
overflow
:
hidden
;
}
...
...
@@ -119,6 +118,10 @@ li {
background
:
white
;
}
.bgnone
{
background
:
none
!
important
;
}
.blod
{
font-weight
:
bold
;
}
...
...
@@ -295,14 +298,16 @@ li {
/* Dark mode */
@media
(
prefers-color-scheme
:
dark
)
{
body
,
img
,
video
{
body
,
img
,
video
{
filter
:
invert
(
1
)
hue-rotate
(
180deg
);
}
// 不使用暗黑模式
.no-dark
{
position
:
relative
;
&
:
:
before
{
content
:
" "
;
&
:
:
before
{
content
:
' '
;
position
:
absolute
;
display
:
block
;
height
:
100%
;
...
...
@@ -310,4 +315,4 @@ li {
backdrop-filter
:
invert
(
1
)
hue-rotate
(
180deg
);
}
}
}
\ No newline at end of file
}
linkwe-pc/src/styles/element-ui.scss
View file @
70890e6
...
...
@@ -123,58 +123,58 @@
}
.app-main.page
{
.el-table
{
background-color
:
transparent
;
&
:
:
before
{
content
:
none
;
}
.el-table__header-wrapper
th
,
.el-table__fixed-header-wrapper
th
,
.el-table__header-wrapper
tr
{
background-color
:
transparent
!
important
;
height
:
40px
;
}
.el-table__body-wrapper
,
.el-table__fixed-body-wrapper
{
tr
{
box-shadow
:
0px
0px
5px
0px
rgba
(
195
,
195
,
195
,
0
.35
);
height
:
50px
;
}
}
// th.is-leaf,
// td {
// border-bottom: 0;
// }
tr
td
{
&
:first-child
{
border-radius
:
4px
0
0
4px
;
border-left
:
1px
solid
#ddd
;
}
&
:last-child
{
border-radius
:
0
4px
4px
0
;
border-right
:
1px
solid
#ddd
;
}
}
.el-table__body
{
border-spacing
:
0
10px
;
}
.el-table__fixed
,
.el-table__fixed-right
{
&
:
:
before
{
content
:
none
;
}
}
.el-table__fixed
.el-table__fixed-body-wrapper
{
tr
td
:last-child
{
border-right
:
inherit
;
}
}
.el-table__fixed-right
.el-table__fixed-body-wrapper
{
tr
td
:first-child
{
border-left
:
inherit
;
}
}
}
//
.el-table {
//
background-color: transparent;
//
&::before {
//
content: none;
//
}
//
.el-table__header-wrapper th,
//
.el-table__fixed-header-wrapper th,
//
.el-table__header-wrapper tr {
//
background-color: transparent !important;
//
height: 40px;
//
}
//
.el-table__body-wrapper,
//
.el-table__fixed-body-wrapper {
//
tr {
//
box-shadow: 0px 0px 5px 0px rgba(195, 195, 195, 0.35);
//
height: 50px;
//
}
//
}
//
// th.is-leaf,
//
// td {
//
// border-bottom: 0;
//
// }
//
tr td {
//
&:first-child {
//
border-radius: 4px 0 0 4px;
//
border-left: 1px solid #ddd;
//
}
//
&:last-child {
//
border-radius: 0 4px 4px 0;
//
border-right: 1px solid #ddd;
//
}
//
}
//
.el-table__body {
//
border-spacing: 0 10px;
//
}
//
.el-table__fixed,
//
.el-table__fixed-right {
//
&::before {
//
content: none;
//
}
//
}
//
.el-table__fixed .el-table__fixed-body-wrapper {
//
tr td:last-child {
//
border-right: inherit;
//
}
//
}
//
.el-table__fixed-right .el-table__fixed-body-wrapper {
//
tr td:first-child {
//
border-left: inherit;
//
}
//
}
//
}
}
.el-form-item
{
...
...
@@ -378,4 +378,66 @@
transform
:
translateX
(
-50%
);
background
:
var
(
--
color
);
}
// 表格
.el-table
{
background-color
:
transparent
;
&
:
:
before
{
content
:
none
;
}
.el-table__header-wrapper
th
,
.el-table__fixed-header-wrapper
th
,
.el-table__header-wrapper
tr
{
background-color
:
#f5f7fa
;
height
:
40px
;
color
:
var
(
--
font-black
);
border-radius
:
var
(
--
border-radius-small
);
}
.el-table__body-wrapper
,
.el-table__fixed-body-wrapper
{
tr
{
// box-shadow: 0px 0px 5px 0px rgba(195, 195, 195, 0.35);
height
:
50px
;
}
}
.el-table__body
{
border-collapse
:
collapse
;
}
// th.is-leaf,
// td {
// border-bottom: 0;
// }
&
.el-table--small
.el-table__row
.el-table__cell
{
border-bottom
:
1px
solid
#dfe6ec
;
border-top
:
1px
solid
#dfe6ec
;
padding
:
15px
0
;
}
th
.el-table__cell.is-leaf
{
border-bottom
:
0
;
}
tr
:hover
td
{
&
:first-child
{
border-radius
:
var
(
--
border-radius-big
)
0
0
var
(
--
border-radius-big
);
}
&
:last-child
{
border-radius
:
0
var
(
--
border-radius-big
)
var
(
--
border-radius-big
)
0
;
}
}
.el-table__fixed
,
.el-table__fixed-right
{
&
:
:
before
{
content
:
none
;
}
}
.el-table__fixed
.el-table__fixed-body-wrapper
{
tr
td
:last-child
{
border-right
:
inherit
;
}
}
.el-table__fixed-right
.el-table__fixed-body-wrapper
{
tr
td
:first-child
{
border-left
:
inherit
;
}
}
}
}
linkwe-pc/src/styles/index.scss
View file @
70890e6
...
...
@@ -383,7 +383,7 @@ aside {
height
:
60px
;
font-size
:
18px
;
font-weight
:
500
;
color
:
#333
;
color
:
var
(
--
font-black
)
;
padding
:
0
20px
;
background
:
#fff
;
border-radius
:
var
(
--
border-radius-big
)
var
(
--
border-radius-big
)
0
0
;
...
...
@@ -398,25 +398,44 @@ aside {
margin-top
:
0
;
}
}
// 二级
分类
标题
// 二级标题
&
title-sub
{
@extend
.g-title
;
font-size
:
16px
;
&
+
.g-card
{
border-radius
:
0
0
var
(
--
border-radius-big
)
var
(
--
border-radius-big
);
margin-top
:
var
(
--
card-margin
);
&
:first-child
{
margin-top
:
0
;
}
// & + .g-card {
// border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
// margin-top: 0;
// padding-top: 0;
// }
}
// 卡片样式
&
card
{
margin-top
:
16px
;
margin-top
:
var
(
--
card-margin
)
;
border-radius
:
var
(
--
border-radius-big
);
background
:
#fff
;
overflow
:
auto
;
padding
:
20px
;
&
:first-child
{
margin-top
:
0
;
}
// 卡片标题
.g-card-title
{
padding-bottom
:
20px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
var
(
--
font-black
);
.desc
{
font-weight
:
400
;
margin-left
:
5px
;
font-size
:
12px
;
color
:
#86909c
;
}
}
}
// 蓝色卡片组样式
...
...
linkwe-pc/src/styles/variables.scss
View file @
70890e6
// css var
:root
{
--color
:
#07c160
;
--color-lighter
:
#90de45
;
html
{
--color
:
#07c160
;
// 主题色
--color-lighter
:
#90de45
;
// 浅主题色
--color-success
:
#07c160
;
--color-warning
:
#faad14
;
--color-danger
:
#eb5e12
;
--border-radius
:
8px
;
--border-radius-small
:
4px
;
--border-radius-big
:
16px
;
--top-nav-heght
:
64px
;
--border-radius
:
8px
;
// 圆角
--border-radius-small
:
4px
;
// 小圆角
--border-radius-big
:
16px
;
// 大圆角
--card-margin
:
16px
;
// 卡片间距
--top-nav-heght
:
64px
;
// 顶部导航条高度
--font-black
:
#1d2129
;
// 通用字体黑色
}
// base color
$light-blue
:
#90de45
;
...
...
linkwe-pc/src/views/index/index.vue
View file @
70890e6
This diff is collapsed.
Click to expand it.
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