style: pear admin layui 更新到 4.0 正式版

This commit is contained in:
zhengxinonly
2023-11-26 00:51:02 +08:00
parent 3086c1a1fa
commit 2ffddda02b
18 changed files with 3689 additions and 3044 deletions
+3
View File
@@ -203,13 +203,16 @@ body,
.pear-admin .auto-theme .layui-nav * {
color: white !important;
}
.pear-admin .auto-theme .layui-nav.pear-nav-control .layui-this * {
color: black !important;
}
.pear-admin .auto-theme .layui-nav .layui-nav-child a {
color: #5f5f5f !important;
color: rgba(0, 0, 0, 0.8) !important;
}
/** 收缩布局 */
.pear-mini .layui-side .layui-logo .title {
display: none;
+5
View File
@@ -146,6 +146,11 @@
background-color: #0a0a0a;
}
.pear-admin-dark .layui-body .layui-tab .layui-tab-close:hover {
border-radius: 50%;
background-color: #0a0a0a !important;
}
.pear-admin-dark .pear-tab-page-menu ul li {
color: #ffffff !important;
}
+177 -9
View File
@@ -1,12 +1,180 @@
.demo-login-container {
width: 320px;
margin: 220px auto 0;
html,
body,
.layui-row {
height: 100%;
}
.demo-login-other .layui-icon {
position: relative;
display: inline-block;
margin: 0 2px;
top: 2px;
font-size: 26px;
.login-page {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
.login-bg {
height: 100%;
box-sizing: border-box;
background-color: rgb(250, 250, 250);
display: flex;
align-items: center;
justify-content: center;
}
.login-bg-img {
width: 90%;
display: inline-block;
margin: 0 auto;
}
.login-form {
height: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
}
.form-center {
background: #fff;
box-sizing: border-box;
flex-flow: row wrap;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.form-center-box {
width: 360px;
}
.top-log-title {
align-items: center;
justify-content: center;
display: flex;
margin-bottom: 30px;
}
.top-log {
width: 50px;
border-radius: 12px;
margin-right: 20px;
height: 50px;
}
.top-log-title span {
font-size: 32px;
font-weight: 700;
color: var(--global-primary-color);
}
.top-desc {
font-size: 14px;
color: #808695;
}
.tab-log-method {
width: 100%;
display: flex;
padding: 20px 0px;
}
.tab-log-method-item {
flex: 1;
box-sizing: border-box;
padding: 5px 50px;
text-align: right;
color: #1f2225;
font-size: 16px;
}
.tab-log-method-item:nth-child(2) {
text-align: left;
}
.tab-log-method-item > span {
display: inline-block;
width: 40px;
text-align: center;
height: 30px;
border-bottom: 2px solid transparent;
}
.tab-log-method-item > span:hover {
cursor: pointer;
color: #16baaa;
border-bottom: 2px solid #16baaa;
}
.tab-log-verification {
width: 100%;
display: flex;
}
.verification-text {
flex: 2;
box-sizing: border-box;
margin-right: 20px;
}
.verification-img {
flex: 1;
box-sizing: border-box;
border: 1px solid #eeeeee;
border-radius: 4px;
height: 40px;
overflow: hidden;
text-align: center;
}
.remember-passsword {
margin: 20px 0;
width: 100%;
display: flex;
box-sizing: border-box;
}
.remember-cehcked {
flex: 1;
text-align: left;
}
.greenText {
color: #16baaa;
cursor: pointer;
}
.login-btn {
width: 100%;
box-sizing: border-box;
}
.login-btn > .layui-btn {
width: 100%;
}
.other-login {
width: 100%;
box-sizing: border-box;
margin: 20px 0 0;
text-align: left;
display: flex;
}
.other-login-methods {
display: inline-block;
flex: 1;
}
.layui-input {
border-radius: 4px;
line-height: 40px;
height: 40px;
}
.layui-btn {
border-radius: 4px;
background-color: var(--global-primary-color);
}
+80
View File
@@ -0,0 +1,80 @@
.text-center {
text-align: center;
}
.user-info-head {
width: 110px;
height: 110px;
line-height: 110px;
position: relative;
display: inline-block;
border-radius: 50%;
overflow: hidden;
cursor: pointer;
margin: 0 auto;
}
.layui-line-dash {
border-bottom: 1px dashed #ccc;
margin: 15px 0;
}
.blog-title {
padding-left: 13.5px;
}
.blog-content {
padding-left: 13px;
font-size: 13px;
color: dimgray;
}
.layui-tab-title {
border-bottom: none;
}
.fl-item {
height: 30px;
font-size: 13.5;
}
.dot {
width: 10px;
height: 10px;
border-radius: 50px;
background-color: gray;
display: inline-block;
margin-right: 10px;
}
.message-board {
padding: 0 10px 10px;
}
.message-board li {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #EEE;
}
.message-board li p {
padding-bottom: 10px;
padding-top: 3px;
}
.message-board li>span {
color: #999;
height: 24px;
line-height: 24px;
}
.message-board .message-board-reply {
position: absolute;
right: 20px;
bottom: 12px;
height: 24px;
line-height: 24px;
}
-12
View File
@@ -1,12 +0,0 @@
.demo-reg-container {
width: 320px;
margin: 220px auto 0;
}
.demo-reg-other .layui-icon {
position: relative;
display: inline-block;
margin: 0 2px;
top: 2px;
font-size: 26px;
}
+279
View File
@@ -22,5 +22,284 @@
"href": "view/console/index.html"
}
]
},
{
"id": 9,
"title": "列表页面",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"children": [
{
"id": 91,
"title": "查询表格",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/listing/table.html"
}
]
},
{
"id": 2,
"title": "扩展组件",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"children": [
{
"id": 23,
"title": "高级栅格",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/component/grid.html"
},
{
"id": 24,
"title": "消息提示",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/component/toast.html"
},
{
"id": 25,
"title": "路由过渡",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/component/nprogress.html"
}
]
},
{
"id": "result",
"title": "结果页面",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"href": "",
"children": [
{
"id": "success",
"title": "成功页面",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "failure",
"title": "失败页面",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_component",
"href": "view/result/error.html"
}
]
},
{
"id": "exception",
"title": "异常页面",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"href": "",
"children": [
{
"id": "403",
"title": "403",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/exception/403.html"
},
{
"id": "404",
"title": "404",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_component",
"href": "view/exception/404.html"
},
{
"id": "500",
"title": "500",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_component",
"href": "view/exception/500.html"
}
]
},
{
"id": "open",
"title": "菜单模式",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"children": [
{
"id": "a",
"title": "普通路由",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "b",
"title": "嵌套网页",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_iframe",
"href": "http://www.layui-vue.com"
},
{
"id": "c",
"title": "新建标签",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_blank",
"href": "http://www.layui-vue.com"
},
{
"id": "d",
"title": "弹窗网页",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_layer",
"href": "http://www.layui-vue.com"
}
]
},
{
"id": "deep",
"title": "深度测试",
"icon": "layui-icon layui-icon-auz",
"type": 0,
"href": "",
"children": [
{
"id": "deep1-1",
"title": "二级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 0,
"openType": "_component",
"href": "view/result/success.html",
"children": [
{
"id": "deep1-1-1",
"title": "三级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 0,
"openType": "_component",
"href": "view/result/success.html",
"children": [
{
"id": "deep1-1-1-1",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "deep1-1-1-2",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_blank",
"href": "http://www.layui-vue.com"
}
]
},
{
"id": "deep1-1-2",
"title": "三级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 0,
"openType": "_blank",
"href": "http://www.layui-vue.com",
"children": [
{
"id": "deep1-1-2-1",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "deep1-1-2-2",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_blank",
"href": "http://www.layui-vue.com"
}
]
}
]
},
{
"id": "deep1-2",
"title": "二级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 0,
"openType": "_blank",
"href": "http://www.layui-vue.com",
"children": [
{
"id": "deep1-2-1",
"title": "三级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 0,
"openType": "_component",
"href": "view/result/success.html",
"children": [
{
"id": "deep1-2-1-1",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "deep1-2-1-2",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_blank",
"href": "http://www.layui-vue.com"
}
]
},
{
"id": "deep1-2-2",
"title": "三级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 0,
"openType": "_blank",
"href": "http://www.layui-vue.com",
"children": [
{
"id": "deep1-2-2-1",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-smile",
"type": 1,
"openType": "_component",
"href": "view/result/success.html"
},
{
"id": "deep1-2-2-2",
"title": "四级菜单",
"icon": "layui-icon layui-icon-face-cry",
"type": 1,
"openType": "_blank",
"href": "http://www.layui-vue.com"
}
]
}
]
}
]
}
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB