Commit 2c19e149 by 杨青杰

update

parent a2c0d4f3
<template>
<div class="student">
<img src='../../static/images/classStudent/1.png' />
<img class="img1" src='../../static/images/classStudent/1.png' />
<img class="img2" @click="change" src="../../static/images/class3/back.png" />
</div>
</template>
<script>
export default {
methods: {
change () {
this.$router.back(-1)
}
}
}
</script>
<style>
<style lang="less" scoped>
.student{
width: 1920px;
height: 1080px;
position: relative;
.img1{
position: absolute;
width: 100%;
height: 100%;
}
.img2{
position: absolute;
top:50px;
right:25px;
width: 83px;
height: 35px;
cursor: pointer;
}
}
</style>
\ No newline at end of file
......@@ -147,7 +147,10 @@ export default {
* @method Search 查询更多
*/
Search () {
this.$router.push({path: '/student'})
if (this.studentName === '小王') {
this.$router.push({path: '/student'})
}
console.log(123)
}
}
......@@ -205,18 +208,19 @@ export default {
width: 830px;
height: 70px;
display: flex;
padding:16px 0px 0px 19px;
background: url('@{imagePath}kuang.png') no-repeat center;
background-size: 100% 100%;
border: springgreen 1px solid;
.select-item {
position: relative;
width: 140px;
width: 130px;
height: 32px;
margin-right: 16px;
margin-right: 13px;
&.student-name {
width: 162px;
width: 222px;
padding: 2px 10px 5px;
background: rgba(7, 32, 65, 0.3);
border: 1px solid rgba(73, 133, 217, 0.6);
......@@ -238,7 +242,7 @@ export default {
}
.search {
width: 73px;
width: 125px;
height: 32px;
background-color: rgba(7, 32, 65, 0.3);
border: 1px solid rgba(73, 133, 217, .6);
......
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