13个文件已修改
6个文件已添加
12091 ■■■■■ 已修改文件
public/favicon.ico 补丁 | 查看 | 原始文档 | blame | 历史
public/index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/achievements/errorIcon.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/chronology/photoTest.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/directory/test.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/directory/touxiang.png 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/achievements/details.vue 648 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/achievements/index.vue 792 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/chronology/floatingWindow.vue 111 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/chronology/index.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/directory/index.vue 434 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/directory/treeData.json 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/searchBox.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/honors/index.vue 416 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yarn.lock 9464 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/favicon.ico

public/index.html
@@ -4,7 +4,7 @@
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">
    <title>王永炎数据库</title>
  </head>
src/assets/images/achievements/errorIcon.png
src/assets/images/chronology/photoTest.png
src/assets/images/directory/test.png
src/assets/images/directory/touxiang.png
src/layout/index.vue
@@ -133,8 +133,7 @@
        color: #decaac;
        font-size: 24px;
        border-bottom: 1px solid #b9a587;
        height: 180px;
        height: 18vh;
        .menuText {
          line-height: 50px;
        }
src/router/index.js
@@ -3,6 +3,7 @@
import HomeLayout from "@/layout";
import Home from "@/views/home";
import Honor from "@/views/honors";
import details from "@/views/achievements/details.vue"
const originalPush = VueRouter.prototype.push;
VueRouter.prototype.push = function push(location) {
@@ -11,7 +12,8 @@
Vue.use(VueRouter);
const routes = [{
const routes = [
  {
    path: "/",
    name: "HomeLayout",
    component: HomeLayout,
@@ -28,7 +30,7 @@
          authentication: false, // 是否需要登录验证
          keepAlive: false, // 是否需要缓存
        },
        component: () => import("@/views/chronology/index.vue")
        component: () => import("@/views/chronology/index.vue"),
      },
      {
        path: "/honor",
@@ -47,6 +49,14 @@
        component: () => import("@/views/achievements/index.vue"),
      },
      {
        path: "/details",
        name: "details",
        meta: {
          name: "学术成果详情",
        },
        component: details,
      },
      {
        path: "/directory",
        name: "directory",
        meta: {
@@ -63,8 +73,7 @@
      //   },
      //   component: () => import("@/views/login/login")
      // },
    ]
    ],
  },
  // 不在主框架内
@@ -75,9 +84,9 @@
    meta: {
      name: "首页",
      authentication: false, // 是否需要登录验证
      keepAlive: false // 是否需要缓存
      keepAlive: false, // 是否需要缓存
    },
    component: Home
    component: Home,
  },
  // {
  //   path: "/pdf",
@@ -90,4 +99,4 @@
  routes,
});
export default router;
export default router;
src/views/achievements/details.vue
New file
@@ -0,0 +1,648 @@
<template>
  <div class="page">
    <div class="page-header">
      <p>王永炎院士学术成果</p>
    </div>
    <div class="page-main-father">
      <ul class="page-main">
        <li class="page-main-name">
          <p>
            <el-button icon="el-icon-arrow-left" @click="goBack()"
              >返回</el-button
            >
          </p>
          <p>{{ detailsList.name }}</p>
        </li>
        <li class="page-main-time">
          <p>
            <span>{{ detailsList.sources }}</span>
            <span>{{ detailsList.time }}</span>
          </p>
        </li>
        <li class="page-main-title">
          <p>
            <span
              v-for="(item, index) in detailsList.characterList"
              :key="index"
              >{{ item.name }}</span
            >
          </p>
          <p><span>摘要:</span>{{ detailsList.title }}</p>
          <p>
            <span>关键词:</span>
            <span
              class="page-main-keyword"
              v-for="(item, index) in detailsList.keyword"
              :key="index"
              >{{ item.name }}</span
            >
          </p>
          <p v-if="!isDisplay">
            <el-button @click="isDisplay = !isDisplay">查看全文</el-button>
          </p>
          <p class="page-main-video" v-if="isDisplay">
            <video
              :src="detailsList.videoUrl"
              controls
              autoplay
              class="video"
              width="70%"
            ></video>
          </p>
          <p class="page-main-audio" v-if="isDisplay">
            <audio
              :src="detailsList.videoUrl"
              controls
              autoplay
              class="video"
              width="100%"
            ></audio>
          </p>
        </li>
        <li class="page-main-literature">
          <p class="literature-header">相关文献</p>
          <div class="content-right">
            <!-- 结果展示 -->
            <ul
              class="right-main"
              v-for="(item, index) in resultList"
              :key="index"
            >
              <li class="main-name">
                <p>{{ item.name }}</p>
                <p>
                  <el-button @click="goPage(item)">详情</el-button>
                  <el-button>AI智能阅读</el-button>
                </p>
              </li>
              <li class="main-sources">
                <span>{{ item.type }}</span>
                <span>{{ item.sources }}</span>
                <span>{{ item.time }}</span>
              </li>
              <li class="main-author">
                {{ item.author }}
              </li>
              <li class="main-title" :title="item.title">
                <span>摘要: </span>{{ item.title }}
              </li>
              <li class="main-keyword">
                <span>关键词:</span>
                <span
                  class="keyWord"
                  v-for="(citem, cindex) in item.keyword"
                  :key="cindex"
                >
                  {{ citem.name }}
                </span>
              </li>
            </ul>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      isDisplay: false,
      detailsList: {
        name: "中药闸柜的历史传承与新时代发展思考",
        sources: "北京中医药大学学报",
        time: "2025-02-24",
        characterList: [
          {
            name: "杨浣菲",
          },
          {
            name: "杨浣菲",
          },
          {
            name: "杨浣菲",
          },
          {
            name: "杨浣菲",
          },
        ],
        title:
          "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
        keyword: [
          {
            name: "中药闸柜",
          },
          {
            name: "中药闸柜",
          },
          {
            name: "中药闸柜",
          },
          {
            name: "中药闸柜",
          },
        ],
        videoUrl: "https://www.w3schools.com/html/mov_bbb.mp4",
        audioMd5: "",
      },
      // 查询结果
      resultList: [
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
      ],
    };
  },
  methods: {
    goPage(key) {},
    goBack() {
      this.$router.go(-1);
    },
  },
};
</script>
<style lang="less" scoped>
.page {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #e9e1d4;
  position: relative;
  overflow: hidden;
}
.page-header {
  height: 9.4%;
  width: 100%;
  text-align: left;
  border-bottom: 2px solid #937950;
  background-color: #e9e1d4;
  position: sticky;
  top: 0;
  z-index: 100;
  p {
    padding: 1.6% 0 1.55% 0;
    font-family: Alimama DongFangDaKai;
    font-size: 30px;
    text-indent: 1em;
    border-bottom: 1px solid #937950;
  }
}
.page-main-father{
  height: calc(100% - 9.4%);
  width: 100%;
  overflow: auto;
}
.page-main {
  background-color: #fcfaf3;
  width: 77.3%;
  margin: 0 auto;
  margin-top: 1%;
  .page-main-name {
    display: flex;
    align-items: center;
    padding: 21px 28px;
    border-bottom: 1px solid #d8cbb6;
    ::v-deep .el-button {
      font-size: 14px;
      background-color: transparent;
      color: #937950;
      border: 1px solid #6f5a3a;
      border-radius: 0;
      &:hover {
        background-color: #6f5a3a;
        color: #fffdf8;
      }
    }
    p:nth-child(1) {
      width: 8%;
    }
    p:nth-child(2) {
      width: 92%;
      text-align: center;
      font-family: Source Han Sans;
      font-size: 32px;
      font-weight: 350;
      color: #937950;
    }
  }
  .page-main-time {
    padding: 8px 0 16px 0;
    display: flex;
    justify-content: center;
    font-family: Source Han Sans;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    border-bottom: 1px solid #d8cbb6;
    p {
      span {
        margin-right: 20px;
      }
    }
  }
  .page-main-title {
    padding: 13px 185px 25px 185px;
    border-bottom: 1px solid #d8cbb6;
    ::v-deep .el-button {
      font-size: 14px;
      background-color: #937950;
      color: #fff;
      border: 1px solid #6f5a3a;
      border-radius: 0;
      &:hover {
        background-color: #6f5a3a;
        color: #fffdf8;
      }
    }
    p:nth-child(1) {
      display: flex;
      justify-content: center;
      margin-bottom: 13px;
      span {
        font-family: Source Han Sans;
        font-size: 14px;
        font-weight: 350;
        color: #604d2f;
        border-right: 1px solid #937950;
        padding: 0 21px;
      }
      span:last-child {
        border: none;
      }
    }
    p:nth-child(2) {
      margin-bottom: 13px;
      font-family: Source Han Sans;
      font-size: 14px;
      font-weight: 350;
      line-height: 26px;
      color: #333333;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      span {
        font-family: Source Han Sans;
        font-size: 14px;
        font-weight: bold;
        color: #333333;
      }
    }
    p:nth-child(3) {
      margin-bottom: 24px;
      span:nth-child(1) {
        font-family: Source Han Sans;
        font-weight: 700;
        font-size: 14px;
      }
      .page-main-keyword {
        cursor: pointer;
        padding: 5px 10px;
        color: #937950;
        border: 1px solid #937950;
        font-family: Source Han Sans;
        font-size: 12px;
        font-weight: 350;
        line-height: 28px;
        margin-right: 13px;
      }
    }
  }
  .page-main-video {
    padding: 10px;
    height: 377px;
    width: auto;
    display: flex;
    justify-content: center;
    video {
      border-radius: 10px;
      border: 1px solid #dcdcdc;
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }
  }
  .page-main-audio {
    padding: 10px;
    display: flex;
    justify-content: center;
    audio {
    }
  }
  .page-main-literature {
    padding: 10px 93px 20px 185px;
    .literature-header {
      font-family: Source Han Sans;
      font-size: 14px;
      font-weight: bold;
      line-height: 26px;
    }
    .content-right {
      padding: 14px 20px 20px 14px;
      .right-header {
        display: flex;
        li {
          background: #ffffff;
          border: 1px solid #937950;
          padding: 3px 10px;
          margin-right: 13px;
          display: flex;
          align-items: center;
          font-family: Poppins;
          font-size: 13px;
          color: #937950;
          img {
            cursor: pointer;
            height: 16px;
            width: auto;
            margin-left: 5px;
          }
        }
      }
      .right-number {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        margin-bottom: 12px;
        .number-number {
          font-family: Source Han Sans;
          font-weight: 350;
          font-size: 14px;
          color: #2c2c2c;
          margin-right: 20px;
          span {
            color: #937950;
          }
        }
        .number-time {
          font-family: Source Han Sans;
          font-size: 12px;
          font-weight: 350;
          color: #2c2c2c;
          span {
            margin-left: 11px;
          }
          img {
            height: 12px;
            width: auto;
          }
        }
      }
      .right-main {
        margin-bottom: 20px;
        padding: 19px 30px 15px 30px;
        border: 1px solid #decaac;
        .main-name {
          display: flex;
          align-items: center;
          justify-content: space-between;
          font-family: Source Han Sans;
          font-size: 16px;
          font-weight: bold;
          color: #937950;
          ::v-deep .el-button {
            font-size: 14px;
            background-color: transparent;
            color: #937950;
            border: 1px solid #6f5a3a;
            border-radius: 0;
            &:hover {
              background-color: #6f5a3a;
              color: #fffdf8;
            }
          }
        }
        .main-sources {
          span:nth-child(1) {
            padding: 3px 5px;
            background-color: #87a8b9;
            color: #fff;
            margin-right: 10px;
          }
          span:nth-child(2) {
            font-family: Source Han Sans;
            font-size: 12px;
            font-weight: 350;
            padding-right: 10px;
            border-right: 1px solid #2c2c2c;
            color: #333;
          }
          span:nth-child(3) {
            font-family: Source Han Sans;
            font-size: 12px;
            font-weight: 350;
            padding-left: 10px;
            color: #333;
          }
          margin-bottom: 10px;
        }
        .main-author {
          margin-bottom: 12px;
          font-family: Source Han Sans;
          font-size: 12px;
          font-weight: 350;
          color: #333;
        }
        .main-title {
          margin-bottom: 15px;
          font-family: Source Han Sans;
          font-size: 14px;
          font-weight: 350;
          line-height: 26px;
          color: #333333;
          overflow: hidden;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 4;
          span {
            font-family: Source Han Sans;
            font-weight: 700;
            font-size: 14px;
          }
        }
        .main-keyword {
          span:nth-child(1) {
            font-family: Source Han Sans;
            font-weight: 700;
            font-size: 14px;
          }
          .keyWord {
            cursor: pointer;
            padding: 5px 10px;
            color: #937950;
            border: 1px solid #937950;
            font-family: Source Han Sans;
            font-size: 12px;
            font-weight: 350;
            line-height: 28px;
            margin-right: 13px;
          }
        }
      }
    }
  }
}
</style>
src/views/achievements/index.vue
@@ -3,32 +3,31 @@
    <div class="page-header">
      <p>王永炎院士学术成果</p>
    </div>
    <div class="page-main-father">
    <div class="page-main">
      <!-- 搜索框 -->
      <ul class="page-input">
        <li class="input-main">
          <el-input placeholder="请输入内容" v-model="input3" class="input-with-select" suffix="搜索">
            <el-select v-model="select" slot="prepend" placeholder="请选择">
              <el-option v-for="(item, index) in optionlist" :key="index" :label="item.lable"
                :value="item.lable"></el-option>
            </el-select>
            <el-button slot="append">搜索</el-button>
          </el-input>
          <SearchBox />
        </li>
        <li class="input-txt" @click="isDisplay = !isDisplay">
          高级检索
          <img :src="[isDisplay ? topIcon : bottomIcon]" alt="">
          <img :src="[isDisplay ? topIcon : bottomIcon]" alt="" />
        </li>
      </ul>
      <!-- 高级搜索 -->
      <div v-if="isDisplay" class="page-search">
        <MyForm class="myfrom" @submit="
          (data) => {
            CurrentPage = 1;
            onSubmit(data);
          }
        " @reset="resetForm" :from="from" />
        <MyForm
          class="myfrom"
          @submit="
            (data) => {
              CurrentPage = 1;
              onSubmit(data);
            }
          "
          @reset="resetForm"
          :from="from"
        />
      </div>
      <!-- 搜索结果 -->
      <div class="page-content">
