模版标签示例

通用数据

html 复制代码
{$website_dictionary.CONTACT_PHONE}
{$website_dictionary.CONTACT_TEL}
{$website_dictionary.CONTACT_400}
{$website_dictionary.CONTACT_ADDRESS}

头部菜单 header.html

html 复制代码
{notempty name="menu"}
	<!-- 一级 -->
	{volist name='menu' id='item_menu' key='key_menu'}
	{notempty name="item_menu.childs"}
		{$item_menu.current}
		{$item_menu.url}
		{$item_menu.title}
		<!-- 二级 -->
		{volist name='item_menu.childs' id='item_subnav'}
			{$item_subnav.url}
			{$item_subnav.title}
		{/volist}
	{else/}
		{$item_menu.title}				
	{/notempty}
	{/volist}                      
{/notempty}

公共CSS common-header.html

html 复制代码
<head>
	<meta charset="utf-8">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<title>(自适应手机版)响应式室内家居设计英文外贸网站模板</title>
	<meta name="keywords" content="外贸网站模板,家居设计网站模板">
	<meta name="description" content="(自适应手机版)响应式室内家居设计英文外贸网站模板">
	<meta name="author" content="www.adminbuy.cn K575">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<link rel="stylesheet" href="/static/home/css/bootstrap.min.css">
	<link rel="stylesheet" href="/static/home/css/fontawesome.css">
	<link rel="stylesheet" href="/static/home/css/pbminfotech-base-icons.css">
	<link rel="stylesheet" href="/static/home/css/shortcode.css">
	<link rel="stylesheet" href="/static/home/css/swiper.min.css">
	<link rel="stylesheet" href="/static/home/css/base.css">
	<link rel="stylesheet" href="/static/home/css/style.css">
	<link rel="stylesheet" href="/static/home/css/responsive.css">
</head>

公共JS common-foot.html

html 复制代码
<script src="/static/home/js/jquery.min.js"></script> 
<script src="/static/home/js/bootstrap.min.js"></script> 
<script src="/static/home/js/numinate.min.js"></script> 
<script src="/static/home/js/swiper.min.js"></script> 
<script src="/static/home/js/jquery.waypoints.min.js"></script> 
<script src="/static/home/js/aos.js"></script> 
<script src="/static/home/js/scripts.js"></script>

底部菜单 footer.html

html 复制代码
{notempty name="footer_menu"}
	{volist name="footer_menu" id="item_footer_menu" key="key_footer_menu"}
	{if condition="$item_footer_menu.title !== 'icon'"}
		{$item_footer_menu.title}
		{notempty name="item_footer_menu.childs"}
			{volist name="item_footer_menu.childs" id="footer_subnav"}
				{$footer_subnav.title}
			{/volist}
		{/notempty}
	{/if}
	<!-- 图片 -->
	{if condition="$item_footer_menu.title === 'icon'"}
		{$item_footer_menu.icon}
	{/if}
	{/volist}
{/notempty}

友情链接 footer.html

html 复制代码
{notempty name="ilink"}
	{volist name="ilink" id="item_link"}
		{$item_link.title}
		{$item_link.url}
		{$item_link.image}
	{/volist}
{/notempty}

面包屑导航 common-breadcrumb.html

html 复制代码
{notempty name="current_path_data"}
	{volist name='current_path_data' id='item_current' key='key_current'}
		{$item_current.title}
	{/volist}
{/notempty}

首页轮播

html 复制代码
{volist name='ibanner' id='item_ibanner'}
	{$item_ibanner.image}
	{$item_ibanner.content|raw}
	{$item_ibanner.url}
{/volist}

首页 about

html 复制代码
{notempty name="index_about"}
	{$index_about.image}
	{$index_about.title}
	{$index_about.content|raw}
{/notempty}

首页 案例

html 复制代码
{notempty name="index_case"}
	{volist name='index_case' id='item_icase'}
	{$item_icase.title}
	{$item_icase.title_short}
	{/volist}
{/notempty}

首页 产品

html 复制代码
{notempty name="index_product"}
	<!-- 分类列表 -->
	{volist name="index_product" id="item_iproduct"}
		{$item_iproduct.cat_name}
	{/volist}
	<!-- 产品列表 -->
	{volist name="index_product" id="item_iproduct"}
		{$item_iproduct.cat_name}
		{$item_iproduct.title}
	{/volist}
{/notempty}

首页 新闻

html 复制代码
{notempty name="index_article"}
	{volist name="index_article" id="item_iarticle"}
	{$item_iarticle.day}
	{$item_iarticle.author}
	{$item_iarticle.title}
	{/volist}
	<!-- 精选推荐 -->
	{notempty name="good_article"}
		{volist name="good_article" id="item_garticle"}
			{$item_garticle.day}
			{$item_garticle.author}
			{$item_garticle.title}
			{$item_garticle.summary}
		{/volist}
	{/notempty}
{/notempty}

首页 新闻点击进入详情

html 复制代码
{notempty name="$article_data.tag_data"}
{volist name="$article_data.tag_data" id="item_tag"}
	{$article_data.title}
	{$article_data.cat_name}
	{$article_data.send_time}
	{$article_data.time}
	{$article_data.author}
	{$article_data.content|raw}

	<!--上一页-->
	{notempty name="$article_data.prev_article"}
		{$article_data.prev_article.title}
	{else}
	<span class="pbmit-post-nav nav-title">no more</span>
	{/notempty}
	
	<!--下一页-->
	{notempty name="$article_data.next_article"}
		{$article_data.next_article.title}
	{else}
	<span class="pbmit-post-nav nav-title">no more</span>
	{/notempty}
{/volist}
{/notempty}

<!--新闻侧边导航-分类-->
{notempty name="menu"}
{volist name="menu" id="item_nav" key="key_nav"}
	{notempty name="item_nav.childs"}
	{volist name="item_nav.childs" id="item_subnav"}
	{if condition="$item_subnav.model eq 4"}
	 {$item_subnav.title}
	{/if}
	{/volist}
	{/notempty}
{/volist}
{/notempty}

<!--新闻侧边导航-最近发布-->
{notempty name="recent_article"}
{volist name="recent_article" id="item_recent"}
	{$item_recent.day}
	{$item_recent.summary}
{/volist}
{/notempty}

头部菜单 - 关于我们 - 二级菜单页面

1、banner图

html 复制代码
{$seo_banner_image}
相关推荐
崔庆才丨静觅4 小时前
hCaptcha 验证码图像识别 API 对接教程
前端
passerby60614 小时前
完成前端时间处理的另一块版图
前端·github·web components
掘了5 小时前
「2025 年终总结」在所有失去的人中,我最怀念我自己
前端·后端·年终总结
崔庆才丨静觅5 小时前
实用免费的 Short URL 短链接 API 对接说明
前端
崔庆才丨静觅5 小时前
5分钟快速搭建 AI 平台并用它赚钱!
前端
崔庆才丨静觅5 小时前
比官方便宜一半以上!Midjourney API 申请及使用
前端
Moment5 小时前
富文本编辑器在 AI 时代为什么这么受欢迎
前端·javascript·后端
崔庆才丨静觅6 小时前
刷屏全网的“nano-banana”API接入指南!0.1元/张量产高清创意图,开发者必藏
前端
剪刀石头布啊6 小时前
jwt介绍
前端
爱敲代码的小鱼6 小时前
AJAX(异步交互的技术来实现从服务端中获取数据):
前端·javascript·ajax