1.当前栏目的ID:{$catid}
标题样式:{title_style($v[style])}(在添加内容或编辑内容的时候,标题右边

有一个选择颜色的块)。
{str_cut(strip_tags($v[description]), 150)}其中str_tags是去掉html中的标签

代码,只保留文字。

2.标题都尽量写成这样<a href="{$v[url]}" title="{$v[title]}"

target="_blank"{title_style($v[style])}>{str_cut($v[title], 60)}</a>
-----------------文字标题列表--------------------------------------------
    {pc:content  action="lists" cat>{str_cut($v[title],56,'...')}</a></li>
                {/loop}
            {/pc}
{number_format($v[monthviews])}:点击次数
number_format:把字符串格式化成数字

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-14
  • 2022-02-15
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2021-09-14
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案