明梦爽
2022-08-15 6cf9fe5c9eb7dc664b7a64454cd327d08baf1a93
src/views/other.vue
@@ -1,16 +1,34 @@
<template>
  <div>
    <div>
      <span>友情链接</span>
      <el-row class="underline marb20">
        <span class="color"><b>友情链接</b></span>
      </el-row>
      <div>
        <ul>
          <li class="lieBiao liPointer" :key="index" v-for="(item, index) in lianJieList">
            {{ item.name }}
          </li>
        </ul>
        <div class="aLianJ marb10">
          <a href="https://www.cast.org.cn/" class="anone" target="_block">中国科协</a>
        </div>
        <div class="aLianJ marb10">
          <a href="http://www.kepu.gov.cn/kejiweek/" class="anone" target="_block">中国科普网</a>
        </div>
        <div class="aLianJ marb10">
          <a href="https://www.hast.net.cn/" class="anone" target="_block">河南省科协</a>
        </div>
        <div class="aLianJ marb10">
          <a href="http://www.pdskx.cn/" class="anone" target="_block">平顶山市科协</a>
        </div>
        <div class="aLianJ marb10">
          <a href="#" class="anone" target="_block">平顶山市公安局</a>
        </div>
        <div class="aLianJ marb10">
          <a href="#" class="anone" target="_block">平顶山市消防局</a>
        </div>
        <div class="aLianJ marb10">
          <a href="#" class="anone" target="_block">平顶山市教育局</a>
        </div>
      </div>
    </div>
    <div>
    <!-- <div>
      <span>联系我们</span>
      <div>
        <div class="bg">
@@ -24,7 +42,7 @@
          <a href="https://www.pdsu.edu.cn/#"> <img src="../assets/weiBo.jpg" alt="" /> </a>
        </div>
      </div>
    </div>
    </div> -->
  </div>
</template>
<script>
@@ -32,21 +50,20 @@
  name: 'other',
  data() {
    return {
      lianJieList: [{ name: '链接1' }, { name: '链接2' }, { name: '链接3' }]
      lianJieList: [{ name: '链接1' }, { name: '链接2' }]
    }
  }
}
</script>
<style lang="less" scoped>
ul {
  padding-left: 0;
.underline {
  border-bottom: 1px solid rgb(1, 72, 153);
}
.lieBiao {
  width: 90%;
.aLianJ {
  height: 30px;
  background-color: rgb(39, 144, 214);
  list-style: none;
  margin-bottom: 2px;
  background-color: rgb(242, 243, 244);
  text-align: center;
  line-height: 30px;
}
.bg {
  background-color: rgb(1, 72, 153) !important;
@@ -57,7 +74,8 @@
.bg2 {
  background: url('../assets/wbbg.png') no-repeat 20px 50px;
}
.bg,.bg2 {
.bg,
.bg2 {
  position: relative;
  height: 120px;
}
@@ -71,4 +89,4 @@
  top: 20px;
  left: 25px;
}
</style>
</style>