mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-08 05:12:48 +08:00
feat: 迁移通用头部
This commit is contained in:
6
source/components/header/ul-header/_index.env
Normal file
6
source/components/header/ul-header/_index.env
Normal file
@@ -0,0 +1,6 @@
|
||||
title=通用PC头部
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
inner_margin=0
|
||||
69
source/components/header/ul-header/_index.html
Normal file
69
source/components/header/ul-header/_index.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<div class="ul-section">
|
||||
<div class="ul-header">
|
||||
<div
|
||||
class="ul-header-main"
|
||||
style="max-width: 600px;"
|
||||
>
|
||||
|
||||
<div class="ul-header-left">
|
||||
<div class="">
|
||||
<img
|
||||
class="ul-header-logo"
|
||||
src="/static/images/ulthon_logo_108.png"
|
||||
alt=""
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ul-header-right">
|
||||
<div class="ul-header-user">
|
||||
<div class="ul-header-user-avatar">
|
||||
|
||||
</div>
|
||||
<div class="ul-header-user-info">
|
||||
<div class="ul-header-user-name">
|
||||
奥古斯宏
|
||||
</div>
|
||||
<div class="ul-header-user-options">
|
||||
<i class="ul-icon-exit"></i>
|
||||
<span>退出</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="ul-section">
|
||||
<div class="ul-header ">
|
||||
<div class="ul-header-main">
|
||||
|
||||
<div class="ul-header-left">
|
||||
<div class="">
|
||||
<img
|
||||
class="ul-header-logo"
|
||||
src="/static/images/ulthon_logo_108.png"
|
||||
alt=""
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ul-header-right">
|
||||
<div class="ul-header-user">
|
||||
<div class="ul-header-user-avatar">
|
||||
|
||||
</div>
|
||||
<div class="ul-header-user-info">
|
||||
<div class="ul-header-user-name">
|
||||
奥古斯宏
|
||||
</div>
|
||||
<div class="ul-header-user-options">
|
||||
<i class="ul-icon-exit"></i>
|
||||
<span>退出</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
0
source/components/header/ul-header/_index.md
Normal file
0
source/components/header/ul-header/_index.md
Normal file
5
source/components/header/ul-header/_index.php
Normal file
5
source/components/header/ul-header/_index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
];
|
||||
44
source/components/header/ul-header/_index.scss
Normal file
44
source/components/header/ul-header/_index.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
/* 头部开始 */
|
||||
.ul-header {
|
||||
background-color: #fff;
|
||||
box-shadow : 0 3px 5px #999;
|
||||
padding : 3px;
|
||||
}
|
||||
|
||||
.ul-header-main {
|
||||
display : flex;
|
||||
justify-content: space-between;
|
||||
align-items : center;
|
||||
margin : 0 auto;
|
||||
}
|
||||
|
||||
.ul-header-logo {
|
||||
max-height: 48px;
|
||||
}
|
||||
|
||||
.ul-header-user {
|
||||
display : flex;
|
||||
align-items : center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ul-header-user-avatar {
|
||||
background-image : url("/static/images/avatar.png");
|
||||
width : 45px;
|
||||
height : 45px;
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-header-user-options {
|
||||
display : flex;
|
||||
align-items: center;
|
||||
color : #999;
|
||||
font-size : 12px;
|
||||
cursor : pointer;
|
||||
margin-top : 5px;
|
||||
}
|
||||
|
||||
.ul-header-user-info {
|
||||
margin-left: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user