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 @@
--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-10: hsl(var(--h), var(--s), calc(var(--step) * 9.5 + var(--l))); /* :hsl(149, 93%, 97%) */
/* --test: hsl(149, 93%, 51%); */
/* ------ 功能色 ------ */
--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; /* 顶部导航条高度 */
--test: hsl(149, 93%, 88%);
/* ------ 通用字体白色 ------ */
--font-white: #fff;
......@@ -87,25 +76,48 @@
--bg-black-11: hsl(0, 0%, 97%); /* #f7f7f7 #f8f8f8 #f5f8fe #f5f7fb #fafafa #edf2f9*/
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-black: var(--font-white);
--font-black-2: var(--font-black-8);
--font-black-3: var(--font-black-7);
--font-black-4: var(--font-black-6);
--font-black-2: hsl(0, 0%, 80%);
--font-black-3: hsl(0, 0%, 70%);
--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-black: var(--bg-white);
--bg-black-6: hsl(0, 0%, 70%);
--bg-black-7: hsl(0, 0%, 60%);
--bg-black-8: hsl(0, 0%, 50%);
--bg-black-9: var(--bg-black-4);
--bg-black-10: var(--bg-black-3);
--bg-black-11: var(--bg-black-2);
--bg-black-9: hsl(0, 0%, 40%);
--bg-black-10: hsl(0, 0%, 30%);
--bg-black-11: hsl(0, 0%, 20%);
}
/* 项目定制原子类 */
......
......@@ -89,7 +89,7 @@ export default {
max-width: 240px;
background: var(--bg-white);
border-radius: var(--border-radius-big);
border: 1px solid #edf2f9;
border: 1px solid var(--border-black-10);
line-height: 1;
padding: 22px 20px;
margin-right: 10px;
......
......@@ -159,7 +159,7 @@ export default {
// height: 8px;
// background: var(--bg-white);
// transform: rotate(45deg);
// border: 1px solid #e1edfc;
// border: 1px solid var(--color-light-9);
// z-index: 888;
// box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
// }
......@@ -170,7 +170,7 @@ export default {
line-height: 14px;
border-radius: 12px;
// 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;
word-break: break-all;
}
......@@ -260,7 +260,7 @@ export default {
}
}
.card-foot {
border-top: 1px solid #efefef;
border-top: 1px solid var(--border-black-10);
text-align: left;
padding: 10px;
color: var(--font-black);
......
......@@ -932,12 +932,12 @@ export default {
::v-deep .el-button.is-disabled {
color: var(--font-white, #fff);
background-color: var(--bg-black-8);
border-color: #cccccc;
border-color: var(--border-black-8);
}
::v-deep.el-dropdown [disabled] {
color: var(--font-white, #fff);
background-color: var(--bg-black-8);
border-color: #cccccc;
border-color: var(--border-black-8);
}
.footer {
display: flex;
......
......@@ -489,7 +489,7 @@ export default {
height: 210px;
margin-bottom: 20px;
margin-right: 2%;
border: 1px solid #eaeaea;
border: 1px solid var(--border-black-9);
.img {
width: 100%;
height: 180px;
......
......@@ -315,7 +315,7 @@ export default {
min-height: 26px;
background: var(--bg-white);
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;
border-radius: 4px;
box-sizing: border-box;
......@@ -333,7 +333,7 @@ export default {
width: 0;
border-style: solid;
border-color: transparent;
border-right-color: #fff;
border-right-color: var(--border-white);
top: 8px;
z-index: 888;
}
......
......@@ -157,7 +157,7 @@ export default {
overflow-y: scroll;
&-item {
margin: 10px;
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid var(--border-black-10);
&-title {
font-weight: 700;
......
......@@ -103,7 +103,7 @@ export default {
text-align: right;
background: var(--bg-white);
padding: 15px 5px 20px;
border-top: 1px solid #f8f8f8;
border-top: 1px solid var(--border-black-11);
}
/* .pagination-container.hidden {
display: none;
......
......@@ -91,7 +91,7 @@ export default {
.msg {
min-height: 28px;
background: var(--bg-white);
border: 1px solid #e4e6e9;
border: 1px solid var(--border-black-9);
display: inline-block;
position: relative;
text-align: left;
......@@ -115,13 +115,13 @@ export default {
width: 0;
border-style: solid;
border-color: transparent;
border-right-color: #fff;
border-right-color: var(--border-white);
top: 10px;
z-index: 888;
}
}
.avatar {
border: 1px solid #fff;
border: 1px solid var(--border-white);
background: var(--bg-white);
border-radius: 6px;
width: 28px;
......
......@@ -50,7 +50,7 @@ export default {
max-width: 375px;
min-width: 320px;
height: 720px;
border: 12px solid #edf2f9;
border: 12px solid var(--border-black-10);
border-radius: 40px;
box-sizing: content-box;
overflow: hidden;
......@@ -71,7 +71,7 @@ export default {
margin: 6px auto;
border-radius: 50px;
background: var(--bg-black-7);
// border: 10px solid #bbb;
// border: 10px solid var(--border-black-7);
// box-sizing: content-box;
// border-width: 13px 62px;
}
......
......@@ -192,7 +192,7 @@ export default {
width: 120px;
height: 120px;
border-radius: 8px;
border: 1px solid #e6ebf5;
border: 1px solid var(--border-black-10);
justify-content: center;
}
.img-li {
......
......@@ -271,14 +271,14 @@ export default {
width: 160px;
height: 160px;
border-radius: 8px;
border: 1px solid #e6ebf5;
border: 1px solid var(--border-black-10);
}
.img-wrap {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
.el-image,
#video {
position: absolute;
......
......@@ -171,7 +171,7 @@ export default {
justify-content: space-between;
.posterBody {
width: 30%;
border: 1px solid #000;
border: 1px solid var(--border-black);
margin-bottom: 10px;
cursor: pointer;
position: relative;
......@@ -184,7 +184,7 @@ export default {
font-size: 14px;
line-height: 40px;
padding-left: 20px;
border-top: 1px solid #000;
border-top: 1px solid var(--border-black);
}
.materialMask {
position: absolute;
......
......@@ -103,7 +103,7 @@ export default {
// overflow-y: scroll;
&-item {
margin: 10px;
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid var(--border-black-10);
&-title {
font-weight: 700;
......
......@@ -733,7 +733,7 @@ export default {
justify-content: center;
color: var(--font-black-6);
border-radius: 6px;
border: 1px dashed #d9d9d9;
border: 1px dashed var(--border-black-10);
transition: all 0.3s;
&:hover {
border-color: var(--color);
......@@ -744,7 +744,7 @@ export default {
overflow: hidden;
}
.upload-img-single {
border: 1px dashed #eee;
border: 1px dashed var(--border-black-9);
}
.upload-img {
display: block;
......
......@@ -176,7 +176,7 @@ export default {
min-height: 26px;
background: var(--bg-white);
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;
border-radius: 4px;
box-sizing: border-box;
......@@ -194,7 +194,7 @@ export default {
width: 0;
border-style: solid;
border-color: transparent;
border-right-color: #fff;
border-right-color: var(--border-white);
top: 8px;
z-index: 888;
}
......
......@@ -269,7 +269,7 @@ export default {
height: 32px;
border-radius: var(--border-radius);
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;
.right-icon {
font-size: 20px;
......
......@@ -47,7 +47,7 @@ export default {
left: 0;
width: 18px;
height: 2px;
background: var(--bg-black-6);
background: var(--bg-black-4);
border-radius: 8px;
transition: all 0.3s;
}
......
......@@ -4,7 +4,8 @@
<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" />
</router-link>
<hamburger />
<Hamburger />
</div>
</transition>
</template>
......@@ -47,7 +48,7 @@ export default {
& .sidebar-logo-link {
& .sidebar-logo {
max-height: 44px;
max-width: 160px;
max-width: 138px;
vertical-align: middle;
margin: 0 12px 0 10px;
}
......
......@@ -88,6 +88,16 @@
<el-dropdown-item @click="logout">
<span>退出登录</span>
</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>
</template>
</el-dropdown>
......@@ -196,7 +206,7 @@ export default {
}
}
.right-icon {
font-size: 22px;
font-size: 20px;
}
//
.navbar {
......
......@@ -91,7 +91,7 @@ export default {
}
.breadcrumb-wrap {
background: var(--bg-white);
border-top: 1px solid #eee;
border-top: 1px solid var(--border-black-9);
}
&.mobile.openSidebar {
......@@ -105,16 +105,19 @@ export default {
.main-wrap {
height: calc(100vh - var(--top-nav-heght));
background: var(--bg-black-11);
background: #edf2f9;
.main {
height: 100%;
// padding: 10px;
display: flex;
align-items: stretch;
}
}
}
.breadcrumb-wrap {
}
.dark {
.main-wrap {
background: var(--bg-black-11);
}
}
</style>
......@@ -261,11 +261,11 @@
// tr td {
// &:first-child {
// border-radius: 4px 0 0 4px;
// border-left: 1px solid #ddd;
// border-left: 1px solid var(--border-black-8);
// }
// &:last-child {
// border-radius: 0 4px 4px 0;
// border-right: 1px solid #ddd;
// border-right: 1px solid var(--border-black-8);
// }
// }
// .el-table__body {
......@@ -345,7 +345,7 @@
.el-radio__input.is-disabled {
.el-radio__inner {
background: var(--bg-white);
border-color: #dcdfe6;
border-color: var(--border-black-9);
cursor: default;
}
+ span.el-radio__label {
......@@ -396,7 +396,7 @@
background-color: transparent;
border-radius: 4px;
height: 30px;
border: 1px solid #d4d6d9;
border: 1px solid var(--border-black-9);
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: transparent;
......@@ -541,7 +541,7 @@
// .top-search + .el-table {
// @extend .--card;
// 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-header-bg-color: var(--bg-black-11);
......
......@@ -22,7 +22,7 @@
/*浅色模式*/
/*-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
background: rgb(245, 245, 245);
border: 1px solid #333;
border: 1px solid var(--border-black-2);
border-bottom-width: 2px;*/
}
......@@ -93,7 +93,7 @@ div:focus {
width: 240px;
display: flex;
border-radius: 4px;
border: 1px solid #dcdfe6;
border: 1px solid var(--border-black-9);
align-items: center;
padding: 0 15px;
overflow: hidden;
......
......@@ -6,7 +6,7 @@
html.dark {
--el-color-primary: var(--color);
--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-8: var(--color-light-8);
--el-color-primary-light-9: var(--color-light-9);
......@@ -30,7 +30,7 @@ html.dark {
--el-border-color-extra-light: #e6f8ef;
--el-border-color-light: #dfe4ed;
--el-border-color-lighter: #e6ebf5;
--el-border-color-lighter: var(--border-black-9);
--el-table-border: 1px solid #dfe6ec;
}
......@@ -808,12 +808,12 @@ export default {
::v-deep .el-button.is-disabled {
color: var(--font-white, #fff);
background-color: var(--bg-black-8);
border-color: #cccccc;
border-color: var(--border-black-8);
}
::v-deep.el-dropdown [disabled] {
color: var(--font-white, #fff);
background-color: var(--bg-black-8);
border-color: #cccccc;
border-color: var(--border-black-8);
}
.footer {
display: flex;
......
......@@ -84,7 +84,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -86,7 +86,7 @@ export default {
.list-li {
height: 230px;
line-height: 1.15;
border: 1px solid #eaeaea;
border: 1px solid var(--border-black-9);
border-radius: var(--border-radius);
overflow: hidden;
.img {
......@@ -134,7 +134,7 @@ export default {
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
border-top: 1px solid #eaeaea;
border-top: 1px solid var(--border-black-9);
}
.content {
width: 95%;
......@@ -160,7 +160,7 @@ export default {
// position: relative;
// height: 0;
// padding: 70% 0 0 0;
// border-bottom: 1px solid #e6ebf5;
// border-bottom: 1px solid var(--border-black-9);
// &:hover .actions {
// opacity: 1;
// }
......
......@@ -73,7 +73,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -20,7 +20,7 @@
</el-tooltip>
<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>
<p style="color: #aaaaaa; text-align: left">
<p style="color: var(--font-black-7); text-align: left">
{{ coverContent(objRow.digest, contentNum) }}
</p>
</el-tooltip>
......
......@@ -999,7 +999,7 @@ export default {
cursor: pointer;
width: 120px;
height: 120px;
border: 1px dashed #aaa;
border: 1px dashed var(--border-black-7);
line-height: 120px;
text-align: center;
margin-right: 20px;
......@@ -1028,7 +1028,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......@@ -1123,7 +1123,7 @@ export default {
.btn-text-style {
padding: 5px;
margin: 3px 1px;
border: 1px dashed #bfbebe;
border: 1px dashed var(--border-black-7);
outline: 0;
background-color: var(--bg-black-9);
cursor: pointer;
......
......@@ -148,7 +148,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -148,7 +148,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -87,7 +87,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -82,7 +82,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -105,7 +105,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -138,7 +138,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -90,7 +90,7 @@ export default {
></el-image>
<div class="ml10">
<p style="text-align: left">{{ row.materialName }}</p>
<span style="color: #aaaaaa">
<span style="color: var(--font-black-7)">
{{ coverContent(row.digest) }}
</span>
</div>
......@@ -274,7 +274,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -46,7 +46,7 @@ export default {
></el-image>
<div class="ml10">
<p style="text-align: left">{{ row.materialName }}</p>
<span style="color: #aaaaaa">
<span style="color: var(--font-black-7)">
{{ coverContent(row.digest) }}
</span>
</div>
......@@ -126,7 +126,7 @@ export default {
position: relative;
height: 0;
padding: 70% 0 0 0;
border-bottom: 1px solid #e6ebf5;
border-bottom: 1px solid var(--border-black-9);
&:hover .actions {
opacity: 1;
}
......
......@@ -49,7 +49,7 @@ export default {
vertical-align: top;
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px;
border: 1px solid #fff;
border: 1px solid var(--border-white);
background: var(--bg-white);
}
.shabowbox {
......
......@@ -213,7 +213,7 @@ export default {
margin-top: 10px;
background: var(--bg-white);
overflow-y: scroll;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
color: var(--font-black-6);
text-align: center;
......
......@@ -102,7 +102,7 @@ export default {
ul li {
padding: 3px 10px;
overflow: hidden;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
cursor: pointer;
p {
white-space: nowrap;
......
......@@ -64,7 +64,7 @@ export default {
.list {
padding: 10px;
overflow: hidden;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
cursor: pointer;
text-align: left;
.name {
......
......@@ -250,7 +250,7 @@ export default {
padding: 10px;
text-align: left;
cursor: pointer;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
&:hover {
background: var(--bg-black-10);
......
......@@ -321,7 +321,7 @@ export default {
padding: 10px;
text-align: left;
cursor: pointer;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
&:hover {
background: var(--bg-black-10);
......
......@@ -60,7 +60,7 @@ export default {
vertical-align: top;
box-shadow: 0px 6px 8px 0px rgba(78, 89, 105, 0.3);
border-radius: 8px 8px 8px 8px;
border: 1px solid #fff;
border: 1px solid var(--border-white);
background: var(--bg-white);
}
.shabowbox {
......
......@@ -209,7 +209,7 @@ export default {
margin-top: 10px;
background: var(--bg-white);
overflow-y: scroll;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid var(--border-black-10);
color: var(--font-black-6);
text-align: center;
......
......@@ -129,7 +129,7 @@ export default {
// .timeline-time-wrap {
// }
.infinite-list-item {
border-bottom: 1px solid #eee;
border-bottom: 1px solid var(--border-black-9);
&:last-child {
border: 0;
}
......
......@@ -212,7 +212,7 @@ export default {
overflow: auto;
}
.infinite-list-item {
border-bottom: 1px solid #eee;
border-bottom: 1px solid var(--border-black-9);
&:last-child {
border: 0;
}
......
......@@ -1612,7 +1612,7 @@ export default {
}
.add_form4_qd {
width: 100%;
border: 1px solid #e6e6e6;
border: 1px solid var(--border-black-9);
.add_form4_qd_ul {
overflow: hidden;
flex-shrink: 0;
......@@ -1623,7 +1623,7 @@ export default {
justify-content: center;
align-items: center;
height: 100%;
border: 1px solid #e6e6e6;
border: 1px solid var(--border-black-9);
}
.add_form4_qd_li1 {
width: 160px;
......
......@@ -152,7 +152,7 @@ $selectedColor: #f6f7ff;
position: relative;
cursor: move;
&.unfocus-bordered:not(.activeFromItem) > div:first-child {
border: 1px dashed #ccc;
border: 1px dashed var(--border-black-8);
}
.el-form-item {
padding: 12px 10px;
......@@ -162,7 +162,7 @@ $selectedColor: #f6f7ff;
position: relative;
cursor: move;
box-sizing: border-box;
border: 1px dashed #ccc;
border: 1px dashed var(--border-black-8);
border-radius: 3px;
padding: 0 2px;
margin-bottom: 15px;
......
......@@ -907,7 +907,7 @@ export default {
}
.select-item {
display: flex;
border: 1px dashed #fff;
border: 1px dashed var(--border-white);
box-sizing: border-box;
& .close-btn {
cursor: pointer;
......
......@@ -561,23 +561,23 @@ export default {
background: var(--bg-black);
.el-tabs__header {
margin: 0;
border-bottom-color: #121315;
border-bottom-color: var(--border-black-1);
.el-tabs__nav {
border-color: #121315;
border-color: var(--border-black-1);
}
}
.el-tabs__item {
height: 32px;
line-height: 32px;
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);
margin-right: 5px;
user-select: none;
}
.el-tabs__item.is-active {
background: var(--bg-black-1);
border-bottom-color: #1e1e1e !important;
border-bottom-color: var(--border-black-1) !important;
color: var(--font-white, #fff);
}
.el-icon-EditPen {
......@@ -680,7 +680,7 @@ export default {
line-height: 1.2;
}
$selectedColor: #f6f7ff;
$selectedColor: var(--bg-black-11);
.container {
position: relative;
......@@ -725,10 +725,10 @@ $selectedColor: #f6f7ff;
font-size: 15px;
}
&:hover {
border: 1px dashed #787be8;
color: #787be8;
border: 1px dashed var(--color);
color: var(--color);
.svg-icon {
color: #787be8;
color: var(--color);
}
}
}
......@@ -749,8 +749,8 @@ $selectedColor: #f6f7ff;
.center-scrollbar {
height: calc(100% - 42px);
overflow: hidden;
border-left: 1px solid #f1e8e8;
border-right: 1px solid #f1e8e8;
border-left: 1px solid var(--border-black-9);
border-right: 1px solid var(--border-black-9);
box-sizing: border-box;
}
.center-board {
......@@ -773,7 +773,7 @@ $selectedColor: #f6f7ff;
text-align: right;
padding: 0 15px;
box-sizing: border-box;
border: 1px solid #f1e8e8;
border: 1px solid var(--border-black-9);
border-top: none;
border-left: none;
.delete-btn {
......@@ -784,7 +784,7 @@ $selectedColor: #f6f7ff;
position: relative;
height: 42px;
background: var(--bg-white);
border-bottom: 1px solid #f1e8e8;
border-bottom: 1px solid var(--border-black-9);
box-sizing: border-box;
}
.logo {
......@@ -864,7 +864,7 @@ $selectedColor: #f6f7ff;
position: relative;
cursor: move;
&.unfocus-bordered:not(.activeFromItem) > div:first-child {
border: 1px dashed #ccc;
border: 1px dashed var(--border-black-8);
}
.el-form-item {
padding: 12px 10px;
......@@ -874,7 +874,7 @@ $selectedColor: #f6f7ff;
position: relative;
cursor: move;
box-sizing: border-box;
border: 1px dashed #ccc;
border: 1px dashed var(--border-black-8);
border-radius: 3px;
padding: 0 2px;
margin-bottom: 15px;
......@@ -984,9 +984,9 @@ $selectedColor: #f6f7ff;
flex-shrink: 0;
width: 70px;
height: 30px;
border: 1px solid #d7d7d7;
border-top: 0px solid #d7d7d7;
border-left: 0px solid #d7d7d7;
border: 1px solid var(--border-black-8);
border-top: 0px solid var(--border-black-8);
border-left: 0px solid var(--border-black-8);
cursor: pointer;
}
.smartForms_build_index_li {
......@@ -997,9 +997,9 @@ $selectedColor: #f6f7ff;
align-items: center;
width: 70px;
height: 30px;
border: 1px solid #d7d7d7;
border-top: 0px solid #d7d7d7;
border-left: 0px solid #d7d7d7;
border: 1px solid var(--border-black-8);
border-top: 0px solid var(--border-black-8);
border-left: 0px solid var(--border-black-8);
cursor: pointer;
}
.smartForms_build_index_li:hover {
......@@ -1009,7 +1009,7 @@ $selectedColor: #f6f7ff;
background-color: var(--bg-black-11);
}
.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 {
background: var(--bg-white);
......
......@@ -455,7 +455,7 @@ export default {
.content {
margin-top: 20px;
border-radius: 4px;
border: 1px solid #f1f1f1;
border: 1px solid var(--border-black-10);
&:first-child {
margin-top: 0;
}
......
......@@ -441,7 +441,7 @@ export default {
}
.avatar-wrap {
height: 200px;
border: 1px solid #eee;
border: 1px solid var(--border-black-9);
border-radius: 5px;
position: relative;
overflow: hidden;
......
......@@ -251,7 +251,7 @@ export default {
padding: 20px;
}
.left {
border-right: 1px solid #f1f1f1;
border-right: 1px solid var(--border-black-10);
.title {
color: var(--color);
display: flex;
......
......@@ -615,7 +615,7 @@ export default {
.content-border {
padding: 10px 20px;
background: var(--bg-white);
border: 1px solid #f1f1f1;
border: 1px solid var(--border-black-10);
.item-name {
width: 100px;
}
......@@ -683,7 +683,7 @@ export default {
width: 240px;
display: inline-flex;
border-radius: 4px;
border: 1px solid #dcdfe6;
border: 1px solid var(--border-black-9);
align-items: center;
padding: 0 15px;
overflow: hidden;
......
......@@ -236,7 +236,7 @@ svg.svg-icon {
}
.tab {
background: var(--bg-white);
border-top: 1px solid #f1f1f1;
border-top: 1px solid var(--border-black-10);
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
// 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
<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
......@@ -116,7 +116,7 @@ export default {
padding: 20px 16px;
margin-top: 12px;
.dynamics-item {
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid var(--border-black-10);
display: flex;
justify-content: space-between;
padding-bottom: 9px;
......
......@@ -3,13 +3,13 @@
<div class="index-l">
<div class="flex">
<div class="userinfo">
<div v-html="bgSvg" class="bgSvg"></div>
<div class="portrait">
<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> -->
</div>
<div class="wel toe">
<span>{{ greetings }},</span>
<span>{{ $store.user.name }}</span>
<span>{{ greetings }},{{ $store.user.name }}</span>
</div>
<div class="role toe g-bg-lg">{{ roleGroup || '管理员' }}</div>
</div>
......@@ -126,7 +126,7 @@
<span>帮助中心</span>
<a
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"
target="_blank">
➔
......@@ -171,6 +171,7 @@ import { getUserProfile } from '@/api/system/user'
import * as api from '@/api/index'
// import { getCustomerServiceQrUrl } from '@/api/login'
import { CountTo } from 'vue3-count-to'
import bgSvg from './asstes/bg.svg?raw'
export default {
name: 'Index',
components: {
......@@ -181,6 +182,7 @@ export default {
data() {
return {
api,
bgSvg,
table: {
currentEdition: '-', // 当前版本
userNumbers: 0, // 使用人数
......@@ -417,11 +419,15 @@ export default {
flex-direction: column;
align-items: center;
width: 218px;
background: url('./asstes/bg.svg') no-repeat;
border-radius: var(--border-radius-big);
padding: 0px 20px 20px;
margin-top: -38px;
.bgSvg {
color: var(--bg-white);
position: absolute;
}
.portrait {
position: relative;
padding: 10px;
.portrait-img {
display: block;
......@@ -429,15 +435,17 @@ export default {
width: 90px;
height: 90px;
border-radius: 50%;
border: 1px solid #fafafa;
border: 1px solid var(--border-black-11);
}
}
.wel {
position: relative;
font-size: 22px;
font-weight: bold;
margin: 2px 0 16px;
}
.role {
position: relative;
color: white;
padding: 6px 8px;
font-size: 12px;
......@@ -454,7 +462,7 @@ export default {
margin: 30px -20px 0;
}
.data-view-item {
border-left: 1px solid #e2e8f0;
border-left: 1px solid var(--bg-black-9);
&:first-child {
border: 0;
}
......@@ -525,7 +533,7 @@ export default {
margin-top: -10px;
padding-top: 0;
.dynamics-item {
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid var(--border-black-10);
padding: 16px 0;
.info {
......@@ -541,12 +549,12 @@ export default {
margin-right: 8px;
}
.customer {
background: var(--color-light-10);
background: #ecf5ff;
color: #1869ff;
border-color: #1869ff;
}
.staff {
background: var(--color-light-9);
background: var(--color-light-10);
color: var(--color);
border-color: var(--color);
}
......@@ -590,7 +598,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid var(--border-black-10);
padding: 16px 0;
// font-size: 12px;
&:first-of-type {
......
......@@ -152,7 +152,7 @@ export default {
<div v-show="currentActive == 2" class="g-card ac">
<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 class="g-card" style="background: var(--bg-black-9); width: 50%; margin: 30px auto">
<span>{{ data.shortUrl }}</span>
......
......@@ -326,7 +326,7 @@ export default {
height: 218px;
margin: 0 20px 20px 0;
padding: 20px 20px 10px;
border: 1px solid #eee;
border: 1px solid var(--border-black-9);
background: var(--bg-white);
border-radius: 6px;
.el-image {
......@@ -334,7 +334,7 @@ export default {
width: 80px;
height: 80px;
flex: none;
border: 1px solid #eee;
border: 1px solid var(--border-black-9);
border-radius: 5px;
background: var(--bg-black-9);
}
......@@ -361,7 +361,7 @@ export default {
// position: relative;
// width: 120px;
// height: 120px;
// border: 1px solid #eee;
// border: 1px solid var(--border-black-9);
// border-radius: 5px;
// }
// .avatar {
......
......@@ -299,7 +299,7 @@ export default {
.el-radio__input.is-disabled {
.el-radio__inner {
background: var(--bg-white);
border-color: #dcdfe6;
border-color: var(--border-black-9);
cursor: default;
}
+ span.el-radio__label {
......
......@@ -205,7 +205,7 @@ export default {
.list-item {
height: 128px;
padding: 20px 20px 0;
border: 1px solid #eee;
border: 1px solid var(--border-black-9);
margin: 0 20px 20px 0;
background: var(--bg-white);
border-radius: 6px;
......
......@@ -251,7 +251,7 @@ export default {
background: var(--bg-white);
box-shadow: 0px 8px 24px 0px rgba(7, 193, 96, 0.16);
border-radius: 24px 24px 24px 24px;
border: 1px solid #07c160;
border: 1px solid var(--color);
}
.login-img {
padding: 20px;
......
......@@ -110,8 +110,8 @@ export default {
}
.list-group-item {
border-bottom: 1px solid #e7eaec;
border-top: 1px solid #e7eaec;
border-bottom: 1px solid var(--border-black-9);
border-top: 1px solid var(--border-black-9);
margin-bottom: -1px;
padding: 11px 0px;
font-size: 13px;
......
......@@ -151,7 +151,7 @@ export default {
.img-lg {
width: 120px;
height: 120px;
border: 1px solid #ddd;
border: 1px solid var(--border-black-8);
}
.avatar-upload-preview {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!