提交 dfb5239e 编写于 作者: xchenhao's avatar xchenhao

add article label

上级 e440f72a
......@@ -49,6 +49,8 @@
<div class="ask_user_trbs2">
<a href="javascript:;" class="u_sname">作者:<?= $arc['author'] ?></a>
<span><?= $arc['create_time'] ?></span>
<span class="trbszan"><?= $art['comment_num'] ?? 0 ?></span>
<div class="trbstxt">推荐</div>
</div>
</li>
<?php endforeach ?>
......
......@@ -31,8 +31,10 @@
<h2><a href="/article/<?= $arc['id']?>" target="_blank"><?= $arc['title'] ?></a></h2>
<p><?= $arc['title'] ?></p>
<div class="pdtt_trbs">
<a href="/category/<?= $arc['category_id'] ?>" target="_blank"><?= $arc['category_name'] ?></a><span><?= $arc['create_time'] ?></span>
<span class="trbszan"><span id = "sourceId::<?= $arc['id'] ?>" class = "cy_cmt_count" ><?= $arc['comment_num'] ?? 0 ?></span></span>
<a href="/category/<?= $arc['category_id'] ?>" target="_blank"><?= $arc['category_name'] ?></a>
<span><?= $arc['create_time'] ?></span>
<span class="trbszan"><?= $art['comment_num'] ?? 0 ?></span>
<div class="trbstxt">推荐</div>
</div>
</div>
<?php endforeach ?>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册