Anthony

品牌模块化

...@@ -2,31 +2,6 @@ ...@@ -2,31 +2,6 @@
2 pageEncoding="utf-8"%> 2 pageEncoding="utf-8"%>
3 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 3 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
4 <%@ page isELIgnored ="false" %> 4 <%@ page isELIgnored ="false" %>
5 -<%
6 -String path = request.getContextPath();
7 -String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
8 -%>
9 -<script type="text/javascript">
10 -var sessionId = "<%=request.getSession().getId()%>";
11 -var rootUrl ="<%=basePath%>";
12 -</script>
13 -
14 -<style>
15 -.importButton {
16 - background: rgba(0, 0, 0, 0) url("css/default/images/portal/import.png") repeat-x scroll 0 0 / auto 100% !important;
17 - height: 30px;
18 - min-width: 70px;
19 - padding: 0 5px;
20 -}
21 -
22 -#btn-brand-import{
23 - float: left;
24 -}
25 -#btn-brand-import .uploadify-queue{
26 - display: inline-block;
27 -}
28 -</style>
29 -
30 <!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) --> 5 <!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
31 <div class="data-brand"> 6 <div class="data-brand">
32 <div class="north rs-navi" data-options="region:'north',border:false"> 7 <div class="north rs-navi" data-options="region:'north',border:false">
...@@ -63,7 +38,4 @@ var rootUrl ="<%=basePath%>"; ...@@ -63,7 +38,4 @@ var rootUrl ="<%=basePath%>";
63 </form> 38 </form>
64 </div> 39 </div>
65 </div> 40 </div>
66 -<script type="text/javascript">
67 - require(["brand/index"],function(fn){
68 - fn(sessionId,rootUrl);});
69 -</script>
...\ No newline at end of file ...\ No newline at end of file
41 +<script type="text/javascript">require(["brand/index"],function(brand){new brand;});</script>
...\ No newline at end of file ...\ No newline at end of file
......