|
|
<%--
|
|
|
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 时间限制:{{problemDetailObj.timeLimit}}毫秒</p>
|
|
|
<p>难度:{{problemDetailObj.problemDifficulty}} 价值:{{problemDetailObj.problemValue}} 版本:{{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">×</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>
|