mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-10 06:02:48 +08:00
新增数据卡片极简底色;
This commit is contained in:
@@ -272,7 +272,7 @@
|
|||||||
<div class="layui-field-box">
|
<div class="layui-field-box">
|
||||||
<div class="ul-padding-md ul-bg-gray ul-mobile-box">
|
<div class="ul-padding-md ul-bg-gray ul-mobile-box">
|
||||||
<div class="ul-card-data-simple">
|
<div class="ul-card-data-simple">
|
||||||
<div class="item">
|
<div class="item line">
|
||||||
<div class="item-title">
|
<div class="item-title">
|
||||||
订单数量
|
订单数量
|
||||||
</div>
|
</div>
|
||||||
@@ -311,3 +311,40 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<fieldset class="layui-elem-field layui-field-title">
|
||||||
|
<legend>数据卡片极简底色</legend>
|
||||||
|
<div class="layui-field-box">
|
||||||
|
<div class=" ul-mobile-box">
|
||||||
|
<div class="ul-card-data-simple ul-card-data-simple-bg-black">
|
||||||
|
<div class="item main">
|
||||||
|
<div class="item-title">
|
||||||
|
订单数量
|
||||||
|
</div>
|
||||||
|
<div class="item-value">
|
||||||
|
120
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="item-title">
|
||||||
|
订单数量
|
||||||
|
</div>
|
||||||
|
<div class="item-value">
|
||||||
|
120
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="item-title">
|
||||||
|
线下订单
|
||||||
|
</div>
|
||||||
|
<div class="item-value">
|
||||||
|
120
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.1 MiB |
@@ -2,3 +2,4 @@
|
|||||||
@import './ul-card-message';
|
@import './ul-card-message';
|
||||||
@import './ul-info-card';
|
@import './ul-info-card';
|
||||||
@import './ul-card-data-simple';
|
@import './ul-card-data-simple';
|
||||||
|
@import './ul-card-data-simple-bg-black';
|
||||||
35
source/scss/card/_ul-card-data-simple-bg-black.scss
Normal file
35
source/scss/card/_ul-card-data-simple-bg-black.scss
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
.ul-card-data-simple-bg-black {
|
||||||
|
background-color: #393D49;
|
||||||
|
color : #fff;
|
||||||
|
border-radius : 15px;
|
||||||
|
padding : 15px;
|
||||||
|
|
||||||
|
box-shadow: 0 0 4px #999;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
|
||||||
|
padding : 15px;
|
||||||
|
margin-right: 0 10px;
|
||||||
|
|
||||||
|
.item-title {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-value {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.item.main {
|
||||||
|
background-color: #fff;
|
||||||
|
color : #393D49;
|
||||||
|
border-radius : 15px;
|
||||||
|
|
||||||
|
box-shadow : 1px 1px 3px #999;
|
||||||
|
margin-right: 25px;
|
||||||
|
|
||||||
|
.item-title {
|
||||||
|
color: #393D49;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5,8 +5,8 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 15px;
|
margin : 15px 0;
|
||||||
|
padding : 0 15px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
.item-title {
|
.item-title {
|
||||||
@@ -33,4 +33,8 @@
|
|||||||
color: #1E9FFF;
|
color: #1E9FFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item.line {
|
||||||
|
border-right: 1px solid #eee;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user