From 0334df69bfaca0c8267e95dd9b033115275bb3f5 Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Thu, 3 Nov 2022 18:02:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E9=A6=96=E9=A1=B5ba?= =?UTF-8?q?nner=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/web/css/style.css | 43 +++++++++++++++++++++++++++++---- public/static/web/js/script.js | 4 +++ view/index/index.html | 16 ++++++------ view/public/about_second.html | 6 ++--- 4 files changed, 54 insertions(+), 15 deletions(-) diff --git a/public/static/web/css/style.css b/public/static/web/css/style.css index 25ff927..a1ef180 100644 --- a/public/static/web/css/style.css +++ b/public/static/web/css/style.css @@ -2931,6 +2931,27 @@ width: .3rem; height: .3rem; } + + /* banner */ + .banner-swiper .swiper-button-prev{ + /* width: .6rem; + height: .6rem; + border-radius: 100%; + background-color: rgba(255, 255, 255, .5); */ + left: 0px; + } + .banner-swiper .swiper-button-next{ + /* width: .6rem; + height: .6rem; + border-radius: 100%; + background-color: rgba(255, 255, 255, .5); */ + right: 0px; + } + .banner-swiper .swiper-button-prev:after, + .banner-swiper .swiper-button-next:after{ + font-size: .46rem; + color: #ffffff; + } /* 尾部 */ .footer { @@ -3351,8 +3372,19 @@ height: 0; opacity: 0; } + + .sub-nav>a { + margin-left: .6rem; + font-size: .26rem; + line-height: .87rem; + border-bottom: .03rem solid rgba(14, 53, 127, 0); + } + + .sub-nav>a.active { + border-bottom: .03rem solid #0e357f; + } - .position-nav-bg { + .position-nav-bg01 { background-color: #ffffff !important; padding-top: .24rem; } @@ -3360,8 +3392,8 @@ .pull-section-wap{ padding-top: .24rem; } - - .sub-nav>a { + + .sub-nav-01>a { margin-left: .09rem; font-size: .26rem; line-height: .8rem; @@ -3371,10 +3403,11 @@ text-align: center; font-weight: normal; } - - .sub-nav>a.active { + + .sub-nav-01>a.active { background-color: #dab277; color: #ffffff; + border-bottom: 0; } .company-profile { diff --git a/public/static/web/js/script.js b/public/static/web/js/script.js index d217acc..b042d47 100644 --- a/public/static/web/js/script.js +++ b/public/static/web/js/script.js @@ -42,6 +42,10 @@ $(function(){ fadeEffect: { crossFade: true, }, + navigation: { + nextEl: '.banner-swiper .swiper-button-next', + prevEl: '.banner-swiper .swiper-button-prev', + }, on:{ init: function(){ swiperAnimateCache(this); // 隐藏动画元素 diff --git a/view/index/index.html b/view/index/index.html index 71e7eee..57eaf2f 100755 --- a/view/index/index.html +++ b/view/index/index.html @@ -6,8 +6,8 @@ {foreach $slide as $slideItem}
- {$slideItem['title']} - {$slideItem['title']} + {$slideItem['title']} + {$slideItem['title']}
+
+
@@ -43,7 +45,7 @@ {/foreach} {$blocks['company_history_more']['value'] ?? ''} - {$blocks['company_profile_mobile']['alt'] ?? ''} + {$blocks['company_profile_mobile']['alt'] ?? ''} {/if} @@ -69,7 +71,7 @@
{foreach $news as $n}
-
{$n.title ?? ''}
+
{$n.title ?? ''}
{:date('Y.m.d', $n.create_time)}
{$n.title}
@@ -86,7 +88,7 @@