Commit 7ada76e4 by yangyang19979

Merge branch 'yangqingjie' into '1a86cad6'

更改搜索框

See merge request !31
parents 5a52fe10 2a353519
...@@ -31,11 +31,18 @@ ...@@ -31,11 +31,18 @@
/> />
</div> </div>
<div class="select-item student-name"> <div class="select-item student-name">
<input <select-list
placeholder="学生姓名" class="input"
title="学生姓名"
:list="studentNameList"
v-model="studentName" v-model="studentName"
@keyup.enter="Search" @keyup.enter="Search"
/> />
<!-- <input
placeholder="学生姓名"
v-model="studentName"
@keyup.enter="Search"
/> -->
</div> </div>
<div <div
class="search" class="search"
...@@ -106,8 +113,14 @@ export default { ...@@ -106,8 +113,14 @@ export default {
{name: '男'}, {name: '男'},
{name: '女'} {name: '女'}
], ],
// 老师姓名 // 学生姓名
studentName: '' studentName: {
name: ''
},
// 学科性别结果
studentNameList: [
{name: '顾雨辰'}
]
} }
}, },
methods: { methods: {
...@@ -224,20 +237,25 @@ export default { ...@@ -224,20 +237,25 @@ export default {
width: 222px; width: 222px;
padding: 2px 10px 5px; padding: 2px 10px 5px;
background: rgba(7, 32, 65, 0.3); background: rgba(7, 32, 65, 0.3);
border: 1px solid rgba(73, 133, 217, 0.6); // border: 1px solid rgba(73, 133, 217, 0.6);
> input { // .input {
width: 100%; // width: 100%;
height: 100%; // height: 100%;
font-size: 16px; // font-size: 16px;
font-family: Microsoft YaHei; // font-family: Microsoft YaHei;
font-weight: 400; // font-weight: 400;
color: #7AC6FA; // color: #7AC6FA;
background: none; // background: none;
&::-webkit-input-placeholder { // &::-webkit-input-placeholder {
color: #7AC6FA; // color: #7AC6FA;
} // }
// }
.input{
margin:-2px 0px 0px -10px;
width: 224px;
height: 32px;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment