mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-09 13:42:48 +08:00
新增相册
This commit is contained in:
5
source/components/list/ul-photo-card-list/_index.env
Normal file
5
source/components/list/ul-photo-card-list/_index.env
Normal file
@@ -0,0 +1,5 @@
|
||||
title=相册列表-卡片
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
14
source/components/list/ul-photo-card-list/_index.html
Normal file
14
source/components/list/ul-photo-card-list/_index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="ul-photo-card-list">
|
||||
|
||||
<div class="ul-photo-card-item" data-repeat="7">
|
||||
<div class="ul-photo-card-poster" style="background-image: url('/static/images/view.jpg');">
|
||||
|
||||
</div>
|
||||
<div class="ul-photo-card-info">
|
||||
<div class="ul-photo-card-title">周末野外广场树林写真</div>
|
||||
<div class="ul-photo-card-desc">相册说明内容</div>
|
||||
<div class="ul-photo-card-plus">45P+1V</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
0
source/components/list/ul-photo-card-list/_index.md
Normal file
0
source/components/list/ul-photo-card-list/_index.md
Normal file
31
source/components/list/ul-photo-card-list/_index.scss
Normal file
31
source/components/list/ul-photo-card-list/_index.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
.ul-photo-card-list {
|
||||
display : flex;
|
||||
align-items : flex-start;
|
||||
justify-content: flex-start;
|
||||
flex-wrap : wrap;
|
||||
}
|
||||
|
||||
.ul-photo-card-item {
|
||||
width : 200px;
|
||||
margin : 15px;
|
||||
box-shadow: 0 5px 10px #999;
|
||||
}
|
||||
|
||||
.ul-photo-card-poster {
|
||||
width : 100%;
|
||||
height : 140px;
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-photo-card-info {
|
||||
padding : 5px;
|
||||
font-size : 18px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ul-photo-card-desc {
|
||||
font-size: 14px;
|
||||
color : #999;
|
||||
}
|
||||
Reference in New Issue
Block a user