Просмотр исходного кода

Merge branch 'master' of http://114.215.100.48:3000/ipu/android-share.git

chengwb3 лет назад: 9
Родитель
Сommit
c9fc34ab60

+ 1 - 1
display-server/build/build.properties

@ -12,7 +12,7 @@ template=${web}/template
12 12
encrypt=${web}/encrypt
13 13
version_class=com.ailk.mobile.tool.VersionTool
14 14
encrypt_class=com.ailk.mobile.tool.FileEncryptTool
15
version_filter=setup|.gitignore|.DS_Store
15
version_filter=upload|setup|.gitignore|.DS_Store
16 16
is_debug=false
17 17

18 18
encode=UTF-8

+ 1 - 0
display-server/etc/server-data.xml

@ -6,6 +6,7 @@
6 6
	
7 7
	<action name="receiveData" class="com.ai.server.bean.TestBean" method="receive" verify="false"></action>
8 8
	
9
	<action name="FileUpDownload.download" class="com.ai.server.bean.FileUpDownload" method="download" verify="false"></action>
9 10
	<action name="FileUpDownload.upload" class="com.ai.server.bean.FileUpDownload" method="upload" verify="false"></action>
10 11
	
11 12
	<!-- ##################################场景演示########################################################### -->

+ 3 - 1
display-server/etc/server-page.xml

@ -102,7 +102,9 @@
102 102
	<action name="SceneBean_dataRequest" template="template/webapp/scene/DataRequest.html"></action>
103 103
	<!-- 页面跳转(直接数据渲染)场景 -->
104 104
	<action name="SceneBean_templateRedirect" template="template/webapp/scene/TemplateRedirect.html"></action>
105
	<action name="PageRedirect" template="template/webapp/scene/PageRedirect.html"></action>
105
	<!-- 页面跳转(调用数据接口)场景***************脑筋急转弯-->
106
	<action name="SceneBean_PageRedirect" template="template/webapp/scene/PageRedirect.html"></action>
107
	
106 108
	<action name="TemplateRefresh" template="template/webapp/scene/TemplateRefresh.html"></action>
107 109
	<action name="PageRefresh" template="template/webapp/scene/PageRefresh.html"></action>
108 110
	<action name="TemplateRefresh.personDetailTemplate" template="template/webapp/scene/personDetailTemplate.html"></action>

+ 84 - 67
display-server/src/com/ai/server/bean/FileUpDownload.java

@ -24,8 +24,10 @@ import com.ailk.mobile.servlet.ServletManager;
24 24
 *
25 25
 */
