Browse Source

菜单选中

KeYuan 8 years ago
parent
commit
6826d4e723

+ 2 - 3
src/main/resources/conf/application.properties

@@ -10,19 +10,18 @@ hibernate.show_sql=false
 hibernate.format_sql=true
 ###-------------------------------------DW------------------------------###
 #system settings
-#storage system type = [ aliyunOSS | baiduBOS | local ]
 dw.storage.type = local
 #yun os access
 #dw.yunos.access_keyid =
 #dw.yunos.access_keysecret =
-#dw.yunos.endpoint = http://oss-cn-shenzhen.aliyuncs.com
+#dw.yunos.endpoint =
 dw.yunos.wenjuan_html_backet =
 dw.yunos.upload_file_backet =
 dw.yunos.upload_file_jm_backet =
 #baidu
 dw.yunos.access_keyid =
 dw.yunos.access_keysecret  =
-dw.yunos.endpoint = http://gz.bcebos.com
+dw.yunos.endpoint =
 #diaowenwebfile.gz.bcebos.com
 #dw.storage.url_prefix =
 dw.storage.url_prefix = http://localhost:8080/diaowen3.0

+ 2 - 0
src/main/webapp/WEB-INF/page/content/diaowen-design/list.jsp

@@ -200,6 +200,8 @@ button {
 
 <script type="text/javascript">
 
+	currentMenu("mysurvey");
+
 	$("select[name='surveyState']").val("${surveyState}");
 
 var options={

+ 3 - 0
src/main/webapp/WEB-INF/page/content/diaowen-system/property-input.jsp

@@ -12,6 +12,9 @@
 <script type="text/javascript" src="${ctx }/js/dw/uploadify.js"></script>
 <script type="text/javascript">
 $(document).ready(function(){
+
+	currentMenu("systemset");
+
 	binduploadImg("loginBgfile","loginBgfileQueueid","loginBgfileImgPath","上传");
 	
 	$("#login_bg_div img").hover(function(){

+ 1 - 1
src/main/webapp/WEB-INF/page/content/diaowen-useradmin/list.jsp

@@ -19,7 +19,7 @@
 <script type="text/javascript">
 	
 $(document).ready(function(){
-	
+	currentMenu("usermanager");
 	$(".checkboxAll").unbind();
 	$(".checkboxAll").change(function(){
 		if($(this).prop("checked")){

+ 3 - 3
src/main/webapp/WEB-INF/page/layouts/header.jsp

@@ -34,10 +34,10 @@
 				<div class="header_Item header_menu">
 					<ul>
 					<%-- <li><a href="${ctx }/" >首页</a></li> --%>
-					<li><a href="${ctx }/design/my-survey.action">问卷</a></li>
+					<li><a href="${ctx }/design/my-survey.action" id="mysurvey">问卷</a></li>
 						<shiro:hasRole name="admin" >
-					<li><a href="${ctx }/sy/user/user-admin.action">用户</a></li>
-					<li><a href="${ctx }/sy/system/sys-property!input.action">设置</a></li>
+					<li><a href="${ctx }/sy/user/user-admin.action" id="usermanager">用户</a></li>
+					<li><a href="${ctx }/sy/system/sys-property!input.action" id="systemset">设置</a></li>
 						</shiro:hasRole>
 					<li><a href="http://support.diaowen.net/">帮助</a></li>
 					</ul>

+ 0 - 1
src/main/webapp/css/dw-user.css

@@ -296,7 +296,6 @@ body{
 }
 .header_menu a.active{
 	color: white;
-	background: black;
 }
 .header_user{
 	padding-top: 18px;