| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ page import="cn.sinobest.framework.util.ConfUtil,cn.sinobest.framework.comm.Environment"%>
- <%@page import="cn.sinobest.framework.util.HTMLEncode"%>
- <%
- String jsMin = "";
- if (Environment.getAppProductMode()) {
- jsMin = "-min";
- }
- String type = request.getParameter("type");
- String icon = "infoicon";
-
- if ("AppMsg".equals(type)) {
- icon = "infoicon";
- } else if ("AppValidate".equals(type)) {
- icon = "validateicon";
- } else if ("AppData".equals(type)) {
- icon = "dataicon";
- } else if ("App".equals(type)) {
- icon = "erroricon";
- }
- String message=request.getParameter("msg");
- message=HTMLEncode.encode(message);
- message=message.replace("\r\n","<br/>");
- %>
- <html>
- <head>
- <meta http-equiv="X-UA-Compatible" content="<%=Environment.XUACompatible %>" />
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <title>系统提示</title>
- <%
- if ("-min".equals(jsMin)) {
- %>
- <link href="<%=request.getContextPath()%>/themes/default/fw-all-default<%=jsMin%>.css" rel="stylesheet" type="text/css">
- <%
- } else {
- %>
- <link href="<%=request.getContextPath()%>/themes/default/default.css" rel="stylesheet" type="text/css">
- <%
- }
- %>
- <style>
- body {
- background-color: #EEF1F7;
- }
- .buttom {
- clear:both;
- height: 30px;
- width: 100%;
- position: fixed;
- bottom: 0px;
- left: auto;
- right: auto;
- line-height: 30px;
- text-align: center;
- _POSITION: absolute; /*兼容IE6*/
- _TOP: expression(offsetParent.scrollTop +
- document.documentElement.clientHeight-this.offsetHeight); /*兼容IE6*/
- }
- </style>
- <script language="javascript">
- function doInit(){
- if (window.name == "_exceptionFrame") {
- window.parent.document.getElementById("divMsgDialogBtn").style.display="block";
- }
- }
-
- </script>
- </head>
- <body onload="doInit();" onunload="">
- <div id="div_dialog_msg" class="exception-tip" style="display: block">
- <div class="exception-message-baody">
- <div class="exception-icon"> <span class="<%=icon%>"></span></div>
- <div class="exception-message">
- <div class="exception-type">温馨提示:</div>
- <div class="exeption-font">
- <%
- if ("AppData".equals(type)) {
- %>
-
- 您输入的数据有误:<br/><span id="msg" class="info-message"><%=message %></span>请核实后重新输入!
-
- <%
- } else
- if ("AppMsg".equals(type)) {
- %>
-
- 您经办的业务可能存在操作问题:<br/><span id="msg" class="info-message"><%=message %></span>请核实后再办理!
-
- <%
- } else
- if ("AppValidate".equals(type)) {
- %>
-
- 您经办的业务不符合业务规则:<br/><span id="msg" class="info-message"><%=message %></span>请核实后再办理!
-
- <%
- } else if ("App".equals(type)) {
- %>
- 很抱歉!您所经办的业务出错了,请联系系统管理员进行处理。以下信息供管理员参考。<span id="msg" class="error-message"><%=message %></span>请核实后再办理!
-
- <%
- } else {
- %>
- <span id="msg" class="info-message"><%=message %></span>
- <% } %>
- </div>
- </div>
- </div>
- </div>
- </body>
- </HTML>
|