zzwy2/view/page/join.html

55 lines
1.8 KiB
HTML
Executable File

{layout name="layout"/}
{php}
use app\model\Category;
use app\model\PositionModel;
use app\model\Block;
$position = Category::getPosition($category["id"]);
$joinList = PositionModel::getByCategoryId($category["id"],true,99999);
$blocks = Block::getByCategoryId(Category::CATEGORY_JOIN_BLOCK);
$blocks = Block::convertValue($blocks);
{/php}
<div class="searceboxtop searceboxtop2">
<div class="cont w1360">
<div class="navminbox">
{$position|raw}
</div>
</div>
</div>
<div class="contentboxer">
<div class="joinboxer">
<div class="cont w1360">
<div class="top">
<div class="left">
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['join']['value']??'Join us'}</div>
<div class="h2 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$blocks['join']['title']??'加入中正'}</div>
<div class="p wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.4s">
{$blocks['info']['value']??''}</div>
</div>
<div class="right wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="m"><img src="{$blocks['qr_1']['value']??''}" alt=""></div>
<div class="m"><img src="{$blocks['qr_2']['value']??''}" alt=""></div>
</div>
</div>
<div class="list">
{foreach $joinList as $joinItem}
<div class="li wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<a href="/position/{$joinItem['id']}">
<div class="text">
<div class="h1">{$joinItem['title']}</div>
<div class="em"></div>
<div class="p">
<p>工作地点:{$joinItem['address']}</p>
<p>发布时间:{$joinItem['create_time']|date="Y-m-d"}</p>
</div>
</div>
<i></i>
</a>
</div>
{/foreach}
</div>
</div>
</div>
</div>