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 449e3220
authored
Sep 21, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整菜单宽度
1 parent
302a1f05
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
58 additions
and
58 deletions
src/App.vue
src/assets/images/sprite/sprite.css
src/assets/images/sprite/sprite.png
src/assets/style/variables.scss.js
src/layout/components/LeftSide/LeftSideIndex.vue
src/layout/components/LeftSide/LeftSideMenuLv1Item.vue
src/layout/components/LeftSide/LeftSideMenuLv3.vue
src/App.vue
View file @
449e322
...
...
@@ -36,7 +36,7 @@ export default {
//
统一边距
begin
#app
{
background-color
:
transparent
!important
;
padding
:
16px
30px
16px
24
px
!important
;
padding
:
16px
22px
16px
16
px
!important
;
margin
:
0
!important
;
position
:
relative
!important
;
}
...
...
src/assets/images/sprite/sprite.css
View file @
449e322
...
...
@@ -18,59 +18,59 @@
.i-coupon
{
width
:
20px
;
height
:
20px
;
background-position
:
-60px
-102px
;
}
.i-custom-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-90px
-102px
;
}
.i-custom
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
0px
;
}
.i-discover-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
-30px
;
}
.i-discover
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
-60px
;
}
.i-default-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
-30px
;
}
.i-default
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
-60px
;
}
.i-discover-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-132px
-90px
;
}
.i-discover
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-132px
;
}
.i-dot
{
width
:
12px
;
height
:
12px
;
background-position
:
-252px
-198px
;
}
.i-edit-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
132px
-90
px
;
}
.i-edit
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-132px
;
}
.i-equity-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
3
0px
-132px
;
}
.i-equity
{
width
:
20px
;
height
:
20px
;
background-position
:
-
6
0px
-132px
;
}
.i-exchange-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
90px
-132
px
;
}
.i-exchange-disabled
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
20px
-132
px
;
}
.i-exchange
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
0px
;
}
.i-finance-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-
3
0px
;
}
.i-finance
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-
6
0px
;
}
.i-home-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-90
px
;
}
.i-home
{
width
:
20px
;
height
:
20px
;
background-position
:
-
162px
-120
px
;
}
.i-inventory-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-162px
;
}
.i-inventory
{
width
:
20px
;
height
:
20px
;
background-position
:
-
3
0px
-162px
;
}
.i-edit-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
30px
-132
px
;
}
.i-edit
{
width
:
20px
;
height
:
20px
;
background-position
:
-6
0px
-132px
;
}
.i-equity-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
9
0px
-132px
;
}
.i-equity
{
width
:
20px
;
height
:
20px
;
background-position
:
-
12
0px
-132px
;
}
.i-exchange-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
162px
0
px
;
}
.i-exchange-disabled
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
62px
-30
px
;
}
.i-exchange
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-6
0px
;
}
.i-finance-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-
9
0px
;
}
.i-finance
{
width
:
20px
;
height
:
20px
;
background-position
:
-162px
-
12
0px
;
}
.i-home-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-162
px
;
}
.i-home
{
width
:
20px
;
height
:
20px
;
background-position
:
-
30px
-162
px
;
}
.i-inventory-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-6
0px
-162px
;
}
.i-inventory
{
width
:
20px
;
height
:
20px
;
background-position
:
-
9
0px
-162px
;
}
.i-left
{
width
:
10px
;
height
:
9px
;
background-position
:
0px
-252px
;
}
.i-link-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
6
0px
-162px
;
}
.i-link
{
width
:
20px
;
height
:
20px
;
background-position
:
-
9
0px
-162px
;
}
.i-live-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
20px
-162
px
;
}
.i-live
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
50px
-162
px
;
}
.i-logoff-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
0px
;
}
.i-logoff
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
3
0px
;
}
.i-mall-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
6
0px
;
}
.i-mall
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
9
0px
;
}
.i-mapping-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-120
px
;
}
.i-mapping
{
width
:
20px
;
height
:
20px
;
background-position
:
-
192px
-150
px
;
}
.i-link-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
12
0px
-162px
;
}
.i-link
{
width
:
20px
;
height
:
20px
;
background-position
:
-
15
0px
-162px
;
}
.i-live-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
92px
0
px
;
}
.i-live
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
92px
-30
px
;
}
.i-logoff-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-6
0px
;
}
.i-logoff
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
9
0px
;
}
.i-mall-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
12
0px
;
}
.i-mall
{
width
:
20px
;
height
:
20px
;
background-position
:
-192px
-
15
0px
;
}
.i-mapping-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-192
px
;
}
.i-mapping
{
width
:
20px
;
height
:
20px
;
background-position
:
-
30px
-192
px
;
}
.i-message-active
{
width
:
16px
;
height
:
16px
;
background-position
:
-252px
-146px
;
}
.i-message
{
width
:
16px
;
height
:
16px
;
background-position
:
-252px
-172px
;
}
.i-ordermanage-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-192px
;
}
.i-ordermanage
{
width
:
20px
;
height
:
20px
;
background-position
:
-
3
0px
-192px
;
}
.i-outbound-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
6
0px
-192px
;
}
.i-outbound
{
width
:
20px
;
height
:
20px
;
background-position
:
-
9
0px
-192px
;
}
.i-password
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
2
0px
-192px
;
}
.i-provider-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
150px
-192
px
;
}
.i-provider
{
width
:
20px
;
height
:
20px
;
background-position
:
-
180px
-192
px
;
}
.i-purchase-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
0px
;
}
.i-purchase
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-
3
0px
;
}
.i-ordermanage-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-6
0px
-192px
;
}
.i-ordermanage
{
width
:
20px
;
height
:
20px
;
background-position
:
-
9
0px
-192px
;
}
.i-outbound-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
12
0px
-192px
;
}
.i-outbound
{
width
:
20px
;
height
:
20px
;
background-position
:
-
15
0px
-192px
;
}
.i-password
{
width
:
20px
;
height
:
20px
;
background-position
:
-1
8
0px
-192px
;
}
.i-provider-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-
222px
0
px
;
}
.i-provider
{
width
:
20px
;
height
:
20px
;
background-position
:
-
222px
-30
px
;
}
.i-purchase-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-6
0px
;
}
.i-purchase
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-
9
0px
;
}
.i-right
{
width
:
8px
;
height
:
8px
;
background-position
:
-20px
-252px
;
}
.i-salepre-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-60px
;
}
.i-salepre
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-90px
;
}
.i-scene-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-120px
;
}
.i-scene
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-150px
;
}
.i-settings-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-180px
;
}
.i-settings
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-222px
;
}
.i-shop-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-30px
-222px
;
}
.i-shop
{
width
:
20px
;
height
:
20px
;
background-position
:
-60px
-222px
;
}
.i-store-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-90px
-222px
;
}
.i-store
{
width
:
20px
;
height
:
20px
;
background-position
:
-120px
-222px
;
}
.i-subscription-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-150px
-222px
;
}
.i-subscription
{
width
:
20px
;
height
:
20px
;
background-position
:
-180px
-222px
;
}
.i-tools-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-210px
-222px
;
}
.i-tools
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
0px
;
}
.i-user
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-30px
;
}
.i-default-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-60px
;
}
.i-default
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-90px
;
}
\ No newline at end of file
.i-salepre-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-120px
;
}
.i-salepre
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-150px
;
}
.i-scene-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-222px
-180px
;
}
.i-scene
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-222px
;
}
.i-settings-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-30px
-222px
;
}
.i-settings
{
width
:
20px
;
height
:
20px
;
background-position
:
-60px
-222px
;
}
.i-shop-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-90px
-222px
;
}
.i-shop
{
width
:
20px
;
height
:
20px
;
background-position
:
-120px
-222px
;
}
.i-store-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-150px
-222px
;
}
.i-store
{
width
:
20px
;
height
:
20px
;
background-position
:
-180px
-222px
;
}
.i-subscription-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-210px
-222px
;
}
.i-subscription
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
0px
;
}
.i-tools-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-30px
;
}
.i-tools
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-60px
;
}
.i-user
{
width
:
20px
;
height
:
20px
;
background-position
:
-252px
-90px
;
}
\ No newline at end of file
src/assets/images/sprite/sprite.png
View file @
449e322
53.3 KB
|
W:
|
H:
53.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/style/variables.scss.js
View file @
449e322
...
...
@@ -32,8 +32,8 @@ module.exports = {
// 主视图区样式变量
main_background_color
:
'#f0f1f7'
,
main_color
:
'#5f5efb'
,
menu_width
:
'2
08
px'
,
menu_width_collapse
:
'
48
px'
,
menu_width
:
'2
24
px'
,
menu_width_collapse
:
'
64
px'
,
base_border
:
'#5f5efb'
,
font_family
:
`'PingFangSC-Regular', 'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', 'STHeiti', 'MingLiu'`
,
min_width
:
'1280px'
,
...
...
src/layout/components/LeftSide/LeftSideIndex.vue
View file @
449e322
...
...
@@ -66,7 +66,7 @@ export default {
width
:
0
;
border-right
:
1px
solid
#f5f7fa
;
height
:
100%
;
left
:
47px
;
left
:
calc
(
#{$
menu_width_collapse
}
-
1px
)
;
z-index
:
111
;
}
}
...
...
src/layout/components/LeftSide/LeftSideMenuLv1Item.vue
View file @
449e322
...
...
@@ -54,8 +54,8 @@ export default {
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
width
:
48px
;
height
:
4
8
px
;
width
:
$
menu_width_collapse
;
height
:
4
6
px
;
gap
:
4px
;
cursor
:
pointer
;
&.highlight
{
...
...
src/layout/components/LeftSide/LeftSideMenuLv3.vue
View file @
449e322
...
...
@@ -49,7 +49,7 @@ $menu-item-width: 144px !important;
//
padding-left
:
0
!important
;
padding
:
0
8px
!important
;
span
{
color
:
#
777
;
color
:
#
666
;
font-size
:
14px
;
}
&
:hover
,
...
...
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