Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 557b260c
authored
Sep 09, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 替换glsk-common和::v-deep
1 parent
a14e5c68
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
224 additions
and
50 deletions
package-lock.json
package.json
src/assets/style/animate.css
src/assets/style/collapse.scss
src/components/GLScroll/index.vue
src/global/history.js
src/layout/components/Breadcrumb.vue
src/layout/components/Breadcrumb3.vue
src/layout/components/LeftSide/LeftSideMenuLv1.vue
src/layout/components/LeftSide/LeftSideMenuLv1Item.vue
src/layout/components/LeftSide/LeftSideMenuLv2.vue
src/layout/components/LeftSide/LeftSideMenuLv2Item.vue
src/layout/components/LeftSide/LeftSideMenuLv3.vue
src/layout/components/LeftSide/MenuLv4.vue
src/layout/components/NavMenu.vue
src/layout/components/NavUpdatePassWord.vue
src/layout/components/SideMenu.vue
src/layout/components/SubMenu.vue
src/layout/components/SubMenuItem.vue
src/layout/components/SubNav.vue
src/layout/index.vue
src/main.js
src/qiankun/registerApp.js
src/router/index.js
src/store/modules/app.js
src/store/modules/auth.js
src/store/modules/init.js
src/views/Login.vue
src/views/components/LoginSMSCodeCheck.vue
package-lock.json
View file @
557b260
This diff could not be displayed because it is too large.
package.json
View file @
557b260
...
...
@@ -13,6 +13,7 @@
"@sentry/vue"
:
"^7.7.0"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"glsk-common"
:
"^2.10.4"
,
"glsx-common"
:
"^2.10.1"
,
"glsx-common-sdk"
:
"^0.3.0"
,
"gltracker"
:
"^0.1.3"
,
...
...
src/assets/style/animate.css
View file @
557b260
@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
src/assets/style/collapse.scss
View file @
557b260
.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
;
}
src/components/GLScroll/index.vue
View file @
557b260
...
...
@@ -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
);
}
}
...
...
src/global/history.js
View file @
557b260
...
...
@@ -8,7 +8,7 @@
* @FilePath: \scrm-base\src\global\history.js
*/
import
store
from
'@/store'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-common'
/**
* 跨应用路由跳转
* @param {String} href url地址
...
...
src/layout/components/Breadcrumb.vue
View file @
557b260
...
...
@@ -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
{
...
...
src/layout/components/Breadcrumb3.vue
View file @
557b260
...
...
@@ -18,7 +18,7 @@
<
script
>
import
{
Breadcrumb
,
BreadcrumbItem
}
from
'element-ui'
import
{
mapGetters
}
from
'vuex'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
{
...
...
src/layout/components/LeftSide/LeftSideMenuLv1.vue
View file @
557b260
...
...
@@ -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
;
...
...
src/layout/components/LeftSide/LeftSideMenuLv1Item.vue
View file @
557b260
...
...
@@ -7,7 +7,7 @@
<
script
>
import
{
mapActions
,
mapGetters
}
from
'vuex'
// import { utils } from 'gls
x
-common'
// import { utils } from 'gls
k
-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
;
...
...
src/layout/components/LeftSide/LeftSideMenuLv2.vue
View file @
557b260
...
...
@@ -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
%;
}
}
...
...
src/layout/components/LeftSide/LeftSideMenuLv2Item.vue
View file @
557b260
...
...
@@ -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
;
...
...
src/layout/components/LeftSide/LeftSideMenuLv3.vue
View file @
557b260
...
...
@@ -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-deepul
{
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;
}
...
...
src/layout/components/LeftSide/MenuLv4.vue
View file @
557b260
...
...
@@ -10,7 +10,7 @@
<
script
>
import
{
currentId
}
from
'./mixins/index'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
;
}
...
...
src/layout/components/NavMenu.vue
View file @
557b260
...
...
@@ -77,7 +77,7 @@
<
script
>
import
{
mapGetters
,
mapActions
}
from
'vuex'
import
{
Message
}
from
'@/plugins/element'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
;
}
}
...
...
src/layout/components/NavUpdatePassWord.vue
View file @
557b260
...
...
@@ -42,7 +42,7 @@
<
script
>
import
md5
from
'md5'
import
{
mapGetters
,
mapActions
}
from
'vuex'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
{
...
...
src/layout/components/SideMenu.vue
View file @
557b260
...
...
@@ -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
}
);
}
}
...
...
src/layout/components/SubMenu.vue
View file @
557b260
...
...
@@ -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
);
}
...
...
src/layout/components/SubMenuItem.vue
View file @
557b260
...
...
@@ -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-deepul
{
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
;
}
...
...
src/layout/components/SubNav.vue
View file @
557b260
...
...
@@ -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
;
}
...
...
src/layout/index.vue
View file @
557b260
...
...
@@ -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
;
}
...
...
src/main.js
View file @
557b260
...
...
@@ -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
'gls
x
-common'
import
{
Http
}
from
'gls
k
-common'
import
'@/common/reg-prototype.js'
import
'@/common/error-handler.js'
import
{
fetchConfig
,
config
}
from
'@/config/index'
...
...
src/qiankun/registerApp.js
View file @
557b260
import
{
Http
,
utils
}
from
'gls
x
-common'
import
{
Http
,
utils
}
from
'gls
k
-common'
import
{
messenger
,
history
}
from
'@/global'
import
{
configSwitch
}
from
'@/config'
import
{
This
}
from
'@/main'
...
...
src/router/index.js
View file @
557b260
...
...
@@ -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
'gls
x
-common'
import
{
utils
}
from
'gls
k
-common'
import
{
constants
}
from
'@/common'
Vue
.
use
(
VueRouter
)
const
Path
=
Object
.
freeze
({
...
...
src/store/modules/app.js
View file @
557b260
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-common'
import
Layout
from
'@/views/Layout'
import
{
constants
,
helper
}
from
'@/common'
import
router
from
'@/router'
...
...
src/store/modules/auth.js
View file @
557b260
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-common'
import
{
constants
}
from
'@/common'
import
{
This
}
from
'@/main'
import
api
from
'@/api'
...
...
src/store/modules/init.js
View file @
557b260
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
:
{
...
...
src/views/Login.vue
View file @
557b260
...
...
@@ -82,7 +82,7 @@
<
script
>
import
{
mapActions
,
mapGetters
}
from
'vuex'
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
{
...
...
src/views/components/LoginSMSCodeCheck.vue
View file @
557b260
...
...
@@ -26,7 +26,7 @@
</div>
</
template
>
<
script
>
import
{
utils
}
from
'gls
x
-common'
import
{
utils
}
from
'gls
k
-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
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment