Commit 0fa41346 by yuwen

Merge branch 'yuwen' into '1a86cad6'

Yuwen

See merge request !15
parents e817cc5b b894b076
<template>
<div class="grow"></div>
<div class="grow">
<div class="edit" @click="edit1"></div>
</div>
</template>
<script>
export default {
data () {
return {
}
},
methods: {
/**
* @method edit1 返回
*/
edit1 () {
this.$router.back('/sixthForm')
}
}
}
</script>
<style lang="less" scoped>
......@@ -12,5 +26,14 @@ export default {
height: 1080px;
background: url('../../static/images/sixthForm/grow.png') no-repeat center;
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>
......@@ -60,7 +60,7 @@
</div>
<div class="edit" @click="edit"></div>
</div>
<bullet-frame
<bullet-frame
:visible="visible"
@beforeClose="closePopup"
:layout="{width: '1102px', height: '792px'}"
......@@ -107,7 +107,10 @@ export default {
classList: [
{name: '一班'},
{name: '二班'},
{name: '三班'}
{name: '三班'},
{name: '四班'},
{name: '五班'},
{name: '六班'}
],
// 选择性别
sexRes: {
......@@ -204,21 +207,23 @@ export default {
* @method Search 搜索
*/
Search () {
this.$router.push({path: '/growth'})
if (this.gradeRes.name === '六年级' && this.classRes.name === '六班' && this.sexRes.name === '女' && this.studentName === '沈凡婷') {
this.$router.push({path: '/growthPer'})
} else {
this.$message('暂无数据')
}
}
}
}
</script>
<style lang="less">
#swiper1 {
widows: 500px;
height: 208px;
widows: 450px;
height: 258px;
.swiper-container {
padding-top: 20px;
width: 100%;
height: 100%;
.swiper-slide {
width: 393px !important;
height: 208px;
......@@ -248,7 +253,7 @@ export default {
height: 1080px;
background: url('@{imagePath}bg.png') no-repeat center;
margin: 0 auto;
verflow: hidden;
overflow: hidden;
.left{
.left-top{
width: 96px;
......
......@@ -15,7 +15,7 @@ import student from '@/pages/class3-student.vue'
// 六年级菊园学子
import sixthForm from '@/pages/sixthFormStudent.vue'
// 六年级菊园个人
import growth from '@/pages/growth.vue'
import growthPer from '@/pages/growth.vue'
export default [
{
path: '/',
......@@ -54,7 +54,7 @@ export default [
component: sixthForm
},
{
path: '/growth',
component: growth
path: '/growthPer',
component: growthPer
}
]
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