上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 模板文件结构 资源目录结构 ├─tempalte 模板文件夹 ├─default 模板名称 │ ├─css CSS静态资源目录 │ ├─html HTML模板目录 │ ├─images 图片资源目录 │ ├─js JavaScript资源目录 │ └─template.json 模板配置识别JOSN 阅读全文
posted @ 2024-07-13 13:04 浅岛连云 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <span id="runtimeSpan" style="color: #ff0000;"></span> <script type="text/javascript"> function showRuntime(){ window.setTimeout("showRuntime()", 1000 阅读全文
posted @ 2024-01-22 11:46 浅岛连云 阅读(123) 评论(0) 推荐(0) 编辑
摘要: <!--foreach:{$loop $vo}--> <article class="excerpt"> <a class="focus" href="{$vo.aurl}"> <!--if:{$vo['image']==''}--> <img src="__TPL__static/images/n 阅读全文
posted @ 2023-12-24 15:09 浅岛连云 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 调用如下 <!--if:{$vo['image']==''}--> <img src="images/nopic.gif" alt="暂无此图"> <!--{else}--><img src="{$vo.image}" alt="{$vo.title}" /></a> <!--{/if}--> 阅读全文
posted @ 2023-12-24 14:40 浅岛连云 阅读(2) 评论(0) 推荐(0) 编辑
摘要: duxcms 判断当前频道栏目下二级栏目为当前二级栏目 高亮的 <ul class="pagemenu"> <!--根据顶级栏目ID调用下级栏目--> <!--list:{table="category" pid="<$top_category.cid>" order="cid desc" limi 阅读全文
posted @ 2023-12-24 14:22 浅岛连云 阅读(2) 评论(0) 推荐(0) 编辑
摘要: duxcms内容页 当前栏目名称和链接 标签 {$category.curl} 当前栏目链接 {$category.name} 当前栏目名称 {$parent_category.字段} 当前内容所属栏目的上级栏目信息调用 {$top_category.字段} 当前内容所属栏目的顶级栏目信息调用 示例 阅读全文
posted @ 2023-12-24 11:14 浅岛连云 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 公司信息 公司名称 复制 公司LOGO 复制 公司地址 复制 公司电话 复制 公司传真 复制 公司邮箱 复制 邮政编码 复制 阅读全文
posted @ 2023-08-21 11:31 浅岛连云 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 内容详情页 随机文章 {w:lists field="title,url,updatetime,color" modelid="$modelid" order="RAND()" limit="5"}{loop $data $v} <li> <span class="yzm-date">{date(' 阅读全文
posted @ 2023-08-21 11:30 浅岛连云 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 全站tag列表 {w:tag field="id,tag,total" limit="20"}{loop $data $v}<li><a href="{tag_url($v['id'])}" target="_blank">{$v[tag]}({$v[total]})</a></li>{/loop} 阅读全文
posted @ 2023-08-21 11:29 浅岛连云 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 获取单页内容 <h4>关于我们</h4><p>{page_content(4, 200)}</p><a href="{get_category(4, 'pclink')}"> 更多>> </a> 广告调用 阅读全文
posted @ 2023-08-21 11:27 浅岛连云 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页