This commit is contained in:
ddmt 2025-01-04 16:56:42 +08:00
parent 4f892b4d1b
commit c968860633

163
view/myQuestion.html Normal file
View File

@ -0,0 +1,163 @@
<!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;
flex-direction: column;
align-items: center;
justify-content: center;
}
.box {
width: 90%;
padding: 40px 20px;
background-color: #EBEBEB;
box-shadow: 1px 2px 2px rgba(0,0,0,0.4);
display: flex;
align-items: center;
justify-content: center;
}
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;
}
}
.grid-bar{
width: 85%;
display: flex;
margin-bottom: 10px;
}
.grid-item-title{
color: #2E276D;
font-weight: bold;
span{
margin: 0 8px;
}
}
.grid-item-add{
color: #EEE8E4;
background: #CF9A30;
font-weight: bold;
padding: 0 5px;
border: 2px solid #c78501;
border-radius: 2px;
}
.list-item{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
}
.quelist{
width: 100%;
}
.btn-group{
width: 33%;
float: right;
}
.item-date{
/* width: 33%; */
}
.item-title{
/* width: 33%; */
float: left;
}
</style>
</head>
<body>
<header>
<i class="quesen">?</i>
<div class="title">问卷管理</div>
<div class="nav-bar">
<a href="#">我的问卷</a>
</div>
</header>
<main>
<div class="grid-bar">
<div class="grid-item-title">问卷标题</div>
<div class="grid-item-title" style="margin: auto;">
<span>创建日期</span>
<span>发布日期</span>
<span>截止日期</span>
<span>问卷状态</span>
<span>操作区域</span>
</div>
<div class="grid-item-add">+ 新建问卷</div>
</div>
<div class="box">
<ul class="quelist">
<li class="list-item">
<div class="item-title">
<input type="checkbox">
<span>问卷标题</span>
</div>
<div class="item-date">
<span>2021-01-01</span>
<span>2021-01-01</span>
<span>2021-01-01</span>
<span>已发布</span>
</div>
<div class="btn-group">
<button>发布问卷</button>
<button>编辑问卷</button>
<button>删除问卷</button>
<button>查看问卷</button>
<button>填写问卷</button>
<button>分析问卷</button>
</div>
</li>
</ul>
</div>
</main>
</body>
</html>