@@ -38,12 +37,24 @@
            <li class="left-title">
              <span>{{ category.title }}</span>
              <p @click="category.isDisplay = !category.isDisplay">
                <img :src="[category.isDisplay ? topIcon : bottomIcon]" alt="">
                <img
                  :src="[category.isDisplay ? topIcon : bottomIcon]"
                  alt=""
                />
              </p>
            </li>
            <li class="left-main" v-if="category.isDisplay">
              <div class="category-main" v-for="(item, index) in category.list" :key="index">
                <el-checkbox class="el-checkbox" v-model="item.checked" :title="item.name">{{ item.name }}</el-checkbox>
              <div
                class="category-main"
                v-for="(item, index) in category.list"
                :key="index"
              >
                <el-checkbox
                  class="el-checkbox"
                  v-model="item.checked"
                  :title="item.name"
                  >{{ item.name }}</el-checkbox
                >
                <span class="">{{ item.num }}</span>
              </div>
            </li>
@@ -55,22 +66,49 @@
                <span>{{ annual.title }}</span>
                <span>
                  时间
                  <img class="sort-Icon" :src="[isDisplay ? sortTop : sortBottom]" alt="">
                  <img
                    class="sort-Icon"
                    :src="[isDisplay ? sortTop : sortBottom]"
                    alt=""
                  />
                </span>
                <span>文献量
                  <img class="sort-Icon" :src="[isDisplay ? sortBottom : sortTop]" alt="">
                <span
                  >文献量
                  <img
                    class="sort-Icon"
                    :src="[isDisplay ? sortBottom : sortTop]"
                    alt=""
                  />
                </span>
              </div>
              <p @click="annual.isDisplay = !annual.isDisplay">
                <img :src="[annual.isDisplay ? topIcon : bottomIcon]" alt="">
                <img :src="[annual.isDisplay ? topIcon : bottomIcon]" alt="" />
              </p>
            </li>
            <li class="left-main" v-if="annual.isDisplay">
              <div class="annual-main" v-for="(item, index) in annual.list" :key="index">
                <el-checkbox class="el-checkbox" v-model="item.checked" :title="item.years">{{ item.years }}</el-checkbox>
              <div
                class="annual-main"
                :style="{
                  display: index + 1 > professionIndex ? 'none' : '',
                }"
                v-for="(item, index) in annual.list"
                :key="index"
              >
                <el-checkbox
                  class="el-checkbox"
                  v-model="item.checked"
                  :title="item.years"
                  >{{ item.years }}</el-checkbox
                >
                <span class="">{{ item.num }}</span>
              </div>
              <p class="annual-footer" v-if="annual.list && annual.list.length > 5">展开</p>
              <p
                class="annual-footer"
                v-if="annual.list && annual.list.length > 5"
                @click="shrinkClick('a', '年度')"
              >
                {{ activeBox !== "a" ? "更多  ∨" : "收起  ∧" }}
              </p>
            </li>
          </ul>
          <!-- 文献来源 -->
