From b3adaf97fffecd683699c40572fe9f7807db5989 Mon Sep 17 00:00:00 2001 From: Eratosici Date: Tue, 13 Jul 2021 19:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=AC=E5=91=8A=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=9B=BE=E7=89=87=E6=BA=A2=E5=87=BA=E3=80=81=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/production/production.css | 2 +- pages/news-detail/news-detail.css | 6 ++++++ pages/news-detail/news-detail.vue | 2 +- pages/prod-classify/prod-classify.css | 4 ++++ pages/prod-classify/prod-classify.vue | 4 ++-- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/components/production/production.css b/components/production/production.css index 8f884c3..3b12dda 100644 --- a/components/production/production.css +++ b/components/production/production.css @@ -1,6 +1,6 @@ .prod-items { - width: 375rpx; + width: 360rpx; float: left; background: #fff; padding-bottom: 20rpx; diff --git a/pages/news-detail/news-detail.css b/pages/news-detail/news-detail.css index b69e681..23cf3b5 100644 --- a/pages/news-detail/news-detail.css +++ b/pages/news-detail/news-detail.css @@ -18,3 +18,9 @@ text-justify: inter-ideograph; margin-top: 20rpx; } + +.content >>> img { + display: block; + width: 100%; + height: auto; +} diff --git a/pages/news-detail/news-detail.vue b/pages/news-detail/news-detail.vue index 2cab1f4..bfb3e5f 100644 --- a/pages/news-detail/news-detail.vue +++ b/pages/news-detail/news-detail.vue @@ -5,7 +5,7 @@ {{news.title}} - + diff --git a/pages/prod-classify/prod-classify.css b/pages/prod-classify/prod-classify.css index 552f57a..2bdc583 100644 --- a/pages/prod-classify/prod-classify.css +++ b/pages/prod-classify/prod-classify.css @@ -4,6 +4,10 @@ page { background: #fff; } +.container { + margin: 7px; +} + .line-fix { width: 100%; height: 2rpx; diff --git a/pages/prod-classify/prod-classify.vue b/pages/prod-classify/prod-classify.vue index b8f64b2..56194e9 100644 --- a/pages/prod-classify/prod-classify.vue +++ b/pages/prod-classify/prod-classify.vue @@ -2,8 +2,8 @@ - - +