From 824a67a8c485f2cd9c2f1c830bf15b7ff35d71fb Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Mon, 7 Nov 2022 14:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AA=92=E4=BD=93=E6=8A=A5=E9=81=93=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/web/css/style.css | 9 ++++++++- view/page/activity.html | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/public/static/web/css/style.css b/public/static/web/css/style.css index bf81ddb..e7a61f9 100644 --- a/public/static/web/css/style.css +++ b/public/static/web/css/style.css @@ -3808,6 +3808,11 @@ border-radius: .33rem; margin: .4rem auto 0; } + + .event-preview{ + width: 94%; + margin: 0 auto; + } .preview-swiper { margin: .3rem 0 0; @@ -3816,7 +3821,9 @@ } .preview-swiper .swiper-slide { - width: 6.5rem; + width: 100%; + padding: .18rem; + background-color: #ffffff; margin: 0 .12rem; } diff --git a/view/page/activity.html b/view/page/activity.html index a927090..caf20b0 100755 --- a/view/page/activity.html +++ b/view/page/activity.html @@ -49,7 +49,7 @@ $previewList = Article::getList(Category::CATEGORY_BRAND_ACTIVITY, 10, null, ['i
{foreach $previewList as $prev} -
{$prev.title}
+
{$prev.title}

{$prev.title}

{$prev.summary}