<?php $page_class = 'page-product-list'; include dirname(__DIR__) . '/_header.php'; ?>
<section class="banner-simple"><div class="container"><h1>产品中心</h1></div></section>
<section class="section-block"><div class="container card-grid cols-3"><?php foreach ($tplList as $row) { $desc = tplv($row, 'summary'); if ($desc === '') $desc = tplv($row, 'content'); ?><article class="show-card"><div class="show-thumb"><?php echo getLitpicHtml(tplv($row, 'litpic'), tplv($row, 'title')); ?></div><div class="show-body"><h3><a href="<?php echo tpl_url('product', $row); ?>"><?php echo htmlspecialchars(tplv($row, 'title')); ?></a></h3><p><?php echo htmlspecialchars(tpl_excerpt($desc, 90)); ?></p><p>价格：¥<?php echo number_format((float) tplv($row, 'price', 0), 2); ?></p></div></article><?php } ?></div><div class="pagination-wrap"><?php echo $tplPager; ?></div></section>
<?php include dirname(__DIR__) . '/_footer.php'; ?>
