| | |
| | | ul{ |
| | | padding: 0; |
| | | margin: 0; |
| | | } |
| | | .ft-20{ |
| | | font-size: 20px; |
| | | } |
| | |
| | | } |
| | | .mart15{ |
| | | margin-top: 15px !important; |
| | | } |
| | | .marr10{ |
| | | margin-right: 10px !important; |
| | | } |
| | | .marb10{ |
| | | margin-bottom: 10px !important; |
| | | } |
| | | .padt10{ |
| | | padding-top:10px !important; |
| | |
| | | } |
| | | .fr{ |
| | | float: right; |
| | | } |
| | | |
| | | .liPointer { |
| | | cursor: pointer; |
| | | } |
| | | .liStylenone { |
| | | list-style: none; |
| | | } |
| | |
| | | <div> |
| | | <el-row> |
| | | <globalTitle /> |
| | | </el-row> |
| | | </el-row> |
| | | <el-row class="mart10"> |
| | | <el-col :span="4" class="marr10"> |
| | | <ul> |
| | | <li |
| | | v-for="(item, index) in menuList" |
| | | :key="index" |
| | | class="liStylenone liPointer marb10" |
| | | @click="changeMenu(item.name)" |
| | | > |
| | | <b :class="cont == item.name?'ft-blue':'ft-black'">{{ item.name }}</b> |
| | | </li> |
| | | </ul> |
| | | </el-col> |
| | | <el-col :span="18"> |
| | | <div v-html="cont"></div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import globalTitle from '../globalTitle.vue' |
| | | export default { |
| | | name: 'introduce', |
| | | components:{ |
| | | components: { |
| | | globalTitle |
| | | }, |
| | | data() { |
| | | return{ |
| | | menuList: [ |
| | | {name: '简介'}, |
| | | {name: '章程'}, |
| | | {name: '组织机构'}, |
| | | {name: '工作职责'}, |
| | | {name: '专职人员'} |
| | | ] |
| | | } |
| | | return { |
| | | cont:'', |
| | | menuList: [ |
| | | { name: '简介' }, |
| | | { name: '章程' }, |
| | | { name: '组织机构' }, |
| | | { name: '工作职责' }, |
| | | { name: '专职人员' } |
| | | ] |
| | | } |
| | | }, |
| | | mounted(){ |
| | | this.cont = this.menuList[0].name; |
| | | }, |
| | | methods:{ |
| | | changeMenu(val){ |
| | | this.cont = val; |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .el-header { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | background-color: rgb(85, 81, 82); |
| | | font-size: 20px; |
| | | line-height: 60px; |
| | | padding: 0px 4px; |
| | | } |
| | | .el-aside { |
| | | background-color: rgb(242, 243, 245); |
| | | .el-menu { |
| | | border-right: none; |
| | | |
| | | ul { |
| | | // background-color: rgb(242, 243, 245 ); |
| | | width: 200px; |
| | | li { |
| | | background-color: rgb(242, 243, 245 ); |
| | | height: 50px; |
| | | line-height: 50px; |
| | | text-align: center; |
| | | } |
| | | } |
| | | .ft-blue{ |
| | | color:rgb(9, 143, 252); |
| | | } |
| | | .ft-black{ |
| | | color: #000; |
| | | } |
| | | </style> |
| | |
| | | <div v-if="this.$route.query.type == '通知公告'"> |
| | | <ul> |
| | | <li |
| | | class="lieBiao flex-v flex-conter padt10" |
| | | class="lieBiao flex-v flex-conter padt10 liPointer" |
| | | :key="index" |
| | | v-for="(item, index) in noticeList" |
| | | > |
| | |
| | | </div> |
| | | <div v-if="this.$route.query.type == '学院动态'"> |
| | | <ul> |
| | | <li :key="index" v-for="(item, index) in schoolList"> |
| | | <li :key="index" v-for="(item, index) in schoolList" class="liPointer"> |
| | | <!-- <a href="item.path"> {{ item.title }} </a> --> |
| | | <!-- <router-link :to="{name:'schoolMessage',params:{id:item.id}}" >{{ item.title }} </router-link> --> |
| | | <div @click="toNoticeMsg(item.title)">{{ item.title }}</div> |
| | |
| | | </div> |
| | | <div v-if="this.$route.query.type == '工作状态'"> |
| | | <ul> |
| | | <li :key="index" v-for="(item, index) in workList"> |
| | | <li :key="index" v-for="(item, index) in workList" class="liPointer"> |
| | | <!-- <a href="item.path"> {{ item.title }} </a> --> |
| | | <!-- <router-link :to="{name:'schoolMessage',params:{id:item.id}}" >{{ item.title }} </router-link> --> |
| | | <div @click="toNoticeMsg(item.title)">{{ item.title }}</div> |
| | |
| | | <div> |
| | | <el-row type="flex" class="row-bg underline" justify="space-between"> |
| | | <span>通知公告</span> |
| | | <span @click="goMore('通知公告')"> |
| | | <span @click="goMore('通知公告')" class="liPointer"> |
| | | 更多<i class="el-icon-d-arrow-right"></i> |
| | | </span> |
| | | </el-row> |
| | | <div> |
| | | <ul> |
| | | <li |
| | | class="lieBiao" |
| | | class="lieBiao liPointer" |
| | | :key="index" |
| | | v-for="(item ,index) in noticeList" |
| | | > |
| | |
| | | <span>友情链接</span> |
| | | <div> |
| | | <ul> |
| | | <li class="lieBiao" :key="index" v-for="(item, index) in lianJieList"> |
| | | <li class="lieBiao liPointer" :key="index" v-for="(item, index) in lianJieList"> |
| | | {{ item.name }} |
| | | </li> |
| | | </ul> |
| | |
| | | <div> |
| | | <el-row type="flex" justify="space-between" class="underline"> |
| | | <span>学院动态</span> |
| | | <span @click="goMore('学院动态')">更多<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> |
| | | <ul> |
| | | <li :key="index" v-for="(item, index) in schoolList"> |
| | | <li :key="index" v-for="(item, index) in schoolList" class="liPointer"> |
| | | <!-- <a href="item.path"> {{ item.title }} </a> --> |
| | | <!-- <router-link :to="{name:'schoolMessage',params:{id:item.id}}" >{{ item.title }} </router-link> --> |
| | | <div @click="toSchoolMsg(item.title)"> {{ item.title }} </div> |
| | |
| | | <div> |
| | | <el-row type="flex" justify="space-between" class="underline"> |
| | | <span>工作动态</span> |
| | | <span @click="goMore('工作状态')">更多<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> |
| | | <ul> |
| | | <li :key="index" v-for="(item, index) in workList"> |
| | | <li :key="index" v-for="(item, index) in workList" class="liPointer"> |
| | | <div @click="toWorkMsg(item.title)"> {{ item.title }} </div> |
| | | </li> |
| | | </ul> |