Skip to content

Commit 6fae084

Browse files
author
YXJ2018
committed
修改mapper,首页增加提示
1 parent 1ef407e commit 6fae084

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

exam/src/components/common/login.vue

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<el-row class="main-container">
66
<el-col :lg="8" :xs="16" :md="10" :span="10">
77
<div class="top">
8-
<i class="iconfont icon-kaoshi"></i><span class="title">性感教师,在线发题</span>
8+
<i class="iconfont icon-kaoshi"></i><span class="title">在线考试系统</span>
99
</div>
1010
<div class="bottom">
1111
<div class="container">
@@ -37,6 +37,11 @@
3737
<p class="msg2">版权所有 ©2019 <!--重庆文理学院计科2班余晓江--> 保留所有权利 渝ICP备19001371号</p>
3838
</el-col>
3939
</el-row>
40+
<section class="remind">
41+
<span>管理员账号:9527</span>
42+
<span>教师账号:20081001</span>
43+
<span>密码都是:123456</span>
44+
</section>
4045
</div>
4146
</template>
4247

@@ -109,7 +114,20 @@ export default {
109114
}
110115
</script>
111116

112-
<style scoped>
117+
<style lang="scss" scoped>
118+
.remind {
119+
border-radius: 4px;
120+
padding: 10px 20px;
121+
display: flex;
122+
position: fixed;
123+
right: 20px;
124+
bottom: 50%;
125+
flex-direction: column;
126+
color: #606266;
127+
background-color: #fff;
128+
border-left: 4px solid #409eff;
129+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
130+
}
113131
.container {
114132
margin-bottom: 32px;
115133
}
@@ -157,7 +175,7 @@ a:link {
157175
display:flex;
158176
justify-content: center;
159177
background-color:#fff;
160-
border-radius: 5px;
178+
border-radius: 5px;
161179
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
162180
}
163181
#login .bottom .title {
@@ -200,7 +218,7 @@ a:link {
200218
}
201219
.bottom .options > a {
202220
color: #ff962a;
203-
}
221+
}
204222
.bottom .options .register span:nth-child(1) {
205223
color: #8C8C8C;
206224
}

springboot/src/main/java/com/exam/mapper/AnswerMapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
@Mapper
1111
public interface AnswerMapper {
12-
@Select("select question, subject, score, section,level, \"选择题\" as type from multiQuestion " +
13-
"union select question, subject, score, section,level, \"判断题\" as type from judgeQuestion " +
14-
"union select question, subject, score, section,level, \"填空题\" as type from fillQuestion")
12+
@Select("select question, subject, score, section,level, \"选择题\" as type from multi_question " +
13+
"union select question, subject, score, section,level, \"判断题\" as type from judge_question " +
14+
"union select question, subject, score, section,level, \"填空题\" as type from fill_question")
1515
IPage<AnswerVO> findAll(Page page);
1616
}

0 commit comments

Comments
 (0)