| | |
| | | <div> |
| | | <el-row type="flex" justify="space-between" class="underline"> |
| | | <span class="color"><b>学院动态</b></span> |
| | | <span @click="goMore('学院动态')" class="liPointer" |
| | | >更多<i class="el-icon-d-arrow-right"></i> |
| | | </span> |
| | | <span @click="goMore('学院动态')" class="liPointer">更多<i class="el-icon-d-arrow-right"></i> </span> |
| | | </el-row> |
| | | <div style="max-height:420px;overflow:hidden;"> |
| | | <ul> |
| | |
| | | name: 'school', |
| | | data() { |
| | | return { |
| | | schoolList: [], |
| | | schoolList: [] |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | newsCategoryId:44, |
| | | size:6 |
| | | } |
| | | getNewsList(data).then(res => { |
| | | console.log(res); |
| | | getNewsList(data) |
| | | .then(res => { |
| | | console.log(res) |
| | | if(res.code == 200){ |
| | | this.schoolList = res.data.records |
| | | } |
| | | }).catch(error => { |
| | | console.log(error); |
| | | }) |
| | | .catch(error => { |
| | | console.log(error) |
| | | }) |
| | | }, |
| | | //前往更多信息页面 |
| | |
| | | this.$router.push({ |
| | | path:'moreMessage', |
| | | query:{ |
| | | type:val, |
| | | type: val |
| | | } |
| | | }) |
| | | }, |