@@ -80,19 +118,41 @@
                <span>{{ sources.title }}</span>
                <span>
                  文献量
                  <img class="sort-Icon" :src="[isDisplay ? sortBottom : sortTop]" alt="">
                  <img
                    class="sort-Icon"
                    :src="[isDisplay ? sortBottom : sortTop]"
                    alt=""
                  />
                </span>
              </div>
              <p @click="sources.isDisplay = !sources.isDisplay">
                <img :src="[sources.isDisplay ? topIcon : bottomIcon]" alt="">
                <img :src="[sources.isDisplay ? topIcon : bottomIcon]" alt="" />
              </p>
            </li>
            <li class="left-main" v-if="sources.isDisplay">
              <div class="sources-main" v-for="(item, index) in sources.list" :key="index">
                <el-checkbox class="el-checkbox" :title="item.name" v-model="item.checked">{{ item.name }}</el-checkbox>
              <div
                class="sources-main"
                v-for="(item, index) in sources.list"
                :key="index"
                :style="{
                  display: index + 1 > dynastyIndex ? 'none' : '',
                }"
              >
                <el-checkbox
                  class="el-checkbox"
                  :title="item.name"
                  v-model="item.checked"
                  >{{ item.name }}</el-checkbox
                >
                <span class="">{{ item.num }}</span>
              </div>
              <p class="sources-footer" v-if="sources.list && sources.list.length > 5">展开</p>
              <p
                class="sources-footer"
                v-if="sources.list && sources.list.length > 5"
                @click="shrinkClick('b', '文献来源')"
              >
                {{ activeBox !== "b" ? "更多  ∨" : "收起  ∧" }}
              </p>
            </li>
          </ul>
          <!-- 学科 -->
@@ -100,61 +160,137 @@
            <li class="left-title">
              <span>{{ subject.title }}</span>
              <p @click="subject.isDisplay = !subject.isDisplay">
                <img :src="[subject.isDisplay ? topIcon : bottomIcon]" alt="">
                <img :src="[subject.isDisplay ? topIcon : bottomIcon]" alt="" />
              </p>
            </li>
            <li class="left-main" v-if="subject.isDisplay">
              <div class="category-main" v-for="(item, index) in subject.list" :key="index">
                <el-checkbox class="el-checkbox" v-model="item.checked" :title="item.name">{{ item.name }}</el-checkbox>
              <div
                class="category-main"
                v-for="(item, index) in subject.list"
                :key="index"
              >
                <el-checkbox
                  class="el-checkbox"
                  v-model="item.checked"
                  :title="item.name"
                  >{{ item.name }}</el-checkbox
                >
                <span class="">{{ item.num }}</span>
              </div>
            </li>
          </ul>
        </div>
        <div class="content-right">
          <!-- title部分 -->
          <ul class="right-header">
            <li v-for="(item, index) in associationList" :key="index">
              <p>{{ item.type }} : {{ item.content }}</p>
              <img :src="errorIcon" alt="" />
            </li>
          </ul>
          <!-- 共xx条 -->
          <ul class="right-number">
            <ul class="number-number">
              共找到<span>{{ resultList.length }}</span
              >条结果
            </ul>
            <ul class="number-time">
              发表时间
              <span><img :src="sortBottom" alt="" /></span>
            </ul>
          </ul>
          <!-- 结果展示 -->
          <ul
            class="right-main"
            v-for="(item, index) in resultList"
            :key="index"
          >
            <li class="main-name">
              <p>{{ item.name }}</p>
              <p>
                <el-button @click="goPage(item)">详情</el-button>
                <el-button>AI智能阅读</el-button>
              </p>
            </li>
            <li class="main-sources">
              <span>{{ item.type }}</span>
              <span>{{ item.sources }}</span>
              <span>{{ item.time }}</span>
            </li>
            <li class="main-author">
              {{ item.author }}
            </li>
            <li class="main-title" :title="item.title">
              <span>摘要: </span>{{ item.title }}
            </li>
            <li class="main-keyword">
              <span>关键词:</span>
              <span
                class="keyWord"
                v-for="(citem, cindex) in item.keyword"
                :key="cindex"
              >
                {{ citem.name }}
              </span>
            </li>
          </ul>
          <!-- 分页 -->
          <div class="pagination">
            <el-pagination
              class="msg-pagination-container"
              :background="isBackground"
              layout="prev, pager, next"
              :total="200"
            >
            </el-pagination>
          </div>
        </div>
      </div>
    </div>
  </div>
  </div>
