Anthony

模块化

......@@ -4,7 +4,7 @@
<%@ page isELIgnored ="false" %>
<!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
<div class="crm-accountset" style="display: none;">
<div class="crm-accountset" >
<div class="north rs-navi" data-options="region:'north',border:false">
<a href="javascript:void(0);" class="rs-navi-a">RUNSA PORTAL</a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">CRM</a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">CRM账套</a>
</div>
......@@ -14,4 +14,4 @@
</div>
</div>
<!-- require加载此jsp引用的js,js的init返回一个page给页面 -->
<script type="text/javascript">require(["accountset/accountset"],function(page){page.init();});</script>
\ No newline at end of file
<script type="text/javascript">require(["accountset/accountset"],function(accountset){new accountset();});</script>
\ No newline at end of file
......