Commit 449e3220 by liimin

调整菜单宽度

1 parent 302a1f05
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
// 统一边距 begin // 统一边距 begin
#app { #app {
background-color: transparent !important; background-color: transparent !important;
padding: 16px 30px 16px 24px !important; padding: 16px 22px 16px 16px !important;
margin: 0 !important; margin: 0 !important;
position: relative !important; position: relative !important;
} }
......
...@@ -18,59 +18,59 @@ ...@@ -18,59 +18,59 @@
.i-coupon { width: 20px; height: 20px; background-position: -60px -102px; } .i-coupon { width: 20px; height: 20px; background-position: -60px -102px; }
.i-custom-active { width: 20px; height: 20px; background-position: -90px -102px; } .i-custom-active { width: 20px; height: 20px; background-position: -90px -102px; }
.i-custom { width: 20px; height: 20px; background-position: -132px 0px; } .i-custom { width: 20px; height: 20px; background-position: -132px 0px; }
.i-discover-active { width: 20px; height: 20px; background-position: -132px -30px; } .i-default-active { width: 20px; height: 20px; background-position: -132px -30px; }
.i-discover { width: 20px; height: 20px; background-position: -132px -60px; } .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-dot { width: 12px; height: 12px; background-position: -252px -198px; }
.i-edit-active { width: 20px; height: 20px; background-position: -132px -90px; } .i-edit-active { width: 20px; height: 20px; background-position: -30px -132px; }
.i-edit { width: 20px; height: 20px; background-position: 0px -132px; } .i-edit { width: 20px; height: 20px; background-position: -60px -132px; }
.i-equity-active { width: 20px; height: 20px; background-position: -30px -132px; } .i-equity-active { width: 20px; height: 20px; background-position: -90px -132px; }
.i-equity { width: 20px; height: 20px; background-position: -60px -132px; } .i-equity { width: 20px; height: 20px; background-position: -120px -132px; }
.i-exchange-active { width: 20px; height: 20px; background-position: -90px -132px; } .i-exchange-active { width: 20px; height: 20px; background-position: -162px 0px; }
.i-exchange-disabled { width: 20px; height: 20px; background-position: -120px -132px; } .i-exchange-disabled { width: 20px; height: 20px; background-position: -162px -30px; }
.i-exchange { width: 20px; height: 20px; background-position: -162px 0px; } .i-exchange { width: 20px; height: 20px; background-position: -162px -60px; }
.i-finance-active { width: 20px; height: 20px; background-position: -162px -30px; } .i-finance-active { width: 20px; height: 20px; background-position: -162px -90px; }
.i-finance { width: 20px; height: 20px; background-position: -162px -60px; } .i-finance { width: 20px; height: 20px; background-position: -162px -120px; }
.i-home-active { width: 20px; height: 20px; background-position: -162px -90px; } .i-home-active { width: 20px; height: 20px; background-position: 0px -162px; }
.i-home { width: 20px; height: 20px; background-position: -162px -120px; } .i-home { width: 20px; height: 20px; background-position: -30px -162px; }
.i-inventory-active { width: 20px; height: 20px; background-position: 0px -162px; } .i-inventory-active { width: 20px; height: 20px; background-position: -60px -162px; }
.i-inventory { width: 20px; height: 20px; background-position: -30px -162px; } .i-inventory { width: 20px; height: 20px; background-position: -90px -162px; }
.i-left { width: 10px; height: 9px; background-position: 0px -252px; } .i-left { width: 10px; height: 9px; background-position: 0px -252px; }
.i-link-active { width: 20px; height: 20px; background-position: -60px -162px; } .i-link-active { width: 20px; height: 20px; background-position: -120px -162px; }
.i-link { width: 20px; height: 20px; background-position: -90px -162px; } .i-link { width: 20px; height: 20px; background-position: -150px -162px; }
.i-live-active { width: 20px; height: 20px; background-position: -120px -162px; } .i-live-active { width: 20px; height: 20px; background-position: -192px 0px; }
.i-live { width: 20px; height: 20px; background-position: -150px -162px; } .i-live { width: 20px; height: 20px; background-position: -192px -30px; }
.i-logoff-active { width: 20px; height: 20px; background-position: -192px 0px; } .i-logoff-active { width: 20px; height: 20px; background-position: -192px -60px; }
.i-logoff { width: 20px; height: 20px; background-position: -192px -30px; } .i-logoff { width: 20px; height: 20px; background-position: -192px -90px; }
.i-mall-active { width: 20px; height: 20px; background-position: -192px -60px; } .i-mall-active { width: 20px; height: 20px; background-position: -192px -120px; }
.i-mall { width: 20px; height: 20px; background-position: -192px -90px; } .i-mall { width: 20px; height: 20px; background-position: -192px -150px; }
.i-mapping-active { width: 20px; height: 20px; background-position: -192px -120px; } .i-mapping-active { width: 20px; height: 20px; background-position: 0px -192px; }
.i-mapping { width: 20px; height: 20px; background-position: -192px -150px; } .i-mapping { width: 20px; height: 20px; background-position: -30px -192px; }
.i-message-active { width: 16px; height: 16px; background-position: -252px -146px; } .i-message-active { width: 16px; height: 16px; background-position: -252px -146px; }
.i-message { width: 16px; height: 16px; background-position: -252px -172px; } .i-message { width: 16px; height: 16px; background-position: -252px -172px; }
.i-ordermanage-active { width: 20px; height: 20px; background-position: 0px -192px; } .i-ordermanage-active { width: 20px; height: 20px; background-position: -60px -192px; }
.i-ordermanage { width: 20px; height: 20px; background-position: -30px -192px; } .i-ordermanage { width: 20px; height: 20px; background-position: -90px -192px; }
.i-outbound-active { width: 20px; height: 20px; background-position: -60px -192px; } .i-outbound-active { width: 20px; height: 20px; background-position: -120px -192px; }
.i-outbound { width: 20px; height: 20px; background-position: -90px -192px; } .i-outbound { width: 20px; height: 20px; background-position: -150px -192px; }
.i-password { width: 20px; height: 20px; background-position: -120px -192px; } .i-password { width: 20px; height: 20px; background-position: -180px -192px; }
.i-provider-active { width: 20px; height: 20px; background-position: -150px -192px; } .i-provider-active { width: 20px; height: 20px; background-position: -222px 0px; }
.i-provider { width: 20px; height: 20px; background-position: -180px -192px; } .i-provider { width: 20px; height: 20px; background-position: -222px -30px; }
.i-purchase-active { width: 20px; height: 20px; background-position: -222px 0px; } .i-purchase-active { width: 20px; height: 20px; background-position: -222px -60px; }
.i-purchase { width: 20px; height: 20px; background-position: -222px -30px; } .i-purchase { width: 20px; height: 20px; background-position: -222px -90px; }
.i-right { width: 8px; height: 8px; background-position: -20px -252px; } .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 \ 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 \ No newline at end of file

