mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-05 20:02:49 +08:00
新增相册
This commit is contained in:
5
source/components/list/ul-photo-list-b/_index.env
Normal file
5
source/components/list/ul-photo-list-b/_index.env
Normal file
@@ -0,0 +1,5 @@
|
||||
title=相册列表-精简
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
11
source/components/list/ul-photo-list-b/_index.html
Normal file
11
source/components/list/ul-photo-list-b/_index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="ul-photo-list-b">
|
||||
<div class="ul-photo-item" data-repeat="3">
|
||||
<div class="ul-photo-poster" style="background-image: url('/static/images/view.jpg');">
|
||||
|
||||
</div>
|
||||
<div class="ul-photo-info">
|
||||
<div class="ul-photo-title">周末野外广场树林写真</div>
|
||||
<div class="ul-photo-desc">相册说明内容</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
source/components/list/ul-photo-list-b/_index.md
Normal file
0
source/components/list/ul-photo-list-b/_index.md
Normal file
29
source/components/list/ul-photo-list-b/_index.scss
Normal file
29
source/components/list/ul-photo-list-b/_index.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.ul-photo-list-b {
|
||||
display : flex;
|
||||
align-items : flex-start;
|
||||
justify-content: flex-start;
|
||||
flex-wrap : wrap;
|
||||
|
||||
.ul-photo-item {
|
||||
margin : 15px;
|
||||
text-align: left;
|
||||
width : 200px;
|
||||
}
|
||||
|
||||
.ul-photo-poster {
|
||||
width : 100%;
|
||||
height : 120px;
|
||||
background-image : url("../static/images/avatar.png");
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
margin : 0 auto;
|
||||
box-shadow : 1px 1px 3px #bbb;
|
||||
}
|
||||
|
||||
.ul-photo-info {
|
||||
margin-top : 10px;
|
||||
font-size : 18px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user