Commit 0fa41346 by yuwen

Merge branch 'yuwen' into '1a86cad6'

Yuwen

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