From 99737b3358cd86aa4d42e89f2baa114e3ac9c01d Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 22 Apr 2021 00:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=A1=E7=89=87=E6=8E=92?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/card.html | 26 ++++++++++++++------------ public/cdn/layui-ul.css | 17 ++++++++++++----- 2 files changed, 26 insertions(+), 17 deletions(-) diff --git a/demo/card.html b/demo/card.html index 2ea2e0c..483ac92 100644 --- a/demo/card.html +++ b/demo/card.html @@ -1,18 +1,20 @@
卡片A
-
-
-
- -
-
-
-
- 卡片标题 -
-
- 这是卡片说明 +
+
+
+
+ +
+
+
+
+ 卡片标题 +
+
+ 这是卡片说明 +
diff --git a/public/cdn/layui-ul.css b/public/cdn/layui-ul.css index bde8e01..7b6c04e 100644 --- a/public/cdn/layui-ul.css +++ b/public/cdn/layui-ul.css @@ -58,6 +58,16 @@ background-color: #fff; } +.ul-common-flex-list{ + display: flex; + flex-wrap: wrap; +} +.ul-common-flex-sb { + display: flex; + align-items: center; + justify-content: space-between; +} + /* 通用类结束 */ /* 用户头像开始 */ @@ -709,6 +719,8 @@ color: #516073; padding: 15px; cursor: pointer; + margin-right: 15px; + margin-bottom: 15px; } .ul-card-a-left { width: 40%; @@ -782,11 +794,6 @@ border-bottom: 1px dotted #d9d9d9; } -.ul-common-flex-sb { - display: flex; - align-items: center; - justify-content: space-between; -} .ul-card-bank-body { height: 40px; padding: 10px 10px 20px 0;