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 @@ - - +