fix bug
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
//图标配置
|
||||
@use './iconfont.scss';
|
||||
//登录样式
|
||||
@use "./login.scss";
|
||||
@use './login.scss';
|
||||
//适配
|
||||
@use './media.scss';
|
||||
//滚动条样式
|
||||
@@ -30,6 +30,13 @@ a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.el-menu {
|
||||
.el-menu-item span,
|
||||
.el-sub-menu__title span {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
outline: none;
|
||||
}
|
||||
@@ -40,7 +47,7 @@ a {
|
||||
.avue-layout,
|
||||
.login-logo,
|
||||
.avue-main {
|
||||
transition: all .3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.avue-layout {
|
||||
@@ -50,7 +57,6 @@ a {
|
||||
|
||||
&:not(.avue-layout--horizontal) {
|
||||
.avue-sidebar {
|
||||
background-image: url('/img/左侧背景放底部.png') !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: left bottom !important;
|
||||
background-size: 100% auto !important;
|
||||
@@ -65,7 +71,9 @@ a {
|
||||
height: variables.$top_height;
|
||||
display: flex;
|
||||
|
||||
.avue-menu, .el-menu-item, .el-sub-menu__title {
|
||||
.avue-menu,
|
||||
.el-menu-item,
|
||||
.el-sub-menu__title {
|
||||
height: variables.$top_height;
|
||||
line-height: variables.$top_height;
|
||||
}
|
||||
@@ -76,7 +84,7 @@ a {
|
||||
}
|
||||
|
||||
.avue-logo {
|
||||
width: variables.$sidebar_width
|
||||
width: variables.$sidebar_width;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,7 +112,7 @@ a {
|
||||
flex: 1;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
background: #f0f2f5;
|
||||
background: #f4f6fa;
|
||||
}
|
||||
|
||||
#avue-view {
|
||||
@@ -132,7 +140,7 @@ a {
|
||||
}
|
||||
|
||||
.mac_bg {
|
||||
background-image: url("/img/bg.jpg");
|
||||
background-image: url('/img/bg.jpg');
|
||||
background-color: #000;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
:root {
|
||||
--el-color-primary: #409eff;
|
||||
--el-color-primary-light-1: #53a8ff;
|
||||
--el-color-primary-light-2: #66b1ff;
|
||||
--el-color-primary-light-3: #79bbff;
|
||||
--el-color-primary-light-4: #8cc5ff;
|
||||
--el-color-primary-light-5: #a0cfff;
|
||||
--el-color-primary-light-6: #b3d8ff;
|
||||
--el-color-primary-light-7: #c6e2ff;
|
||||
--el-color-primary-light-8: #d9ecff;
|
||||
--el-color-primary-light-9: #ecf5ff;
|
||||
--el-color-primary-dark-2: #337ecc;
|
||||
}
|
||||
|
||||
.el-card.is-always-shadow {
|
||||
box-shadow: none;
|
||||
border: none !important;
|
||||
@@ -22,7 +36,6 @@
|
||||
z-index: 2048;
|
||||
}
|
||||
|
||||
|
||||
.el-col {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@@ -31,12 +44,19 @@
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
|
||||
.el-dropdown-menu__item--divided:before,
|
||||
.el-menu,
|
||||
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
|
||||
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
|
||||
.el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
|
||||
.el-dropdown-menu__item--divided:before,
|
||||
.el-menu,
|
||||
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
|
||||
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
|
||||
.el-menu--horizontal > .el-sub-menu .el-sub-menu__title:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
@@ -49,18 +69,20 @@
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.el-button.is-text:not(.is-disabled):focus, .el-button.is-text:not(.is-disabled):hover {
|
||||
.el-button.is-text:not(.is-disabled):focus,
|
||||
.el-button.is-text:not(.is-disabled):hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
.el-dropdown{
|
||||
.el-dropdown {
|
||||
display: inline-block;
|
||||
line-height: inherit;
|
||||
.el-button.is-text:not(.is-disabled):focus-visible{
|
||||
.el-button.is-text:not(.is-disabled):focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.avue-icon i, .avue-icon svg {
|
||||
.avue-icon i,
|
||||
.avue-icon svg {
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
@@ -68,6 +90,144 @@
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.basic-container__card .avue-crud > .el-card,
|
||||
.basic-container__card .avue-crud__pagination.el-card {
|
||||
border: none;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.basic-container__card .avue-crud__search.el-card {
|
||||
border: none;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.basic-container__card .avue-crud > .el-card > .el-card__body,
|
||||
.basic-container__card .avue-crud__pagination.el-card > .el-card__body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.basic-container__card .avue-crud__search.el-card > .el-card__body {
|
||||
padding: 12px 12px 4px;
|
||||
}
|
||||
|
||||
.basic-container__card .avue-crud__header {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.avue-crud__header,
|
||||
.avue-crud .el-table th .cell,
|
||||
.avue-crud .el-table td .cell {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.avue-crud__search .el-form-item,
|
||||
.avue-crud__search .el-form-item--default.el-form-item,
|
||||
.avue-crud__search .el-form-item--small.el-form-item,
|
||||
.avue-crud__search .el-form-item--large.el-form-item,
|
||||
.avue-crud__search .el-form-item--medium.el-form-item {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.avue-crud__search .el-form-item__label {
|
||||
min-width: 160px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.avue-crud__search.el-card {
|
||||
border: none;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.avue-crud__search.el-card > .el-card__body {
|
||||
padding: 12px 12px 4px;
|
||||
}
|
||||
|
||||
.avue-crud__search {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.avue-crud__search .avue-form__menu--right {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.el-dialog .el-form-item__label {
|
||||
justify-content: flex-end;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.el-dialog .el-col {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.el-dialog .el-form-item,
|
||||
.el-dialog .el-form-item--default.el-form-item,
|
||||
.el-dialog .el-form-item--small.el-form-item,
|
||||
.el-dialog .el-form-item--large.el-form-item,
|
||||
.el-dialog .el-form-item--medium.el-form-item {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.el-dialog__title,
|
||||
.dialog-section-title {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.el-dialog__title:not(:empty)::before,
|
||||
.dialog-section-title::before {
|
||||
content: '';
|
||||
flex: none;
|
||||
width: 4px;
|
||||
height: 16px;
|
||||
border-radius: 2px;
|
||||
background-color: var(--el-color-primary);
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer--left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer--center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer > .el-button {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer > .el-button:last-of-type {
|
||||
order: 1;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.avue-crud__dialog .avue-dialog__footer > .el-button.el-button--primary {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
// 统一表格线条颜色
|
||||
.el-table {
|
||||
--el-table-border-color: #eff1f7;
|
||||
--el-table-border: 1px solid var(--el-table-border-color);
|
||||
}
|
||||
|
||||
.el-table,
|
||||
.el-table th.el-table__cell,
|
||||
.el-table td.el-table__cell {
|
||||
border-color: #eff1f7;
|
||||
}
|
||||
|
||||
// 统一 avue-crud 表头背景色
|
||||
.avue-crud .el-table th.el-table__cell,
|
||||
.avue-crud .el-table__header-wrapper tr th.el-table-fixed-column--left,
|
||||
@@ -75,8 +235,212 @@
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
// 统一 avue-crud 偶数行背景色
|
||||
.avue-crud .el-table__body-wrapper tr.el-table__row:nth-child(even) td.el-table__cell,
|
||||
.avue-crud .el-table__body-wrapper tr.el-table__row:nth-child(even) td.el-table-fixed-column--left,
|
||||
.avue-crud
|
||||
.el-table__body-wrapper
|
||||
tr.el-table__row:nth-child(even)
|
||||
td.el-table-fixed-column--right {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
// 统一 avue-crud 行 hover 背景色
|
||||
.avue-crud .el-table__body-wrapper tr.hover-row td.el-table__cell,
|
||||
.avue-crud .el-table__body-wrapper tr.hover-row td.el-table-fixed-column--left,
|
||||
.avue-crud .el-table__body-wrapper tr.hover-row td.el-table-fixed-column--right {
|
||||
background-color: var(--el-table-row-hover-bg-color);
|
||||
}
|
||||
|
||||
.avue-crud__header {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
// 统一分页为按钮样式并靠右展示
|
||||
.avue-crud__pagination,
|
||||
.empty-pagination {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.avue-crud__pagination .el-pagination,
|
||||
.empty-pagination .el-pagination,
|
||||
.el-pagination {
|
||||
--el-pagination-button-width: 36px;
|
||||
--el-pagination-button-height: 32px;
|
||||
--el-pagination-border-radius: 4px;
|
||||
--el-pagination-button-bg-color: #fff;
|
||||
--el-pagination-bg-color: #fff;
|
||||
--el-pagination-hover-color: var(--el-color-primary);
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
gap: 6px;
|
||||
padding: 18px 0 0;
|
||||
color: #303133;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.el-pagination__total {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.el-pagination__sizes {
|
||||
display: inline-flex !important;
|
||||
margin: 0 6px 0 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.el-pagination__sizes .el-select {
|
||||
width: 112px;
|
||||
}
|
||||
|
||||
.el-pagination__sizes .el-select__wrapper {
|
||||
min-height: 32px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 0 1px #dcdfe6 inset;
|
||||
}
|
||||
|
||||
.el-pagination.is-background .btn-prev,
|
||||
.el-pagination.is-background .btn-next,
|
||||
.el-pagination.is-background .el-pager li,
|
||||
.el-pagination .btn-prev,
|
||||
.el-pagination .btn-next,
|
||||
.el-pagination .el-pager li,
|
||||
.erp-pagination-button {
|
||||
min-width: 36px;
|
||||
height: 32px;
|
||||
margin: 0 !important;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
color: #303133;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.el-pagination .btn-prev,
|
||||
.el-pagination .btn-next,
|
||||
.erp-pagination-first,
|
||||
.erp-pagination-last {
|
||||
min-width: 54px;
|
||||
}
|
||||
|
||||
.el-pagination .el-pager {
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.el-pagination .btn-prev .el-icon,
|
||||
.el-pagination .btn-next .el-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.el-pagination .btn-prev::before {
|
||||
content: '上一页';
|
||||
}
|
||||
|
||||
.el-pagination .btn-next::before {
|
||||
content: '下一页';
|
||||
}
|
||||
|
||||
.el-pagination.is-background .el-pager li.is-active,
|
||||
.el-pagination .el-pager li.is-active {
|
||||
border-color: var(--el-color-primary);
|
||||
background-color: var(--el-color-primary);
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.el-pagination.is-background .btn-prev:hover,
|
||||
.el-pagination.is-background .btn-next:hover,
|
||||
.el-pagination.is-background .el-pager li:hover,
|
||||
.el-pagination .btn-prev:hover,
|
||||
.el-pagination .btn-next:hover,
|
||||
.el-pagination .el-pager li:hover,
|
||||
.erp-pagination-button:hover {
|
||||
border-color: var(--el-color-primary);
|
||||
color: var(--el-color-primary);
|
||||
}
|
||||
|
||||
.el-pagination.is-background .el-pager li.is-active:hover,
|
||||
.el-pagination .el-pager li.is-active:hover,
|
||||
.erp-pagination-jump:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.el-pagination .btn-prev:disabled,
|
||||
.el-pagination .btn-prev.is-disabled,
|
||||
.el-pagination .btn-next:disabled,
|
||||
.el-pagination .btn-next.is-disabled,
|
||||
.erp-pagination-button:disabled {
|
||||
border-color: #ebeef5;
|
||||
background: #fff;
|
||||
color: #c0c4cc;
|
||||
box-shadow: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.el-pagination__jump {
|
||||
margin-left: 6px;
|
||||
color: #606266;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.el-pagination__goto {
|
||||
margin-right: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.el-pagination__goto::before {
|
||||
content: '第';
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.el-pagination__editor.el-input {
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
.el-pagination__editor .el-input__wrapper {
|
||||
height: 32px;
|
||||
padding: 0 6px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 0 1px #dcdfe6 inset;
|
||||
}
|
||||
|
||||
.el-pagination__editor .el-input__inner {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.el-pagination__classifier {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.erp-pagination-button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.erp-pagination-jump {
|
||||
min-width: 60px;
|
||||
border-color: var(--el-color-primary);
|
||||
background: var(--el-color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.avue-crud__pagination .el-pagination,
|
||||
.empty-pagination .el-pagination,
|
||||
.el-pagination {
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,16 +46,16 @@
|
||||
|
||||
.avue-logo {
|
||||
width:100%;
|
||||
height:50px;
|
||||
line-height: 50px;
|
||||
height:60px;
|
||||
line-height: 60px;
|
||||
background:#fff;
|
||||
color:#333;
|
||||
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
|
||||
}
|
||||
|
||||
.avue-top{
|
||||
height:50px;
|
||||
line-height: 50px;
|
||||
height:60px;
|
||||
line-height: 60px;
|
||||
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
|
||||
.top-bar__left i, .top-bar__right i{
|
||||
line-height: 50px;
|
||||
@@ -74,7 +74,7 @@
|
||||
}
|
||||
}
|
||||
.avue-main{
|
||||
background-color: rgb(249,250,251);
|
||||
background-color: #f4f6fa;
|
||||
}
|
||||
.avue-tags {
|
||||
margin: 5px 6px 8px 6px;
|
||||
|
||||
@@ -33,3 +33,50 @@
|
||||
|
||||
//beautiful
|
||||
@use './beautiful.scss';
|
||||
|
||||
.theme-white,
|
||||
.theme-star,
|
||||
.theme-vip,
|
||||
.theme-d2,
|
||||
.theme-bule,
|
||||
.theme-iview,
|
||||
.theme-go,
|
||||
.theme-hey,
|
||||
.theme-dark,
|
||||
.theme-lte,
|
||||
.theme-cool,
|
||||
.theme-beautiful {
|
||||
.avue-logo {
|
||||
background: var(--el-color-primary) !important;
|
||||
background-color: var(--el-color-primary) !important;
|
||||
color: #fff;
|
||||
|
||||
.avue-logo_title,
|
||||
.avue-logo_subtitle,
|
||||
.logo-title {
|
||||
color: #fff;
|
||||
background-image: none;
|
||||
-webkit-text-fill-color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.avue-layout:not(.avue-layout--horizontal) {
|
||||
.avue-sidebar {
|
||||
.el-menu-item,
|
||||
.el-sub-menu__title {
|
||||
&.is-active {
|
||||
background-color: #E6EAED !important;
|
||||
|
||||
&::before {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
i,
|
||||
span {
|
||||
color: #333 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,8 +20,10 @@
|
||||
|
||||
.avue-breadcrumb {
|
||||
height: 100%;
|
||||
color: #fff;
|
||||
|
||||
i {
|
||||
color: #fff;
|
||||
font-size: 30px !important;
|
||||
}
|
||||
|
||||
@@ -130,7 +132,7 @@
|
||||
height: 100%;
|
||||
padding-left: 50px;
|
||||
box-sizing: border-box;
|
||||
background: url('/img/系统首页顶部背景图.png') center center / cover no-repeat;
|
||||
background: var(--el-color-primary);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -141,7 +143,7 @@
|
||||
.avue-logo {
|
||||
height: variables.$top_height;
|
||||
line-height: variables.$top_height;
|
||||
background-color: #031527;
|
||||
background-color: var(--el-color-primary);
|
||||
font-size: 20px;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
@@ -153,6 +155,7 @@
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&_subtitle {
|
||||
|
||||
Reference in New Issue
Block a user