mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
- 将多个组件中的 require 替换为 import,提升代码一致性。 - 更新上传组件中的回调函数,简化图片选择逻辑。 - 调整样式以适配 Element Plus 组件,确保界面一致性。 - 删除不再使用的样式,优化项目结构。
331 lines
5.5 KiB
SCSS
331 lines
5.5 KiB
SCSS
.lock-screen-back {
|
|
border-radius: 50%;
|
|
z-index: -1;
|
|
box-shadow: 0 0 0 0 #667aa6 inset;
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: all 3s;
|
|
}
|
|
|
|
.main {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.unlock-con {
|
|
width: 0px;
|
|
height: 0px;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
z-index: 11000;
|
|
}
|
|
|
|
.sidebar-menu-con {
|
|
height: calc(100% - 60px);
|
|
position: fixed;
|
|
top: 60px;
|
|
left: 0;
|
|
z-index: 21;
|
|
transition: width 0.3s; // background: rgb(73, 80, 96)
|
|
background: #fff;
|
|
box-shadow: rgba(0, 21, 41, 0.12) 2px 0 6px;
|
|
}
|
|
|
|
.layout-text {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
position: absolute;
|
|
}
|
|
|
|
.main-hide-text .layout-text {
|
|
display: none;
|
|
}
|
|
|
|
&-content-container {
|
|
position: relative;
|
|
}
|
|
|
|
&-header-con {
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
display: block;
|
|
padding-left: 0;
|
|
width: 100%;
|
|
height: 60px;
|
|
z-index: 20;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
transition: padding 0.3s;
|
|
|
|
&.has-tabs {
|
|
box-shadow: 0 2px 1px 1px rgba(100, 100, 100, 0.1);
|
|
}
|
|
}
|
|
|
|
&-breadcrumb {
|
|
padding: 8px 15px 0;
|
|
}
|
|
|
|
&-nav {
|
|
padding: 8px 15px 0;
|
|
color: #515a6e;
|
|
font-size: 14px;
|
|
|
|
:hover {
|
|
color: #2d8cf0;
|
|
transition: color 0.2s ease-in-out;
|
|
}
|
|
}
|
|
|
|
&-menu-left {
|
|
background: #464c5b;
|
|
height: 100%;
|
|
}
|
|
|
|
.tags-con {
|
|
height: 46px;
|
|
z-index: -1;
|
|
margin-left: 200px;
|
|
width: calc(100% - 200px);
|
|
background: #f0f0f0;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.tags-outer-scroll-con {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
padding-right: 120px;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.tags-inner-scroll-body {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 10px;
|
|
overflow: visible;
|
|
white-space: nowrap;
|
|
transition: left 0.3s ease;
|
|
}
|
|
|
|
.close-all-tag-con {
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 0;
|
|
box-sizing: border-box;
|
|
padding-top: 8px;
|
|
text-align: center;
|
|
height: 100%;
|
|
background: white;
|
|
box-shadow: -3px 0 15px 3px rgba(0, 0, 0, 0.1);
|
|
z-index: 10;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-header {
|
|
min-width: 740px;
|
|
height: 60px;
|
|
background: #fff;
|
|
box-shadow: 0 2px 1px 1px rgba(100, 100, 100, 0.1);
|
|
position: relative;
|
|
z-index: 11;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.navicon-con {
|
|
margin: 6px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.header-logo-con {
|
|
flex-shrink: 0;
|
|
width: 200px;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
padding-left: 12px;
|
|
|
|
img {
|
|
display: block;
|
|
max-height: 44px;
|
|
max-width: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.header-middle-con {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0;
|
|
// right: 340px;
|
|
bottom: 0;
|
|
padding: 10px;
|
|
// overflow: hidden;
|
|
}
|
|
|
|
.nav4 {
|
|
width: 300px !important;
|
|
}
|
|
|
|
.header-avator-con {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 30px;
|
|
justify-content: flex-end;
|
|
margin-left: auto;
|
|
height: 100%;
|
|
|
|
|
|
.message-con {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
i {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.change-skin {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.switch-theme {
|
|
height: 100%;
|
|
}
|
|
.dropList {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
|
|
.full-screen-btn-con {
|
|
display: inline-block;
|
|
width: 30px;
|
|
padding: 18px 0;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
i {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.lock-screen-btn-con {
|
|
display: inline-block;
|
|
width: 30px;
|
|
padding: 18px 0;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
i {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.single-page-con {
|
|
min-width: 740px;
|
|
position: relative;
|
|
left: 200px;
|
|
top: 106px;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: calc(100% - 116px);
|
|
width: calc(100% - 200px);
|
|
overflow: auto;
|
|
background-color: #f0f0f0;
|
|
z-index: 1;
|
|
transition: left 0.3s;
|
|
|
|
.single-page {
|
|
position: relative;
|
|
margin: 10px;
|
|
}
|
|
}
|
|
|
|
&-copy {
|
|
text-align: center;
|
|
padding: 10px 0 20px;
|
|
color: #9ea7b4;
|
|
}
|
|
}
|
|
|
|
.taglist-moving-animation-move {
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.logo-con {
|
|
display: none;
|
|
}
|
|
|
|
.menu-bar {
|
|
overflow: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.menu-bar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.menu-bar::-webkit-scrollbar-thumb {
|
|
border-radius: 3px;
|
|
background: #c3c3c3;
|
|
}
|
|
|
|
.menu-bar::-webkit-scrollbar-track {
|
|
background: #fff;
|
|
}
|
|
|
|
.nav-item {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.main-nav-menu {
|
|
bottom: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.loading-position {
|
|
position: absolute;
|
|
right: 4px;
|
|
z-index: 100;
|
|
top: 1px;
|
|
}
|
|
.nav-item {
|
|
cursor: pointer;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
border: 1px solid #ededed;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 10px;
|
|
}
|
|
.footer-page-on{
|
|
|
|
width: 100%;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 999;
|
|
}
|
|
.user-module{
|
|
align-items: center;
|
|
}
|