Commit 557b260c by 张立顺

feat 替换glsk-common和::v-deep

1 parent a14e5c68
This diff could not be displayed because it is too large.
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"@sentry/vue": "^7.7.0", "@sentry/vue": "^7.7.0",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
"glsk-common": "^2.10.4",
"glsx-common": "^2.10.1", "glsx-common": "^2.10.1",
"glsx-common-sdk": "^0.3.0", "glsx-common-sdk": "^0.3.0",
"gltracker": "^0.1.3", "gltracker": "^0.1.3",
......
@charset "UTF-8"; /*! @charset "UTF-8";
/*!
* animate.css - https://animate.style/ * animate.css - https://animate.style/
* Version - 4.1.1 * Version - 4.1.1
* Licensed under the MIT license - http://opensource.org/licenses/MIT * Licensed under the MIT license - http://opensource.org/licenses/MIT
...@@ -10,6 +12,7 @@ ...@@ -10,6 +12,7 @@
--animate-delay: 0.3s; --animate-delay: 0.3s;
--animate-repeat: 1; --animate-repeat: 1;
} }
.animate__animated { .animate__animated {
-webkit-animation-duration: 0.3s; -webkit-animation-duration: 0.3s;
animation-duration: 0.3s; animation-duration: 0.3s;
...@@ -18,89 +21,105 @@ ...@@ -18,89 +21,105 @@
-webkit-animation-fill-mode: both; -webkit-animation-fill-mode: both;
animation-fill-mode: both; animation-fill-mode: both;
} }
.animate__animated.animate__infinite { .animate__animated.animate__infinite {
-webkit-animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite; animation-iteration-count: infinite;
} }
.animate__animated.animate__repeat-1 { .animate__animated.animate__repeat-1 {
-webkit-animation-iteration-count: 1; -webkit-animation-iteration-count: 1;
animation-iteration-count: 1; animation-iteration-count: 1;
-webkit-animation-iteration-count: var(--animate-repeat); -webkit-animation-iteration-count: var(--animate-repeat);
animation-iteration-count: var(--animate-repeat); animation-iteration-count: var(--animate-repeat);
} }
.animate__animated.animate__repeat-2 { .animate__animated.animate__repeat-2 {
-webkit-animation-iteration-count: calc(1 * 2); -webkit-animation-iteration-count: calc(1 * 2);
animation-iteration-count: calc(1 * 2); animation-iteration-count: calc(1 * 2);
-webkit-animation-iteration-count: calc(var(--animate-repeat) * 2); -webkit-animation-iteration-count: calc(var(--animate-repeat) * 2);
animation-iteration-count: calc(var(--animate-repeat) * 2); animation-iteration-count: calc(var(--animate-repeat) * 2);
} }
.animate__animated.animate__repeat-3 { .animate__animated.animate__repeat-3 {
-webkit-animation-iteration-count: calc(1 * 3); -webkit-animation-iteration-count: calc(1 * 3);
animation-iteration-count: calc(1 * 3); animation-iteration-count: calc(1 * 3);
-webkit-animation-iteration-count: calc(var(--animate-repeat) * 3); -webkit-animation-iteration-count: calc(var(--animate-repeat) * 3);
animation-iteration-count: calc(var(--animate-repeat) * 3); animation-iteration-count: calc(var(--animate-repeat) * 3);
} }
.animate__animated.animate__delay-1s { .animate__animated.animate__delay-1s {
-webkit-animation-delay: 0.5s; -webkit-animation-delay: 0.5s;
animation-delay: 0.5s; animation-delay: 0.5s;
-webkit-animation-delay: var(--animate-delay); -webkit-animation-delay: var(--animate-delay);
animation-delay: var(--animate-delay); animation-delay: var(--animate-delay);
} }
.animate__animated.animate__delay-2s { .animate__animated.animate__delay-2s {
-webkit-animation-delay: calc(1s * 2); -webkit-animation-delay: calc(1s * 2);
animation-delay: calc(1s * 2); animation-delay: calc(1s * 2);
-webkit-animation-delay: calc(var(--animate-delay) * 2); -webkit-animation-delay: calc(var(--animate-delay) * 2);
animation-delay: calc(var(--animate-delay) * 2); animation-delay: calc(var(--animate-delay) * 2);
} }
.animate__animated.animate__delay-3s { .animate__animated.animate__delay-3s {
-webkit-animation-delay: calc(1s * 3); -webkit-animation-delay: calc(1s * 3);
animation-delay: calc(1s * 3); animation-delay: calc(1s * 3);
-webkit-animation-delay: calc(var(--animate-delay) * 3); -webkit-animation-delay: calc(var(--animate-delay) * 3);
animation-delay: calc(var(--animate-delay) * 3); animation-delay: calc(var(--animate-delay) * 3);
} }
.animate__animated.animate__delay-4s { .animate__animated.animate__delay-4s {
-webkit-animation-delay: calc(1s * 4); -webkit-animation-delay: calc(1s * 4);
animation-delay: calc(1s * 4); animation-delay: calc(1s * 4);
-webkit-animation-delay: calc(var(--animate-delay) * 4); -webkit-animation-delay: calc(var(--animate-delay) * 4);
animation-delay: calc(var(--animate-delay) * 4); animation-delay: calc(var(--animate-delay) * 4);
} }
.animate__animated.animate__delay-5s { .animate__animated.animate__delay-5s {
-webkit-animation-delay: calc(1s * 5); -webkit-animation-delay: calc(1s * 5);
animation-delay: calc(1s * 5); animation-delay: calc(1s * 5);
-webkit-animation-delay: calc(var(--animate-delay) * 5); -webkit-animation-delay: calc(var(--animate-delay) * 5);
animation-delay: calc(var(--animate-delay) * 5); animation-delay: calc(var(--animate-delay) * 5);
} }
.animate__animated.animate__delay-.5s {
.animate__animated.animate__delay-05s {
-webkit-animation-delay: 0.5s; -webkit-animation-delay: 0.5s;
animation-delay: 0.5s; animation-delay: 0.5s;
-webkit-animation-delay: 0.5s; -webkit-animation-delay: 0.5s;
animation-delay: 0.5s; animation-delay: 0.5s;
} }
.animate__animated.animate__faster { .animate__animated.animate__faster {
-webkit-animation-duration: calc(1s / 2); -webkit-animation-duration: calc(1s / 2);
animation-duration: calc(1s / 2); animation-duration: calc(1s / 2);
-webkit-animation-duration: calc(var(--animate-duration) / 2); -webkit-animation-duration: calc(var(--animate-duration) / 2);
animation-duration: calc(var(--animate-duration) / 2); animation-duration: calc(var(--animate-duration) / 2);
} }
.animate__animated.animate__fast { .animate__animated.animate__fast {
-webkit-animation-duration: calc(1s * 0.8); -webkit-animation-duration: calc(1s * 0.8);
animation-duration: calc(1s * 0.8); animation-duration: calc(1s * 0.8);
-webkit-animation-duration: calc(var(--animate-duration) * 0.8); -webkit-animation-duration: calc(var(--animate-duration) * 0.8);
animation-duration: calc(var(--animate-duration) * 0.8); animation-duration: calc(var(--animate-duration) * 0.8);
} }
.animate__animated.animate__slow { .animate__animated.animate__slow {
-webkit-animation-duration: calc(1s * 2); -webkit-animation-duration: calc(1s * 2);
animation-duration: calc(1s * 2); animation-duration: calc(1s * 2);
-webkit-animation-duration: calc(var(--animate-duration) * 2); -webkit-animation-duration: calc(var(--animate-duration) * 2);
animation-duration: calc(var(--animate-duration) * 2); animation-duration: calc(var(--animate-duration) * 2);
} }
.animate__animated.animate__slower { .animate__animated.animate__slower {
-webkit-animation-duration: calc(1s * 3); -webkit-animation-duration: calc(1s * 3);
animation-duration: calc(1s * 3); animation-duration: calc(1s * 3);
-webkit-animation-duration: calc(var(--animate-duration) * 3); -webkit-animation-duration: calc(var(--animate-duration) * 3);
animation-duration: calc(var(--animate-duration) * 3); animation-duration: calc(var(--animate-duration) * 3);
} }
@media print, (prefers-reduced-motion: reduce) {
@media print,
(prefers-reduced-motion: reduce) {
.animate__animated { .animate__animated {
-webkit-animation-duration: 1ms !important; -webkit-animation-duration: 1ms !important;
animation-duration: 1ms !important; animation-duration: 1ms !important;
...@@ -147,12 +166,14 @@ ...@@ -147,12 +166,14 @@
transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1);
} }
} }
.animate__tada { .animate__tada {
-webkit-animation-name: tada; -webkit-animation-name: tada;
animation-name: tada; animation-name: tada;
} }
@keyframes shakeX { @keyframes shakeX {
from, from,
to { to {
-webkit-transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0);
...@@ -176,6 +197,7 @@ ...@@ -176,6 +197,7 @@
transform: translate3d(10px, 0, 0); transform: translate3d(10px, 0, 0);
} }
} }
.animate__shakeX { .animate__shakeX {
-webkit-animation-name: shakeX; -webkit-animation-name: shakeX;
animation-name: shakeX; animation-name: shakeX;
...@@ -212,6 +234,7 @@ ...@@ -212,6 +234,7 @@
transform: translateX(0); transform: translateX(0);
} }
} }
.animate__headShake { .animate__headShake {
-webkit-animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
...@@ -232,6 +255,7 @@ ...@@ -232,6 +255,7 @@
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
} }
.animate__fadeInDown { .animate__fadeInDown {
-webkit-animation-name: fadeInDown; -webkit-animation-name: fadeInDown;
animation-name: fadeInDown; animation-name: fadeInDown;
...@@ -250,6 +274,7 @@ ...@@ -250,6 +274,7 @@
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
} }
.animate__fadeInUp { .animate__fadeInUp {
-webkit-animation-name: fadeInUp; -webkit-animation-name: fadeInUp;
animation-name: fadeInUp; animation-name: fadeInUp;
...@@ -268,6 +293,7 @@ ...@@ -268,6 +293,7 @@
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
} }
.animate__fadeInRight { .animate__fadeInRight {
-webkit-animation-name: fadeInRight; -webkit-animation-name: fadeInRight;
animation-name: fadeInRight; animation-name: fadeInRight;
...@@ -286,6 +312,7 @@ ...@@ -286,6 +312,7 @@
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
} }
.animate__fadeInRightShort { .animate__fadeInRightShort {
-webkit-animation-name: fadeInRightShort; -webkit-animation-name: fadeInRightShort;
animation-name: fadeInRightShort; animation-name: fadeInRightShort;
...@@ -307,13 +334,16 @@ ...@@ -307,13 +334,16 @@
transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1);
} }
} }
.animate__pulse { .animate__pulse {
-webkit-animation-name: pulse; -webkit-animation-name: pulse;
animation-name: pulse; animation-name: pulse;
-webkit-animation-timing-function: ease-in-out; -webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out; animation-timing-function: ease-in-out;
} }
@keyframes bounceIn { @keyframes bounceIn {
from, from,
20%, 20%,
40%, 40%,
...@@ -357,6 +387,7 @@ ...@@ -357,6 +387,7 @@
transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1);
} }
} }
.animate__bounceIn { .animate__bounceIn {
-webkit-animation-duration: calc(1s * 0.75); -webkit-animation-duration: calc(1s * 0.75);
animation-duration: calc(1s * 0.75); animation-duration: calc(1s * 0.75);
...@@ -373,6 +404,7 @@ ...@@ -373,6 +404,7 @@
-ms-transform: translateY(0); -ms-transform: translateY(0);
transform: translateY(0); transform: translateY(0);
} }
100% { 100% {
opacity: 0; opacity: 0;
-webkit-transform: translateY(20px); -webkit-transform: translateY(20px);
...@@ -380,6 +412,7 @@ ...@@ -380,6 +412,7 @@
transform: translateY(20px); transform: translateY(20px);
} }
} }
.animate__fadeOutDown { .animate__fadeOutDown {
-webkit-animation-name: fadeOutDown; -webkit-animation-name: fadeOutDown;
animation-name: fadeOutDown; animation-name: fadeOutDown;
......
.menu-collapse { .menu-collapse {
.scrm-base-submenu { .scrm-base-submenu {
/deep/.el-submenu { ::v-deep.el-submenu {
&__title { &__title {
margin: 0; margin: 0;
& > span { & > span {
...@@ -28,6 +28,6 @@ ...@@ -28,6 +28,6 @@
max-width: $menu-width-collapse; max-width: $menu-width-collapse;
} }
} }
/deep/.el-menu--collapse { ::v-deep.el-menu--collapse {
width: $menu-width-collapse !important; width: $menu-width-collapse !important;
} }
...@@ -15,18 +15,22 @@ export default { ...@@ -15,18 +15,22 @@ export default {
// flex: 1; // flex: 1;
> .el-scrollbar__wrap { > .el-scrollbar__wrap {
overflow-x: hidden; overflow-x: hidden;
margin-bottom: 0 !important ; margin-bottom: 0 !important;
} }
> .el-scrollbar__bar { > .el-scrollbar__bar {
z-index: 10; z-index: 10;
&.is-vertical { &.is-vertical {
width: 6px; width: 6px;
} }
&.is-horizontal { &.is-horizontal {
height: 6px !important; height: 6px !important;
left: 0 !important; left: 0 !important;
} }
/deep/ .el-scrollbar__thumb {
::v-deep .el-scrollbar__thumb {
background-color: rgba(144, 147, 153, 0.6); background-color: rgba(144, 147, 153, 0.6);
} }
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @FilePath: \scrm-base\src\global\history.js * @FilePath: \scrm-base\src\global\history.js
*/ */
import store from '@/store' import store from '@/store'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
/** /**
* 跨应用路由跳转 * 跨应用路由跳转
* @param {String} href url地址 * @param {String} href url地址
......
...@@ -44,17 +44,20 @@ export default { ...@@ -44,17 +44,20 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
$bread-item-color: #333 !important; $bread-item-color: #333 !important;
/deep/.el-breadcrumb {
::v-deep.el-breadcrumb {
&__item { &__item {
.el-breadcrumb__inner { .el-breadcrumb__inner {
color: $bread-item-color; color: $bread-item-color;
font-weight: 500; font-weight: 500;
cursor: default !important; cursor: default !important;
} }
.el-breadcrumb__separator { .el-breadcrumb__separator {
color: $bread-item-color; color: $bread-item-color;
font-weight: 500 !important; font-weight: 500 !important;
} }
&:last-child { &:last-child {
.el-breadcrumb__inner { .el-breadcrumb__inner {
text-decoration: none !important; text-decoration: none !important;
...@@ -63,6 +66,7 @@ $bread-item-color: #333 !important; ...@@ -63,6 +66,7 @@ $bread-item-color: #333 !important;
cursor: default !important; cursor: default !important;
} }
} }
&.isLink { &.isLink {
.el-breadcrumb__inner { .el-breadcrumb__inner {
&:hover { &:hover {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<script> <script>
import { Breadcrumb, BreadcrumbItem } from 'element-ui' import { Breadcrumb, BreadcrumbItem } from 'element-ui'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
export default { export default {
name: 'GLBreadcrumb3', name: 'GLBreadcrumb3',
components: { components: {
...@@ -51,55 +51,67 @@ export default { ...@@ -51,55 +51,67 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
$bread-item-color: #333 !important; $bread-item-color: #333 !important;
.com-bc3 { .com-bc3 {
display: flex; display: flex;
align-items: center; align-items: center;
.back-wrap { .back-wrap {
font-size: 12px; font-size: 12px;
color: $bread-item-color; color: $bread-item-color;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
align-items: center; align-items: center;
i { i {
margin-right: 4px; margin-right: 4px;
} }
.sprator { .sprator {
margin: 0 8px; margin: 0 8px;
color: #c3c3c3; color: #c3c3c3;
} }
.bt-back-wrap { .bt-back-wrap {
width: 52px; width: 52px;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
background: #f2f2f2; background: #f2f2f2;
border-radius: 10px; border-radius: 10px;
.back-text { .back-text {
font-weight: 400; font-weight: 400;
color: #666; color: #666;
} }
&:hover { &:hover {
background: #e8e8e8; background: #e8e8e8;
.back-text { .back-text {
color: #333; color: #333;
} }
} }
} }
} }
/deep/.el-breadcrumb {
::v-deep.el-breadcrumb {
&__item { &__item {
.el-breadcrumb__inner { .el-breadcrumb__inner {
color: $bread-item-color; color: $bread-item-color;
font-weight: 500 !important; font-weight: 500 !important;
cursor: default !important; cursor: default !important;
a:hover { a:hover {
font-weight: 500 !important; font-weight: 500 !important;
} }
} }
.el-breadcrumb__separator { .el-breadcrumb__separator {
color: $bread-item-color; color: $bread-item-color;
font-weight: 500 !important; font-weight: 500 !important;
margin: 0 6px !important; margin: 0 6px !important;
} }
&:last-child { &:last-child {
.el-breadcrumb__inner { .el-breadcrumb__inner {
text-decoration: none !important; text-decoration: none !important;
...@@ -107,6 +119,7 @@ $bread-item-color: #333 !important; ...@@ -107,6 +119,7 @@ $bread-item-color: #333 !important;
cursor: default !important; cursor: default !important;
} }
} }
&.isLink:not(:last-child) { &.isLink:not(:last-child) {
.el-breadcrumb__inner { .el-breadcrumb__inner {
&:hover { &:hover {
......
...@@ -70,10 +70,12 @@ export default { ...@@ -70,10 +70,12 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
$width: 160px; $width: 160px;
@mixin popup_width { @mixin popup_width {
width: $width !important; width: $width !important;
min-width: $width !important; min-width: $width !important;
} }
// .el-menu--vertical { // .el-menu--vertical {
.el-popover.el-submenu-popper-base-left-side-menu { .el-popover.el-submenu-popper-base-left-side-menu {
padding: 0 !important; padding: 0 !important;
...@@ -89,6 +91,7 @@ $width: 160px; ...@@ -89,6 +91,7 @@ $width: 160px;
// } // }
animation: fadeInRightShort 0.05s ease-in-out forwards; animation: fadeInRightShort 0.05s ease-in-out forwards;
} }
// } // }
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -96,12 +99,15 @@ $width: 160px; ...@@ -96,12 +99,15 @@ $width: 160px;
position: relative; position: relative;
width: $menu_width_collapse; width: $menu_width_collapse;
height: 100%; height: 100%;
.side-bar-menu-scroll-y { .side-bar-menu-scroll-y {
/deep/.el-scrollbar__wrap { ::v-deep.el-scrollbar__wrap {
margin-bottom: 0 !important ; margin-bottom: 0 !important;
} }
height: calc(100vh - #{$logo-height + 36px}); height: calc(100vh - #{$logo-height + 36px});
} }
// border-right: 1px solid #f5f7fa; // border-right: 1px solid #f5f7fa;
.menu-lv1-item-wrap { .menu-lv1-item-wrap {
display: flex; display: flex;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<script> <script>
import { mapActions, mapGetters } from 'vuex' import { mapActions, mapGetters } from 'vuex'
// import { utils } from 'glsx-common' // import { utils } from 'glsk-common'
import { currentId } from './mixins/index' import { currentId } from './mixins/index'
export default { export default {
name: 'LeftSideMenuLv1Item', name: 'LeftSideMenuLv1Item',
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
.com-left-side-menu-lv1-item { .com-left-side-menu-lv1-item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -66,15 +67,19 @@ export default { ...@@ -66,15 +67,19 @@ export default {
height: 46px; height: 46px;
gap: 4px; gap: 4px;
cursor: pointer; cursor: pointer;
&.highlight { &.highlight {
background-color: #edecff; background-color: #edecff;
.title { .title {
color: $main-color; color: $main-color;
} }
} }
&.hover { &.hover {
background-color: #f0f1f7; background-color: #f0f1f7;
} }
.title { .title {
font-size: 10px; font-size: 10px;
color: #666; color: #666;
......
...@@ -62,24 +62,29 @@ export default { ...@@ -62,24 +62,29 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
.com-left-side-menu-lv2 { .com-left-side-menu-lv2 {
width: 100%; width: 100%;
user-select: none; user-select: none;
overflow-y: auto; overflow-y: auto;
flex: 1; flex: 1;
// width: calc(#{$menu_width} - #{$menu_width_collapse}); // width: calc(#{$menu_width} - #{$menu_width_collapse});
/deep/.el-menu { ::v-deep.el-menu {
height: 100%; height: 100%;
width: calc(#{$menu_width} - #{$menu_width_collapse}); width: calc(#{$menu_width} - #{$menu_width_collapse});
} }
&-scroll-y { &-scroll-y {
/deep/.el-scrollbar__wrap { ::v-deep.el-scrollbar__wrap {
margin-bottom: 0 !important ; margin-bottom: 0 !important;
.el-scrollbar__view { .el-scrollbar__view {
min-height: 52px; min-height: 52px;
max-height: calc(100vh - #{$logo-height}); max-height: calc(100vh - #{$logo-height});
} }
} }
height: 100%; height: 100%;
} }
} }
......
...@@ -94,21 +94,26 @@ export default { ...@@ -94,21 +94,26 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
// $active-background-color: rgba(88, 80, 255, 0.2) !important; // $active-background-color: rgba(88, 80, 255, 0.2) !important;
.com-left-side-menu-lv2-item { .com-left-side-menu-lv2-item {
height: 100%; height: 100%;
padding: 8px; padding: 8px;
/deep/.el-submenu {
::v-deep.el-submenu {
height: 100%; height: 100%;
border-radius: 4px; border-radius: 4px;
.el-menu { .el-menu {
width: 144px !important; width: 144px !important;
} }
&.is-opened { &.is-opened {
.el-icon-arrow-down { .el-icon-arrow-down {
transform: rotate(90deg); transform: rotate(90deg);
} }
} }
// padding: 0 8px; // padding: 0 8px;
&__title { &__title {
height: 36px; height: 36px;
...@@ -116,20 +121,24 @@ export default { ...@@ -116,20 +121,24 @@ export default {
background-color: transparent !important; background-color: transparent !important;
padding: 0 0 0 24px !important; padding: 0 0 0 24px !important;
margin-bottom: 1px; margin-bottom: 1px;
span { span {
-webkit-text-stroke: 0.2px #333; -webkit-text-stroke: 0.2px #333;
// text-shadow: 0 0 1px #666; // text-shadow: 0 0 1px #666;
// filter: drop-shadow(0 0 0.2px #ccc); // filter: drop-shadow(0 0 0.2px #ccc);
@include menu-title-span-haspage; @include menu-title-span-haspage;
} }
.el-icon-arrow-down { .el-icon-arrow-down {
left: 2px; left: 2px;
right: unset; right: unset;
margin-top: -6px; margin-top: -6px;
&::before { &::before {
content: '\e791'; content: '\e791';
} }
} }
// &:not(.hasNoChild) { // &:not(.hasNoChild) {
// // has children title // // has children title
// cursor: default !important; // cursor: default !important;
...@@ -145,6 +154,7 @@ export default { ...@@ -145,6 +154,7 @@ export default {
@include menu-title-hover; @include menu-title-hover;
} }
} }
// &.is-active { // &.is-active {
// .el-submenu__title { // .el-submenu__title {
// background-color: transparent !important; // background-color: transparent !important;
...@@ -156,6 +166,7 @@ export default { ...@@ -156,6 +166,7 @@ export default {
// } // }
&.active { &.active {
@include menu-highlight; @include menu-highlight;
span { span {
-webkit-text-stroke-color: $main-color; -webkit-text-stroke-color: $main-color;
color: $main-color !important; color: $main-color !important;
......
...@@ -34,17 +34,21 @@ export default { ...@@ -34,17 +34,21 @@ export default {
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
$menu-item-width: 144px !important; $menu-item-width: 144px !important;
.com-left-side-menu-lv3 { .com-left-side-menu-lv3 {
width: $menu-item-width; width: $menu-item-width;
margin-bottom: 1px; margin-bottom: 1px;
/deep/.el-menu-item-group__title {
::v-deep.el-menu-item-group__title {
display: none; display: none;
} }
/deep/ul {
::v-deepul {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 1px; gap: 1px;
.el-menu-item { .el-menu-item {
width: 100% !important; width: 100% !important;
min-width: 100% !important; min-width: 100% !important;
...@@ -54,16 +58,20 @@ $menu-item-width: 144px !important; ...@@ -54,16 +58,20 @@ $menu-item-width: 144px !important;
border-radius: 4px; border-radius: 4px;
// padding-left: 0 !important; // padding-left: 0 !important;
padding: 0 0 0 32px !important; padding: 0 0 0 32px !important;
span { span {
@include menu-title-span-haspage; @include menu-title-span-haspage;
font-size: 14px; font-size: 14px;
} }
&.is-active { &.is-active {
@include menu-highlight; @include menu-highlight;
span { span {
color: $main-color !important; color: $main-color !important;
} }
} }
&:not(.is-active):hover { &:not(.is-active):hover {
@include menu-title-hover; @include menu-title-hover;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<script> <script>
import { currentId } from './mixins/index' import { currentId } from './mixins/index'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
export default { export default {
name: 'MenuLv4', name: 'MenuLv4',
inject: ['bus'], inject: ['bus'],
...@@ -78,33 +78,40 @@ export default { ...@@ -78,33 +78,40 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
.scrm-base-mebu-lv4 { .scrm-base-mebu-lv4 {
// transform: translateY(-5px); // transform: translateY(-5px);
@include leftpadding; @include leftpadding;
/deep/.el-tabs {
::v-deep.el-tabs {
&__nav-wrap { &__nav-wrap {
&::after { &::after {
height: 1px; height: 1px;
// width: calc(100% - #{$left}); // width: calc(100% - #{$left});
} }
} }
&__header { &__header {
margin: 4px 0 1px; margin: 4px 0 1px;
} }
&__item { &__item {
height: 42px !important; height: 42px !important;
// line-height: 10px !important; // line-height: 10px !important;
&.is-active, &.is-active,
&:hover { &:hover {
color: $main-color; color: $main-color;
font-weight: 500; font-weight: 500;
} }
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
color: #717171; color: #717171;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
} }
&__active-bar { &__active-bar {
background-color: $main-color; background-color: $main-color;
} }
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<script> <script>
import { mapGetters, mapActions } from 'vuex' import { mapGetters, mapActions } from 'vuex'
import { Message } from '@/plugins/element' import { Message } from '@/plugins/element'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
// import api from '@/api' // import api from '@/api'
import { constants } from '@/common' import { constants } from '@/common'
const SUBSTYLE = Object.freeze({ opacity: 0 }) const SUBSTYLE = Object.freeze({ opacity: 0 })
...@@ -253,7 +253,7 @@ $tip-color: #666 !important; ...@@ -253,7 +253,7 @@ $tip-color: #666 !important;
background-color: #fff; background-color: #fff;
@include leftpadding; @include leftpadding;
/deep/.nav-text { ::v-deep.nav-text {
display: flex; display: flex;
margin-left: 2px; margin-left: 2px;
...@@ -333,7 +333,7 @@ $tip-color: #666 !important; ...@@ -333,7 +333,7 @@ $tip-color: #666 !important;
opacity: 0; opacity: 0;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
/deep/.popper__arrow::after { ::v-deep.popper__arrow::after {
display: none; display: none;
} }
} }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<script> <script>
import md5 from 'md5' import md5 from 'md5'
import { mapGetters, mapActions } from 'vuex' import { mapGetters, mapActions } from 'vuex'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import api from '@/api' import api from '@/api'
import { Message } from '@/plugins/element' import { Message } from '@/plugins/element'
export default { export default {
...@@ -159,30 +159,36 @@ export default { ...@@ -159,30 +159,36 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.com-nav-update-password { .com-nav-update-password {
/deep/.el-dialog { ::v-deep.el-dialog {
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
&__header { &__header {
padding: 0; padding: 0;
background-color: $main-color; background-color: $main-color;
} }
&__title { &__title {
color: #fff; color: #fff;
height: 70px; height: 70px;
line-height: 70px; line-height: 70px;
text-align: center; text-align: center;
} }
&__body { &__body {
width: 342px; width: 342px;
margin: 0 auto; margin: 0 auto;
padding: 40px 0 0 0; padding: 40px 0 0 0;
.el-form { .el-form {
&-item { &-item {
text-align: left; text-align: left;
margin-bottom: 18px; margin-bottom: 18px;
&__label { &__label {
line-height: 30px; line-height: 30px;
float: none; float: none;
} }
&__content { &__content {
.el-input__inner { .el-input__inner {
&:focus { &:focus {
...@@ -193,26 +199,32 @@ export default { ...@@ -193,26 +199,32 @@ export default {
} }
} }
} }
&__footer { &__footer {
text-align: center; text-align: center;
padding: 20px 0 60px 0; padding: 20px 0 60px 0;
border-top: 0px; border-top: 0px;
.btn-wrapper { .btn-wrapper {
margin: 0 auto; margin: 0 auto;
width: 342px; width: 342px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.el-button { .el-button {
width: 162px; width: 162px;
&.el-button--primary { &.el-button--primary {
background-color: $main-color; background-color: $main-color;
border-color: $main-color; border-color: $main-color;
&:hover, &:hover,
&:focus { &:focus {
border-color: #7777f3; border-color: #7777f3;
background-color: #7777f3; background-color: #7777f3;
} }
} }
&.el-button--default { &.el-button--default {
&:hover, &:hover,
&:focus { &:focus {
......
...@@ -46,30 +46,37 @@ export default { ...@@ -46,30 +46,37 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
.side-bar { .side-bar {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
> .logo { > .logo {
flex: 0 0 $logo-height; flex: 0 0 $logo-height;
} }
.side-bar-menu { .side-bar-menu {
flex: 1; flex: 1;
user-select: none; user-select: none;
overflow-y: auto; overflow-y: auto;
background-color: #fff; background-color: #fff;
&-left { &-left {
height: 100%; height: 100%;
width: $menu-width; width: $menu-width;
.el-menu { .el-menu {
height: 100%; height: 100%;
} }
} }
&-scroll-y { &-scroll-y {
/deep/.el-scrollbar__wrap { ::v-deep.el-scrollbar__wrap {
margin-bottom: 0 !important ; margin-bottom: 0 !important;
} }
height: calc(100vh - #{$logo-height}); height: calc(100vh - #{$logo-height});
} }
} }
......
...@@ -71,14 +71,17 @@ export default { ...@@ -71,14 +71,17 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
.scrm-base-submenu { .scrm-base-submenu {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.i { .i {
min-width: 20px; min-width: 20px;
min-height: 20px; min-height: 20px;
} }
/deep/.el-submenu {
::v-deep.el-submenu {
// &:not(.is-opened) { // &:not(.is-opened) {
// margin-bottom: $menu-item-mb; // margin-bottom: $menu-item-mb;
// } // }
...@@ -88,13 +91,16 @@ export default { ...@@ -88,13 +91,16 @@ export default {
background-color: transparent !important; background-color: transparent !important;
border-radius: 4px; border-radius: 4px;
padding-left: 28px !important; padding-left: 28px !important;
// margin: 10px 0; // margin: 10px 0;
&:hover { &:hover {
background-color: #fff !important; background-color: #fff !important;
span { span {
color: $main-color !important; color: $main-color !important;
} }
} }
span { span {
font-size: 18px; font-size: 18px;
color: #666; color: #666;
...@@ -102,18 +108,22 @@ export default { ...@@ -102,18 +108,22 @@ export default {
font-weight: 600; font-weight: 600;
margin-left: 10px; margin-left: 10px;
} }
.el-submenu__icon-arrow { .el-submenu__icon-arrow {
display: none; display: none;
} }
} }
&.is-opened { &.is-opened {
.el-submenu__title { .el-submenu__title {
background-color: transparent !important; background-color: transparent !important;
span { span {
color: $main-color !important; color: $main-color !important;
} }
} }
} }
&.is-active { &.is-active {
.el-submenu__title { .el-submenu__title {
> span { > span {
...@@ -121,6 +131,7 @@ export default { ...@@ -121,6 +131,7 @@ export default {
} }
} }
} }
.el-menu { .el-menu {
transform: translate3d(0, -5px, 0); transform: translate3d(0, -5px, 0);
} }
......
...@@ -33,14 +33,17 @@ export default { ...@@ -33,14 +33,17 @@ export default {
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
$active-background-color: rgba(88, 80, 255, 0.2) !important; $active-background-color: rgba(88, 80, 255, 0.2) !important;
$menu-item-width: 173px !important; $menu-item-width: 173px !important;
.scrm-base-submenu-item { .scrm-base-submenu-item {
/deep/.el-menu-item-group__title { ::v-deep.el-menu-item-group__title {
display: none; display: none;
} }
/deep/ul {
::v-deepul {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.el-menu-item { .el-menu-item {
width: $menu-item-width; width: $menu-item-width;
min-width: $menu-item-width; min-width: $menu-item-width;
...@@ -48,20 +51,24 @@ $menu-item-width: 173px !important; ...@@ -48,20 +51,24 @@ $menu-item-width: 173px !important;
line-height: 40px; line-height: 40px;
align-self: center; align-self: center;
border-radius: 4px; border-radius: 4px;
span { span {
color: #666; color: #666;
font-size: 16px; font-size: 16px;
} }
&:hover, &:hover,
&.is-active { &.is-active {
outline: 0 !important; outline: 0 !important;
color: $main-color !important; color: $main-color !important;
background-color: $active-background-color; background-color: $active-background-color;
border-bottom: none; border-bottom: none;
span { span {
color: $main-color !important; color: $main-color !important;
} }
} }
&:hover:not(.is-active) { &:hover:not(.is-active) {
background-color: transparent !important; background-color: transparent !important;
} }
...@@ -71,10 +78,12 @@ $menu-item-width: 173px !important; ...@@ -71,10 +78,12 @@ $menu-item-width: 173px !important;
</style> </style>
<style lang="scss"> <style lang="scss">
$width: 150px; $width: 150px;
@mixin popup_width { @mixin popup_width {
width: $width !important; width: $width !important;
min-width: $width !important; min-width: $width !important;
} }
.el-menu--vertical { .el-menu--vertical {
&.el-submenu-popper-base { &.el-submenu-popper-base {
.el-menu--popup { .el-menu--popup {
...@@ -82,12 +91,14 @@ $width: 150px; ...@@ -82,12 +91,14 @@ $width: 150px;
margin-left: -8px; margin-left: -8px;
box-shadow: 0px 6px 20px 0px rgba(122, 122, 122, 0.2); box-shadow: 0px 6px 20px 0px rgba(122, 122, 122, 0.2);
border-radius: 4px; border-radius: 4px;
.scrm-base-submenu-item { .scrm-base-submenu-item {
.el-menu-item { .el-menu-item {
@include popup_width; @include popup_width;
padding-left: 20px !important; padding-left: 20px !important;
border-radius: 0; border-radius: 0;
} }
.el-menu-item-group__title { .el-menu-item-group__title {
display: block; display: block;
} }
......
...@@ -66,33 +66,40 @@ export default { ...@@ -66,33 +66,40 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
.scrm-base-sub-nav { .scrm-base-sub-nav {
// transform: translateY(-5px); // transform: translateY(-5px);
@include leftpadding; @include leftpadding;
/deep/.el-tabs {
::v-deep.el-tabs {
&__nav-wrap { &__nav-wrap {
&::after { &::after {
height: 1px; height: 1px;
// width: calc(100% - #{$left}); // width: calc(100% - #{$left});
} }
} }
&__header { &__header {
margin: 4px 0 1px; margin: 4px 0 1px;
} }
&__item { &__item {
height: 42px !important; height: 42px !important;
// line-height: 10px !important; // line-height: 10px !important;
&.is-active, &.is-active,
&:hover { &:hover {
color: $main-color; color: $main-color;
font-weight: 600; font-weight: 600;
} }
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
color: #717171; color: #717171;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
} }
&__active-bar { &__active-bar {
background-color: $main-color; background-color: $main-color;
} }
......
...@@ -54,10 +54,12 @@ export default { ...@@ -54,10 +54,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
@import '~@/assets/style/collapse.scss'; @import '~@/assets/style/collapse.scss';
.base-container { .base-container {
height: 100%; height: 100%;
display: flex; display: flex;
background-color: $main-background-color; background-color: $main-background-color;
&-aside { &-aside {
position: relative; position: relative;
z-index: 1; z-index: 1;
...@@ -65,11 +67,13 @@ export default { ...@@ -65,11 +67,13 @@ export default {
text-align: left; text-align: left;
transition: flex 0.06s; transition: flex 0.06s;
} }
&-right { &-right {
flex: 1; flex: 1;
height: 100%; height: 100%;
display: flex; display: flex;
/deep/.el-header {
::v-deep.el-header {
// padding: 0 12px 0 40px; // padding: 0 12px 0 40px;
color: #333; color: #333;
text-align: center; text-align: center;
...@@ -78,16 +82,20 @@ export default { ...@@ -78,16 +82,20 @@ export default {
white-space: nowrap; white-space: nowrap;
@include hideScroll; @include hideScroll;
padding: 0; padding: 0;
.header-wrap { .header-wrap {
min-width: $right-min-width; min-width: $right-min-width;
} }
} }
.el-main { .el-main {
flex: 1; flex: 1;
padding: 0; padding: 0;
&-scroll { &-scroll {
height: 100%; height: 100%;
} }
.main-container { .main-container {
min-width: $right-min-width; min-width: $right-min-width;
} }
......
...@@ -4,7 +4,7 @@ import router from './router' ...@@ -4,7 +4,7 @@ import router from './router'
import store from './store' import store from './store'
import * as Sentry from '@sentry/vue' import * as Sentry from '@sentry/vue'
import { BrowserTracing } from '@sentry/tracing' import { BrowserTracing } from '@sentry/tracing'
import { Http } from 'glsx-common' import { Http } from 'glsk-common'
import '@/common/reg-prototype.js' import '@/common/reg-prototype.js'
import '@/common/error-handler.js' import '@/common/error-handler.js'
import { fetchConfig, config } from '@/config/index' import { fetchConfig, config } from '@/config/index'
......
import { Http, utils } from 'glsx-common' import { Http, utils } from 'glsk-common'
import { messenger, history } from '@/global' import { messenger, history } from '@/global'
import { configSwitch } from '@/config' import { configSwitch } from '@/config'
import { This } from '@/main' import { This } from '@/main'
......
...@@ -3,7 +3,7 @@ import VueRouter from 'vue-router' ...@@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
import store from '@/store' import store from '@/store'
import Login from '@/views/Login' import Login from '@/views/Login'
import E404 from '@/views/404' import E404 from '@/views/404'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import { constants } from '@/common' import { constants } from '@/common'
Vue.use(VueRouter) Vue.use(VueRouter)
const Path = Object.freeze({ const Path = Object.freeze({
......
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import Layout from '@/views/Layout' import Layout from '@/views/Layout'
import { constants, helper } from '@/common' import { constants, helper } from '@/common'
import router from '@/router' import router from '@/router'
......
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import { constants } from '@/common' import { constants } from '@/common'
import { This } from '@/main' import { This } from '@/main'
import api from '@/api' import api from '@/api'
......
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import { constants } from '@/common' import { constants } from '@/common'
// eslint-disable-next-line prettier/prettier // eslint-disable-next-line prettier/prettier
const modules = require.context('.', true, /^(?!.*\/init\.js$).*\.js$/).keys().map(fileName => fileName.replace(/^\.\/(.*)\.\w+$/, '$1')) const modules = require
.context('.', true, /^(?!.*\/init\.js$).*\.js$/)
.keys()
.map(fileName => fileName.replace(/^\.\/(.*)\.\w+$/, '$1'))
const init = { const init = {
namespaced: true, namespaced: true,
actions: { actions: {
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<script> <script>
import { mapActions, mapGetters } from 'vuex' import { mapActions, mapGetters } from 'vuex'
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import api from '@/api' import api from '@/api'
import md5 from 'md5' import md5 from 'md5'
import { Message } from '@/plugins/element' import { Message } from '@/plugins/element'
...@@ -406,7 +406,7 @@ $border-radius: 20px; ...@@ -406,7 +406,7 @@ $border-radius: 20px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
/deep/.el-scrollbar__wrap { ::v-deep.el-scrollbar__wrap {
overflow-x: hidden; overflow-x: hidden;
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
...@@ -518,7 +518,7 @@ $border-radius: 20px; ...@@ -518,7 +518,7 @@ $border-radius: 20px;
height: 100%; height: 100%;
} }
/deep/.el-carousel { ::v-deep.el-carousel {
.el-carousel__button { .el-carousel__button {
width: 12px; width: 12px;
height: 12px; height: 12px;
...@@ -589,7 +589,7 @@ $border-radius: 20px; ...@@ -589,7 +589,7 @@ $border-radius: 20px;
} }
} }
/deep/.el-form { ::v-deep.el-form {
width: 342px; width: 342px;
.el-form-item__content { .el-form-item__content {
...@@ -673,7 +673,7 @@ $border-radius: 20px; ...@@ -673,7 +673,7 @@ $border-radius: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
/deep/.el-checkbox { ::v-deep.el-checkbox {
margin-right: 6px !important; margin-right: 6px !important;
&__inner { &__inner {
...@@ -701,7 +701,7 @@ $border-radius: 20px; ...@@ -701,7 +701,7 @@ $border-radius: 20px;
} }
} }
/deep/.el-dialog { ::v-deep.el-dialog {
&__header, &__header,
&__body, &__body,
&__footer { &__footer {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</template> </template>
<script> <script>
import { utils } from 'glsx-common' import { utils } from 'glsk-common'
import api from '@/api' import api from '@/api'
import { Message } from '@/plugins/element' import { Message } from '@/plugins/element'
const counter = 60 const counter = 60
...@@ -176,8 +176,9 @@ export default { ...@@ -176,8 +176,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.com-login-sms-code-check { .com-login-sms-code-check {
/deep/.el-dialog { ::v-deep.el-dialog {
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.notify { .notify {
width: 488px; width: 488px;
height: 24px; height: 24px;
...@@ -188,11 +189,13 @@ export default { ...@@ -188,11 +189,13 @@ export default {
display: block; display: block;
margin-top: 32px; margin-top: 32px;
} }
&__header { &__header {
padding: 0; padding: 0;
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
} }
&__title { &__title {
color: #333; color: #333;
font-weight: 600; font-weight: 600;
...@@ -201,38 +204,47 @@ export default { ...@@ -201,38 +204,47 @@ export default {
text-align: center; text-align: center;
padding-left: 20px; padding-left: 20px;
} }
&__close { &__close {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
&:hover { &:hover {
color: $main-color; color: $main-color;
} }
} }
&__body { &__body {
width: 488px; width: 488px;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
.el-form { .el-form {
&-item { &-item {
margin-bottom: 18px; margin-bottom: 18px;
&__label { &__label {
line-height: 30px; line-height: 30px;
float: none; float: none;
} }
&__content { &__content {
width: 284px; width: 284px;
margin: 0 auto; margin: 0 auto;
.el-input__inner { .el-input__inner {
&:focus { &:focus {
border-color: $main-color; border-color: $main-color;
} }
} }
.el-button--text { .el-button--text {
color: $main-color; color: $main-color;
position: absolute; position: absolute;
right: 10px; right: 10px;
} }
} }
.time-counter { .time-counter {
display: block; display: block;
position: absolute; position: absolute;
...@@ -246,10 +258,12 @@ export default { ...@@ -246,10 +258,12 @@ export default {
} }
} }
} }
&__footer { &__footer {
text-align: center; text-align: center;
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;
margin-top: 48px; margin-top: 48px;
.btn-wrapper { .btn-wrapper {
margin: 0 auto; margin: 0 auto;
width: 284px; width: 284px;
...@@ -257,19 +271,23 @@ export default { ...@@ -257,19 +271,23 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.el-button { .el-button {
min-width: 60px; min-width: 60px;
height: 32px; height: 32px;
padding: 6px 16px; padding: 6px 16px;
&.el-button--primary { &.el-button--primary {
background-color: $main-color; background-color: $main-color;
border-color: $main-color; border-color: $main-color;
&:hover, &:hover,
&:focus { &:focus {
border-color: #7777f3; border-color: #7777f3;
background-color: #7777f3; background-color: #7777f3;
} }
} }
&.el-button--default { &.el-button--default {
&:hover, &:hover,
&:focus { &:focus {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!