From c2cd778fd3f40a75df483758bb2f1fe1dedc7eef Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 26 四月 2024 09:49:25 +0800 Subject: [PATCH] 资源购买页请求慢优化 --- packageBookService/pages/bookServices/detail/components/tree/index.wxss | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.wxss b/packageBookService/pages/bookServices/detail/components/tree/index.wxss index 1cad023..7d62423 100644 --- a/packageBookService/pages/bookServices/detail/components/tree/index.wxss +++ b/packageBookService/pages/bookServices/detail/components/tree/index.wxss @@ -1,8 +1,10 @@ .tree { --td-collapse-content-padding: 0rpx 12rpx 32rpx 12rpx; --td-collapse-header-text-color: #ff6C00; - --td-collapse-icon-color: #ff6c00 + --td-collapse-icon-color: #ff6c00; + --td-collapse-header-height: min-content; } + .header-title { width: 100%; @@ -15,7 +17,7 @@ .title-box { width: 100%; display: flex; - align-items: flex-start; + align-items: center; } .title-checkBox { @@ -26,11 +28,7 @@ .title-name { - display: inline-block; - /* max-width: 60%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; */ + height: min-content; } .t-class { @@ -47,7 +45,8 @@ } .contentBox { - padding: 0 26rpx; + margin: 0 26rpx; + padding: 0 20rpx; height: 88rpx; background-color: #FFF6F0; margin-top: 24rpx; @@ -62,7 +61,6 @@ } .box-image { - width: 350rpx; display: flex; } @@ -103,4 +101,12 @@ .list-icon { width: 32rpx; height: 18rpx; -} \ No newline at end of file +} + +.listItems { + padding-bottom: 20rpx; +} + +/* .t-collapse-panel__content { + padding: var(--td-collapse-content-padding, 0rpx) !important; +} */ \ No newline at end of file -- Gitblit v1.9.1