diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 68eea8b..1d9ba00 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -277,7 +277,7 @@ img {max-width: 100%;} .surveyBrief-text {margin: 20px 0; line-height: 26px; text-indent: 2em;} .surveyLeader {overflow: hidden; margin: 30px -30px;} -.surveyLeader li {float: left; margin: 0 30px; width: calc(33.33% - 60px); margin-bottom: 20px;} +.surveyLeader li {float: left; margin: 0 30px; width: calc(33.33% - 60px);} .surveyLeader li>a {display: block;} .surveyLeader-img {position: relative; width: 200px; height: 240px;} .surveyLeader-img::after {position: absolute; content: ''; right: -25px; top: 20%; background-color: #d5ab63; width: 25px; height: 80%; z-index: 0;} @@ -286,13 +286,15 @@ img {max-width: 100%;} .surveyLeader-name span {font-size: 20px; padding-right: 20px; color: #000;} .surveyLeader-post {color: #afafaf; position: relative; padding-top: 10px;} .surveyLeader-post::after {position: absolute; content: ''; left: 0; top: 0; background-color: #e8e8e8; width: 80px; height: 1px;} +.surveyLeader-span span {display: block; line-height: 26px; color: #afafaf;} .organCont {margin-top: 30px;} -.organLabel {background-color: #f7f7f7; height: 100px; margin-top: 20px; position: relative;} -.organLabel-name {background:url(../images/organLabel_back.png) no-repeat;background-size: 100% 100%; color: #fff; text-align: center; font-size: 22px; width: 160px; height: 80px; line-height: 80px; position: relative;} -.organLabel-name::after {width: 0;height: 0;border: 8px solid transparent;border-left-color: #073196;right: -16px;bottom: 30px; position: absolute; content: '';} -.organLabel-list {display: flex; position: absolute; left: 0; top: 0; line-height: 80px; width: 100%; padding-left: 160px; padding-right: 20px;} -.organLabel-list li {margin-left: 30px;} +.organLabel {background-color: #fff; height: 80px; margin-top: 20px; position: relative;} +/*.organLabel-name {background:url(../images/organLabel_back.png) no-repeat;background-size: 100% 100%; color: #fff; text-align: center; font-size: 22px; width: 160px; height: 80px; line-height: 80px; position: relative;}*/ +/*.organLabel-name::after {width: 0;height: 0;border: 8px solid transparent;border-left-color: #073196;right: -16px;bottom: 30px; position: absolute; content: '';}*/ +.organLabel-list {display: flex; position: absolute; left: 0; top: 0; line-height: 80px; padding: 0 -10px; width: 100%; box-sizing: border-box;} +.organLabel-list li {margin: 0 5px;text-align: center; background:url(../images/organLabel_back.png) no-repeat;background-size: 100% 100%;width: calc(25% - 10px); height: 80px; line-height: 80px;} +.organLabel-list li a {color: #fff;} /* 新闻动态 */ .newBranch {margin: 30px 0;} diff --git a/resources/views/category/fygk.blade.php b/resources/views/category/fygk.blade.php index ce7244c..77e53f7 100644 --- a/resources/views/category/fygk.blade.php +++ b/resources/views/category/fygk.blade.php @@ -66,7 +66,7 @@ @if (getArticlesBYCate(14,3)->isNotEmpty()) @foreach (getArticlesBYCate(14,3) as $article)