Commit b1f02ac2 authored by 喻春霖's avatar 喻春霖

fixed

parents 5cf15ea5 eea6cfc5
#showMessage {
height: 100%;
background: url('../img/msg-bg-xp.jpg') center no-repeat;
background-size: auto 100%;
}
.login-success {
padding: 14% 12%;
font-size: 26px;
color: white;
letter-spacing: 8px;
font-weight: 900;
}
@media screen and (min-width: 1025px) and (max-width: 1280px) {
.login-success {
font-size: 22px;
}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.login-success {
font-size: 18px;
}
}
@media screen and (max-width: 767px) {
.login-success {
font-size: 14px;
}
}
@media screen and (min-width: 1921px) and (max-width: 3000px) {
.login-success {
font-size: 32px;
}
}
......@@ -3,7 +3,9 @@
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<html class="no-js" xmlns:th="http://www.w3.org/1999/xhtml"> <!--<![endif]-->
<html class="no-js" xmlns:th="http://www.w3.org/1999/xhtml">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
......@@ -12,10 +14,12 @@
<title>上海数字教材运营管理中心</title>
<script type="text/javascript" th:src="@{/static/js/jquery-1.10.2.min.js}"></script>
<link rel="stylesheet" th:href="@{/static/css/loginSuccess.css}" />
<!--<script src="../js/vendor/modernizr-2.6.2.min.js"></script>-->
</head>
<body>
<div>
<body style="height: 100vh; margin: 0;">
<div style="height: 100%;">
<form th:action="${successPostUrl}" method="post" th:object="${clientDataInfo}">
<input type="hidden" th:value="${clientDataInfo.authUserInfo.id}" name="authUserInfo.id"/>
<input type="hidden" th:value="${clientDataInfo.authUserInfo.realName}" name="authUserInfo.realName"/>
......@@ -49,17 +53,31 @@
<input type="hidden" th:value="${clientDataInfo.oauthType}" name="oauthType"/>
</form>
<p id="showMessage" style="font-size: 26px; text-align:center;display: none">尊敬的
<div id="showMessage">
<div class="login-success">
<p>您好,来自
<span th:if="${clientDataInfo.authUserInfo.source} == 'edenoperation'">上海数字教材</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'dianjiaoguan'">上海基础教育</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'qpjy'">青浦教育</span>
<span th:text="${clientDataInfo.authUserInfo.realName}"></span>
<span th:if="${clientDataInfo.authUserInfo.userType} == 'teacher'">(教师)</span>
<span th:if="${clientDataInfo.authUserInfo.userType} == 'student'">(学生)</span>
</p>
<p>欢迎使用“发现服务·速享之旅”</p>
<p>统一身份认证服务</p>
</div>
</div>
<!-- <p id="showMessage" style="font-size: 26px; text-align:center;display: none">尊敬的
<span th:text="${clientDataInfo.authUserInfo.realName}"></span>(id:
<span th:text="${clientDataInfo.authUserInfo.id}"></span>),恭喜您通过
<span th:if="${clientDataInfo.authUserInfo.source} == 'edenoperation'">上海数字教材</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'dianjiaoguan'">上海基础教育</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'qpjy'">青浦教育</span>
登录成功!
</p>
</p> -->
</div>
<script th:inline="javascript">
</div>
<script th:inline="javascript">
var formSubmitUrl = [[${successPostUrl}]];
if (formSubmitUrl && formSubmitUrl.length > 0){
......@@ -70,8 +88,9 @@
}else {
$("#showMessage").show();
}
</script>
</script>
</body>
</body></html>
\ No newline at end of file
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment