Commit e98ff3c3 by ext.wangyuman1

Merge branch 'vue3-master' of https://e.coding.net/linkwechat/linkwechat-front/l…

…inkwechat into bs-dev-wangyuman
2 parents ab0000b4 2ebca81b
Showing 67 changed files with 195 additions and 148 deletions
...@@ -24,18 +24,7 @@ ...@@ -24,18 +24,7 @@
--color-light-8: hsl(var(--h), var(--s), calc(var(--step) * 8 + var(--l))); /* hsl(149, 93%, 88%) */ --color-light-8: hsl(var(--h), var(--s), calc(var(--step) * 8 + var(--l))); /* hsl(149, 93%, 88%) */
--color-light-9: hsl(var(--h), var(--s), calc(var(--step) * 9 + var(--l))); /* hsl(149, 93%, 94%) */ --color-light-9: hsl(var(--h), var(--s), calc(var(--step) * 9 + var(--l))); /* hsl(149, 93%, 94%) */
--color-light-10: hsl(var(--h), var(--s), calc(var(--step) * 9.5 + var(--l))); /* :hsl(149, 93%, 97%) */ --color-light-10: hsl(var(--h), var(--s), calc(var(--step) * 9.5 + var(--l))); /* :hsl(149, 93%, 97%) */
/* --test: hsl(149, 93%, 51%); */ --test: hsl(149, 93%, 88%);
/* ------ 功能色 ------ */
--color-success: #07c160;
--color-warning: #faad14;
--color-danger: #eb5e12;
--border-radius: 8px; /* 常规圆角 */
--border-radius-small: 4px; /* 小圆角 */
--border-radius-big: 16px; /* 大圆角 */
--card-margin: 16px; /* 卡片间距 */
--top-nav-heght: 64px; /* 顶部导航条高度 */
/* ------ 通用字体白色 ------ */ /* ------ 通用字体白色 ------ */
--font-white: #fff; --font-white: #fff;
...@@ -87,25 +76,48 @@ ...@@ -87,25 +76,48 @@
--bg-black-11: hsl(0, 0%, 97%); /* #f7f7f7 #f8f8f8 #f5f8fe #f5f7fb #fafafa #edf2f9*/ --bg-black-11: hsl(0, 0%, 97%); /* #f7f7f7 #f8f8f8 #f5f8fe #f5f7fb #fafafa #edf2f9*/
color: var(--font-black); color: var(--font-black);
/* ------ 功能色 ------ */
--color-success: #07c160;
--color-warning: #faad14;
--color-danger: #eb5e12;
/* ------ 距离大小 ------ */
--border-radius: 8px; /* 常规圆角 */
--border-radius-small: 4px; /* 小圆角 */
--border-radius-big: 16px; /* 大圆角 */
--card-margin: 16px; /* 卡片间距 */
--top-nav-heght: 64px; /* 顶部导航条高度 */
} }
/* 暗黑模式 */ /* 暗黑模式 */
.dark { html.dark {
--font-white: #f2f2f2; --font-white: #f2f2f2;
--font-black: var(--font-white); --font-black: var(--font-white);
--font-black-2: var(--font-black-8); --font-black-2: hsl(0, 0%, 80%);
--font-black-3: var(--font-black-7); --font-black-3: hsl(0, 0%, 70%);
--font-black-4: var(--font-black-6); --font-black-4: hsl(0, 0%, 60%);
--border-white: #f2f2f2;
--border-black: var(--border-white);
--border-black-2: hsl(0, 0%, 80%);
--border-black-3: hsl(0, 0%, 70%);
--border-black-4: hsl(0, 0%, 60%);
--border-black-9: hsl(0, 0%, 40%);
--border-black-10: hsl(0, 0%, 30%);
--border-black-11: hsl(0, 0%, 20%);
--bg-white: #141414; --bg-white: #141414;
--bg-black: var(--bg-white);
--bg-black-6: hsl(0, 0%, 70%); --bg-black-6: hsl(0, 0%, 70%);
--bg-black-7: hsl(0, 0%, 60%); --bg-black-7: hsl(0, 0%, 60%);
--bg-black-8: hsl(0, 0%, 50%); --bg-black-8: hsl(0, 0%, 50%);
--bg-black-9: var(--bg-black-4); --bg-black-9: hsl(0, 0%, 40%);
--bg-black-10: var(--bg-black-3); --bg-black-10: hsl(0, 0%, 30%);
--bg-black-11: var(--bg-black-2); --bg-black-11: hsl(0, 0%, 20%);
} }
/* 项目定制原子类 */ /* 项目定制原子类 */
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
max-width: 240px; max-width: 240px;
background: var(--bg-white); background: var(--bg-white);
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
border: 1px solid #edf2f9; border: 1px solid var(--border-black-10);
line-height: 1; line-height: 1;
padding: 22px 20px; padding: 22px 20px;
margin-right: 10px; margin-right: 10px;
......
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
// height: 8px; // height: 8px;
// background: var(--bg-white); // background: var(--bg-white);
// transform: rotate(45deg); // transform: rotate(45deg);
// border: 1px solid #e1edfc; // border: 1px solid var(--color-light-9);
// z-index: 888; // z-index: 888;
// box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1); // box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
// } // }
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
line-height: 14px; line-height: 14px;
border-radius: 12px; border-radius: 12px;
// box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1); // box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
// border: 1px solid #e1edfc; // border: 1px solid var(--color-light-9);
display: inline-block; display: inline-block;
word-break: break-all; word-break: break-all;
} }
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
} }
} }
.card-foot { .card-foot {
border-top: 1px solid #efefef; border-top: 1px solid var(--border-black-10);
text-align: left; text-align: left;
padding: 10px; padding: 10px;
color: var(--font-black); color: var(--font-black);
......
...@@ -932,12 +932,12 @@ export default { ...@@ -932,12 +932,12 @@ export default {
::v-deep .el-button.is-disabled { ::v-deep .el-button.is-disabled {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
::v-deep.el-dropdown [disabled] { ::v-deep.el-dropdown [disabled] {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
.footer { .footer {
display: flex; display: flex;
......
...@@ -489,7 +489,7 @@ export default { ...@@ -489,7 +489,7 @@ export default {
height: 210px; height: 210px;
margin-bottom: 20px; margin-bottom: 20px;
margin-right: 2%; margin-right: 2%;
border: 1px solid #eaeaea; border: 1px solid var(--border-black-9);
.img { .img {
width: 100%; width: 100%;
height: 180px; height: 180px;
......
...@@ -315,7 +315,7 @@ export default { ...@@ -315,7 +315,7 @@ export default {
min-height: 26px; min-height: 26px;
background: var(--bg-white); background: var(--bg-white);
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1); box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border: 1px solid #e1edfc; border: 1px solid var(--color-light-9);
display: inline-block; display: inline-block;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
...@@ -333,7 +333,7 @@ export default { ...@@ -333,7 +333,7 @@ export default {
width: 0; width: 0;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
border-right-color: #fff; border-right-color: var(--border-white);
top: 8px; top: 8px;
z-index: 888; z-index: 888;
} }
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
overflow-y: scroll; overflow-y: scroll;
&-item { &-item {
margin: 10px; margin: 10px;
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid var(--border-black-10);
&-title { &-title {
font-weight: 700; font-weight: 700;
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
text-align: right; text-align: right;
background: var(--bg-white); background: var(--bg-white);
padding: 15px 5px 20px; padding: 15px 5px 20px;
border-top: 1px solid #f8f8f8; border-top: 1px solid var(--border-black-11);
} }
/* .pagination-container.hidden { /* .pagination-container.hidden {
display: none; display: none;
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
.msg { .msg {
min-height: 28px; min-height: 28px;
background: var(--bg-white); background: var(--bg-white);
border: 1px solid #e4e6e9; border: 1px solid var(--border-black-9);
display: inline-block; display: inline-block;
position: relative; position: relative;
text-align: left; text-align: left;
...@@ -115,13 +115,13 @@ export default { ...@@ -115,13 +115,13 @@ export default {
width: 0; width: 0;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
border-right-color: #fff; border-right-color: var(--border-white);
top: 10px; top: 10px;
z-index: 888; z-index: 888;
} }
} }
.avatar { .avatar {
border: 1px solid #fff; border: 1px solid var(--border-white);
background: var(--bg-white); background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
width: 28px; width: 28px;
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
max-width: 375px; max-width: 375px;
min-width: 320px; min-width: 320px;
height: 720px; height: 720px;
border: 12px solid #edf2f9; border: 12px solid var(--border-black-10);
border-radius: 40px; border-radius: 40px;
box-sizing: content-box; box-sizing: content-box;
overflow: hidden; overflow: hidden;
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
margin: 6px auto; margin: 6px auto;
border-radius: 50px; border-radius: 50px;
background: var(--bg-black-7); background: var(--bg-black-7);
// border: 10px solid #bbb; // border: 10px solid var(--border-black-7);
// box-sizing: content-box; // box-sizing: content-box;
// border-width: 13px 62px; // border-width: 13px 62px;
} }
......
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
width: 120px; width: 120px;
height: 120px; height: 120px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #e6ebf5; border: 1px solid var(--border-black-10);
justify-content: center; justify-content: center;
} }
.img-li { .img-li {
......
...@@ -271,14 +271,14 @@ export default { ...@@ -271,14 +271,14 @@ export default {
width: 160px; width: 160px;
height: 160px; height: 160px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #e6ebf5; border: 1px solid var(--border-black-10);
} }
.img-wrap { .img-wrap {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
.el-image, .el-image,
#video { #video {
position: absolute; position: absolute;
......
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
justify-content: space-between; justify-content: space-between;
.posterBody { .posterBody {
width: 30%; width: 30%;
border: 1px solid #000; border: 1px solid var(--border-black);
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
font-size: 14px; font-size: 14px;
line-height: 40px; line-height: 40px;
padding-left: 20px; padding-left: 20px;
border-top: 1px solid #000; border-top: 1px solid var(--border-black);
} }
.materialMask { .materialMask {
position: absolute; position: absolute;
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
// overflow-y: scroll; // overflow-y: scroll;
&-item { &-item {
margin: 10px; margin: 10px;
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid var(--border-black-10);
&-title { &-title {
font-weight: 700; font-weight: 700;
......
...@@ -733,7 +733,7 @@ export default { ...@@ -733,7 +733,7 @@ export default {
justify-content: center; justify-content: center;
color: var(--font-black-6); color: var(--font-black-6);
border-radius: 6px; border-radius: 6px;
border: 1px dashed #d9d9d9; border: 1px dashed var(--border-black-10);
transition: all 0.3s; transition: all 0.3s;
&:hover { &:hover {
border-color: var(--color); border-color: var(--color);
...@@ -744,7 +744,7 @@ export default { ...@@ -744,7 +744,7 @@ export default {
overflow: hidden; overflow: hidden;
} }
.upload-img-single { .upload-img-single {
border: 1px dashed #eee; border: 1px dashed var(--border-black-9);
} }
.upload-img { .upload-img {
display: block; display: block;
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
min-height: 26px; min-height: 26px;
background: var(--bg-white); background: var(--bg-white);
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1); box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border: 1px solid #e1edfc; border: 1px solid var(--color-light-9);
display: inline-block; display: inline-block;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
width: 0; width: 0;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
border-right-color: #fff; border-right-color: var(--border-white);
top: 8px; top: 8px;
z-index: 888; z-index: 888;
} }
......
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
height: 32px; height: 32px;
border-radius: var(--border-radius); border-radius: var(--border-radius);
box-shadow: inset 4px 8px 16px 0px rgba(134, 144, 156, 0.18); box-shadow: inset 4px 8px 16px 0px rgba(134, 144, 156, 0.18);
border: 1px solid #e2e8f0; border: 1px solid var(--border-black-9);
cursor: pointer; cursor: pointer;
.right-icon { .right-icon {
font-size: 20px; font-size: 20px;
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
left: 0; left: 0;
width: 18px; width: 18px;
height: 2px; height: 2px;
background: var(--bg-black-6); background: var(--bg-black-4);
border-radius: 8px; border-radius: 8px;
transition: all 0.3s; transition: all 0.3s;
} }
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<router-link key="collapse" class="sidebar-logo-link" to="/"> <router-link key="collapse" class="sidebar-logo-link" to="/">
<img :src="$store.app.isDark ? lwConfig.LOGO_TEXT_LIGHT : lwConfig.LOGO_TEXT_DARK" class="sidebar-logo" /> <img :src="$store.app.isDark ? lwConfig.LOGO_TEXT_LIGHT : lwConfig.LOGO_TEXT_DARK" class="sidebar-logo" />
</router-link> </router-link>
<hamburger />
<Hamburger />
</div> </div>
</transition> </transition>
</template> </template>
...@@ -47,7 +48,7 @@ export default { ...@@ -47,7 +48,7 @@ export default {
& .sidebar-logo-link { & .sidebar-logo-link {
& .sidebar-logo { & .sidebar-logo {
max-height: 44px; max-height: 44px;
max-width: 160px; max-width: 138px;
vertical-align: middle; vertical-align: middle;
margin: 0 12px 0 10px; margin: 0 12px 0 10px;
} }
......
...@@ -88,6 +88,16 @@ ...@@ -88,6 +88,16 @@
<el-dropdown-item @click="logout"> <el-dropdown-item @click="logout">
<span>退出登录</span> <span>退出登录</span>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click="$store.app.isDark = !$store.app.isDark">
<template v-if="$store.app.isDark">
<el-icon-Moon class="el-icon-Moon right-icon mr5" />
深色
</template>
<template v-else>
<el-icon-Sunny class="el-icon-Sunny right-icon mr5" />
浅色
</template>
</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</template> </template>
</el-dropdown> </el-dropdown>
...@@ -196,7 +206,7 @@ export default { ...@@ -196,7 +206,7 @@ export default {
} }
} }
.right-icon { .right-icon {
font-size: 22px; font-size: 20px;
} }
// //
.navbar { .navbar {
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
} }
.breadcrumb-wrap { .breadcrumb-wrap {
background: var(--bg-white); background: var(--bg-white);
border-top: 1px solid #eee; border-top: 1px solid var(--border-black-9);
} }
&.mobile.openSidebar { &.mobile.openSidebar {
...@@ -105,16 +105,19 @@ export default { ...@@ -105,16 +105,19 @@ export default {
.main-wrap { .main-wrap {
height: calc(100vh - var(--top-nav-heght)); height: calc(100vh - var(--top-nav-heght));
background: var(--bg-black-11); background: #edf2f9;
.main { .main {
height: 100%; height: 100%;
// padding: 10px; // padding: 10px;
display: flex; display: flex;
align-items: stretch; align-items: stretch;
} }
.breadcrumb-wrap {
} }
}
.dark {
.main-wrap {
background: var(--bg-black-11);
} }
} }
</style> </style>
...@@ -261,11 +261,11 @@ ...@@ -261,11 +261,11 @@
// 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 var(--border-black-8);
// } // }
// &: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 var(--border-black-8);
// } // }
// } // }
// .el-table__body { // .el-table__body {
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
.el-radio__input.is-disabled { .el-radio__input.is-disabled {
.el-radio__inner { .el-radio__inner {
background: var(--bg-white); background: var(--bg-white);
border-color: #dcdfe6; border-color: var(--border-black-9);
cursor: default; cursor: default;
} }
+ span.el-radio__label { + span.el-radio__label {
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
background-color: transparent; background-color: transparent;
border-radius: 4px; border-radius: 4px;
height: 30px; height: 30px;
border: 1px solid #d4d6d9; border: 1px solid var(--border-black-9);
} }
.el-pagination.is-background .el-pager li:not(.disabled).active { .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: transparent; background-color: transparent;
...@@ -541,7 +541,7 @@ ...@@ -541,7 +541,7 @@
// .top-search + .el-table { // .top-search + .el-table {
// @extend .--card; // @extend .--card;
// box-sizing: content-box; // box-sizing: content-box;
// border: 20px solid #fff; border-radius: 20px; background: var(--bg-white) // border: 20px solid var(--border-white); border-radius: 20px; background: var(--bg-white)
// } // }
.el-table { .el-table {
--el-table-header-bg-color: var(--bg-black-11); --el-table-header-bg-color: var(--bg-black-11);
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
/*浅色模式*/ /*浅色模式*/
/*-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); /*-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
background: rgb(245, 245, 245); background: rgb(245, 245, 245);
border: 1px solid #333; border: 1px solid var(--border-black-2);
border-bottom-width: 2px;*/ border-bottom-width: 2px;*/
} }
...@@ -93,7 +93,7 @@ div:focus { ...@@ -93,7 +93,7 @@ div:focus {
width: 240px; width: 240px;
display: flex; display: flex;
border-radius: 4px; border-radius: 4px;
border: 1px solid #dcdfe6; border: 1px solid var(--border-black-9);
align-items: center; align-items: center;
padding: 0 15px; padding: 0 15px;
overflow: hidden; overflow: hidden;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
html.dark { html.dark {
--el-color-primary: var(--color); --el-color-primary: var(--color);
--el-color-primary-light-3: var(--color-light-1); --el-color-primary-light-3: var(--color-light-1);
--el-color-primary-light-5: var(--color-light-5); --el-color-primary-light-5: var(--color-light-3);
--el-color-primary-light-7: var(--color-light-7); --el-color-primary-light-7: var(--color-light-7);
--el-color-primary-light-8: var(--color-light-8); --el-color-primary-light-8: var(--color-light-8);
--el-color-primary-light-9: var(--color-light-9); --el-color-primary-light-9: var(--color-light-9);
...@@ -30,7 +30,7 @@ html.dark { ...@@ -30,7 +30,7 @@ html.dark {
--el-border-color-extra-light: #e6f8ef; --el-border-color-extra-light: #e6f8ef;
--el-border-color-light: #dfe4ed; --el-border-color-light: #dfe4ed;
--el-border-color-lighter: #e6ebf5; --el-border-color-lighter: var(--border-black-9);
--el-table-border: 1px solid #dfe6ec; --el-table-border: 1px solid #dfe6ec;
} }
...@@ -808,12 +808,12 @@ export default { ...@@ -808,12 +808,12 @@ export default {
::v-deep .el-button.is-disabled { ::v-deep .el-button.is-disabled {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
::v-deep.el-dropdown [disabled] { ::v-deep.el-dropdown [disabled] {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
.footer { .footer {
display: flex; display: flex;
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
.list-li { .list-li {
height: 230px; height: 230px;
line-height: 1.15; line-height: 1.15;
border: 1px solid #eaeaea; border: 1px solid var(--border-black-9);
border-radius: var(--border-radius); border-radius: var(--border-radius);
overflow: hidden; overflow: hidden;
.img { .img {
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 14px; font-size: 14px;
border-top: 1px solid #eaeaea; border-top: 1px solid var(--border-black-9);
} }
.content { .content {
width: 95%; width: 95%;
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
// position: relative; // position: relative;
// height: 0; // height: 0;
// padding: 70% 0 0 0; // padding: 70% 0 0 0;
// border-bottom: 1px solid #e6ebf5; // border-bottom: 1px solid var(--border-black-9);
// &:hover .actions { // &:hover .actions {
// opacity: 1; // opacity: 1;
// } // }
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-tooltip> </el-tooltip>
<el-tooltip placement="top" :disabled="objRow.digest ? objRow.digest.length < contentNum : true"> <el-tooltip placement="top" :disabled="objRow.digest ? objRow.digest.length < contentNum : true">
<template #content><p style="white-space: pre-line" v-html="objRow.digest"></p></template> <template #content><p style="white-space: pre-line" v-html="objRow.digest"></p></template>
<p style="color: #aaaaaa; text-align: left"> <p style="color: var(--font-black-7); text-align: left">
{{ coverContent(objRow.digest, contentNum) }} {{ coverContent(objRow.digest, contentNum) }}
</p> </p>
</el-tooltip> </el-tooltip>
......
...@@ -999,7 +999,7 @@ export default { ...@@ -999,7 +999,7 @@ export default {
cursor: pointer; cursor: pointer;
width: 120px; width: 120px;
height: 120px; height: 120px;
border: 1px dashed #aaa; border: 1px dashed var(--border-black-7);
line-height: 120px; line-height: 120px;
text-align: center; text-align: center;
margin-right: 20px; margin-right: 20px;
...@@ -1028,7 +1028,7 @@ export default { ...@@ -1028,7 +1028,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
...@@ -1123,7 +1123,7 @@ export default { ...@@ -1123,7 +1123,7 @@ export default {
.btn-text-style { .btn-text-style {
padding: 5px; padding: 5px;
margin: 3px 1px; margin: 3px 1px;
border: 1px dashed #bfbebe; border: 1px dashed var(--border-black-7);
outline: 0; outline: 0;
background-color: var(--bg-black-9); background-color: var(--bg-black-9);
cursor: pointer; cursor: pointer;
......
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
></el-image> ></el-image>
<div class="ml10"> <div class="ml10">
<p style="text-align: left">{{ row.materialName }}</p> <p style="text-align: left">{{ row.materialName }}</p>
<span style="color: #aaaaaa"> <span style="color: var(--font-black-7)">
{{ coverContent(row.digest) }} {{ coverContent(row.digest) }}
</span> </span>
</div> </div>
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
></el-image> ></el-image>
<div class="ml10"> <div class="ml10">
<p style="text-align: left">{{ row.materialName }}</p> <p style="text-align: left">{{ row.materialName }}</p>
<span style="color: #aaaaaa"> <span style="color: var(--font-black-7)">
{{ coverContent(row.digest) }} {{ coverContent(row.digest) }}
</span> </span>
</div> </div>
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
position: relative; position: relative;
height: 0; height: 0;
padding: 70% 0 0 0; padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5; border-bottom: 1px solid var(--border-black-9);
&:hover .actions { &:hover .actions {
opacity: 1; opacity: 1;
} }
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
vertical-align: top; vertical-align: top;
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3); box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;
border: 1px solid #fff; border: 1px solid var(--border-white);
background: var(--bg-white); background: var(--bg-white);
} }
.shabowbox { .shabowbox {
......
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
margin-top: 10px; margin-top: 10px;
background: var(--bg-white); background: var(--bg-white);
overflow-y: scroll; overflow-y: scroll;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
color: var(--font-black-6); color: var(--font-black-6);
text-align: center; text-align: center;
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
ul li { ul li {
padding: 3px 10px; padding: 3px 10px;
overflow: hidden; overflow: hidden;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
cursor: pointer; cursor: pointer;
p { p {
white-space: nowrap; white-space: nowrap;
......
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
.list { .list {
padding: 10px; padding: 10px;
overflow: hidden; overflow: hidden;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
cursor: pointer; cursor: pointer;
text-align: left; text-align: left;
.name { .name {
......
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
padding: 10px; padding: 10px;
text-align: left; text-align: left;
cursor: pointer; cursor: pointer;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
&:hover { &:hover {
background: var(--bg-black-10); background: var(--bg-black-10);
......
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
padding: 10px; padding: 10px;
text-align: left; text-align: left;
cursor: pointer; cursor: pointer;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
&:hover { &:hover {
background: var(--bg-black-10); background: var(--bg-black-10);
......
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
vertical-align: top; vertical-align: top;
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3); box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;
border: 1px solid #fff; border: 1px solid var(--border-white);
background: var(--bg-white); background: var(--bg-white);
} }
.shabowbox { .shabowbox {
......
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
margin-top: 10px; margin-top: 10px;
background: var(--bg-white); background: var(--bg-white);
overflow-y: scroll; overflow-y: scroll;
border-bottom: 1px solid #efefef; border-bottom: 1px solid var(--border-black-10);
color: var(--font-black-6); color: var(--font-black-6);
text-align: center; text-align: center;
......
...@@ -129,7 +129,7 @@ export default { ...@@ -129,7 +129,7 @@ export default {
// .timeline-time-wrap { // .timeline-time-wrap {
// } // }
.infinite-list-item { .infinite-list-item {
border-bottom: 1px solid #eee; border-bottom: 1px solid var(--border-black-9);
&:last-child { &:last-child {
border: 0; border: 0;
} }
......
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
overflow: auto; overflow: auto;
} }
.infinite-list-item { .infinite-list-item {
border-bottom: 1px solid #eee; border-bottom: 1px solid var(--border-black-9);
&:last-child { &:last-child {
border: 0; border: 0;
} }
......
...@@ -1612,7 +1612,7 @@ export default { ...@@ -1612,7 +1612,7 @@ export default {
} }
.add_form4_qd { .add_form4_qd {
width: 100%; width: 100%;
border: 1px solid #e6e6e6; border: 1px solid var(--border-black-9);
.add_form4_qd_ul { .add_form4_qd_ul {
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
...@@ -1623,7 +1623,7 @@ export default { ...@@ -1623,7 +1623,7 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100%; height: 100%;
border: 1px solid #e6e6e6; border: 1px solid var(--border-black-9);
} }
.add_form4_qd_li1 { .add_form4_qd_li1 {
width: 160px; width: 160px;
......
...@@ -152,7 +152,7 @@ $selectedColor: #f6f7ff; ...@@ -152,7 +152,7 @@ $selectedColor: #f6f7ff;
position: relative; position: relative;
cursor: move; cursor: move;
&.unfocus-bordered:not(.activeFromItem) > div:first-child { &.unfocus-bordered:not(.activeFromItem) > div:first-child {
border: 1px dashed #ccc; border: 1px dashed var(--border-black-8);
} }
.el-form-item { .el-form-item {
padding: 12px 10px; padding: 12px 10px;
...@@ -162,7 +162,7 @@ $selectedColor: #f6f7ff; ...@@ -162,7 +162,7 @@ $selectedColor: #f6f7ff;
position: relative; position: relative;
cursor: move; cursor: move;
box-sizing: border-box; box-sizing: border-box;
border: 1px dashed #ccc; border: 1px dashed var(--border-black-8);
border-radius: 3px; border-radius: 3px;
padding: 0 2px; padding: 0 2px;
margin-bottom: 15px; margin-bottom: 15px;
......
...@@ -907,7 +907,7 @@ export default { ...@@ -907,7 +907,7 @@ export default {
} }
.select-item { .select-item {
display: flex; display: flex;
border: 1px dashed #fff; border: 1px dashed var(--border-white);
box-sizing: border-box; box-sizing: border-box;
& .close-btn { & .close-btn {
cursor: pointer; cursor: pointer;
......
...@@ -561,23 +561,23 @@ export default { ...@@ -561,23 +561,23 @@ export default {
background: var(--bg-black); background: var(--bg-black);
.el-tabs__header { .el-tabs__header {
margin: 0; margin: 0;
border-bottom-color: #121315; border-bottom-color: var(--border-black-1);
.el-tabs__nav { .el-tabs__nav {
border-color: #121315; border-color: var(--border-black-1);
} }
} }
.el-tabs__item { .el-tabs__item {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
color: var(--font-black-5); color: var(--font-black-5);
border-left: 1px solid #121315 !important; border-left: 1px solid var(--border-black-1) !important;
background: var(--bg-black-2); background: var(--bg-black-2);
margin-right: 5px; margin-right: 5px;
user-select: none; user-select: none;
} }
.el-tabs__item.is-active { .el-tabs__item.is-active {
background: var(--bg-black-1); background: var(--bg-black-1);
border-bottom-color: #1e1e1e !important; border-bottom-color: var(--border-black-1) !important;
color: var(--font-white, #fff); color: var(--font-white, #fff);
} }
.el-icon-EditPen { .el-icon-EditPen {
...@@ -680,7 +680,7 @@ export default { ...@@ -680,7 +680,7 @@ export default {
line-height: 1.2; line-height: 1.2;
} }
$selectedColor: #f6f7ff; $selectedColor: var(--bg-black-11);
.container { .container {
position: relative; position: relative;
...@@ -725,10 +725,10 @@ $selectedColor: #f6f7ff; ...@@ -725,10 +725,10 @@ $selectedColor: #f6f7ff;
font-size: 15px; font-size: 15px;
} }
&:hover { &:hover {
border: 1px dashed #787be8; border: 1px dashed var(--color);
color: #787be8; color: var(--color);
.svg-icon { .svg-icon {
color: #787be8; color: var(--color);
} }
} }
} }
...@@ -749,8 +749,8 @@ $selectedColor: #f6f7ff; ...@@ -749,8 +749,8 @@ $selectedColor: #f6f7ff;
.center-scrollbar { .center-scrollbar {
height: calc(100% - 42px); height: calc(100% - 42px);
overflow: hidden; overflow: hidden;
border-left: 1px solid #f1e8e8; border-left: 1px solid var(--border-black-9);
border-right: 1px solid #f1e8e8; border-right: 1px solid var(--border-black-9);
box-sizing: border-box; box-sizing: border-box;
} }
.center-board { .center-board {
...@@ -773,7 +773,7 @@ $selectedColor: #f6f7ff; ...@@ -773,7 +773,7 @@ $selectedColor: #f6f7ff;
text-align: right; text-align: right;
padding: 0 15px; padding: 0 15px;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid #f1e8e8; border: 1px solid var(--border-black-9);
border-top: none; border-top: none;
border-left: none; border-left: none;
.delete-btn { .delete-btn {
...@@ -784,7 +784,7 @@ $selectedColor: #f6f7ff; ...@@ -784,7 +784,7 @@ $selectedColor: #f6f7ff;
position: relative; position: relative;
height: 42px; height: 42px;
background: var(--bg-white); background: var(--bg-white);
border-bottom: 1px solid #f1e8e8; border-bottom: 1px solid var(--border-black-9);
box-sizing: border-box; box-sizing: border-box;
} }
.logo { .logo {
...@@ -864,7 +864,7 @@ $selectedColor: #f6f7ff; ...@@ -864,7 +864,7 @@ $selectedColor: #f6f7ff;
position: relative; position: relative;
cursor: move; cursor: move;
&.unfocus-bordered:not(.activeFromItem) > div:first-child { &.unfocus-bordered:not(.activeFromItem) > div:first-child {
border: 1px dashed #ccc; border: 1px dashed var(--border-black-8);
} }
.el-form-item { .el-form-item {
padding: 12px 10px; padding: 12px 10px;
...@@ -874,7 +874,7 @@ $selectedColor: #f6f7ff; ...@@ -874,7 +874,7 @@ $selectedColor: #f6f7ff;
position: relative; position: relative;
cursor: move; cursor: move;
box-sizing: border-box; box-sizing: border-box;
border: 1px dashed #ccc; border: 1px dashed var(--border-black-8);
border-radius: 3px; border-radius: 3px;
padding: 0 2px; padding: 0 2px;
margin-bottom: 15px; margin-bottom: 15px;
...@@ -984,9 +984,9 @@ $selectedColor: #f6f7ff; ...@@ -984,9 +984,9 @@ $selectedColor: #f6f7ff;
flex-shrink: 0; flex-shrink: 0;
width: 70px; width: 70px;
height: 30px; height: 30px;
border: 1px solid #d7d7d7; border: 1px solid var(--border-black-8);
border-top: 0px solid #d7d7d7; border-top: 0px solid var(--border-black-8);
border-left: 0px solid #d7d7d7; border-left: 0px solid var(--border-black-8);
cursor: pointer; cursor: pointer;
} }
.smartForms_build_index_li { .smartForms_build_index_li {
...@@ -997,9 +997,9 @@ $selectedColor: #f6f7ff; ...@@ -997,9 +997,9 @@ $selectedColor: #f6f7ff;
align-items: center; align-items: center;
width: 70px; width: 70px;
height: 30px; height: 30px;
border: 1px solid #d7d7d7; border: 1px solid var(--border-black-8);
border-top: 0px solid #d7d7d7; border-top: 0px solid var(--border-black-8);
border-left: 0px solid #d7d7d7; border-left: 0px solid var(--border-black-8);
cursor: pointer; cursor: pointer;
} }
.smartForms_build_index_li:hover { .smartForms_build_index_li:hover {
...@@ -1009,7 +1009,7 @@ $selectedColor: #f6f7ff; ...@@ -1009,7 +1009,7 @@ $selectedColor: #f6f7ff;
background-color: var(--bg-black-11); background-color: var(--bg-black-11);
} }
.smartForms_build_index_li:nth-of-type(1) { .smartForms_build_index_li:nth-of-type(1) {
border-left: 1px solid #d7d7d7; border-left: 1px solid var(--border-black-8);
} }
.smartForms_build_index_liBtn { .smartForms_build_index_liBtn {
background: var(--bg-white); background: var(--bg-white);
......
...@@ -455,7 +455,7 @@ export default { ...@@ -455,7 +455,7 @@ export default {
.content { .content {
margin-top: 20px; margin-top: 20px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #f1f1f1; border: 1px solid var(--border-black-10);
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
} }
......
...@@ -441,7 +441,7 @@ export default { ...@@ -441,7 +441,7 @@ export default {
} }
.avatar-wrap { .avatar-wrap {
height: 200px; height: 200px;
border: 1px solid #eee; border: 1px solid var(--border-black-9);
border-radius: 5px; border-radius: 5px;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
......
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
padding: 20px; padding: 20px;
} }
.left { .left {
border-right: 1px solid #f1f1f1; border-right: 1px solid var(--border-black-10);
.title { .title {
color: var(--color); color: var(--color);
display: flex; display: flex;
......
...@@ -615,7 +615,7 @@ export default { ...@@ -615,7 +615,7 @@ export default {
.content-border { .content-border {
padding: 10px 20px; padding: 10px 20px;
background: var(--bg-white); background: var(--bg-white);
border: 1px solid #f1f1f1; border: 1px solid var(--border-black-10);
.item-name { .item-name {
width: 100px; width: 100px;
} }
...@@ -683,7 +683,7 @@ export default { ...@@ -683,7 +683,7 @@ export default {
width: 240px; width: 240px;
display: inline-flex; display: inline-flex;
border-radius: 4px; border-radius: 4px;
border: 1px solid #dcdfe6; border: 1px solid var(--border-black-9);
align-items: center; align-items: center;
padding: 0 15px; padding: 0 15px;
overflow: hidden; overflow: hidden;
......
...@@ -236,7 +236,7 @@ svg.svg-icon { ...@@ -236,7 +236,7 @@ svg.svg-icon {
} }
.tab { .tab {
background: var(--bg-white); background: var(--bg-white);
border-top: 1px solid #f1f1f1; border-top: 1px solid var(--border-black-10);
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
// margin-top: 10px; // margin-top: 10px;
......
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="218" height="198" viewBox="0 0 218 198"><defs><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg0_1_0523"><stop offset="49.817198514938354%" stop-color="#FFFFFF" stop-opacity="1"/><stop offset="100%" stop-color="#FFFFFF" stop-opacity="0.20000000298023224"/></linearGradient></defs><g style="mix-blend-mode:passthrough"><path d="M178.763,38L202,38C210.837,38,218,45.1634,218,54L218,182C218,190.837,210.837,198,202,198L16,198C7.16344,198,0,190.837,0,182L0,54C0,45.1634,7.16344,38,16,38L39.2366,38C49.636,38,58.4828,30.8652,64.6375,22.4827C74.6473,8.84961,90.7902,0,109,0C127.21,0,143.353,8.84961,153.363,22.4827C159.517,30.8652,168.364,38,178.763,38" fill-rule="evenodd" fill="url(#master_svg0_1_0523)" fill-opacity="1"/></g></svg>
\ No newline at end of file \ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="218"
height="198" viewBox="0 0 218 198">
<defs>
<linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg0_1_0523">
<stop offset="49.817198514938354%" stop-color="currentColor" stop-opacity="1" />
<stop offset="100%" stop-color="currentColor" stop-opacity="0.20000000298023224" />
</linearGradient>
</defs>
<g style="mix-blend-mode:passthrough">
<path
d="M178.763,38L202,38C210.837,38,218,45.1634,218,54L218,182C218,190.837,210.837,198,202,198L16,198C7.16344,198,0,190.837,0,182L0,54C0,45.1634,7.16344,38,16,38L39.2366,38C49.636,38,58.4828,30.8652,64.6375,22.4827C74.6473,8.84961,90.7902,0,109,0C127.21,0,143.353,8.84961,153.363,22.4827C159.517,30.8652,168.364,38,178.763,38"
fill-rule="evenodd" fill="url(#master_svg0_1_0523)" fill-opacity="1" />
</g>
</svg>
\ No newline at end of file \ No newline at end of file
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
padding: 20px 16px; padding: 20px 16px;
margin-top: 12px; margin-top: 12px;
.dynamics-item { .dynamics-item {
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid var(--border-black-10);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding-bottom: 9px; padding-bottom: 9px;
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<div class="index-l"> <div class="index-l">
<div class="flex"> <div class="flex">
<div class="userinfo"> <div class="userinfo">
<div v-html="bgSvg" class="bgSvg"></div>
<div class="portrait"> <div class="portrait">
<img class="portrait-img" :src="$store.user.avatar" alt="" v-if="$store.user.avatar" /> <img class="portrait-img" :src="$store.user.avatar" alt="" v-if="$store.user.avatar" />
<!-- <svg-icon icon="user" class="code-user" v-else></svg-icon> --> <!-- <svg-icon icon="user" class="code-user" v-else></svg-icon> -->
</div> </div>
<div class="wel toe"> <div class="wel toe">
<span>{{ greetings }},</span> <span>{{ greetings }},{{ $store.user.name }}</span>
<span>{{ $store.user.name }}</span>
</div> </div>
<div class="role toe g-bg-lg">{{ roleGroup || '管理员' }}</div> <div class="role toe g-bg-lg">{{ roleGroup || '管理员' }}</div>
</div> </div>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<span>帮助中心</span> <span>帮助中心</span>
<a <a
class="title-right-icon" class="title-right-icon"
style="color: #fff !important; background: #000" style="color: var(--font-white) !important; background: var(--bg-black)"
href="https://www.yuque.com/linkwechat/help" href="https://www.yuque.com/linkwechat/help"
target="_blank"> target="_blank">
➔ ➔
...@@ -171,6 +171,7 @@ import { getUserProfile } from '@/api/system/user' ...@@ -171,6 +171,7 @@ import { getUserProfile } from '@/api/system/user'
import * as api from '@/api/index' import * as api from '@/api/index'
// import { getCustomerServiceQrUrl } from '@/api/login' // import { getCustomerServiceQrUrl } from '@/api/login'
import { CountTo } from 'vue3-count-to' import { CountTo } from 'vue3-count-to'
import bgSvg from './asstes/bg.svg?raw'
export default { export default {
name: 'Index', name: 'Index',
components: { components: {
...@@ -181,6 +182,7 @@ export default { ...@@ -181,6 +182,7 @@ export default {
data() { data() {
return { return {
api, api,
bgSvg,
table: { table: {
currentEdition: '-', // 当前版本 currentEdition: '-', // 当前版本
userNumbers: 0, // 使用人数 userNumbers: 0, // 使用人数
...@@ -417,11 +419,15 @@ export default { ...@@ -417,11 +419,15 @@ export default {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: 218px; width: 218px;
background: url('./asstes/bg.svg') no-repeat;
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
padding: 0px 20px 20px; padding: 0px 20px 20px;
margin-top: -38px; margin-top: -38px;
.bgSvg {
color: var(--bg-white);
position: absolute;
}
.portrait { .portrait {
position: relative;
padding: 10px; padding: 10px;
.portrait-img { .portrait-img {
display: block; display: block;
...@@ -429,15 +435,17 @@ export default { ...@@ -429,15 +435,17 @@ export default {
width: 90px; width: 90px;
height: 90px; height: 90px;
border-radius: 50%; border-radius: 50%;
border: 1px solid #fafafa; border: 1px solid var(--border-black-11);
} }
} }
.wel { .wel {
position: relative;
font-size: 22px; font-size: 22px;
font-weight: bold; font-weight: bold;
margin: 2px 0 16px; margin: 2px 0 16px;
} }
.role { .role {
position: relative;
color: white; color: white;
padding: 6px 8px; padding: 6px 8px;
font-size: 12px; font-size: 12px;
...@@ -454,7 +462,7 @@ export default { ...@@ -454,7 +462,7 @@ export default {
margin: 30px -20px 0; margin: 30px -20px 0;
} }
.data-view-item { .data-view-item {
border-left: 1px solid #e2e8f0; border-left: 1px solid var(--bg-black-9);
&:first-child { &:first-child {
border: 0; border: 0;
} }
...@@ -525,7 +533,7 @@ export default { ...@@ -525,7 +533,7 @@ export default {
margin-top: -10px; margin-top: -10px;
padding-top: 0; padding-top: 0;
.dynamics-item { .dynamics-item {
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid var(--border-black-10);
padding: 16px 0; padding: 16px 0;
.info { .info {
...@@ -541,12 +549,12 @@ export default { ...@@ -541,12 +549,12 @@ export default {
margin-right: 8px; margin-right: 8px;
} }
.customer { .customer {
background: var(--color-light-10); background: #ecf5ff;
color: #1869ff; color: #1869ff;
border-color: #1869ff; border-color: #1869ff;
} }
.staff { .staff {
background: var(--color-light-9); background: var(--color-light-10);
color: var(--color); color: var(--color);
border-color: var(--color); border-color: var(--color);
} }
...@@ -590,7 +598,7 @@ export default { ...@@ -590,7 +598,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid var(--border-black-10);
padding: 16px 0; padding: 16px 0;
// font-size: 12px; // font-size: 12px;
&:first-of-type { &:first-of-type {
......
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
<div v-show="currentActive == 2" class="g-card ac"> <div v-show="currentActive == 2" class="g-card ac">
<el-icon-SuccessFilled <el-icon-SuccessFilled
class="el-icon-SuccessFilled" class="el-icon-SuccessFilled"
style="font-size: 36px; color: #06c160; margin: 10px 0 20px"></el-icon-SuccessFilled> style="font-size: 36px; color: var(--color); margin: 10px 0 20px"></el-icon-SuccessFilled>
<div style="">短链创建成功</div> <div style="">短链创建成功</div>
<div class="g-card" style="background: var(--bg-black-9); width: 50%; margin: 30px auto"> <div class="g-card" style="background: var(--bg-black-9); width: 50%; margin: 30px auto">
<span>{{ data.shortUrl }}</span> <span>{{ data.shortUrl }}</span>
......
...@@ -326,7 +326,7 @@ export default { ...@@ -326,7 +326,7 @@ export default {
height: 218px; height: 218px;
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
padding: 20px 20px 10px; padding: 20px 20px 10px;
border: 1px solid #eee; border: 1px solid var(--border-black-9);
background: var(--bg-white); background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
.el-image { .el-image {
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
width: 80px; width: 80px;
height: 80px; height: 80px;
flex: none; flex: none;
border: 1px solid #eee; border: 1px solid var(--border-black-9);
border-radius: 5px; border-radius: 5px;
background: var(--bg-black-9); background: var(--bg-black-9);
} }
...@@ -361,7 +361,7 @@ export default { ...@@ -361,7 +361,7 @@ export default {
// position: relative; // position: relative;
// width: 120px; // width: 120px;
// height: 120px; // height: 120px;
// border: 1px solid #eee; // border: 1px solid var(--border-black-9);
// border-radius: 5px; // border-radius: 5px;
// } // }
// .avatar { // .avatar {
......
...@@ -299,7 +299,7 @@ export default { ...@@ -299,7 +299,7 @@ export default {
.el-radio__input.is-disabled { .el-radio__input.is-disabled {
.el-radio__inner { .el-radio__inner {
background: var(--bg-white); background: var(--bg-white);
border-color: #dcdfe6; border-color: var(--border-black-9);
cursor: default; cursor: default;
} }
+ span.el-radio__label { + span.el-radio__label {
......
...@@ -205,7 +205,7 @@ export default { ...@@ -205,7 +205,7 @@ export default {
.list-item { .list-item {
height: 128px; height: 128px;
padding: 20px 20px 0; padding: 20px 20px 0;
border: 1px solid #eee; border: 1px solid var(--border-black-9);
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
background: var(--bg-white); background: var(--bg-white);
border-radius: 6px; border-radius: 6px;
......
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
background: var(--bg-white); background: var(--bg-white);
box-shadow: 0px 8px 24px 0px rgba(7, 193, 96, 0.16); box-shadow: 0px 8px 24px 0px rgba(7, 193, 96, 0.16);
border-radius: 24px 24px 24px 24px; border-radius: 24px 24px 24px 24px;
border: 1px solid #07c160; border: 1px solid var(--color);
} }
.login-img { .login-img {
padding: 20px; padding: 20px;
......
...@@ -110,8 +110,8 @@ export default { ...@@ -110,8 +110,8 @@ export default {
} }
.list-group-item { .list-group-item {
border-bottom: 1px solid #e7eaec; border-bottom: 1px solid var(--border-black-9);
border-top: 1px solid #e7eaec; border-top: 1px solid var(--border-black-9);
margin-bottom: -1px; margin-bottom: -1px;
padding: 11px 0px; padding: 11px 0px;
font-size: 13px; font-size: 13px;
......
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
.img-lg { .img-lg {
width: 120px; width: 120px;
height: 120px; height: 120px;
border: 1px solid #ddd; border: 1px solid var(--border-black-8);
} }
.avatar-upload-preview { .avatar-upload-preview {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!