|
|
@@ -3,12 +3,14 @@
|
|
|
<div class="top">
|
|
|
<div class="search">
|
|
|
<el-input
|
|
|
- placeholder="请输入学籍号查询"
|
|
|
+ placeholder="请输入姓名"
|
|
|
suffix-icon="el-icon-search"
|
|
|
v-model="formData.searchKey"
|
|
|
>
|
|
|
</el-input>
|
|
|
- <span class="btn" @click="mySearch"></span>
|
|
|
+ <span class="btn" @click="mySearch">
|
|
|
+ <i class="el-icon-search"></i> 查 询</span
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 内容 -->
|
|
|
@@ -31,7 +33,7 @@
|
|
|
<div class="details" v-show="details">
|
|
|
<div class="left">
|
|
|
<div class="el-icon-arrow-left" @click="details = false"></div>
|
|
|
- <img :src="baseURL + txtObj.thumb" alt="" v-if='txtObj.thumb'/>
|
|
|
+ <img :src="baseURL + txtObj.thumb" alt="" v-if="txtObj.thumb" />
|
|
|
<p>{{ txtObj.name }}</p>
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
@@ -84,8 +86,13 @@ export default {
|
|
|
},
|
|
|
mySearch() {
|
|
|
// console.log("点击了搜索");
|
|
|
- if (this.formData.searchKey.trim() === "")
|
|
|
- return this.$message.warning("请输入学籍号");
|
|
|
+ if (this.formData.searchKey.trim() === ""){
|
|
|
+ this.myArr=[]
|
|
|
+ this.baseTxt=false
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ // return this.$message.warning("不能为空!");
|
|
|
this.formData.pageNum = 1;
|
|
|
this.studentList(this.formData);
|
|
|
},
|
|
|
@@ -129,13 +136,30 @@ export default {
|
|
|
color: #b9412e !important;
|
|
|
}
|
|
|
.tab4-5 {
|
|
|
+ /*修改提示文字的颜色*/
|
|
|
+ /deep/input::-webkit-input-placeholder {
|
|
|
+ /* WebKit browsers */
|
|
|
+ color: #b9412e;
|
|
|
+ }
|
|
|
+ /deep/input:-moz-placeholder {
|
|
|
+ /* Mozilla Firefox 4 to 18 */
|
|
|
+ color: #b9412e;
|
|
|
+ }
|
|
|
+ /deep/input::-moz-placeholder {
|
|
|
+ /* Mozilla Firefox 19+ */
|
|
|
+ color: #b9412e;
|
|
|
+ }
|
|
|
+ /deep/input:-ms-input-placeholder {
|
|
|
+ /* Internet Explorer 10+ */
|
|
|
+ color: #b9412e;
|
|
|
+ }
|
|
|
// position: relative;
|
|
|
width: 100%;
|
|
|
height: 750px;
|
|
|
min-width: 1500px;
|
|
|
color: black;
|
|
|
.top {
|
|
|
- height: 50px;
|
|
|
+ height: 100px;
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
@@ -143,26 +167,41 @@ export default {
|
|
|
font-size: 26px;
|
|
|
font-weight: 700;
|
|
|
.search {
|
|
|
+ /deep/.el-input__inner {
|
|
|
+ border-radius: 40px;
|
|
|
+ border: 1px solid #b9412e;
|
|
|
+ }
|
|
|
width: 500px;
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
bottom: 0px;
|
|
|
position: absolute;
|
|
|
.btn {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: #fff;
|
|
|
+ z-index: 999;
|
|
|
+ background-color: #b9412e;
|
|
|
+ border-radius: 40px;
|
|
|
cursor: pointer;
|
|
|
position: absolute;
|
|
|
- right: 0;
|
|
|
- top: 0;
|
|
|
+ right: -20px;
|
|
|
+ top: 3px;
|
|
|
height: 40px;
|
|
|
- width: 40px;
|
|
|
- background-color: transparent;
|
|
|
+ width: 80px;
|
|
|
+ /deep/.el-icon-search {
|
|
|
+ color: #fff;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.conten {
|
|
|
- margin-top: 30px;
|
|
|
+ margin-top: 50px;
|
|
|
min-width: 1556px;
|
|
|
- height: 680px;
|
|
|
+ height: 600px;
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: center;
|
|
|
@@ -189,9 +228,9 @@ export default {
|
|
|
text-align: center;
|
|
|
}
|
|
|
}
|
|
|
- .row:nth-of-type(5n) {
|
|
|
- margin-right: 0;
|
|
|
- }
|
|
|
+ // .row:nth-of-type(5n) {
|
|
|
+ // margin-right: 0;
|
|
|
+ // }
|
|
|
}
|
|
|
.paging {
|
|
|
position: absolute;
|