安企CMS怎么給頁面的CSS、JS加模版路徑?
<link rel="stylesheet" href="css/layui.css">
<link rel="stylesheet" href="css/swiper-bundle.min.css">
<link rel="stylesheet" href="css/fancybox.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/phone.css">
<script src="js/jquery-1.11.3.min.js"></script>
安企CMS 的模版路徑是這個(gè){% system with name="TemplateUrl" %}
<link rel="stylesheet" href="{% system with name="TemplateUrl" %}css/layui.css">
<link rel="stylesheet" href="{% system with name="TemplateUrl" %}css/swiper-bundle.min.css">
<link rel="stylesheet" href="{% system with name="TemplateUrl" %}css/fancybox.css">
<link rel="stylesheet" href="{% system with name="TemplateUrl" %}css/style.css">
<link rel="stylesheet" href="{% system with name="TemplateUrl" %}css/phone.css">
<script src="{% system with name="TemplateUrl" %}js/jquery-1.11.3.min.js"></script>
替換以后頁面就可以正常加載CSS和JS了,想學(xué)建站可以加我微信:tsrz001