</template>
<script>
import MyForm from '@/components/form/form.vue'
import MyForm from "@/components/form/form.vue";
import SearchBox from "@/views/home/components/searchBox.vue";
/* eslint-disable vue/no-unused-components */
export default {
  name: 'achievements',
  name: "achievements",
  components: {
    MyForm
    MyForm,
    SearchBox,
  },
  data() {
    return {
      errorIcon: require("@/assets/images/achievements/errorIcon.png"),
      topIcon: require("@/assets/images/achievements/top-Icon.png"),
      bottomIcon: require("@/assets/images/achievements/bottom-Icon.png"),
      sortTop: require("@/assets/images/achievements/sort-top.png"),
      sortBottom: require("@/assets/images/achievements/sort-bottom.png"),
      isBackground: true,
      isDisplay: false,
      input3: '',
      select: '',
      input3: "",
      select: "",
      checked: [],
      optionlist: [
        {
          lable: "标题"
          lable: "标题",
        },
        {
          lable: "作者"
          lable: "作者",
        },
        {
          lable: "年份"
          lable: "年份",
        },
        {
          lable: "关键词"
          lable: "关键词",
        },
        {
          lable: "摘要"
          lable: "摘要",
        },
        {
          lable: "来源"
          lable: "来源",
        },
      ],
      // 当前页
@@ -166,39 +302,39 @@
            type: "input",
            label: "标 题",
            name: "title",
            value: ""
            value: "",
          },
          {
            type: "input",
            label: "作 者",
            name: "author",
            value: ""
            value: "",
          },
          {
            type: "input",
            label: "年 份",
            name: "year",
            value: ""
            value: "",
          },
          {
            type: "input",
            label: "关键词",
            name: "keyword",
            value: ""
            value: "",
          },
          {
            type: "input",
            label: "摘 要",
            name: "abstract",
            value: ""
            value: "",
          },
          {
            type: "input",
            label: "来 源",
            name: "source",
            value: ""
            value: "",
          },
        ]
        ],
      },
      // 类型
      category: {
@@ -210,24 +346,24 @@
          {
            name: "期刊",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "图书",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "视频",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "音频",
            num: 190,
            check: false
            check: false,
          },
        ]
        ],
      },
      // 年度
      annual: {
@@ -239,41 +375,39 @@
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
          {
            years: "2025",
            num: 20,
            check: false
            check: false,
          },
        ],
      },
      // 文献来源
      sources: {
@@ -285,34 +419,34 @@
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "北京中医药大学大学学报",
            num: 190,
            check: false
            check: false,
          },
        ]
        ],
      },
      // 学科
      subject: {
@@ -324,55 +458,225 @@
          {
            name: "医学",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "医学",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "医学",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "医学",
            num: 190,
            check: false
            check: false,
          },
          {
            name: "医学",
            num: 190,
            check: false
            check: false,
          },
        ]
        ],
      },
      // 查询结果
      resultList:[
      // 现在多少条职业数据
      professionIndex: 4,
      // 展开和收缩的按钮需要
      activeBox: null,
      // 现在多少条时期数据
      dynastyIndex: 4,
      // 所关联内容
      associationList: [
        {
            name:"中药闸柜的历史传承与新时代发展思考",
            sources:"北京中医药大学学报",
            time:"2025-02-24 09:21",
            title:"摘要: 中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
            keyword:""
        }
      ]
    }
          type: "作者",
          content: "陈衡哲",
        },
        {
          type: "作者",
          content: "陈衡哲",
        },
        {
          type: "作者",
          content: "陈衡哲",
        },
      ],
      // 查询结果
      resultList: [
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
        {
          name: "中药闸柜的历史传承与新时代发展思考",
          sources: "北京中医药大学学报",
          type: "期刊",
          author: "杨浣菲  北京中医药大学中药学院;赵天成  北京师范大学",
          time: "2025-02-24 09:21",
          title:
            "中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。中药闸柜是传统中药调剂的高级管理人员,在'前店后厂式'中药房发挥重要作用和关键职能。传承中药闸柜的宝贵学术经验与优秀文化对厘清中药学学科发展脉络、规范中药调剂技术操作、促进老药工技艺'活态传承'具有重要科学价值和现实意义。面向新时代、开启新思维,本文对老字号中药铺的兴起和中药闸柜进行考证,分析中药闸柜的岗位责任、传承路径及未来发展,提出高素质中药闸柜人才培养策略,旨在培养符合当代社会需求的中药行业复合型创新人才。",
          keyword: [
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
            {
              name: "中药闸柜",
            },
          ],
        },
      ],
    };
  },
  methods: {
    async onSubmit(val) {
    },
    async onSubmit(val) {},
    //重置搜索结果
    resetForm() {
      // this.onSearch("");
    },
  }
}
    // 页面跳转
    goPage(key) {
      this.$router.push({ name: "details", params: { key: key } });
    },
    // 收起和展示
    shrinkClick(key, name) {
      if (name == "年度") {
        this.professionIndex =
          this.professionIndex < this.annual.list.length
            ? this.annual.list.length
            : 4;
        this.dynastyIndex = 4;
        this.activeBox = this.activeBox === "a" ? null : "a";
      } else {
        this.dynastyIndex =
          this.dynastyIndex < this.sources.list.length
            ? this.sources.list.length
            : 4;
        this.professionIndex = 4;
        this.activeBox = this.activeBox === "b" ? null : "b";
      }
    },
  },
};
</script>
<style lang="less" scoped>
@@ -381,18 +685,21 @@
  height: 100%;
  box-sizing: border-box;
  background-color: #e9e1d4;
  overflow: auto;
  position: relative;
  overflow: hidden;
}
.page-header {
  height: 102px;
  background-color: #e9e1d4;
  height: 9.4%;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  border-bottom: 2px solid #937950;
  position: sticky;
  top: 0;
  z-index: 10;
  p {
    padding: 35px 0 34px 0;
    padding: 1.6% 0 1.55% 0;
    font-family: Alimama DongFangDaKai;
    font-size: 30px;
    text-indent: 1em;
@@ -400,22 +707,31 @@
  }
}
.page-main-father{
  height: calc(100% - 9.4%);
  width: 100%;
  overflow: auto;
}
.page-main {
  width: 1330px;
  width: 77.3%;
  margin: 0 auto;
  margin-top: 1%;
  margin-bottom: 1%;
}
.page-input {
  width: 100%;
  display: flex;
  background-color: #fefbf5;
  border: 1px solid #E4DACE;
  border: 1px solid #e4dace;
  .input-main {
    padding: 15px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 90%;
    border-right: 2px solid #E4DACE;
    border-right: 2px solid #e4dace;
    .input-with-select {
      width: 50%;
@@ -431,7 +747,7 @@
    font-family: Source Han Sans;
    font-size: 14px;
    font-weight: bold;
    color: #6F5A3A;
    color: #6f5a3a;
    cursor: pointer;
    img {
@@ -445,9 +761,9 @@
.page-search {
  width: 100%;
  background-color: #fefbf5;
  border-bottom: 1px solid #E4DACE;
  border-left: 1px solid #E4DACE;
  border-right: 1px solid #E4DACE;
  border-bottom: 1px solid #e4dace;
  border-left: 1px solid #e4dace;
  border-right: 1px solid #e4dace;
  padding: 13px 0px;
  display: flex;
  justify-content: center;
@@ -471,33 +787,27 @@
        font-size: 14px;
        background-color: transparent;
        color: #937950;
        border: 1px solid #6F5A3A;
        border: 1px solid #6f5a3a;
        &:hover {
          background-color: #6F5A3A;
          color: #FFFDF8;
          background-color: #6f5a3a;
          color: #fffdf8;
        }
      }
    }
  }
}
.page-content {
  width: 100%;
  margin-top: 20px;
  background-color: #fefbf5;
  border: 1px solid #E4DACE;
  border: 1px solid #e4dace;
  display: flex;
  .content-left {
    width: 19.5%;
    border-right: 1px solid #E4DACE;
    border-bottom: 1px solid #E4DACE;
    border-bottom: 1px solid #e4dace;
  }
  .left-title {
@@ -505,7 +815,8 @@
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E4DACE;
    border-right: 1px solid #e4dace;
    border-bottom: 1px solid #e4dace;
    span {
      margin-right: 20px;
@@ -528,7 +839,8 @@
  }
  .left-main {
    border-bottom: 1px solid #E4DACE;
    border-right: 1px solid #e4dace;
    border-bottom: 1px solid #e4dace;
    padding: 10px;
    display: flex;
    align-items: center;
@@ -542,7 +854,7 @@
    span {
      font-family: Source Han Sans;
      font-size: 12px;
      color: #8F7A5A;
      color: #8f7a5a;
    }
  }
@@ -556,7 +868,7 @@
    span {
      font-family: Source Han Sans;
      font-size: 12px;
      color: #8F7A5A;
      color: #8f7a5a;
    }
  }
@@ -580,7 +892,7 @@
    span {
      font-family: Source Han Sans;
      font-size: 12px;
      color: #8F7A5A;
      color: #8f7a5a;
    }
  }
@@ -590,27 +902,29 @@
  /* 设置鼠标经过对勾框,对勾框边框的颜色 */
  ::v-deep .el-checkbox .el-checkbox__inner:hover {
    border-color: #D1D1D1;
    border-color: #d1d1d1;
  }
  /* 设置checkbox获得焦点后,对勾框的边框颜色 */
  ::v-deep .el-checkbox .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #D1D1D1;
    border-color: #d1d1d1;
  }
  ::v-deep .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label {
    color: #2C2C2C;
  ::v-deep .el-checkbox .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #2c2c2c;
  }
  ::v-deep .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner,
  ::v-deep .el-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    border-color: #8F7A5A;
    background-color: #8F7A5A;
  ::v-deep
    .el-checkbox
    .el-checkbox__input.is-indeterminate
    .el-checkbox__inner {
    border-color: #8f7a5a;
    background-color: #8f7a5a;
  }
  ::v-deep .el-checkbox__label {
    color: #2C2C2C;
    color: #2c2c2c;
    width: 100%;
    font-family: Source Han Sans;
    font-size: 12px;
@@ -632,20 +946,216 @@
    color: #937950;
  }
  .content-right{
  .content-right {
    width: 80.5%;
    padding: 14px 20px 20px 14px;
  }
    .right-header {
      display: flex;
      li {
        background: #ffffff;
        border: 1px solid #937950;
        padding: 3px 10px;
        margin-right: 13px;
        display: flex;
        align-items: center;
        font-family: Poppins;
        font-size: 13px;
        color: #937950;
        img {
          cursor: pointer;
          height: 16px;
          width: auto;
          margin-left: 5px;
        }
      }
    }
    .right-number {
      display: flex;
      justify-content: flex-end;
      align-items: flex-start;
      margin-bottom: 12px;
      .number-number {
        font-family: Source Han Sans;
        font-weight: 350;
        font-size: 14px;
        color: #2c2c2c;
        margin-right: 20px;
        span {
          color: #937950;
          margin: 0 10px;
        }
      }
      .number-time {
        font-family: Source Han Sans;
        font-size: 12px;
        font-weight: 350;
        color: #2c2c2c;
        span {
          margin-left: 11px;
        }
        img {
          height: 12px;
          width: auto;
        }
      }
    }
    .right-main {
      margin-bottom: 20px;
      padding: 19px 30px 15px 30px;
      border: 1px solid #decaac;
      .main-name {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: Source Han Sans;
        font-size: 16px;
        font-weight: bold;
        color: #937950;
        ::v-deep .el-button {
          font-size: 14px;
          background-color: transparent;
          color: #937950;
          border: 1px solid #6f5a3a;
          border-radius: 0;
          &:hover {
            background-color: #6f5a3a;
            color: #fffdf8;
          }
        }
      }
      .main-sources {
        span:nth-child(1) {
          padding: 3px 5px;
          background-color: #87a8b9;
          color: #fff;
          margin-right: 10px;
        }
        span:nth-child(2) {
          font-family: Source Han Sans;
          font-size: 12px;
          font-weight: 350;
          padding-right: 10px;
          border-right: 1px solid #2c2c2c;
          color: #333;
        }
        span:nth-child(3) {
          font-family: Source Han Sans;
          font-size: 12px;
          font-weight: 350;
          padding-left: 10px;
          color: #333;
        }
        margin-bottom: 10px;
      }
      .main-author {
        margin-bottom: 12px;
        font-family: Source Han Sans;
        font-size: 12px;
        font-weight: 350;
        color: #333;
      }
      .main-title {
        margin-bottom: 15px;
        font-family: Source Han Sans;
        font-size: 14px;
        font-weight: 350;
        line-height: 26px;
        color: #333333;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        span {
          font-family: Source Han Sans;
          font-weight: 700;
          font-size: 14px;
        }
      }
      .main-keyword {
        span:nth-child(1) {
          font-family: Source Han Sans;
          font-weight: 700;
          font-size: 14px;
        }
        .keyWord {
          cursor: pointer;
          padding: 5px 10px;
          color: #937950;
          border: 1px solid #937950;
          font-family: Source Han Sans;
          font-size: 12px;
          font-weight: 350;
          line-height: 28px;
          margin-right: 13px;
        }
      }
    }
  }
}
.pagination {
  display: flex;
  justify-content: center;
}
el-input__suffix {
  right: 22px;
  color: #999;
}
</style>
:deep .msg-pagination-container.is-background .el-pager li {
  /*对页数的样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background .btn-next {
  /*对下一页的按钮样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background .btn-prev {
  /*对上一页的按钮样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background
  .el-pager
  li:not(.disabled).active {
  /*当前选中页数的样式进行修改*/
  background-color: #937950;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
</style>
src/views/chronology/floatingWindow.vue
@@ -1,6 +1,9 @@
<template>
  <div class="dialogBox">
    <div class="journalBox">
    <div
      class="journalBox"
      v-if="info.type === 'journal' || info.type === 'book'"
    >
      <div class="title">复方剂量配比多目标优化的ED-NM-MO三联法</div>
      <div class="subtitle">
        <div class="source">中国中医基础医学杂志</div>
@@ -22,10 +25,67 @@
        试验设计-非线性建模-多目标优化的三联法
      </div>
    </div>
    <div class="imageBox"></div>
    <div class="BookBox"></div>
    <div class="videoBox"></div>
    <div class="audioBox"></div>
    <div class="imageBox" v-if="info.type === 'image'">
      <div style="width: 350px; height: 200px; position: relative">
        <img
          class="autoImg"
          src="@/assets/images/chronology/photoTest.png"
          alt=""
        />
      </div>
      <div
        style="
          display: flex;
          width: 100%;
          justify-content: space-between;
          margin-top: 50px;
        "
      >
        <div class="ARROWS">←</div>
        <div class="ARROWS">→</div>
      </div>
    </div>
    <div class="BookBox" v-if="info.type === 'book'">book</div>
    <div class="videoBox" v-if="info.type === 'video'">
      <video
        width="370"
        height="240"
        controls
        src="https://www.w3schools.com/html/mov_bbb.mp4"
      ></video>
      <div>
        <div class="subtitle">
          <div class="source">中国中医基础医学杂志</div>
          <div class="journalInformation">2005 3月 第40卷 第4期</div>
        </div>
        <div class="contentBox" style="text-align: left">
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
        </div>
      </div>
    </div>
    <div class="audioBox" v-if="info.type === 'audio'">
      <div style="text-align: center">
        <audio style="width: 100%" src="https://www.w3schools.com/html/horse.ogg" controls></audio>
      </div>
      <div>
        <div class="subtitle">
          <div class="source">中国中医基础医学杂志</div>
          <div class="journalInformation">2005 3月 第40卷 第4期</div>
        </div>
        <div class="contentBox" style="text-align: left">
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
          <p>王睿 中国科学院大连化学物理研究所</p>
        </div>
      </div>
    </div>
  </div>
</template>
@@ -78,4 +138,45 @@
  margin-top: 10px;
  line-height: 18px;
}
.imageBox {
  min-height: 300px;
  padding: 10px;
}
.videoBox {
  min-height: 240;
  text-align: center;
}
.videoTitle {
  background: #ffffff;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  box-shadow: 0px 0px 10px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  height: 100%;
}
.autoImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ARROWS {
  font-size: 24px;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #8f7a5a;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: #8f7a5a;
}
</style>
src/views/chronology/index.vue
@@ -44,11 +44,12 @@
                  v-for="(citem, cindex) in item.list"
                  :style="{ background: citem.color }"
                  @mouseover="showDetail(index, cindex, 1)"
                  @mouseout="closeDetail(index, cindex, 0)"
                  :key="cindex"
                >
                  <div class="detailDialog" v-if="citem.showDetail">
                    <!-- <div class="dialogContent" @click="gotoDetail(citem)"> -->
                      <floatingWindow :info="citem" />
                    <floatingWindow :info="citem" />
                    <!-- </div> -->
                  </div>
                </div>
