You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
3.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%--
Created by IntelliJ IDEA.
User: xiaoxie
Date: 2021/11/11
Time: 0:02
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<link href="../css/bootstrap-grid.css" rel="stylesheet" type="text/css" />
<link href="../css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="../css/bootstrap-reboot.css" rel="stylesheet" type="text/css" />
<link href="../css/bootstrap-utilities.css" rel="stylesheet" type="text/css" />
<link href="../css/bootstrap.rtl.css" rel="stylesheet" type="text/css" />
<link href="../pageStatic/css/style.css" rel="stylesheet" type="text/css" />
<link rel="SHORTCUT ICON" href="image/logo.png">
<link rel="BOOKMARK" href="image/logo.png">
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="../css/responsive.css" />
<link rel="stylesheet" type="text/css" href="../css/animate.min.css" />
<link rel="stylesheet" type="text/css" href="../css/main.css" />
<script src="../js/angular.min.js"></script>
<script src="../js/angular-route.min.js"></script>
<script src="../js/app.js"></script>
<script src="../js/controllers.js"></script>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<body>
<style>
#problemDetailContent {
margin-left: 100px;
margin-right: 100px;
margin-top: 50px;
word-break: break-all;
text-align: center;
}
#answerDialog {
margin: 0;
width: 100%;
text-align: center;
}
#answerDialog .modal-header {
border-bottom: 0;
}
#problemDetailContent .modal-dialog {
width: 90%;
}
#problemDetailContent textarea {
width: 90%;
}
</style>
<div id="problemDetailContent" ng-controller="problemDetailCtr">
<h2>{{problemDetailObj.problemName}}</h2>
<p>类型:{{problemDetailObj.typeName}}</p>
<p>标签:{{problemDetailObj.problemLabel}}</p>
<p>内存限制:{{problemDetailObj.memoryLimit}}KB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间限制:{{problemDetailObj.timeLimit}}毫秒</p>
<p>难度:{{problemDetailObj.problemDifficulty}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价值:{{problemDetailObj.problemValue}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版本:{{problemDetailObj.problemVersion}}</p>
<br />
<p id="detailProblemContent">{{problemDetailObj.problemContent |
formatToHtml : "detailProblemContent"}}</p>
<br />
<div class="" >
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">&times;</span><span class="sr-only"></span>
</button>
</div>
<div class="modal-body">
<p>题目编号:{{problemDetailObj.problemId}}</p>
<p>题目名字:{{problemDetailObj.problemName}}</p>
<p>代码语言java</p>
<textarea rows="20" cols="100" ng-model="answerData.code"></textarea>
<br /> <br /> <br />
<button class="btn btn-success" type="button"
ng-click="answerDialogShow()">提交答案</button>
<%-- <button class="btn btn-success" type="button"--%>
<%-- ng-click="answerSubmit()" ng-disabled="answerStatus.disabled">{{answerStatus.buttonText}}</button>--%>
</div>
</div>
</div>
</div>
<p>
</td>
</p>
<!-- 提交代码弹出框 开始-->
<!-- 提交代码弹出框 结束-->
</div>
</body>
</html>