明梦爽
2021-11-06 aef7583ccccd04b6f63a81d8cdf174bdb57d390f
科协概况完成
7个文件已修改
112 ■■■■ 已修改文件
src/assets/css/my_style.css 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/introduce.vue 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/homePage/moreMessage.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/notice.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/school.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/work.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/my_style.css
@@ -1,3 +1,7 @@
ul{
  padding: 0;
  margin: 0;
}
.ft-20{
  font-size: 20px;
}
@@ -9,6 +13,12 @@
}
.mart15{
  margin-top: 15px !important;
}
.marr10{
  margin-right: 10px !important;
}
.marb10{
  margin-bottom: 10px !important;
}
.padt10{
  padding-top:10px !important;
@@ -27,4 +37,11 @@
}
.fr{
  float: right;
}
.liPointer {
  cursor: pointer;
}
.liStylenone {
  list-style: none;
}
src/components/page/introduce.vue
@@ -2,7 +2,24 @@
  <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>
@@ -10,35 +27,47 @@
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>
src/views/homePage/moreMessage.vue
@@ -7,7 +7,7 @@
      <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"
          >
@@ -23,7 +23,7 @@
      </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>
@@ -32,7 +32,7 @@
      </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>
src/views/notice.vue
@@ -2,14 +2,14 @@
  <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"
        >
src/views/other.vue
@@ -4,7 +4,7 @@
      <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>
src/views/school.vue
@@ -2,11 +2,11 @@
  <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>
src/views/work.vue
@@ -2,11 +2,11 @@
  <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>