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}