常规css,js引入

php

// css,js用
$this->assign('MODULE_NAME',MODULE_NAME);
$this->assign('ACTION_NAME',ACTION_NAME);
$this->assign('ver',rand(11111,99999));

general.html

<!-- 单页的css -->
<link rel="stylesheet" href="/admin/{$MODULE_NAME}/css/{$ACTION_NAME}.css?ver={$ver}" /> <!-- 单页的js -->
<script src="/admin/{$MODULE_NAME}/js/{$ACTION_NAME}.js?ver={$ver}"></script>

在最下方引入

<include file="Public:bottomJs" />
<include file="Public:general" />

常规css,js引入

按照规律引入即可。

常用,单页相结合。

上一篇:RNN(2) ------ “《A Critical Review of Recurrent Neural Networks for Sequence Learning》RNN综述性论文讲解”(转载)


下一篇:Java学习日记-2 零零碎碎