v1.6

静态资源使用说明

内链导航
属性 描述
__STATIC__ 自动定位当前模型资源路径 如:/template/default/index/skin/xxxx/xxx.css
__STATICSITE__ 绝对路径定位当前模型资源路径 如:http://xxxx.uanzl.cn/template/default/index/skin/xxxx/xxx.css

静态变量使用方法

<link rel="stylesheet" href="__STATIC__/skin/css/bootstrap.min.css">  
<link rel="stylesheet" href="__STATIC__/skin/css/templatemo-style.css">  
<link rel="shortcut icon" href="__STATIC__/skin/img/favicon.ico">
<img src="__STATIC__/skin/img/tm-img-660x330-1.jpg" alt="Image" class="tm-margin-b-40 img-fluid"">
<script src="__STATIC__/skin/js/jquery-1.11.3.min.js"></script>
<script src="__STATIC__/skin/js/tether.min.js"></script>
<script src="__STATIC__/skin/js/bootstrap.min.js"></script>  
<!-- 绝对路径的静态资源 -->  
<link rel="shortcut icon" href="__STATICSITE__/skin/img/favicon.ico">