newCreate

This commit is contained in:
ddmt 2025-01-04 01:20:30 +08:00
parent dfaf6006f2
commit 4f892b4d1b

152
view/createQuestion.html Normal file
View File

@ -0,0 +1,152 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>创建问卷</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #C3C3C3;
}
header {
background-color: #CF9A30;
color: #EEE8E4;
text-align: start;
padding: 20px;
display: flex;
}
main {
padding: 30px 0;
display: flex;
align-items: center;
justify-content: center;
}
.box {
width: 90%;
padding: 14px;
background-color: #EBEBEB;
box-shadow: 1px 2px 2px rgba(0,0,0,0.4);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
a{
text-decoration: none;
}
.quesen{
width: 32px;
height: 32px;
font-size: 28px;
font-weight: bold;
text-align: center;
line-height: 24px;
color: #CF9A30;
border-radius: 50px;
padding-top: 5px;
background-color: #EBEBEB;
position: absolute;
font-style: normal;
top: 14px;
left: 60px;
}
.title{
margin-left: 80px;
font-size: 24px;
line-height: 20px;
font-weight: bold;
margin-right: 60px;
}
.nav-bar{
a{
line-height: 20px;
font-size: 20px;
color: #EEE8E4;
border: 2px solid #c78501;
padding: 2px;
}
}
.question-title{
width: 100%;
height: 68px;
text-align: center;
font-size: 24px;
font-weight: bold;
color: #000;
background: #CEEACA;
box-shadow: 1px 2px 2px rgba(0,0,0,0.4);
border-radius: 2px;
}
.question-title:hover{
background: #FCFF00;
}
.but{
width: 99%;
height: 40px;
background-color: #D3D3D3;
margin: 25px 0;
text-align: center;
line-height: 40px;
font-size: 20px;
font-weight: bold;
color: #000000;
padding: 10px 0 50px 0;
}
hr{
width: 100%;
}
.ctrl-bar{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;
}
.endtime{
margin-left: 20%;
span{
margin-right: 16px;
}
}
.pushbut{
margin-right: 20%;
button{
margin-right: 10px;
}
}
</style>
</head>
<body>
<header>
<i class="quesen">?</i>
<div class="title">问卷管理</div>
<div class="nav-bar">
<a href="#">我的问卷</a>
</div>
</header>
<main>
<div class="box">
<input class="question-title" type="text" value="请在这里输入问卷的标题">
<a href="" class="but">+ 添加问题</a>
<hr>
<div class="ctrl-bar">
<div class="endtime">
<span>问卷截止日期</span>
<input type="date" name="endtime" id="endtime">
</div>
<div class="pushbut">
<button>保存问卷</button>
<button>发布问卷</button>
</div>
</div>
</div>
</main>
</body>
</html>