模版标签示例

通用数据

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}
相关推荐
Mr Xu_8 分钟前
【Vue3 + ECharts 实战】正确使用 showLoading、resize 与 dispose 避免内存泄漏
前端·信息可视化·vue·echarts
0思必得015 分钟前
[Web自动化] Selenium设置相关执行文件路径
前端·爬虫·python·selenium·自动化
雯0609~25 分钟前
hiprint:实现项目部署与打印1-官网提供普通html版本
前端·html
不绝1911 小时前
UGUI——进阶篇
前端
Exquisite.1 小时前
企业高性能web服务器(4)
运维·服务器·前端·网络·mysql
2501_944525542 小时前
Flutter for OpenHarmony 个人理财管理App实战 - 账户详情页面
android·java·开发语言·前端·javascript·flutter
2601_949857432 小时前
Flutter for OpenHarmony Web开发助手App实战:快捷键参考
前端·flutter
wangdaoyin20102 小时前
若依vue2前后端分离集成flowable
开发语言·前端·javascript
心柠3 小时前
vue3相关知识总结
前端·javascript·vue.js
Amumu121383 小时前
Vue Router(二)
java·前端