02 2021 档案

摘要:{$topArray = GetList(8, null, null, null, null, null, array("only_ontop" => true));} {if $topArray} <section class="catebox home_top"> <h3 class="titl 阅读全文
posted @ 2021-02-26 21:30 绿林豪士 阅读(166) 评论(0) 推荐(0)
摘要:{$b = array('11','27','28','31','26','30','7');}{*按顺序填入分类ID*} {foreach $b as $key => $cid} <div class="sort-list xiangguan"> <div class="proitemtop cl 阅读全文
posted @ 2021-02-25 21:11 绿林豪士 阅读(539) 评论(0) 推荐(0)
摘要:弄了半天,zblog原来和typecho一样没有图片封面的,这样对有图展示的时候,需要的页面效果多多少少会有不便之处,收集一下做主题的时候,显示文章封面的方法代码把 1,获取文章内容的第一张图片 {plain_thumbnail($article)} function plain_thumbnail 阅读全文
posted @ 2021-02-04 21:33 绿林豪士 阅读(867) 评论(0) 推荐(0)
摘要:第一种写法: {foreach $article.Tags as $arttag} {if count($article.Tags)<=3} <span><a href="{$arttag.Url}" target="_blank">{$arttag.Name}</a></span> {/if} { 阅读全文
posted @ 2021-02-04 21:24 绿林豪士 阅读(258) 评论(0) 推荐(0)
摘要:{$a = array('11','27','28','31','26','30','7');}{*按顺序填入tagID*} {foreach $a as $key => $tid} <div class="sort-list"> <div class="proitemtop clearfix"> 阅读全文
posted @ 2021-02-04 18:13 绿林豪士 阅读(461) 评论(0) 推荐(0)
摘要:方法1:toggle() $(document).ready(function(){ $("#btnFadein").click(function(){ $("#searchform").toggle(1000); }); }); 方法2:Fadein,Fadeout $(document).rea 阅读全文
posted @ 2021-02-02 13:39 绿林豪士 阅读(144) 评论(0) 推荐(0)