53.3 KB | W: | H:

53.4 KB | W: | H:

src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
src/assets/images/sprite/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -32,8 +32,8 @@ module.exports = { ...@@ -32,8 +32,8 @@ module.exports = {
// 主视图区样式变量 // 主视图区样式变量
main_background_color: '#f0f1f7', main_background_color: '#f0f1f7',
main_color: '#5f5efb', main_color: '#5f5efb',
menu_width: '208px', menu_width: '224px',
menu_width_collapse: '48px', menu_width_collapse: '64px',
base_border: '#5f5efb', base_border: '#5f5efb',
font_family: `'PingFangSC-Regular', 'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', 'STHeiti', 'MingLiu'`, font_family: `'PingFangSC-Regular', 'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', 'STHeiti', 'MingLiu'`,
min_width: '1280px', min_width: '1280px',
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
width: 0; width: 0;
border-right: 1px solid #f5f7fa; border-right: 1px solid #f5f7fa;
height: 100%; height: 100%;
left: 47px; left: calc(#{$menu_width_collapse} - 1px);
z-index: 111; z-index: 111;
} }
} }
......
...@@ -54,8 +54,8 @@ export default { ...@@ -54,8 +54,8 @@ export default {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 48px; width: $menu_width_collapse;
height: 48px; height: 46px;
gap: 4px; gap: 4px;
cursor: pointer; cursor: pointer;
&.highlight { &.highlight {
......
...@@ -49,7 +49,7 @@ $menu-item-width: 144px !important; ...@@ -49,7 +49,7 @@ $menu-item-width: 144px !important;
// padding-left: 0 !important; // padding-left: 0 !important;
padding: 0 8px !important; padding: 0 8px !important;
span { span {
color: #777; color: #666;
font-size: 14px; font-size: 14px;
} }
&:hover, &:hover,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!