mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
新增相册
This commit is contained in:
@@ -5,5 +5,8 @@
|
||||
@import './list/ul-book-item/index';
|
||||
@import './list/ul-music-list/index';
|
||||
@import './list/ul-order-list-simple-card/index';
|
||||
@import './list/ul-photo-card-list/index';
|
||||
@import './list/ul-photo-list/index';
|
||||
@import './list/ul-photo-list-b/index';
|
||||
@import './list/ul-site-group/index';
|
||||
@import './nav/ul-nav-info/index';
|
||||
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
5
source/components/list/ul-photo-list/_index.env
Normal file
5
source/components/list/ul-photo-list/_index.env
Normal file
@@ -0,0 +1,5 @@
|
||||
title=相册列表
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
13
source/components/list/ul-photo-list/_index.html
Normal file
13
source/components/list/ul-photo-list/_index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="ul-photo-list">
|
||||
<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-plus">45P+1V</div>
|
||||
<div class="ul-photo-desc">相册说明内容</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
0
source/components/list/ul-photo-list/_index.md
Normal file
0
source/components/list/ul-photo-list/_index.md
Normal file
33
source/components/list/ul-photo-list/_index.scss
Normal file
33
source/components/list/ul-photo-list/_index.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
.ul-photo-list {
|
||||
display : flex;
|
||||
align-items : flex-start;
|
||||
justify-content: flex-start;
|
||||
flex-wrap : wrap;
|
||||
}
|
||||
|
||||
.ul-photo-item {
|
||||
margin : 15px;
|
||||
text-align: center;
|
||||
min-width : 220px;
|
||||
}
|
||||
|
||||
.ul-photo-poster {
|
||||
width : 180px;
|
||||
height : 140px;
|
||||
background-image : url("../static/images/avatar.png");
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
margin : 0 auto;
|
||||
box-shadow : 1px 1px 3px #999;
|
||||
}
|
||||
|
||||
.ul-photo-info {
|
||||
margin-top : 10px;
|
||||
font-size : 18px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ul-photo-desc {
|
||||
font-size: 14px;
|
||||
color : #999;
|
||||
}
|
||||
@@ -47,74 +47,6 @@
|
||||
|
||||
/* 链接导航结束 */
|
||||
|
||||
/* 相册列表开始 */
|
||||
|
||||
.ul-photo-list {
|
||||
display : flex;
|
||||
align-items : flex-start;
|
||||
justify-content: flex-start;
|
||||
flex-wrap : wrap;
|
||||
}
|
||||
|
||||
.ul-photo-item {
|
||||
margin : 15px;
|
||||
text-align: center;
|
||||
min-width : 220px;
|
||||
}
|
||||
|
||||
.ul-photo-poster {
|
||||
width : 180px;
|
||||
height : 140px;
|
||||
background-image : url("../static/images/avatar.png");
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
margin : 0 auto;
|
||||
box-shadow : 1px 1px 3px #999;
|
||||
}
|
||||
|
||||
.ul-photo-info {
|
||||
margin-top : 10px;
|
||||
font-size : 18px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ul-photo-desc {
|
||||
font-size: 14px;
|
||||
color : #999;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/* 相册列表结束 */
|
||||
|
||||
.ul-info-tips {
|
||||
padding : 15px;
|
||||
|
||||
Reference in New Issue
Block a user