mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
增加站位加载中
This commit is contained in:
@@ -936,6 +936,25 @@
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.ul-loading-pos {
|
||||
background-color: #eee;
|
||||
color: #999;
|
||||
display: inline-block;
|
||||
}
|
||||
.ul-loading-pos .main {
|
||||
padding: 15px;
|
||||
}
|
||||
.ul-loading-pos.lg .main {
|
||||
padding: 25px 35px;
|
||||
}
|
||||
.ul-loading-pos.screen {
|
||||
width: 100%;
|
||||
}
|
||||
.ul-loading-pos.screen .main {
|
||||
padding: 60px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ul-shop-header {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
2
public/cdn/layui-ul.min.css
vendored
2
public/cdn/layui-ul.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
||||
@import './card/ul-easy-image/index';
|
||||
@import './descriptions/ul-descriptions-info/index';
|
||||
@import './descriptions/ul-easy-item/index';
|
||||
@import './element/ul-loading-pos/index';
|
||||
@import './header/ul-shop-header/index';
|
||||
@import './list/ul-avatar-list/index';
|
||||
@import './list/ul-avatar-sidebar-list/index';
|
||||
|
||||
5
source/components/element/ul-loading-pos/_index.env
Normal file
5
source/components/element/ul-loading-pos/_index.env
Normal file
@@ -0,0 +1,5 @@
|
||||
title=站位加载
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
16
source/components/element/ul-loading-pos/_index.html
Normal file
16
source/components/element/ul-loading-pos/_index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="ul-section">
|
||||
<div class="ul-loading-pos">
|
||||
<div class="main">加载中</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ul-section">
|
||||
<div class="ul-loading-pos lg">
|
||||
<div class="main">加载中</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ul-section">
|
||||
<div class="ul-loading-pos screen">
|
||||
<div class="main">加载中</div>
|
||||
</div>
|
||||
</div>
|
||||
0
source/components/element/ul-loading-pos/_index.md
Normal file
0
source/components/element/ul-loading-pos/_index.md
Normal file
24
source/components/element/ul-loading-pos/_index.scss
Normal file
24
source/components/element/ul-loading-pos/_index.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
.ul-loading-pos {
|
||||
background-color: #eee;
|
||||
color: #999;
|
||||
display: inline-block;
|
||||
|
||||
.main {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
&.lg {
|
||||
.main {
|
||||
padding: 25px 35px;
|
||||
}
|
||||
}
|
||||
|
||||
&.screen {
|
||||
width: 100%;
|
||||
|
||||
.main {
|
||||
padding: 60px 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user