Anthony

品牌模块化

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