Commit 7442e2e9 by 前端

Merge branch 'SAAS+V4.56.0' into 'master'

上线合并

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