更新:关于我们页面数据完善

virtual
zwesy 2020-12-07 14:49:48 +08:00
parent 53b4913262
commit 94c61023eb
3 changed files with 6 additions and 31 deletions

View File

@ -79,7 +79,7 @@ class Page extends Base
if($honorTopCId) { if($honorTopCId) {
$honors = Category::getChildrenByParentId($honorTopCId); $honors = Category::getChildrenByParentId($honorTopCId);
foreach ($honors as &$honor) { foreach ($honors as &$honor) {
$honor['items'] = Article::getListByCategoryIds([$honor['id']], 20); $honor['items'] = Article::getListByCategoryIds([$honor['id']], $honor['number'] ? $honor['number'] : 20, '', [], 1);
} }
unset($honor); unset($honor);
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -8,7 +8,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- --> <!-- Company -->
<div class="all-center-box"> <div class="all-center-box">
<div class="about-box1 w-100 center-center" id="about1"> <div class="about-box1 w-100 center-center" id="about1">
<div class="w-1200"> <div class="w-1200">
@ -19,7 +19,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- --> <!-- Honors -->
<div class="about-box2 w-100" id="about2"> <div class="about-box2 w-100" id="about2">
<div class="w-1200"> <div class="w-1200">
<div class="top-box w-100 between-center"> <div class="top-box w-100 between-center">
@ -38,7 +38,7 @@
<div class="pull-left"> <div class="pull-left">
<ul> <ul>
{foreach $honor.items as $item} {foreach $honor.items as $item}
<li><img src="{:getImgSrc($item, '__IMG__/occupy.png')}"></li> <li><img src="{:getImgSrc($item, '__IMG__/default_bg.png')}"></li>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
@ -54,7 +54,7 @@
{/if} {/if}
</div> </div>
</div> </div>
<!-- --> <!-- Structure -->
<div class="about-box3 w-100" id="about3"> <div class="about-box3 w-100" id="about3">
<div class="w-1200"> <div class="w-1200">
<div class="all-title-box2"><span>{$blocks['structure']['title']['value'] ?? ''}</span><p>{$blocks['structure']['subtitle']['value'] ?? ''}</p></div> <div class="all-title-box2"><span>{$blocks['structure']['title']['value'] ?? ''}</span><p>{$blocks['structure']['subtitle']['value'] ?? ''}</p></div>
@ -63,7 +63,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- --> <!-- History -->
<div class="about-box4 w-100" id="about4"> <div class="about-box4 w-100" id="about4">
<div class="w-1200"> <div class="w-1200">
<div class="all-title-box2"><span>{$blocks['history']['title']['value'] ?? ''}</span><p>{$blocks['history']['subtitle']['value'] ?? ''}</p></div> <div class="all-title-box2"><span>{$blocks['history']['title']['value'] ?? ''}</span><p>{$blocks['history']['subtitle']['value'] ?? ''}</p></div>
@ -88,31 +88,6 @@
</div> </div>
{/foreach} {/foreach}
{/if} {/if}
<div class="center-block w-100">
2007年<br>
超宇公司加大投资与融资力度,<br>
同时配备一流齐全的数控设备和各类工装模具及检验设备等,以确保产品达到高标准、精细化、零缺陷的标准。
</div>
<div class="center-block w-100">
2008年<br>
超宇公司加大投资与融资力度,<br>
同时配备一流齐全的数控设备和各类工装模具及检验设备等,以确保产品达到高标准、精细化、零缺陷的标准。
</div>
<div class="center-block w-100">
2009年<br>
超宇公司加大投资与融资力度,<br>
同时配备一流齐全的数控设备和各类工装模具及检验设备等,以确保产品达到高标准、精细化、零缺陷的标准。
</div>
<div class="center-block w-100">
2010年<br>
超宇公司加大投资与融资力度,<br>
同时配备一流齐全的数控设备和各类工装模具及检验设备等,以确保产品达到高标准、精细化、零缺陷的标准。
</div>
<div class="center-block w-100">
2011年<br>
超宇公司加大投资与融资力度,<br>
同时配备一流齐全的数控设备和各类工装模具及检验设备等,以确保产品达到高标准、精细化、零缺陷的标准。
</div>
</div> </div>
<div class="swiper-btn"> <div class="swiper-btn">
<div class="swiper-button-prev"></div> <div class="swiper-button-prev"></div>