Commit ed95a5cd by yuwen

update

parent 95017129
<template> <template>
<div class="grow"></div> <div class="grow">
<div class="edit" @click="edit1"></div>
</div>
</template> </template>
<script> <script>
export default { export default {
data () {
return {
}
},
methods: {
/**
* @method edit1 返回
*/
edit1 () {
this.$router.back('/sixthForm')
}
}
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
...@@ -12,5 +26,14 @@ export default { ...@@ -12,5 +26,14 @@ export default {
height: 1080px; height: 1080px;
background: url('../../static/images/sixthForm/grow.png') no-repeat center; background: url('../../static/images/sixthForm/grow.png') no-repeat center;
margin: 0 auto; margin: 0 auto;
overflow: hidden;
.edit{
width: 83px;
height: 35px;
background: url('../../static/images/sixthForm/return.png') no-repeat;
position: absolute;
top: 39px;
left: 1822px;
}
} }
</style> </style>
...@@ -98,7 +98,10 @@ export default { ...@@ -98,7 +98,10 @@ export default {
classList: [ classList: [
{name: '一班'}, {name: '一班'},
{name: '二班'}, {name: '二班'},
{name: '三班'} {name: '三班'},
{name: '四班'},
{name: '五班'},
{name: '六班'}
], ],
// 选择性别 // 选择性别
sexRes: { sexRes: {
...@@ -188,7 +191,11 @@ export default { ...@@ -188,7 +191,11 @@ export default {
* @method Search 搜索 * @method Search 搜索
*/ */
Search () { Search () {
this.$router.push({path: '/growth'}) if (this.gradeRes.name === '六年级' && this.classRes.name === '六班' && this.sexRes.name === '女' && this.studentName === '沈凡婷') {
this.$router.push({path: '/growth'})
} else {
this.$message('暂无数据')
}
} }
} }
} }
......
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