mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
feat: 迁移极简图标卡片
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
<fieldset class="layui-elem-field layui-field-title">
|
||||
<legend>极简图标卡片</legend>
|
||||
<div class="layui-field-box">
|
||||
<div class="ul-card-simple-icon" data-repeat="3">
|
||||
<div class="ul-card-simple-icon-image" style="background-image: url('/static/images/view.jpg');">
|
||||
|
||||
</div>
|
||||
<div class="ul-card-simple-icon-title">
|
||||
图标
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="layui-elem-field layui-field-title">
|
||||
<legend>消息信息操作卡片</legend>
|
||||
<div class="layui-field-box ">
|
||||
|
||||
@@ -1102,6 +1102,37 @@
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.ul-card-simple-icon {
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 15px;
|
||||
box-shadow: 0 2px 12px 0 #bbb;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ebeef5;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
width: 100px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ul-card-simple-icon .ul-card-simple-icon-image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ul-card-simple-icon .ul-card-simple-icon-title {
|
||||
border-top: 2px solid #ebeef5;
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ul-data-card {
|
||||
margin: 15px;
|
||||
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
@@ -8,6 +8,7 @@
|
||||
@import './card/ul-card-file/index';
|
||||
@import './card/ul-card-money/index';
|
||||
@import './card/ul-card-qrcode/index';
|
||||
@import './card/ul-card-simple-icon/index';
|
||||
@import './card/ul-data-card/index';
|
||||
@import './card/ul-easy-image/index';
|
||||
@import './card/ul-info-card/index';
|
||||
|
||||
6
source/components/card/ul-card-simple-icon/_index.env
Normal file
6
source/components/card/ul-card-simple-icon/_index.env
Normal file
@@ -0,0 +1,6 @@
|
||||
title=极简图标卡片
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
inner_margin=0
|
||||
14
source/components/card/ul-card-simple-icon/_index.html
Normal file
14
source/components/card/ul-card-simple-icon/_index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div
|
||||
class="ul-card-simple-icon"
|
||||
data-repeat="3"
|
||||
>
|
||||
<div
|
||||
class="ul-card-simple-icon-image"
|
||||
style="background-image: url('/static/images/view.jpg');"
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="ul-card-simple-icon-title">
|
||||
图标
|
||||
</div>
|
||||
</div>
|
||||
5
source/components/card/ul-card-simple-icon/_index.php
Normal file
5
source/components/card/ul-card-simple-icon/_index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
];
|
||||
29
source/components/card/ul-card-simple-icon/_index.scss
Normal file
29
source/components/card/ul-card-simple-icon/_index.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
.ul-card-simple-icon {
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 15px;
|
||||
box-shadow: 0 2px 12px 0 #bbb;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ebeef5;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
width: 100px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.ul-card-simple-icon .ul-card-simple-icon-image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
}
|
||||
.ul-card-simple-icon .ul-card-simple-icon-title {
|
||||
border-top: 2px solid #ebeef5;
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -327,35 +327,6 @@
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.ul-card-simple-icon {
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 15px;
|
||||
box-shadow: 0 2px 12px 0 #bbb;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ebeef5;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
width: 100px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.ul-card-simple-icon .ul-card-simple-icon-image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
}
|
||||
.ul-card-simple-icon .ul-card-simple-icon-title {
|
||||
border-top: 2px solid #ebeef5;
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ul-card-message {
|
||||
border-radius: 10px 10px 0 0;
|
||||
background-color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user