mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
feat: 迁移极简图标卡片
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user