diff --git a/public/.htaccess b/public/.htaccess index 374e20b..e69de29 100755 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,8 +0,0 @@ - - Options +FollowSymlinks -Multiviews - RewriteEngine On - - RewriteCond %{REQUEST_FILENAME} !-d - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] - \ No newline at end of file diff --git a/public/static/web/css/style.css b/public/static/web/css/style.css index 568aea5..96b717b 100644 --- a/public/static/web/css/style.css +++ b/public/static/web/css/style.css @@ -325,6 +325,7 @@ line-height: 1.8; margin-top: 10px; transition: all .6s; + text-align: justify; } /* 指示点 */ @@ -338,7 +339,7 @@ } .new-list .swiper-pagination-bullet:nth-of-type(1) { - margin-top: 0; + margin-top: 0 !important; } .new-list .swiper-pagination-bullet-active { @@ -1682,13 +1683,14 @@ } .services-list .item .img { - max-width: 70%; + width: 70%; height: 100%; overflow: hidden; } .services-list .item .img>img { - height: 100%; + width: 100%; + min-height: 100%; transition: all .6s; } @@ -2016,6 +2018,7 @@ } .red-property-case>a .info>p { + height: 48px; font-size: 14px; line-height: 1.7; margin-top: 7px; @@ -2660,7 +2663,7 @@ } /* 手机端样式 */ -@media screen and (max-width:960px) { +@media screen and (max-width:980px) { body { padding-top: .9rem; } @@ -2780,8 +2783,8 @@ .head .nav>a { display: block; width: 100%; - font-size: 16px; - line-height: 50px; + font-size: .32rem; + line-height: 1rem; margin: 0; font-weight: normal; border-bottom: 1px solid #ececec; @@ -2820,6 +2823,14 @@ opacity: 1; transition: all .6s; } + .pull-call > span:first-child{ + width: .52rem; + height: .52rem; + } + .pull-call > span img{ + width: .3rem; + height: .3rem; + } /* 尾部 */ .footer { @@ -3952,7 +3963,7 @@ } .services-list .item .img { - max-width: 80%; + mwidth: 80%; } .services-list .item-mask { @@ -4204,6 +4215,7 @@ } .red-property-case>a .info>p { + height: .81rem; font-size: .24rem; margin-top: .06rem; } diff --git a/public/static/web/js/script.js b/public/static/web/js/script.js index 54e4c27..8a06b3c 100644 --- a/public/static/web/js/script.js +++ b/public/static/web/js/script.js @@ -1,6 +1,6 @@ $(function(){ // 滑动页面更改头部效果 - if(window.innerWidth <= 960){ + if(window.innerWidth <= 980){ $('.header').addClass('header-white'); }else{ $(window).scroll(function(){ @@ -57,7 +57,7 @@ $(function(){ window.location.href = $(this).data('url'); } }) - if(window.innerWidth <= 960){ + if(window.innerWidth <= 980){ // 公司新闻切换 var newsSwiper = new Swiper('.new-list>.swiper',{ loop:true,//开启循环播放 @@ -110,7 +110,7 @@ $(function(){ } // 尾部导航 - if(window.innerWidth <= 960){ + if(window.innerWidth <= 980){ $(document).on('click','.foot-left>.item>a',function() { if(!$(this).parent().hasClass('active')){ $('.foot-left>.item').removeClass('active'); @@ -204,7 +204,7 @@ $(function(){ // 友邻市集活动切换 if($('.market-swiper').length){ - if(window.innerWidth > 960){ + if(window.innerWidth > 980){ var marketSwiper = new Swiper('.market-swiper',{ loop:true,//开启循环播放 autoplay: {//开启自动播放 @@ -245,7 +245,7 @@ $(function(){ }; // 手机导航按钮 - if(window.innerWidth <= 960){ + if(window.innerWidth <= 980){ $(document).on('click','.head .head-btn',function() { if ($('.head .head-btn').attr('class') == 'head-btn cur') { $('.head .head-btn').removeClass('cur'); @@ -266,7 +266,7 @@ $(function(){ } // 手机端二级导航 - if(window.innerWidth <= 960){ + if(window.innerWidth <= 980){ if($('.sub-nav-bg').length){ let parentWidth = $('.sub-nav-bg').width(); let offsetLeft = $('.sub-nav>.active').offset().left; diff --git a/view/article/service_detail.html b/view/article/service_detail.html index 18fbc09..c680823 100755 --- a/view/article/service_detail.html +++ b/view/article/service_detail.html @@ -9,7 +9,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);
-
+
@@ -33,6 +33,7 @@ $childrenMenu = Category::getChildrenByParentId($topCategoryId);

{$item.title}

{$item.sub_title}
+ 返回列表
diff --git a/view/index/index.html b/view/index/index.html index ed40caf..939a94a 100755 --- a/view/index/index.html +++ b/view/index/index.html @@ -72,8 +72,8 @@
{$n.title ?? ''}
{:date('Y.m.d', $n.create_time)} -
{$n.title}
-

{$n.summary}

+
{$n.title}
+

{$n.summary}

{/foreach}