杨磊
昨天 2886d8ee7872f6709b53a4bd84f95ffe0a26eafb
src/layout/components/footerPage.vue
@@ -1,16 +1,193 @@
<template>
  <div class="footerBox">FOOT</div>
  <div class="pageFooter">
    <div class="footerContent contentBox flex">
      <div class="infoBox flex1">
        <ul class="linkBox">
          <li class="link" @click="toAboutus(index)" v-for="(item, index) in linkList" :key="index">
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li class="link" @click="toAboutus(index)" v-for="(item, index) in newList" :key="index">
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li
            class="link"
            @click="toAboutus(index)"
            v-for="(item, index) in serviceList"
            :key="index"
          >
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li class="link" @click="toAboutus(index)">天猫旗舰店</li>
          <li class="link" style="opacity: 1; font-size: 20px" @click="toAboutus(index)">
            京东旗舰店
          </li>
        </ul>
      </div>
      <div class="QRCodeBox">
        <div class="codeItem">
          <img src="@/assets/images/pageFooter/wechatCode.png" />
        </div>
        <div class="codeItem">
          <img src="@/assets/images/pageFooter/weiboCode.png" />
        </div>
      </div>
    </div>
    <div class="copyrightBox">
      <span
        >中国协和医科大学出版社有限公司 丨 备案序号:<span class="beian" @click="toLink"
          >京ICP备 05029104号-4互联网出版许可证 新出网证 (京 )</span
        >
        丨 增值电信业务经营许可证:京B2-20224426</span
      >
      <span style="display: block">Copyright©2013 中国协和医科大学出版社有限公司 版权所有!</span>
    </div>
  </div>
</template>
<script setup lang="ts"></script>
<script setup lang="ts">
import { reactive } from 'vue'
<style scoped>
.footerBox {
  width: 100%;
  height: 240px;
  min-width: 1200px;
  color: #fff;
  background-color: #f0f0f0;
  text-align: center;
const toAboutus = () => {}
const linkList = reactive([
  {
    name: '关于我们',
    url: '',
  },
  {
    name: '关于我们',
    url: '',
  },
  {
    name: '联系我们',
    url: '',
  },
  {
    name: '意见反馈',
    url: '',
  },
])
const newList = reactive([
  {
    name: '新手上路',
    url: '',
  },
  {
    name: '操作指南',
    url: '',
  },
  {
    name: '教师认证',
    url: '',
  },
])
const serviceList = reactive([
  {
    name: '友情链接',
    url: '',
  },
  {
    name: '国家科学技术部',
    url: '',
  },
  {
    name: '国家卫生健康委',
    url: '',
  },
  {
    name: '国家教育部',
    url: '',
  },
  {
    name: '北京市卫健委',
    url: '',
  },
])
</script>
<style lang="less" scoped>
.pageFooter {
  background: #444444;
  background-image: url('@/assets/images/xiehe/home/footer-bg.png');
  .footerContent {
    padding: 30px 0;
    .infoBox {
      display: flex;
      .linkBox {
        font-size: 16px;
        margin-left: 50px;
        .link {
          padding-right: 15px;
          cursor: pointer;
          color: #fff;
          margin-top: 20px;
          opacity: 0.7;
          &::after {
            margin-left: 15px;
          }
          &:last-child::after {
            display: none;
          }
          &:first-child {
            color: #fff;
            opacity: 1;
            font-size: 20px;
            margin-bottom: 10px;
          }
        }
      }
      .address {
        margin-top: 30px;
        font-size: 14px;
        color: #ccc;
        span {
          margin-right: 30px;
        }
      }
      .logo {
        height: 50px;
        margin-top: 30px;
        img {
          height: 100%;
        }
      }
    }
    .QRCodeBox {
      .codeItem {
        display: inline-block;
        text-align: center;
        margin-left: 40px;
        p {
          font-size: 16px;
        }
        img {
          width: 100px;
          height: 100px;
          margin-top: 20px;
        }
      }
    }
  }
  .copyrightBox {
    text-align: center;
    color: #fff;
    height: 80px;
    line-height: 40px;
    font-size: 12px;
    border-top: 1px solid #e6e6e6;
    .beian {
      cursor: pointer;
    }
    .beian:hover {
      color: blue;
    }
  }
}
</style>