mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-05 11:52:49 +08:00
feat: 迁移ul-card-a
This commit is contained in:
6
source/components/card/ul-card-a/_index.env
Normal file
6
source/components/card/ul-card-a/_index.env
Normal file
@@ -0,0 +1,6 @@
|
||||
title=ul-card-a
|
||||
padding=0
|
||||
margin=0
|
||||
gray=0
|
||||
mobile=0
|
||||
inner_margin=0
|
||||
20
source/components/card/ul-card-a/_index.html
Normal file
20
source/components/card/ul-card-a/_index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="ul-common-flex-list">
|
||||
<div
|
||||
class="ul-card-a"
|
||||
data-repeat="3"
|
||||
>
|
||||
<div class="ul-card-a-left ul-demo-img-bg">
|
||||
|
||||
</div>
|
||||
<div class="ul-card-a-right">
|
||||
<div class="ul-card-a-main">
|
||||
<div class="ul-card-a-title">
|
||||
卡片标题
|
||||
</div>
|
||||
<div class="ul-card-a-desc">
|
||||
这是卡片说明
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
source/components/card/ul-card-a/_index.md
Normal file
0
source/components/card/ul-card-a/_index.md
Normal file
5
source/components/card/ul-card-a/_index.php
Normal file
5
source/components/card/ul-card-a/_index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
];
|
||||
35
source/components/card/ul-card-a/_index.scss
Normal file
35
source/components/card/ul-card-a/_index.scss
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
.ul-card-a {
|
||||
width: 180px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #bbb;
|
||||
box-shadow: 2px 2px 5px #999;
|
||||
color: #516073;
|
||||
padding: 15px;
|
||||
cursor: pointer;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ul-card-a-left {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.ul-card-a-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.ul-card-a-title {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.ul-card-a-desc {
|
||||
margin-top: 5px;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in New Issue
Block a user