模版标签示例

通用数据

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}
相关推荐
Csvn9 分钟前
性能监控
前端
Csvn35 分钟前
构建工具
前端
FRing031 小时前
vue2干货总结3(computed计算属性、watch监听器)
开发语言·前端·vue.js·vue2
kyriewen3 小时前
Skills 榜前 10 我全装了:只有 3 个能直接用
前端·javascript·程序员
IT_陈寒4 小时前
当Java的hashCode遇上Lombok,我的缓存被全清了
前端·人工智能·后端
工控丫丫4 小时前
帆软看板中经常使用的公式函数及经常搭的组合
前端·javascript·数据库
jerrywus4 小时前
我用 GPT-6.1-sol 做了台会讲解的 3D 售货机:60 罐饮料,一口没喝上
前端·agent·claude
孟陬6 小时前
Foobar 技术周刊#159:当看不懂代码时,如何高效排障调试。脏页陷阱:一条只读查询,写入数 TB 数据。推测解码:大模型加速利器
前端·人工智能·后端
Zhao-Jichao6 小时前
AI Prompting for Everyone 课程笔记 - P17 图像生成 Imaging Generation
前端
Highcharts.js6 小时前
智能数据分析组件Orbit 正式发布与快速上手体验教程
前端·人工智能·信息可视化·数据分析系统·highcharts·orbit·智能可视化