26 26
public class FileUpDownload extends DisplayBean {
27
	/**
28
	 * 文件上传
27
	/************************************************************************************
28
	 * 文件上传
29
	 * 如果在参数param中包含USER_NAME键值对,那么文件将保存到USER_NAME对应的目录下;否则保存在TEMP目录下
30
	 * 
29 31
	 * @param param
30 32
	 * @return
31 33
	 * @throws Exception
@ -33,79 +35,94 @@ public class FileUpDownload extends DisplayBean {
33 35
	public IData upload(IData param) throws Exception{
34 36
		HttpServletRequest request = ServletManager.getRequest();
35 37
		//获取文件需要上传到的路径
36
		String userDir = "default";//此处一般使用用户名管理文件
37
		String path = ApplicationPath.getFilePath(request) + "upload" + File.separator + userDir;
38
		String path = ApplicationPath.getFilePath(request) + "upload" + File.separator;
39
		//获取临时目录,文件保存目录
40
		String tempPath = path + "temp", savePath = null;
38 41
		
39
		File file = new File(path);
42
		File file = new File(tempPath);
40 43
		if(! file.exists() && ! file.mkdirs()){
41
			throw new RuntimeException("生成用户上传文件夹失败,无法进行上传操作!");
44
			throw new RuntimeException("生成上传临时文件夹失败,无法进行上传操作!");
42 45
		}
43
		
44 46
		//获得磁盘文件条目工厂
45 47
		DiskFileItemFactory factory = new DiskFileItemFactory();
46
        //如果没以下两行设置的话,上传大的文件会占用很多内存
47 48
        //设置暂时存放的存储室,这个存储室可以和最终存储文件的目录不同
48
        /**
49
         * 原理它是先存到暂时存储室,然后在真正写到对应目录的硬盘上
50
         * 按理来说当上传一个文件时,其实是上传了两份,第一个是以.tem格式的
51
         * 然后再将其真正写到对应目录的硬盘上
52
         */
53
         factory.setRepository(file);
54
         //设置缓存的大小,当上传文件的容量超过该缓存时,直接放到暂时存储室
55
         factory.setSizeThreshold(1024*1024);
56
         //文件上传处理
57
         ServletFileUpload upload = new ServletFileUpload(factory);
49
        factory.setRepository(file);
50
        //设置缓存的大小,当上传文件的容量超过该缓存时,将产生临时文件并存储于临时目录中.
51
        factory.setSizeThreshold(5*1024*1024);
52
        //文件上传处理
53
        ServletFileUpload upload = new ServletFileUpload(factory);
58 54
         
59
         try {
60
	         if (! ServletFileUpload.isMultipartContent(request)) {
61
	    	 	 log.debug("{'result': false, 'error': 网络异常,请重新上传!}");
62
	    	     return null;
63
	         }
64
	         List<?> fileList = upload.parseRequest(request);
65
	         
66
             for(int i = 0; i < fileList.size(); i++){
67
             	 FileItem item = (FileItem)fileList.get(i);
68
                 //获取表单的属性名字
69
                 String name = item.getFieldName();
55
        try{
56
        	if (! ServletFileUpload.isMultipartContent(request)) {
57
        		log.debug("获取的上传文件并非以文件流格式传送,请核查!");
58
        		return null;
59
	        }
60
        	List<?> fileList = upload.parseRequest(request);
61
	        
62
            for(int i = 0; i < fileList.size(); i++){
63
            	FileItem item = (FileItem)fileList.get(i);
64
                //获取表单的属性名字
65
                String name = item.getFieldName();
70 66
                 
71
            	 //如果获取的 表单信息是普通的文本信息
72
                 if(item.isFormField()){
73
                     //获取用户具体输入的字符串,因为表单提交过来的是字符串类型的
74
                     String value = item.getString();
75
                     request.setAttribute(name, value);
67
            	//如果获取的 表单信息是普通的文本信息
68
                if(item.isFormField()){
69
                 	//获取用户具体输入的字符串,因为表单提交过来的是字符串类型的
70
                 	String value = item.getString();
71
                    request.setAttribute(name, value);
72
                    //获取用户保存目录
73
                    if(savePath == null)
74
                    	savePath = "USER_NAME".equals(name) ? path + value : tempPath;
76 75
                 	 
77
                 }else{
78
	                 //获取路径名
79
	                 String value = item.getName();
80
	                 //索引到最后一个反斜杠
81
	                 int start = value.lastIndexOf("\\");
82
	                 //截取 上传文件的 字符串名字,加1是 去掉反斜杠
83
	                 String filename = value.substring(start + 1);
84
	                 request.setAttribute(name, filename);
85
	                 
86
	                 //写到磁盘上
87
	                 OutputStream out = new FileOutputStream(new File(path,filename));
88
	                 InputStream in = item.getInputStream();
89
	                 
90
	                 int length = 0;
91
	                 byte[] buf = new byte[1024];
92
	                 
93
	                 System.out.println("获取上传文件的总共的容量:" + item.getSize());
94
	                 //写出到文件中
95
	                 while((length = in.read(buf) ) != -1) {
96
	                     //在BUF数组中取出数据写到(输出流)磁盘上
97
	                     out.write(buf, 0, length);
98
	                 }
99
	                 in.close();
100
	                 out.close();
101
                }
102
            }
103
        } catch (FileUploadException e) {
104
            e.printStackTrace();
105
            
106
        }catch (Exception e) {
107
            e.printStackTrace();
108
        }
109
        return null;
76
                }else{
77
                	//获取路径名
78
	             	String value = item.getName();
79
	                int start = value.lastIndexOf("\\");
80
	                String filename = value.substring(start + 1);
81
	                //保存文件名
82
	                request.setAttribute(name, filename);
83
	                
84
	                //检查保存目录
85
	                File saveDir = new File(savePath);
86
	         		if(! saveDir.exists() && ! saveDir.mkdirs()){
87
	         			throw new RuntimeException("生成上传保存文件夹失败,无法进行上传操作!");
88
	         		}
89
	         		//设置保存文件
90
	                File saveFile = new File(savePath, filename);
91
	                //写到磁盘上
92
	                OutputStream out = new FileOutputStream(saveFile);
93
	                InputStream in = item.getInputStream();
94
	                
95
	                int length = 0;
96
	                byte[] buf = new byte[1024];
97
	                //写出到文件中
98
	                while((length = in.read(buf) ) != -1) {
99
	                    //在BUF数组中取出数据写到(输出流)磁盘上
100
	                    out.write(buf, 0, length);
101
	                }
102
	                out.flush();
103
	                in.close();
104
	                out.close();
105
	                
106
	                log.debug("获取上传文件的总共的容量:" + item.getSize());
107
               }
108
           }
109
       } catch (FileUploadException e) {
110
           e.printStackTrace();
111
           
112
       }catch (Exception e) {
113
           e.printStackTrace();
114
       }
115
       return null;
116
	}
