mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
重构条幅(广告)列表
This commit is contained in:
@@ -90,22 +90,3 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="layui-elem-field layui-field-title">
|
||||
<legend>条幅(广告)列表</legend>
|
||||
<div class="layui-field-box">
|
||||
<div class="ul-ad-list">
|
||||
<div class="ul-ad-item" data-repeat="3">
|
||||
<div class="ul-ad-left">
|
||||
<div class="ul-ad-img" style="background-image: url('/static/images/view.jpg');"></div>
|
||||
</div>
|
||||
<div class="ul-ad-right">
|
||||
<div class="ul-ad-title">福牛迎春</div>
|
||||
<div class="ul-ad-desc">天天送大礼</div>
|
||||
<div class="ul-ad-options">
|
||||
<div class="layui-btn">查看详情</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
@@ -1223,6 +1223,46 @@
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.ul-ad-item {
|
||||
box-shadow: 1px 1px 8px #666;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ul-ad-left {
|
||||
width: 72%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.ul-ad-img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-ad-right {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.ul-ad-title {
|
||||
font-size: 28px;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
color: #e4393c;
|
||||
}
|
||||
|
||||
.ul-ad-desc {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin: 26px 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.ul-avatar-list {
|
||||
/* 用户头像开始 */
|
||||
}
|
||||
@@ -2591,46 +2631,6 @@
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.ul-ad-item {
|
||||
box-shadow: 1px 1px 8px #666;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ul-ad-left {
|
||||
width: 72%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.ul-ad-img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-ad-right {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.ul-ad-title {
|
||||
font-size: 28px;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
color: #e4393c;
|
||||
}
|
||||
|
||||
.ul-ad-desc {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin: 26px 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.ul-nav-tree-2-group-title {
|
||||
font-size: 14px;
|
||||
height: 32px;
|
||||
|
||||
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
@@ -9,6 +9,7 @@
|
||||
@import './element/ul-loading-pos/index';
|
||||
@import './header/ul-header-shape/index';
|
||||
@import './header/ul-shop-header/index';
|
||||
@import './list/ul-ad-list/index';
|
||||
@import './list/ul-avatar-list/index';
|
||||
@import './list/ul-avatar-sidebar-list/index';
|
||||
@import './list/ul-book-item/index';
|
||||
|
||||
6
source/components/list/ul-ad-list/_index.env
Normal file
6
source/components/list/ul-ad-list/_index.env
Normal file
@@ -0,0 +1,6 @@
|
||||
title=条幅(广告)列表
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
inner_margin=0
|
||||
14
source/components/list/ul-ad-list/_index.html
Normal file
14
source/components/list/ul-ad-list/_index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="ul-ad-list">
|
||||
<div class="ul-ad-item" data-repeat="3">
|
||||
<div class="ul-ad-left">
|
||||
<div class="ul-ad-img" style="background-image: url('/static/images/view.jpg');"></div>
|
||||
</div>
|
||||
<div class="ul-ad-right">
|
||||
<div class="ul-ad-title">福牛迎春</div>
|
||||
<div class="ul-ad-desc">天天送大礼</div>
|
||||
<div class="ul-ad-options">
|
||||
<div class="layui-btn">查看详情</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
source/components/list/ul-ad-list/_index.md
Normal file
0
source/components/list/ul-ad-list/_index.md
Normal file
5
source/components/list/ul-ad-list/_index.php
Normal file
5
source/components/list/ul-ad-list/_index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
];
|
||||
42
source/components/list/ul-ad-list/_index.scss
Normal file
42
source/components/list/ul-ad-list/_index.scss
Normal file
@@ -0,0 +1,42 @@
|
||||
.ul-ad-list {}
|
||||
|
||||
.ul-ad-item {
|
||||
box-shadow: 1px 1px 8px #666;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ul-ad-left {
|
||||
width: 72%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.ul-ad-img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-ad-right {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.ul-ad-title {
|
||||
font-size: 28px;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
color: #e4393c;
|
||||
|
||||
}
|
||||
|
||||
.ul-ad-desc {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin: 26px 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
@@ -657,48 +657,6 @@
|
||||
|
||||
}
|
||||
|
||||
.ul-ad-list {}
|
||||
|
||||
.ul-ad-item {
|
||||
box-shadow : 1px 1px 8px #666;
|
||||
background-color: #fff;
|
||||
display : flex;
|
||||
align-items : center;
|
||||
justify-content : space-between;
|
||||
padding : 15px;
|
||||
margin-bottom : 15px;
|
||||
}
|
||||
|
||||
.ul-ad-left {
|
||||
width : 72%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.ul-ad-img {
|
||||
height : 100%;
|
||||
width : 100%;
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-ad-right {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.ul-ad-title {
|
||||
font-size : 28px;
|
||||
font-weight: 100;
|
||||
margin : 0;
|
||||
color : #e4393c;
|
||||
|
||||
}
|
||||
|
||||
.ul-ad-desc {
|
||||
font-size : 14px;
|
||||
color : #666666;
|
||||
margin : 26px 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.ul-nav-tree-2 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user