Commit 70890e6b by xinla

Merge branch 'xxj-v4.x-ui-2023.02.14' into develop

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