117
	/************************************************************************************
118
	 * 文件下载;
119
	 * 
120
	 * @param param
121
	 * @return
122
	 * @throws Exception
123
	 */
124
	public IData download(IData param) throws Exception{
125
		
126
       return null;
110 127
	}
111 128
}

+ 25 - 1
display-server/src/com/ai/server/bean/SceneBean.java

@ -29,7 +29,7 @@ public class SceneBean extends DisplayBean {
29 29
		// 获取人品--随机数
30 30
		Random random = new Random();
31 31
		int testCharacter = random.nextInt(100);
32
		
32

33 33
		StringBuffer retMsg = new StringBuffer();
34 34
		if (testCharacter > 0 && testCharacter < 20) {
35 35
			retMsg.append("是我不好...不应该和你谈人品问题的...");
@ -50,6 +50,30 @@ public class SceneBean extends DisplayBean {
50 50
	}
51 51

52 52
	/**
53
	 * 页面跳转(调用数据接口)场景
54
	 * 
55
	 * @param param
56
	 * @return
57
	 * @throws Exception
58
	 */
59
	public IData openPageScene(IData param) throws Exception {
60
		IData result = new DataMap();
61

62
		// 获取从前台传过来的数据
63
		String data = param.getString("data", "");
64

65
		// 处理前台传过来的数据
66
		if ("1".equals(data.trim())) {
67
			result.put("retMsg", "太棒了,回答正确");
68
		} else {
69
			result.put("retMsg", "哎呀,回答错误了,答案:1个,因为再吃的时候就不是空着肚子了");
70
		}
71

72
		return result;
73

74
	}
75

76
	/**
53 77
	 * 初始化验证码
54 78
	 * 
55 79
	 * @param param

BIN
display-server/web/biz/img/scene/login_success.png


+ 11 - 7
display-server/web/biz/js/plugin/fileupload.js

@ -3,21 +3,25 @@ require(["domReady!","wadeMobile", "util"], function(doc,WadeMobile) {
3 3
	$("#upload").tap(function() {
4 4
		//文件上传可以下载多个文件
5 5
		var uploadFiles = new Array();
6
//		uploadFiles.push('/Users/kevin/Downloads/cat.png');
7
		uploadFiles.push('/Users/kevin/Downloads/cat.txt');
6
		uploadFiles.push('/Users/kevin/Downloads/cat.png');
7
		uploadFiles.push('/Users/kevin/Downloads/cat.mov');
8
		//保存在"kevin"目录下
9
		var params = new Wade.DataMap();
10
		params.put("USER_NAME", "kevin");
8 11
		
9
		WadeMobile.uploadFile(uploadFiles, function(){
12
		WadeMobile.uploadWithServlet(uploadFiles, "FileUpDownload.upload", params, function(){
10 13
			
11 14
		});
12 15
	});
13 16
	
14 17
	//下载
15 18
	$("#download").tap(function() {
16
		//文件下载可以下载多个文件
17
		var uploadFiles = new Array();
18
		uploadFiles.push('http://127.0.0.1:9001/display/upload/default/20151013151525.png');//下载文件地址
19
		//下载文件保存
20
		var downloadPath = "/Users/kevin/Downloads";
21
		
22
		var params = new Wade.DataMap();
19 23
		
20
		WadeMobile.downloadFile(uploadFiles, function(){
24
		WadeMobile.downloadWithServlet(downloadPath, "FileUpDownload.download", params, function(){
21 25
			
22 26
		});
23 27
	});

+ 12 - 25
display-server/web/biz/js/scene/Login.js

@ -1,11 +1,13 @@
1 1
require(["wmTabbar","common","mobile","util"], function(WmTabbar,Common,Mobile) {
2 2

3
	// 页面初始化,初始化验证码
3 4
	Common.callSvc("SceneBean.initVerifyCode", null, function(resultData){
4 5
		if(typeof(resultData) == "string" ){
5 6
			resultData = new Wade.DataMap(resultData);
6 7
		}
7 8
		$("#J_ver_img").attr("src", "data:image/png;base64, " + resultData.get("VERIFY_IMG"));
8
		// 保存session_id
9
		
10
		// 保存session_id(以后每次请求,都会在Common中自动添加此SessionId,以便通过Session校验)
9 11
		Common.put("SESSION_ID", resultData.get("SESSION_ID"));
10 12
	});
11 13
	
@ -17,44 +19,29 @@ require(["wmTabbar","common","mobile","util"], function(WmTabbar,Common,Mobile)
17 19
			}
18 20
			$("#J_ver_img").attr("src", "data:image/png;base64, " + resultData.get("VERIFY_IMG"));
19 21
			$("#J_ver").val("");
20
			$("#J_ver").select();
21 22
		});
22 23
	})
23 24
	
25
	// 登录
24 26
	$("#sceneLoginBtn").tap(function(){
25 27
		var loginData = new Wade.DataMap();
26 28
		loginData.put("USER_NAME", $("#J_username").val());
27 29
		loginData.put("USER_PASSWORD", $("#J_pwd").val());
28 30
		loginData.put("VERIFY_CODE", $("#J_ver").val());
29 31
		
32
		// 将前台输入的参数传至后台校验
30 33
		Common.callSvc("SceneBean.login",loginData,function(data){
31 34
			console.log("结果[用户登陆]:" + data);
32
			//校验不正确
33
			if("0" != data.get("X_RESULTCODE")){
34
				$("#mention").text(data.get("X_RESULTINFO"));
35 35
			
36
			//校验正确	
37
			}else{
38
				Mobile.tip("亲爱的【"+data.get("ACCOUNT")+"】用户,登陆成功");
36
			if(typeof(resultData) == "string" ){
37
				resultData = new Wade.DataMap(resultData);
39 38
			}
39

40
			// 登录成功或失败之后的操作
41
			$("#retMsg").text("亲爱的【"+data.get("ACCOUNT")+"】用户,登陆成功");
42
			$("#loginForm").hide();
43
			$("#loginResult").show();
40 44
		});
41 45
	});
42 46
	
43
//	var loginData = new Wade.DataMap();
44
//	loginData.put("ACCOUNT","测试工号");
45
//	loginData.put("PASSWORD", "");
46
//	
47
//	Common.callSvc("LoginBean.login",loginData,function(data){
48
//		console.log("登陆成功:" + data);
49
//		Common.put("SESSION_ID",data.get("SESSION_ID"));
50
//		setTimeout(function(){
51
//			data.put("NEW_ACCOUNT","更新工号");
52
//			Common.callSvc("LoginBean.setLoginInfo",data,function(result){
53
//				console.log("更新信息:" + result);
54
//				Common.callSvc("LoginBean.getLoginInfo",null,function(result){
55
//					console.log("获取信息:" + result);
56
//				});
57
//			});
58
//		},200);
59
//	});
60 47
});

+ 12 - 11
display-server/web/biz/js/scene/TemplateRedirect.js

@ -1,12 +1,13 @@
1
2
require(["mobile","util"], function(Mobile) {
3
	
4
	// 开始游戏
5
	$("#startGame").tap(function(){
6
		
7
		// 页面跳转
8
		var param = new Wade.DataMap();
9
		Mobile.openTemplate("SceneBean_dataRequest",param);
10
	});
11
	
1

2
require(["mobile","util"], function(Mobile) {
3
	
4
	// 开始游戏
5
	$("#startGame").tap(function(){
6
		
7
		// 页面跳转需要渲染的数据
8
		var param = new Wade.DataMap();
9
		param.put("TemplateRedirectData","页面跳转(直接数据渲染)传过来的数据")
10
		Mobile.openTemplate("SceneBean_dataRequest",param);
11
	});
12
	
12 13
});

+ 1 - 3
display-server/web/template/webapp/plugin/UI-CustomDialog.html

@ -16,9 +16,7 @@
16 16
			<li tapfor="msgContent">
17 17
				<div class="content content-vertical">
18 18
					<div class="label">输入返回值:</div>
19
					<div class="value"><textarea id="result" style="height:1rem;">
20
						返回值测试
21
					</textarea></div>
19
					<div class="value"><textarea id="result" style="height:1rem;">返回值测试</textarea></div>
22 20
				</div>
23 21
			</li>
24 22
		</ul>

+ 1 - 3
display-server/web/template/webapp/plugin/UI-CustomWindow.html

@ -16,9 +16,7 @@
16 16
			<li tapfor="msgContent">
17 17
				<div class="content content-vertical">
18 18
					<div class="label">输入返回值:</div>
19
					<div class="value"><textarea id="result" style="height:1rem;">
20
						返回值测试
21
					</textarea></div>
19
					<div class="value"><textarea id="result" style="height:1rem;">返回值测试</textarea></div>
22 20
				</div>
23 21
			</li>
24 22
		</ul>

+ 3 - 2
display-server/web/template/webapp/scene/DataRequest.html

@ -64,7 +64,7 @@
64 64
				<tbody>
65 65
					<tr>
66 66
						<td width="30%"><label class="des">输入人名:</label></td>
67
						<td><input value="" type="text" id="J_username" name="J_username" class="ui-input ui-nt" maxlength="20" title="姓名"></td>
67
						<td><input value="{%TemplateRedirectData%}" type="text" id="J_username" name="J_username" class="ui-input ui-nt" maxlength="20" title="姓名"></td>
68 68
					</tr>
69 69
					<tr>
70 70
						<td>&nbsp;</td>
@ -84,7 +84,7 @@
84 84
						<td id="retName"></td>
85 85
					</tr>
86 86
					<tr>
87
						<td width="30%"><label class="des">评价:</label></td>
87
						<td><label class="des">评价:</label></td>
88 88
						<td id="retMsg"></td>
89 89
					</tr>
90 90
					<tr>
@ -96,6 +96,7 @@
96 96
				</tbody>
97 97
			</table>
98 98
		</div>
99
		
99 100
	</form>
100 101
	
101 102
</div>

+ 10 - 1
display-server/web/template/webapp/scene/Login.html

@ -50,6 +50,10 @@
50 50
	width: 1rem;
51 51
	height: 0.4rem;
52 52
}
53
#loginResult span {
54
	line-height: 0.4rem;
55
    height: 0.4rem;
56
}
53 57
</style>
54 58
</head>
55 59
<body>
@ -64,7 +68,7 @@
64 68
	
65 69
	<div class="m_content m_content-nofooter" id="content">
66 70
		<form class="reg_form">
67
			<table class="reg_table" cellpadding="0" cellspacing="0" border="0" width="100%">
71
			<table class="reg_table" cellpadding="0" cellspacing="0" border="0" width="100%" id="loginForm">
68 72
				<tbody>
69 73
					<tr>
70 74
						<td width="30%"><label class="des">用户名:</label></td>
@ -89,6 +93,11 @@
89 93
					</tr>
90 94
				</tbody>
91 95
			</table>
96
			
97
			<div id="loginResult" style="text-align: center;display: none;">
98
				<img src="biz/img/scene/login_success.png"/><br><br>
99
				<span id="retMsg"></span>
100
			</div>
92 101
		</form>
93 102
	</div>
94 103
</body>

+ 68 - 8
display-server/web/template/webapp/scene/PageRedirect.html

@ -6,6 +6,50 @@
6 6
	<title>页面跳转</title>
7 7
	{%>template/common/Head.html%}
8 8
	<link href="biz/css/project.css" rel="stylesheet" type="text/css" />
9
	<style>
10
		.ui-input {
11
			padding: 6px 9px;
12
			line-height: 0.22rem;
13
		    height: 0.4rem;
14
			width: 3rem;
15
			border: 1px solid #BBBBBB;
16
			font-size: 0.22rem;
17
		    color: #777;
18
		    background: transparent;
19
		    font-size: 0.22rem;
20
		}
21
		.reg_form {
22
			background-color: #fff;
23
			font-size: 0.22rem;
24
			padding-top: 0.12rem;
25
			box-shadow: 0 0.02rem 0 rgba(0,0,0,0.1);
26
		    line-height: 1;
27
		    border: 1px solid #ccc;
28
		    overflow: hidden;
29
		    background: #fff;
30
		}
31
		.reg_form .reg_table {
32
		}
33
		.reg_form .reg_table td {
34
			padding: 0 0 8px 0;
35
			height: 32px;
36
		}
37
		.reg_form .reg_table td label.des {
38
			text-align: right;
39
			display: table-cell;
40
		    width: 1.5rem;
41
		    padding: 0.16rem;
42
		    line-height: 0.28rem;
43
		}
44
		.reg_form .reg_table .J_ver-wrap .ui-input {
45
			width: 2rem;
46
		}
47
		.reg_form .reg_table td span.num {
48
			padding: 0.16rem;
49
		    line-height: 0.28rem;
50
		    display: inline-block;
51
		}
52
	</style>
9 53
</head>
10 54
<body>
11 55
<div class="c_navBar">
@ -16,20 +60,36 @@
16 60
		</div>
17 61
	</div>
18 62
</div>
19
<div class="c_submit">
20
	<ul>
21
		<li></li>
22
		<li><button class="e_button-cancel" id="call">跳转</button></li>
23
		<li></li>
24
	</ul>
63
<div class="m_content m_content-nofooter" id="content">
64
	<form class="reg_form">
65
		<table class="reg_table" cellpadding="0" cellspacing="0" border="0" width="100%" id="loginForm">
66
			<tbody>
67
				<tr>
68
					<td width="30%"><label class="des">脑筋急转弯:</label></td>
69
					<td>空着肚子能吃几个鸡蛋?</td>
70
				</tr>
71
				<tr>
72
					<td><label class="des">请回答:</label></td>
73
					<td class="J_ver-wrap">
74
						<input value="" type="text" id="J_answer" name="J_answer" class="ui-input" maxlength="4" /><span class="num">个</span>
75
					</td>
76
				</tr>
77
				<tr>
78
					<td>&nbsp;</td>
79
					<td>
80
						<button class="e_button-ok" id="testPageRedirectBtn" onclick="javascript:return false;">确定</button>
81
					</td>
82
				</tr>
83
			</tbody>
84
		</table>
85
	</form>
25 86
</div>
26 87

27 88
</body>
28 89
<script type="text/javascript">
29 90
require(["mobile","util"], function(Mobile) {
30 91
	
31
	$(".e_button-cancel").tap(function(){
32
		
92
	$("#testPageRedirectBtn").tap(function(){
33 93
		Mobile.openPage("Basic");
34 94
	});
35 95
});

+ 51 - 0
display-server/web/template/webapp/scene/PageRedirectResult.html

@ -0,0 +1,51 @@
1
<!DOCTYPE HTML>
2
<html class="s_bs">
3
<head>
4
	<meta charset="utf-8" />
5
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
6
	<title>页面跳转</title>
7
	{%>template/common/Head.html%}
8
	<link href="biz/css/project.css" rel="stylesheet" type="text/css" />
9
	<style>
10
		.ui-input {
11
			padding: 6px 9px;
12
			line-height: 0.22rem;
13
		    height: 0.4rem;
14
			width: 3rem;
15
			border: 1px solid #BBBBBB;
16
			font-size: 0.22rem;
17
		    color: #777;
18
		    background: transparent;
19
		    font-size: 0.22rem;
20
		}
21
		.reg_form {
22
			background-color: #fff;
23
			font-size: 0.22rem;
24
			padding-top: 0.12rem;
25
			box-shadow: 0 0.02rem 0 rgba(0,0,0,0.1);
26
		    line-height: 1;
27
		    border: 1px solid #ccc;
28
		    overflow: hidden;
29
		    background: #fff;
30
		}
31
	</style>
32
</head>
33
<body>
34
<div class="c_navBar">
35
	<div class="left">
36
		<div class="back">
37
			<span class="e_ico-back"></span>
38
			<span class="text"></span>
39
		</div>
40
	</div>
41
</div>
42
<div class="m_content m_content-nofooter" id="content">
43
	<form class="reg_form">
44
		<div style="text-align: center;padding: 0.5rem;">
45
			<span id="retMsg">{%retMsg%}</span>
46
		</div>
47
		
48
	</form>
49
</div>
50
</body>
51
</html>

+ 3 - 3
display-server/web/template/webapp/scene/Scene.html

@ -21,14 +21,14 @@
21 21
<div>
22 22
	<div class="c_list">
23 23
		<ul id="scene-menu">
24
			<li action="testCalendar">
24
			<!-- <li action="testCalendar">
25 25
				<div class="content">
26 26
					<div class="main">
27 27
						<div class="title">日历测试</div>
28 28
						<div class="info">暂时先放在这里!!!</div>
29 29
					</div>
30 30
				</div>
31
			</li>
31
			</li> -->
32 32
			
33 33
			<li action="SceneBean_login_init">
34 34
				<div class="content">
@ -56,7 +56,7 @@
56 56
					</div>
57 57
				</div>
58 58
			</li>
59
			<li action="PageRedirect">
59
			<li action="SceneBean_PageRedirect">
60 60
				<div class="content">
61 61
					<div class="main">
62 62
						<div class="title">页面跳转(调用数据接口)</div>

BIN
display-server/web/upload/default/20151013151525.png