From 78068d49c20a8b90db902d955f558af507eb8b96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 16:06:12 +0800 Subject: [PATCH] 各页面添加骨架屏 --- packagePersonal/pages/downloads/index.wxss | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packagePersonal/pages/downloads/index.wxss b/packagePersonal/pages/downloads/index.wxss index f9ab05d..5e60f8e 100644 --- a/packagePersonal/pages/downloads/index.wxss +++ b/packagePersonal/pages/downloads/index.wxss @@ -10,7 +10,7 @@ } .pageInfo { - padding: 40rpx; + padding: 24rpx; } .content-item { @@ -22,6 +22,7 @@ .content-item .icon { width: 150rpx; height: 200rpx; + box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } .content-item .icon .img { @@ -37,11 +38,20 @@ .titleBox { margin-left: 20rpx; + flex: 1; } .titleBox .item-title { font-weight: bold; margin-bottom: 20rpx; + max-height: 88rpx; + color: #333333; + line-height: 44rpx; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; + text-overflow: ellipsis; } .createDate { @@ -62,7 +72,7 @@ } .stateBox { - width: 120rpx; + width: 110rpx; text-align: right; font-size: 28rpx; line-height: 60rpx; @@ -89,4 +99,9 @@ .loading { padding: 20rpx; text-align: center; +} + +.body-loading { + padding: 200rpx 0; + text-align: center; } \ No newline at end of file -- Gitblit v1.9.1