@@ -87,6 +88,7 @@
              showDetail: false,
              name: "王永炎",
              year: "1938",
              type: "journal",
              id: "1",
            },
          ],
@@ -100,6 +102,7 @@
              showDetail: false,
              name: "王永炎",
              year: "1937",
              type: "image",
              id: "1",
            },
            {
@@ -107,6 +110,7 @@
              showDetail: false,
              name: "王永炎",
              year: "1937",
              type: "book",
              id: "2",
            },
          ],
@@ -126,12 +130,14 @@
              color: "#87A7B9",
              showDetail: false,
              name: "王永炎",
              type: "video",
              id: "3",
            },
            {
              color: "#87A7B9",
              showDetail: false,
              name: "王永炎",
              type: "audio",
              id: "4",
            },
            {
@@ -812,6 +818,18 @@
  methods: {
    gotoDetail(item) {},
    closeDetail(index, cindex, type) {
      // console.log(cindex, "cindex");
      // for (let i = 0; i < this.contentList.length; i++) {
      //   const item = this.contentList[i];
      //   for (let j = 0; j < item.list.length; j++) {
      //     const citem = item.list[j];
      //     this.$set(citem, "showDetail", false);
      //   }
      // }
    },
    showDetail(index, cindex, type) {
      for (let i = 0; i < this.contentList.length; i++) {
        const item = this.contentList[i];
@@ -820,7 +838,8 @@
          this.$set(citem, "showDetail", false);
        }
      }
      if (type == 1) {
      if (this.contentList[index].list[cindex].type) {
        this.contentList[index].list[cindex].showDetail = true;
      } else {
        this.contentList[index].list[cindex].showDetail = false;
@@ -899,14 +918,14 @@
  }
}
.page-header {
  height: 102px;
  height: 9.4%;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  border-bottom: 2px solid #937950;
  p {
    padding: 35px 0 34px 0;
    padding: 1.6% 0 1.55% 0;
    font-family: Alimama DongFangDaKai;
    font-size: 30px;
    text-indent: 1em;
@@ -990,7 +1009,7 @@
  z-index: 9999;
  cursor: pointer;
  background: #fff;
  border: 2px solid #CBBEAA;
  border: 2px solid #cbbeaa;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.5);
}
src/views/directory/index.vue
@@ -3,62 +3,175 @@
    <div class="page-header">
      <p>王永炎院士学生目录</p>
    </div>
    <div class="page-main-title">
      <p @click="changeTab('chart')" :class="[activeTabs == 'chart' ? 'active-tab' : '']">
        <img :src="[activeTabs == 'chart' ? chartIcon : noChartIcon]" alt="">
        <span>图表显示</span>
      </p>
      <p @click="changeTab('list')" :class="[activeTabs == 'list' ? 'active-tab' : '']">
        <img :src="[activeTabs == 'list' ? listIcon : noListIcon]" alt="">
        <span>列表显示</span>
      </p>
    </div>
    <!-- 图表显示 -->
    <div class="charts-main" v-if="activeTabs == 'chart'">
      <div class="radial-tree-container">
        <div ref="chart" style="width: 100%; height: 600px"></div>
    <div class="page-main-father">
      <div class="page-main-title">
        <p
          @click="changeTab('chart')"
          :class="[activeTabs == 'chart' ? 'active-tab' : '']"
        >
          <img
            :src="[activeTabs == 'chart' ? chartIcon : noChartIcon]"
            alt=""
          />
          <span>图表显示</span>
        </p>
        <p
          @click="changeTab('list')"
          :class="[activeTabs == 'list' ? 'active-tab' : '']"
        >
          <img :src="[activeTabs == 'list' ? listIcon : noListIcon]" alt="" />
          <span>列表显示</span>
        </p>
      </div>
    </div>
    <!-- 列表显示 -->
    <div class="page-main" v-if="activeTabs == 'list'">
      <div v-for="(item, index) in universityList" :key="index">
        <div
          class="table-title"
          v-if="item.studentList && item.studentList.length > 0"
        >
          <div class="table-title-left">
            <p class="table-title-name">{{ item.name }}</p>
            <p class="table-title-degree">{{ item.degree }}</p>
            <p class="table-title-number">{{ item.studentList.length }}人</p>
          </div>
          <div class="table-title-right" @click="item.isShow = !item.isShow"><img
              :src="[item.isShow ? topIcon : bottomIcon]" alt=""></div>
      <!-- 图表显示 -->
      <div class="charts-main" v-if="activeTabs == 'chart'">
        <div class="radial-tree-container">
          <div ref="chart" style="width: 100%; height: 70vh"></div>
        </div>
        <table
          cellpadding="100"
          v-if="item.studentList && item.studentList.length > 0 && item.isShow"
        >
          <tr class="table-heading">
            <th>姓名</th>
            <th>性别</th>
            <th>学习时间</th>
            <th>工作单位(到二级单位全称)</th>
            <th>职务</th>
            <th>职称</th>
          </tr>
          <tr v-for="(citem, cindex) in item.studentList" :key="cindex">
            <td>
              {{ citem.studentName }}
            </td>
            <td>
              {{ citem.gender }}
            </td>
            <td>{{ citem.studyTime }}</td>
            <td>{{ citem.workUnit }}</td>
            <td>{{ citem.position }}</td>
            <td>{{ citem.title }}</td>
          </tr>
        </table>
        <div class="legend">
          <div class="tagItem" v-for="(item, index) in legendList" :key="index">
            <div class="tagColor" :style="{ background: item.color }"></div>
            <div class="tagText" :style="{ color: item.color }">
              {{ item.name }}
            </div>
          </div>
        </div>
        <transition name="el-fade-in-linear">
          <div class="tooltipBox" v-show="tooltipShow">
            <div
              style="
                padding: 10px;
                background: #fdf8f0;
                border-radius: 5px;
                width: 100%;
                max-height: 500px;
                text-align: center;
              "
            >
              <div class="closeBtn" @click="tooltipShow = false">
                <i class="el-icon-close"></i>
              </div>
              <div style="display: flex">
                <div
                  style="
                    width: 80px;
                    height: 80px;
                    position: relative;
                    margin-bottom: 10px;
                    background: #d8d8d8;
                  "
                >
                  <img
                    class="autoImg"
                    src="@/assets/images/directory/touxiang.png"
                    alt=""
                  />
                </div>
                <div
                  style="padding-top: 20px; text-align: left; margin-left: 20px"
                >
                  <div
                    style="
                      font-size: 16px;
                      font-weight: bold;
                      margin-bottom: 5px;
                    "
                  >
                    {{ currentNodeInfo.name }}
                  </div>
                  <div style="margin-top: 20px">
                    <span> 男 </span> <span> 硕士 </span>
                    <span> 北京中医药大学 </span>
                  </div>
                </div>
              </div>
              <div
                style="
                  font-size: 16px;
                  font-weight: bold;
                  margin-bottom: 5px;
                  text-align: left;
                  margin-top: 10px;
                "
              >
                <p style="margin-bottom: 15px">学习时间:1985.09 -1988.07</p>
                <p style="margin-bottom: 15px">
                  现工作单位:北京中医药大学东方医院
                </p>
                <p style="margin-bottom: 15px">职务:原院长</p>
                <p style="margin-bottom: 15px">职称:主任医师、教授</p>
              </div>
              <div style="text-align: left; line-height: 22px">
                <p>
                  大弦嘈嘈如急雨,小弦切切如私语。嘈嘈切切错杂弹,大珠小珠落玉盘。间关莺语花底滑,幽咽泉流冰下难。冰泉冷涩弦凝绝,凝绝不通声暂歇。别有幽愁暗恨生,此时无声胜有声。银瓶乍破水浆迸,铁骑突出刀枪鸣。曲终收拨当心画,四弦一声如裂帛。东船西舫悄无言,唯见江心秋月白。
                </p>
              </div>
              <div
                style="
                  display: flex;
                  justify-content: space-between;
                  margin-top: 20px;
                "
              >
                <div style="text-align: left; width: 48%; line-height: 22px">
                  <p>
                    观夫明堂之宏壮也,则突兀瞳曨,乍明乍蒙,若大古元气之结空。巃嵸颓沓,若嵬若嶪,似天阃地门之开阖。尔乃划岝峉以岳立,郁穹崇而鸿纷。冠百王而垂勋,烛万象而腾文。窙惚恍以洞启,呼嵌岩而傍分。又比乎昆山之天柱,矗九霄而垂云。
                  </p>
                </div>
                <div>
                  <img src="@/assets/images/directory/test.png" alt="" />
                </div>
              </div>
            </div>
          </div>
        </transition>
      </div>
      <!-- 列表显示 -->
      <div class="page-main" v-if="activeTabs == 'list'">
        <div v-for="(item, index) in universityList" :key="index">
          <div
            class="table-title"
            v-if="item.studentList && item.studentList.length > 0"
          >
            <div class="table-title-left">
              <p class="table-title-name">{{ item.name }}</p>
              <p class="table-title-degree">{{ item.degree }}</p>
              <p class="table-title-number">{{ item.studentList.length }}人</p>
            </div>
            <div class="table-title-right" @click="item.isShow = !item.isShow">
              <img :src="[item.isShow ? topIcon : bottomIcon]" alt="" />
            </div>
          </div>
          <table
            cellpadding="100"
            v-if="
              item.studentList && item.studentList.length > 0 && item.isShow
            "
          >
            <tr class="table-heading">
              <th>姓名</th>
              <th>性别</th>
              <th>学习时间</th>
              <th>工作单位(到二级单位全称)</th>
              <th>职务</th>
              <th>职称</th>
            </tr>
            <tr v-for="(citem, cindex) in item.studentList" :key="cindex">
              <td>
                {{ citem.studentName }}
              </td>
              <td>
                {{ citem.gender }}
              </td>
              <td>{{ citem.studyTime }}</td>
              <td>{{ citem.workUnit }}</td>
              <td>{{ citem.position }}</td>
              <td>{{ citem.title }}</td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>
@@ -67,6 +180,8 @@
<script>
import * as echarts from "echarts";
import axios from "axios";
import debounce from "lodash/debounce";
import treeData from "./treeData.json";
export default {
  data() {
    return {
@@ -77,6 +192,7 @@
      topIcon: require("@/assets/images/directory/topIcon.png"),
      bottomIcon: require("@/assets/images/directory/bottomIcon.png"),
      activeTabs: "chart",
      universityList: [
        {
          name: "北京中医药大学",
@@ -247,39 +363,36 @@
        },
      ],
      chart: null,
      chartData: {
        name: "Root",
        children: [
          {
            name: "Node 1",
            children: [
              { name: "Leaf 1-1" },
              { name: "Leaf 1-2" },
              { name: "Leaf 1-3" },
            ],
          },
          {
            name: "Node 2",
            children: [
              {
                name: "Node 2-1",
                children: [{ name: "Leaf 2-1-1" }, { name: "Leaf 2-1-2" }],
              },
              { name: "Leaf 2-2" },
            ],
          },
          {
            name: "Node 3",
            children: [{ name: "Leaf 3-1" }, { name: "Leaf 3-2" }],
          },
        ],
      },
      chartData: treeData,
      currentNodeInfo: {},
      tooltipShow: false,
      legendList: [
        {
          color: "#87A7B9",
          name: "北京中医大学",
        },
        {
          color: "#C48787",
          name: "北京师范大学",
        },
        {
          color: "#6F8F5A",
          name: "中国中医科学院",
        },
        {
          color: "#937950",
          name: "广州中医药大学",
        },
        {
          color: "#8D77B3",
          name: "拜师弟子",
        },
      ],
    };
  },
  mounted() {
    this.initChart();
    window.addEventListener("resize", this.handleResize);
  },
  beforeDestroy() {
@@ -292,101 +405,107 @@
    changeTab(key) {
      this.activeTabs = key;
      console.log(this.activeTabs, "activeTabs");
      if (key == "chart") {
        this.$nextTick(() => {
          this.initChart();
          window.addEventListener("resize", this.handleResize);
        });
      }
    },
    initChart() {
      this.chart = echarts.init(this.$refs.chart);
      const option = {
        tooltip: {
          trigger: "item",
          triggerOn: "mousemove",
          backgroundColor: "#FDF8F0",
          formatter: (params) => {
            const data = params.data;
            this.currentNodeInfo = data;
            return `
              <div style="
                padding: 10px;
                background: #fff;
                background: #FDF8F0;
                border-radius: 5px;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                max-width: 300px;
                width: 360px;
                text-align: center;
              ">
                <div style="
                  border-bottom: 1px solid #eee;
                  padding-bottom: 5px;
                  margin-bottom: 5px;
                ">
                  <span style="
                    font-size: 16px;
                    color: #333;
                    font-weight: bold;
                  ">${data.name}</span>
                  ${
                    data.customInfo
                      ? `<span style="
                    background: #ffeb3b;
                    padding: 2px 5px;
                    border-radius: 3px;
                    margin-left: 8px;
                    font-size: 12px;
                  ">${data.customInfo}</span>`
                      : ""
                  }
                </div>
                <div style="margin-top: 8px;">
                  <div>节点值: <span style="color: #4f8ff7;">${
                    data.value || 0
                  }</span></div>
                  <div>描述: ${data.description || "暂无描述"}</div>
                </div>
                <div style="width: 80px;height: 80px;position: relative; margin: 0 auto; margin-bottom: 10px;background: #D8D8D8;">
      <img class="autoImg"  src="${require("@/assets/images/directory/touxiang.png")}" alt="">
                  </div>
                <div style="font-size: 16px; font-weight: bold; margin-bottom: 5px;">${
                  data.name
                }</div>
                <div> <span> 男 </span> <span> 硕士 </span> <span> 北京中医药大学 </span></div>
                <div style="font-size: 16px; font-weight: bold; margin-bottom: 5px;text-align: left;margin-top: 10px;">
                  <p style="margin-bottom: 5px;">学习时间:1985.09 -1988.07</p>
                  <p style="margin-bottom: 5px;">现工作单位:北京中医药大学东方医院</p>
                  <p style="margin-bottom: 5px;">职务:原院长</p>
                  <p style="margin-bottom: 5px;">职称:主任医师、教授</p>
                  </div>
              </div>
            `;
          },
        },
        textStyle: {
          color: "#bc1c00", // 设置整体字体颜色为红色
        },
        edgeLabel: {
          normal: {
            color: "#bc1c00", // 设置线条的颜色为红色
          },
        },
        series: [
          {
            type: "tree",
            data: [this.chartData],
            // symbol: "emptyCircle",
            top: "10%",
            bottom: "10%",
            layout: "radial",
            symbol: "emptyCircle",
            symbolSize: 7,
            initialTreeDepth: -1, // 展开所有节点
            initialTreeDepth: 3, // 展开所有节点
            animationDurationUpdate: 750,
            emphasis: {
              focus: "descendant",
            },
            label: {
              position: "left",
              verticalAlign: "middle",
              align: "right",
              fontSize: 12,
              rotate: 0,
              position: "top", //标签的位置。
              verticalAlign: "middle", //文字垂直对齐方式,默认自动。
              fontSize: 12, //文字的字体大小
              color: "#bc1c00",
            },
            leaves: {
              symbol: "emptyCircle",
              label: {
                position: "right",
                verticalAlign: "middle",
                align: "left",
                fontSize: 12,
              },
            },
            expandAndCollapse: true,
            expandAndCollapse: false,
            lineStyle: {
              color: "#ccc",
              color: "#bc1c00",
              width: 1,
            },
            itemStyle: {
              color: "#4f8ff7",
              borderColor: "#4f8ff7",
              symbol: "emptyCircle",
              color: "#bc1c00",
            },
            roam: true,
            center: ["10%", "15%"], // 微调垂直居中
            radius: "60%", // 增大半径占比
            nodePadding: 20,
            center: ["5%", "0%"], // 微调垂直居中
            radius: "100%", // 增大半径占比
            nodePadding: 120,
          },
        ],
      };
      this.chart.setOption(option);
      this.chart.on("click", (params) => {
        console.log("点击时的回调", params);
        this.tooltipShow = true;
      });
    },
    handleResize() {
      if (this.chart) {
@@ -403,23 +522,32 @@
  height: 100%;
  box-sizing: border-box;
  background-color: #e9e1d4;
  overflow: auto;
  position: relative;
  overflow: hidden;
}
.page-header {
  height: 102px;
  height: 9.4%;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  border-bottom: 2px solid #937950;
  background-color: #e9e1d4;
  position: sticky;
  top: 0;
  z-index: 10;
  p {
    padding: 35px 0 34px 0;
    padding: 1.6% 0 1.55% 0;
    font-family: Alimama DongFangDaKai;
    font-size: 30px;
    text-indent: 1em;
    border-bottom: 1px solid #937950;
  }
}
.page-main-father {
  height: calc(100% - 9.4%);
  width: 100%;
  overflow: auto;
}
.page-main-title {
@@ -429,6 +557,7 @@
  cursor: pointer;
  margin-bottom: 75px;
  color: #9e9e9e;
  margin-top: 1%;
  p {
    display: flex;
@@ -456,7 +585,7 @@
}
.page-main {
  width: 1313px;
  width: 77.3%;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom: 100px;
@@ -491,9 +620,12 @@
    /* 移除最后一行的下边框 */
  }
}
.charts-main {
  // background-color: #000;
  position: relative;
}
.table-title {
  display: flex;
  align-items: center;
@@ -538,4 +670,34 @@
    height: auto;
  }
}
.tooltipBox {
  max-height: 500px;
  max-width: 500px;
  background-color: #fdf8f0;
  position: absolute;
  right: 40px;
  top: 12vh;
}
.closeBtn {
  position: absolute;
  top: 10px;
  right: 0;
  cursor: pointer;
}
.legend {
  position: absolute;
  bottom: 300px;
  left: 100px;
}
.tagItem {
  display: flex;
  margin-top: 20px;
}
.tagColor {
  width: 20px;
  height: 20px;
}
.tagText {
  margin-left: 30px;
}
</style>
src/views/directory/treeData.json
New file
@@ -0,0 +1,108 @@
{
    "name": "flare",
    "children": [
     {
      "name": "vis",
      "children": [
       {
        "name": "axis",
        "children": [
         {"name": "Axes", "value": 1302},
         {"name": "Axis", "value": 24593},
         {"name": "AxisGridLine", "value": 652},
         {"name": "AxisLabel", "value": 636},
         {"name": "CartesianAxes", "value": 6703}
        ]
       },
       {
        "name": "controls",
        "children": [
         {"name": "AnchorControl", "value": 2138},
         {"name": "ClickControl", "value": 3824},
         {"name": "Control", "value": 1353},
         {"name": "ControlList", "value": 4665},
         {"name": "DragControl", "value": 2649},
         {"name": "ExpandControl", "value": 2832},
         {"name": "HoverControl", "value": 4896},
         {"name": "IControl", "value": 763},
         {"name": "PanZoomControl", "value": 5222},
         {"name": "SelectionControl", "value": 7862},
         {"name": "TooltipControl", "value": 8435}
        ]
       },
       {
        "name": "events",
        "children": [
         {"name": "DataEvent", "value": 2313},
         {"name": "SelectionEvent", "value": 1880},
         {"name": "TooltipEvent", "value": 1701},
         {"name": "VisualizationEvent", "value": 1117}
        ]
       },
       {
        "name": "legend",
        "children": [
         {"name": "Legend", "value": 20859},
         {"name": "LegendItem", "value": 4614},
         {"name": "LegendRange", "value": 10530}
        ]
       },
       {
        "name": "operator",
        "children": [
         {
          "name": "distortion",
          "children": [
           {"name": "BifocalDistortion", "value": 4461},
           {"name": "Distortion", "value": 6314},
           {"name": "FisheyeDistortion", "value": 3444}
          ]
         },
         {
          "name": "encoder",
          "children": [
           {"name": "ColorEncoder", "value": 3179},
           {"name": "Encoder", "value": 4060},
           {"name": "PropertyEncoder", "value": 4138},
           {"name": "ShapeEncoder", "value": 1690},
           {"name": "SizeEncoder", "value": 1830}
          ]
         },
         {
          "name": "filter",
          "children": [
           {"name": "FisheyeTreeFilter", "value": 5219},
           {"name": "GraphDistanceFilter", "value": 3165},
           {"name": "VisibilityFilter", "value": 3509}
          ]
         },
         {"name": "IOperator", "value": 1286},
         {
          "name": "label",
          "children": [
           {"name": "Labeler", "value": 9956},
           {"name": "RadialLabeler", "value": 3899},
           {"name": "StackedAreaLabeler", "value": 3202}
          ]
         },
         {"name": "Operator", "value": 2490},
         {"name": "OperatorList", "value": 5248},
         {"name": "OperatorSequence", "value": 4190},
         {"name": "OperatorSwitch", "value": 2581},
         {"name": "SortOperator", "value": 2023}
        ]
       },
       {"name": "Visualization", "value": 16540}
      ]
     }
    ]
   }
src/views/home/components/searchBox.vue
@@ -52,8 +52,8 @@
/* 组合样式 */
.search-container {
  max-width: 800px;
  margin: 20px 0;
  display: flex;
  align-items: center;
}
/* 输入框样式 */
@@ -67,7 +67,6 @@
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  padding-right: 5px;
  border-radius: 5px;
  border-top-left-radius: 0;
src/views/home/index.vue
@@ -47,7 +47,9 @@
    <div class="copyrightInformation">
      版权所有:中国中医研究院 京ICP备 0384937947 京公网安备 1212129923
    </div>
    <div class="profilePhoto"></div>
    <div class="profilePhoto">
      <img class="autoImg" src="@/assets/images/profilePhoto.png" alt="" />
    </div>
  </div>
</template>
@@ -105,23 +107,23 @@
  background-repeat: no-repeat;
  background-size: 98% 95%;
  position: relative;
  padding: 0 40px;
  box-sizing: border-box;
}
.profilePhoto {
  background-image: url("@/assets/images/profilePhoto.png");
  width: 475px;
  height: 556px;
  /* background-image: url("@/assets/images/profilePhoto.png"); */
  width: 50%;
  height: 60%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 30%;
  left: 8%;
  top: 28.2%;
  left: 0;
}
.headerBox {
  width: 99.5%;
  height: 220px;
  padding-top: 60px;
  padding-left: 40px;
  width: 95.5%;
  height: 23.1%;
  padding-top: 3%;
  padding-left: 5%;
  border-bottom: 1px solid#937950;
  font-size: 50px;
  line-height: 66px;
@@ -130,19 +132,22 @@
  justify-content: space-between;
  font-family: Alimama DongFangDaKai;
  box-sizing: border-box;
  margin: 0 auto;
}
.searchBox {
  margin-right: 100px;
}
.menuBox {
  position: absolute;
  right: 48px;
  width: 1000px;
  right: 2.5%;
  width: 52%;
  height: 47.3%;
  font-family: Alimama DongFangDaKai;
}
.menu {
  width: 25%;
  height: 450px;
  /* height: 450px; */
  height: 100%;
  background-color: #fff;
  text-align: center;
  padding-top: 20px;
@@ -178,30 +183,39 @@
}
.menuList {
  display: flex;
  height: 100%;
}
.personalProfile {
  background: rgba(147, 121, 80, 0.15);
  height: 170px;
  width: 100%;
  height: 17.8%;
  width: 95.1%;
  position: absolute;
  right: 40px;
  bottom: 111px;
  right: 2.5%;
  bottom: 11.7%;
  border: 1px solid #937950;
}
.textInfo {
  position: absolute;
  right: 40px;
  width: 1000px;
  width: 50%;
  margin-top: 20px;
  line-height: 16px;
  /* line-height: 16px; */
}
.copyrightInformation {
  width: 100%;
  position: absolute;
  bottom: 80px;
  bottom: 8%;
  font-size: 12px;
  color: #937950;
  width: 100%;
  text-align: center;
}
@media screen and (min-width: 1920px) {
  .textInfo {
    font-size: 20px;
    line-height: 24px;
  }
}
</style>
src/views/honors/index.vue
@@ -1,224 +1,290 @@
<template>
    <div class="honors">
        <div class="honors-title">
            <p>王永炎院士荣誉奖项</p>
        </div>
        <div class="honors-main">
            <div class="honors-main-box">
                <div class="honors-main-title">荣<br>誉<br>奖<br>项</div>
                <div class="honors-text">
                    <ul>
                        <li v-for="(item, index) in honorList" :key="index">
                            <img class="main-img" :src="item.imgSrc ? item.imgSrc : defaultImg" alt="">
                            <div>
                                <p class="main-time">{{ item.time }}</p>
                                <p class="main-text" :title="item.txt">{{ item.txt }}</p>
                            </div>
                        </li>
                    </ul>
                    <img class="honor-Bg" src="../../assets/images/honors/honor-Bg.png" alt="">
                    <!-- 分页 -->
                    <div class="pagination">
                        <el-pagination class="msg-pagination-container" :background="isBackground"
                            layout="prev, pager, next" :total="200">
                        </el-pagination>
                    </div>
                </div>
            </div>
        </div>
  <div class="honors">
    <div class="honors-title">
      <p>王永炎院士荣誉奖项</p>
    </div>
    <div class="page-main-father">
      <div class="honors-main">
        <div class="honors-main-box">
          <div class="honors-main-title">荣<br />誉<br />奖<br />项</div>
          <div class="honors-text">
            <ul>
              <li v-for="(item, index) in honorList" :key="index">
                <img
                  class="main-img"
                  :src="item.imgSrc ? item.imgSrc : defaultImg"
                  alt=""
                />
                <div>
                  <p class="main-time">{{ item.time }}</p>
                  <p class="main-text" :title="item.txt">{{ item.txt }}</p>
                </div>
              </li>
            </ul>
            <img
              class="honor-Bg"
              src="../../assets/images/honors/honor-Bg.png"
              alt=""
            />
            <!-- 分页 -->
            <div class="pagination">
              <el-pagination
                class="msg-pagination-container"
                :background="isBackground"
                layout="prev, pager, next"
                :total="200"
              >
              </el-pagination>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
    data() {
        return {
            defaultImg: require("@/assets/images/honors/honorImg.png"),
            isBackground: true,
            honorList: [
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
                {
                    imgSrc: "https://jsek.bnuic.com/file/GetPreViewImage?md5=86407c483dcc3c57cc8209cc11e07c58&height=150",
                    time: "1986年11月",
                    txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖"
                },
            ]
        }
    }
  data() {
    return {
      defaultImg: require("@/assets/images/honors/honorImg.png"),
      isBackground: true,
      honorList: [
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
        {
          imgSrc: "",
          time: "1986年11月",
          txt: "1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖,1991年11月'清开灵注射液治疗中风病痰热证的临床与实验研究'获1991年度国家科技进步奖三等奖",
        },
      ],
    };
  },
};
</script>
<style lang="less" scoped>
.honors {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #e9e1d4;
  position: relative;
  overflow: hidden;
}
.honors-title {
    height: 102px;
    width: 100%;
    text-align: left;
    margin-bottom: 41px;
    border-bottom: 2px solid #937950;
    p{
        padding: 35px 0 34px 0;
        font-family: Alimama DongFangDaKai;
        font-size: 30px;
        text-indent: 1em;
        border-bottom: 1px solid #937950;
    }
  height: 9.4%;
  width: 100%;
  text-align: left;
  border-bottom: 2px solid #937950;
  background-color: #e9e1d4;
  position: sticky;
  top: 0;
  z-index: 100;
  p {
    padding: 1.6% 0 1.55% 0;
    font-family: Alimama DongFangDaKai;
    font-size: 30px;
    text-indent: 1em;
    border-bottom: 1px solid #937950;
  }
}
.page-main-father {
  height: calc(100% - 9.4%);
  width: 100%;
  overflow: auto;
}
.honors-main {
    width: 1330px;
    margin: 0 auto;
  width: 77.3%;
  height: auto;
  margin: 0 auto;
  margin-top: 2%;
}
.honors-main-box {
    display: flex;
    justify-content: center;
    padding: 32px 0px 135px 53px;
    border: 1px solid #E4DACE;
    background: rgba(255, 253, 248, 0.9);
  display: flex;
  justify-content: center;
  padding: 3.2% 6% 14%  4%;
  border: 1px solid #e4dace;
  background: rgba(255, 253, 248, 0.9);
}
.honors-main-title {
    padding: 0 30px 0 0;
    font-family: Alimama DongFangDaKai;
    font-size: 36px;
    border-right: 1px solid #B9A587;
  padding: 0 30px 0 0;
  font-family: Alimama DongFangDaKai;
  font-size: 36px;
  border-right: 1px solid #b9a587;
}
.honors-text {
    position: relative;
    padding: 0 0 0 71px;
  width: 100%;
  position: relative;
  padding: 0 0 0 5.8%;
    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between
  ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  li {
    height: 25%;
    width: 45%;
    display: flex;
    margin-right: 0.9%;
    margin-bottom: 25px;
    img {
      margin: 9px 30px 9px 0;
      width: 24%;
      height: 100%;
    }
    .main-time {
      margin-top: 7px;
      font-size: 18px;
      color: #937950;
      margin-bottom: 5px;
      overflow: hidden;
    }
    .main-text {
      font-family: Alibaba PuHuiTi 3;
      font-size: 14px;
      line-height: 20px;
      overflow: hidden;
      cursor: pointer;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }
  }
  .honor-Bg {
    position: absolute;
    width: 70.5%;
    height: auto;
    bottom: -36%;
    left: -295px;
  }
  .pagination {
    padding-right: 47px;
    padding-top: 30px;
    text-align: end;
  }
}
@media screen and (min-width: 2560px) {
  .honors-main {
    width: 77.3%;
    min-width: 1600px;
    transform: scale(1);
  }
  .honors-title p {
    font-size: 44px;
  }
  .honors-main-title {
    font-size: 54px;
  }
  .honors-text {
    li {
      .main-time {
        font-size: 24px;
      }
        width: 502px;
        display: flex;
        margin-right: 47px;
        margin-bottom: 25px;
        img {
            margin: 9px 30px 9px 0;
            width: 120px;
            height: 90px;
        }
        .main-time {
            margin-top: 7px;
            font-size: 18px;
            color: #937950;
            margin-bottom: 5px;
            overflow: hidden;
        }
        .main-text {
            font-family: Alibaba PuHuiTi 3.0;
            font-size: 14px;
            line-height: 20px;
            overflow: hidden;
            cursor: pointer;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
        }
      .main-text {
        font-size: 20px;
        line-height: 28px;
      }
    }
  }
    .honor-Bg {
        position: absolute;
        height: 285px;
        width: auto;
        bottom: -152px;
        left: -295px;
    }
  .honor-Bg {
    position: absolute;
    width: 70.5%;
    height: auto;
    bottom: -39%;
    left: -295px;
  }
    .pagination {
        padding-right: 47px;
        padding-top: 30px;
        text-align: end;
    }
}
@font-face {
    font-family: 'Alimama DongFangDaKai';
    src: url('../../assets/font/阿里妈妈东方大楷.ttf');
  font-family: "Alimama DongFangDaKai";
  src: url("../../assets/font/阿里妈妈东方大楷.ttf");
}
:deep .msg-pagination-container.is-background .el-pager li {
    /*对页数的样式进行修改*/
    background-color: transparent;
    color: #333333;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
  /*对页数的样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background .btn-next {
    /*对下一页的按钮样式进行修改*/
    background-color: transparent;
    color: #333333;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
  /*对下一页的按钮样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background .btn-prev {
    /*对上一页的按钮样式进行修改*/
    background-color: transparent;
    color: #333333;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
  /*对上一页的按钮样式进行修改*/
  background-color: transparent;
  color: #333333;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
:deep.msg-pagination-container.is-background .el-pager li:not(.disabled).active {
    /*当前选中页数的样式进行修改*/
    background-color: #937950;
    color: #FFF;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
:deep.msg-pagination-container.is-background
  .el-pager
  li:not(.disabled).active {
  /*当前选中页数的样式进行修改*/
  background-color: #937950;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #cccccc;
}
</style>
</style>
vue.config.js
@@ -1,6 +1,6 @@
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  publicPath: "/",
  publicPath: "./",
  productionSourceMap: false,
  transpileDependencies: true,
});
yarn.lock
Diff too large