From 47e45fb6538a401856c467ce92ffc883a84934fc Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 15 Jul 2022 23:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E5=8F=B3=E6=BB=9A=E5=8A=A8=E6=9C=80?= =?UTF-8?q?=E5=90=8E=E4=B8=80=E4=B8=AA=E5=85=83=E7=B4=A0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E5=85=A8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 6 +++ components/blog-list/blog-list.vue | 10 ++--- components/goods-list/goods-list.vue | 10 ++--- pages/index/index.vue | 56 ++++++++++++++-------------- pages/plugins/blog/index/index.vue | 28 +++++++------- 5 files changed, 60 insertions(+), 50 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index ff05aa06..e3d34f54 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -758,6 +758,12 @@ button[disabled].bg-gray { white-space: nowrap; box-sizing: border-box; width: 100%; +} +/** + * 滚动水平左右滑动内容宽度处理 + */ +.rolling-horizontal .scroll-view-horizontal { + width: calc(100% + 20rpx); } /** diff --git a/components/blog-list/blog-list.vue b/components/blog-list/blog-list.vue index daf6a26d..111105a6 100644 --- a/components/blog-list/blog-list.vue +++ b/components/blog-list/blog-list.vue @@ -47,12 +47,12 @@ - - + + - - + + {{item.title}} @@ -62,7 +62,7 @@ - + diff --git a/components/goods-list/goods-list.vue b/components/goods-list/goods-list.vue index ebfb9db6..63ef596b 100644 --- a/components/goods-list/goods-list.vue +++ b/components/goods-list/goods-list.vue @@ -65,12 +65,12 @@ - - + + - - + + @@ -93,7 +93,7 @@ - + diff --git a/pages/index/index.vue b/pages/index/index.vue index f60456c6..1e813bed 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -80,36 +80,38 @@ 更多 - - - - - - - - - - {{item.title}} - {{currency_symbol}}{{item.min_price}} - {{currency_symbol}}{{item.min_original_price}} - - + + + + + + + + + + + {{item.title}} + {{currency_symbol}}{{item.min_price}} + {{currency_symbol}}{{item.min_original_price}} + + + + + + + + + {{lv.name}} + + + - - - - - - {{lv.name}} - - - - - - - + + + + diff --git a/pages/plugins/blog/index/index.vue b/pages/plugins/blog/index/index.vue index c86b8a66..d8996cc1 100644 --- a/pages/plugins/blog/index/index.vue +++ b/pages/plugins/blog/index/index.vue @@ -41,19 +41,21 @@ 热门博文 更多 - - - - - - - - {{item.title}} - - - - - + + + + + + + + + {{item.title}} + + + + + +