Anthony

brand 模块化

<%@ page language="java" contentType="text/html; charset=utf-8"
<%@ page language="java" contentType="text/html; charset=utf-8"
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>
<%@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 {
<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{
#btn-brand-import{
float: left;
}
#btn-brand-import .uploadify-queue{
}
#btn-brand-import .uploadify-queue{
display: inline-block;
}
</style>
}
</style>
<!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
<div class="data-brand">
<!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
<div class="data-brand">
<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">主数据 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">商品 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">经营品牌</a>
</div>
......@@ -62,8 +62,8 @@ var rootUrl ="<%=basePath%>";
</div>
</form>
</div>
</div>
<script type="text/javascript">
</div>
<script type="text/javascript">
require(["brand/index"],function(fn){
fn(sessionId,rootUrl);});
</script>
\ No newline at end of file
fn.init(sessionId,rootUrl);});
</script>
\ No newline at end of file
......