Explorar el Código

feat: Greeks exhibitions

chenlei hace 4 meses
padre
commit
616bb0aec8

BIN
web/src/assets/images/swiper12.jpg


+ 1 - 1
web/src/views/Exhibitions/info.vue

@@ -208,7 +208,7 @@
             <div class="mask">
               <a
                 class="el-icon-download"
-                :href="`/data/Exhibitions/${dataUrl}/objects${data.topImg}/big${i}.png`"
+                :href="`/data/Exhibitions/${dataUrl}/objects${data.topImg}/big${i}.${data.objectImgLast || 'png'}`"
                 download
                 tabindex="0"
               >

+ 15 - 0
web/src/views/Home/index.vue

@@ -8,6 +8,21 @@
       aria-description="You've reached the slider section. This section has four image URLs. To browse the content, please use the tab key."
     >
       <!-- 新增的轮播图模块 -->
+      <el-carousel-item key="12">
+        <router-link
+          to="/Layout/ExhibitionsInfo?id=66&k=3"
+          replace
+          tabindex="0"
+          aria-label="Image link"
+          aria-description="Qi Baishi in Beijing: Commemorating the 160th Anniversary of His Birth"
+        >
+          <img
+            :src="require(`@/assets/images/swiper12.jpg`)"
+            alt="Qi Baishi in Beijing: Commemorating the 160th Anniversary of His Birth"
+          />
+        </router-link>
+      </el-carousel-item>
+
       <el-carousel-item key="11">
         <router-link
           to="/Layout/ExhibitionsInfo?id=64&k=1"

+ 174 - 170
web/src/views/Publications/Publications2.vue

@@ -1,171 +1,175 @@
-<!--  -->
-<template>
-  <div class="Publications2" data-aria-viewport-area tabindex="0"
-    aria-label aria-description="You've reached the content area of the Exhibition Catalogues page, please use the tab key to go through the content."
-  >
-    <div class="title" tabindex="-1">
-      <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
-      <span tabindex="0">{{ $route.meta.nameAll }}</span>
-      <div class="xian aria-theme-independent"></div>
-    </div>
-    <div class="conten" tabindex="-1">
-      <img src="/data/Publications/heng.png" alt="" />
-      <ul>
-        <li v-for="(item, index) in list" :key="index">
-          <img :src="`/data/Publications/Exhibition/${index + 1}.jpg`" alt="" 
-            tabindex="0"
-            :aria-description="item.title"
-          />
-          <div class="show">
-            <a :href="item.url" target="_blank" tabindex="0">
-              <img src="/data/Publications/Exhibition/href.png" />
-              <p>Click here to open the catalogue</p>
-            </a>
-          </div>
-        </li>
-      </ul>
-    </div>
-  </div>
-</template>
-
-<script>
-//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
-//例如:import 《组件名称》 from '《组件路径》';
-
-export default {
-  name: "Publications2",
-  components: {},
-  data() {
-    //这里存放数据
-    return {
-      list: [
-        {
-          url: "http://download.china.cn/idc/pdf/A_brief_history_of_Beijing.pdf",
-          title: 'A Brief History of Beijing',
-        },
-        {
-          url: "http://images.china.cn/images1/en/pdf/Geneva.pdf",
-          title: 'Geneva at the Heart of Time – Origin of Swiss Watchmaking Culture',
-        },
-        {
-          url: "http://download.china.cn/idc/pdf/Renaissance.pdf",
-          title: 'Art, Culture and Daily Life in Renaissance Italy',
-        },
-        {
-          url: "http://download.china.cn/idc/pdf/TheMetropolisesandtheProsperities.pdf",
-          title: 'The Metropolises and the Prosperities within — Tokyo and Beijing in the 18th Century',
-        },
-        {
-          url: "http://images.china.cn/images1/en/pdf/Andes.pdf",
-          title: 'ANCIENT CIVILIZATION OF THE ANDES',
-        },
-        {
-          url: "http://images.china.cn/images1/en/pdf/smileofkhmer.pdf",
-          title: 'Smile of Khmer: Cambodian Ancient Cultural Relics and Arts',
-        },
-      ],
-    };
-  },
-  //监听属性 类似于data概念
-  computed: {},
-  //监控data中的数据变化
-  watch: {},
-  //方法集合
-  methods: {},
-  //生命周期 - 创建完成(可以访问当前this实例)
-  created() {},
-  //生命周期 - 挂载完成(可以访问DOM元素)
-  mounted() {
-    this.$eventBus.$emit('request-read', `You've reached the Exhibition Catalogues page of the Publications section. This page contains one navigation section, six window sections, and one interactive section. To choose an section, please hit the shortcut key.`)
-  },
-  beforeCreate() {}, //生命周期 - 创建之前
-  beforeMount() {}, //生命周期 - 挂载之前
-  beforeUpdate() {}, //生命周期 - 更新之前
-  updated() {}, //生命周期 - 更新之后
-  beforeDestroy() {}, //生命周期 - 销毁之前
-  destroyed() {}, //生命周期 - 销毁完成
-  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
-};
-</script>
-<style lang='less' scoped>
-.Publications2 {
-  padding-bottom: 30px;
-  width: 1187px;
-  overflow: hidden;
-  zoom: 1;
-  margin: 0 auto;
-  .title {
-    position: relative;
-    display: flex;
-    height: 65px;
-    align-items: center;
-    margin: 0px auto 20px;
-    width: 1180px;
-    font-size: 24px;
-    font-weight: bold;
-    text-indent: 5px;
-    border-bottom: 1px solid black;
-    .xian {
-      position: absolute;
-      bottom: -1px;
-      left: 0;
-      width: 80px;
-      height: 2px;
-      background-color: #c7000b;
-    }
-  }
-  .conten {
-    width: 100%;
-    margin-top: 40px;
-    & > img {
-      width: 100%;
-    }
-    & > ul {
-      & > li {
-        width: 281px;
-        height: 375px;
-        position: relative;
-        float: left;
-        margin: 7.5px 7.5px;
-        overflow: hidden;
-        & > img {
-          width: 281px;
-          height: 375px;
-        }
-        .show {
-          width: 100%;
-          height: 0;
-          background: #000;
-          position: absolute;
-          bottom: 0;
-          left: 0;
-          opacity: 0;
-          text-align: center;
-          transition: all 0.6s;
-          & > a {
-            width: 175px;
-            color: #fff;
-            font-weight: bold;
-            font-size: 20px;
-            position: absolute;
-            left: 15%;
-            top: 50%;
-            line-height: 130%;
-            & > img {
-              position: absolute;
-              left: 45%;
-              bottom: 70px;
-            }
-          }
-        }
-        &:hover, &:focus-within {
-          .show {
-            height: 50%;
-            opacity: 1;
-          }
-        }
-      }
-    }
-  }
-}
+<!--  -->
+<template>
+  <div class="Publications2" data-aria-viewport-area tabindex="0"
+    aria-label aria-description="You've reached the content area of the Exhibition Catalogues page, please use the tab key to go through the content."
+  >
+    <div class="title" tabindex="-1">
+      <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
+      <span tabindex="0">{{ $route.meta.nameAll }}</span>
+      <div class="xian aria-theme-independent"></div>
+    </div>
+    <div class="conten" tabindex="-1">
+      <img src="/data/Publications/heng.png" alt="" />
+      <ul>
+        <li v-for="(item, index) in list" :key="index">
+          <img :src="`/data/Publications/Exhibition/${index + 1}.jpg`" alt="" 
+            tabindex="0"
+            :aria-description="item.title"
+          />
+          <div class="show">
+            <a :href="item.url" target="_blank" tabindex="0">
+              <img src="/data/Publications/Exhibition/href.png" />
+              <p>Click here to open the catalogue</p>
+            </a>
+          </div>
+        </li>
+      </ul>
+    </div>
+  </div>
+</template>
+
+<script>
+//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
+//例如:import 《组件名称》 from '《组件路径》';
+
+export default {
+  name: "Publications2",
+  components: {},
+  data() {
+    //这里存放数据
+    return {
+      list: [
+        {
+          url: "http://download.china.cn/idc/pdf/A_brief_history_of_Beijing.pdf",
+          title: 'A Brief History of Beijing',
+        },
+        {
+          url: "http://images.china.cn/images1/en/pdf/Geneva.pdf",
+          title: 'Geneva at the Heart of Time – Origin of Swiss Watchmaking Culture',
+        },
+        {
+          url: "http://download.china.cn/idc/pdf/Renaissance.pdf",
+          title: 'Art, Culture and Daily Life in Renaissance Italy',
+        },
+        {
+          url: "http://download.china.cn/idc/pdf/TheMetropolisesandtheProsperities.pdf",
+          title: 'The Metropolises and the Prosperities within — Tokyo and Beijing in the 18th Century',
+        },
+        {
+          url: "http://images.china.cn/images1/en/pdf/Andes.pdf",
+          title: 'ANCIENT CIVILIZATION OF THE ANDES',
+        },
+        {
+          url: "http://images.china.cn/images1/en/pdf/smileofkhmer.pdf",
+          title: 'Smile of Khmer: Cambodian Ancient Cultural Relics and Arts',
+        },
+        {
+          url: "/data/Publications/Exhibition/greeks.pdf",
+          title: 'The Greeks: Agamemnon to Alexander the Great',
+        },
+      ],
+    };
+  },
+  //监听属性 类似于data概念
+  computed: {},
+  //监控data中的数据变化
+  watch: {},
+  //方法集合
+  methods: {},
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created() {},
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {
+    this.$eventBus.$emit('request-read', `You've reached the Exhibition Catalogues page of the Publications section. This page contains one navigation section, six window sections, and one interactive section. To choose an section, please hit the shortcut key.`)
+  },
+  beforeCreate() {}, //生命周期 - 创建之前
+  beforeMount() {}, //生命周期 - 挂载之前
+  beforeUpdate() {}, //生命周期 - 更新之前
+  updated() {}, //生命周期 - 更新之后
+  beforeDestroy() {}, //生命周期 - 销毁之前
+  destroyed() {}, //生命周期 - 销毁完成
+  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
+};
+</script>
+<style lang='less' scoped>
+.Publications2 {
+  padding-bottom: 30px;
+  width: 1187px;
+  overflow: hidden;
+  zoom: 1;
+  margin: 0 auto;
+  .title {
+    position: relative;
+    display: flex;
+    height: 65px;
+    align-items: center;
+    margin: 0px auto 20px;
+    width: 1180px;
+    font-size: 24px;
+    font-weight: bold;
+    text-indent: 5px;
+    border-bottom: 1px solid black;
+    .xian {
+      position: absolute;
+      bottom: -1px;
+      left: 0;
+      width: 80px;
+      height: 2px;
+      background-color: #c7000b;
+    }
+  }
+  .conten {
+    width: 100%;
+    margin-top: 40px;
+    & > img {
+      width: 100%;
+    }
+    & > ul {
+      & > li {
+        width: 281px;
+        height: 375px;
+        position: relative;
+        float: left;
+        margin: 7.5px 7.5px;
+        overflow: hidden;
+        & > img {
+          width: 281px;
+          height: 375px;
+        }
+        .show {
+          width: 100%;
+          height: 0;
+          background: #000;
+          position: absolute;
+          bottom: 0;
+          left: 0;
+          opacity: 0;
+          text-align: center;
+          transition: all 0.6s;
+          & > a {
+            width: 175px;
+            color: #fff;
+            font-weight: bold;
+            font-size: 20px;
+            position: absolute;
+            left: 15%;
+            top: 50%;
+            line-height: 130%;
+            & > img {
+              position: absolute;
+              left: 45%;
+              bottom: 70px;
+            }
+          }
+        }
+        &:hover, &:focus-within {
+          .show {
+            height: 50%;
+            opacity: 1;
+          }
+        }
+      }
+    }
+  }
+}
 </style>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 6 - 0
web/src/views/Search/dataAll.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 58 - 0
web/src/views/dataAll.js


BIN
webM/public/data/Pdf/7.pdf


BIN
webM/src/assets/img/Layout/banner12.png


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 57 - 0
webM/src/views/Exhibitions/data.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 57 - 0
webM/src/views/Exhibitions/dataAll.js


+ 1 - 0
webM/src/views/Home/index.vue

@@ -72,6 +72,7 @@ export default {
     return {
       topImg: [
         // { id: 1, path: "/Layout/Detail?id=1&k=3" },
+        { id: 12, path: "/Layout/Detail?id=66&k=3" },
         { id: 11, path: "/Layout/Detail?id=64&k=1" },
         { id: 10, path: "/Layout/Detail?id=63&k=2" },
         { id: 7, path: "/Layout/Detail?id=11&k=2" },

+ 121 - 116
webM/src/views/Publications/Catalogues.vue

@@ -1,117 +1,122 @@
-<template>
-  <div class="PuCatalogues">
-    <div class="card">
-      <div
-        class="row"
-        @click="toPdf(item.id)"
-        v-for="item in imgList"
-        :key="item.id"
-      >
-        <img v-lazy="item.imgUrl" alt="" />
-      </div>
-    </div>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "PuCatalogues",
-  components: {},
-  data() {
-    //这里存放数据
-    return {
-      imgList: [
-        {
-          id: 1,
-          imgUrl: "/data/Publications/Exhibition/1.jpg",
-          name: "A_brief_history_of_Beijing.pdf",
-        },
-        {
-          id: 2,
-          imgUrl: "/data/Publications/Exhibition/2.jpg",
-          name: "Geneva.pdf",
-        },
-        {
-          id: 3,
-          imgUrl: "/data/Publications/Exhibition/3.jpg",
-          name: "Renaissance.pdf",
-        },
-        {
-          id: 4,
-          imgUrl: "/data/Publications/Exhibition/4.jpg",
-          name: "TheMetropolisesandtheProsperities.pdf",
-        },
-        {
-          id: 5,
-          imgUrl: "/data/Publications/Exhibition/5.jpg",
-          name: "Andes.pdf",
-        },
-        {
-          id: 6,
-          imgUrl: "/data/Publications/Exhibition/6.jpg",
-          name: "smileofkhmer.pdf",
-        },
-      ],
-      info: {},
-      infoInd: 0,
-    };
-  },
-  //监听属性 类似于data概念
-  computed: {},
-  //监控data中的数据变化
-  watch: {},
-  //方法集合
-  methods: {
-    toPdf(id) {
-      // 记录点击的滚动距离
-      let dom = document.querySelector(".Layout");
-      this.$route.meta.sroolBack = dom.scrollTop;
-
-      this.$router.push({
-        name: "PublicationsPdf",
-        query: { id },
-      });
-    },
-  },
-  //生命周期 - 创建完成(可以访问当前this实例)
-  created() {
-    if (this.$route.meta.sroolBack) {
-      let dom = document.querySelector(".Layout");
-      setTimeout(() => {
-        dom.scrollTo({ top: this.$route.meta.sroolBack });
-      }, 200);
-    }
-  },
-  //生命周期 - 挂载完成(可以访问DOM元素)
-  mounted() {},
-  beforeCreate() {}, //生命周期 - 创建之前
-  beforeMount() {}, //生命周期 - 挂载之前
-  beforeUpdate() {}, //生命周期 - 更新之前
-  updated() {}, //生命周期 - 更新之后
-  beforeDestroy() {}, //生命周期 - 销毁之前
-  destroyed() {}, //生命周期 - 销毁完成
-  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
-};
-</script>
-<style lang='less' scoped>
-.PuCatalogues {
-  background-color: #f7f6f3;
-  padding: 20px 20px 40px;
-  .card {
-    width: 100%;
-    display: flex;
-    flex-wrap: wrap;
-    .row {
-      width: 48%;
-      margin-bottom: 4%;
-      margin-right: 4%;
-      & > img {
-        width: 100%;
-      }
-      &:nth-of-type(2n) {
-        margin-right: 0;
-      }
-    }
-  }
-}
+<template>
+  <div class="PuCatalogues">
+    <div class="card">
+      <div
+        class="row"
+        @click="toPdf(item.id)"
+        v-for="item in imgList"
+        :key="item.id"
+      >
+        <img v-lazy="item.imgUrl" alt="" />
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  name: "PuCatalogues",
+  components: {},
+  data() {
+    //这里存放数据
+    return {
+      imgList: [
+        {
+          id: 1,
+          imgUrl: "/data/Publications/Exhibition/1.jpg",
+          name: "A_brief_history_of_Beijing.pdf",
+        },
+        {
+          id: 2,
+          imgUrl: "/data/Publications/Exhibition/2.jpg",
+          name: "Geneva.pdf",
+        },
+        {
+          id: 3,
+          imgUrl: "/data/Publications/Exhibition/3.jpg",
+          name: "Renaissance.pdf",
+        },
+        {
+          id: 4,
+          imgUrl: "/data/Publications/Exhibition/4.jpg",
+          name: "TheMetropolisesandtheProsperities.pdf",
+        },
+        {
+          id: 5,
+          imgUrl: "/data/Publications/Exhibition/5.jpg",
+          name: "Andes.pdf",
+        },
+        {
+          id: 6,
+          imgUrl: "/data/Publications/Exhibition/6.jpg",
+          name: "smileofkhmer.pdf",
+        },
+        {
+          id: 7,
+          imgUrl: "/data/Publications/Exhibition/7.jpg",
+          name: "Greeks.pdf",
+        },
+      ],
+      info: {},
+      infoInd: 0,
+    };
+  },
+  //监听属性 类似于data概念
+  computed: {},
+  //监控data中的数据变化
+  watch: {},
+  //方法集合
+  methods: {
+    toPdf(id) {
+      // 记录点击的滚动距离
+      let dom = document.querySelector(".Layout");
+      this.$route.meta.sroolBack = dom.scrollTop;
+
+      this.$router.push({
+        name: "PublicationsPdf",
+        query: { id },
+      });
+    },
+  },
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created() {
+    if (this.$route.meta.sroolBack) {
+      let dom = document.querySelector(".Layout");
+      setTimeout(() => {
+        dom.scrollTo({ top: this.$route.meta.sroolBack });
+      }, 200);
+    }
+  },
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {},
+  beforeCreate() {}, //生命周期 - 创建之前
+  beforeMount() {}, //生命周期 - 挂载之前
+  beforeUpdate() {}, //生命周期 - 更新之前
+  updated() {}, //生命周期 - 更新之后
+  beforeDestroy() {}, //生命周期 - 销毁之前
+  destroyed() {}, //生命周期 - 销毁完成
+  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
+};
+</script>
+<style lang='less' scoped>
+.PuCatalogues {
+  background-color: #f7f6f3;
+  padding: 20px 20px 40px;
+  .card {
+    width: 100%;
+    display: flex;
+    flex-wrap: wrap;
+    .row {
+      width: 48%;
+      margin-bottom: 4%;
+      margin-right: 4%;
+      & > img {
+        width: 100%;
+      }
+      &:nth-of-type(2n) {
+        margin-right: 0;
+      }
+    }
+  }
+}
 </style>

+ 110 - 105
webM/src/views/Publications/lookPdf.vue

@@ -1,106 +1,111 @@
-<template>
-  <div class="lookPdf">
-    <div id="pdf"></div>
-  </div>
-</template>
-
-<script>
-import Pdfh5 from "pdfh5";
-import "pdfh5/css/pdfh5.css";
-export default {
-  name: "lookPdf",
-  components: {},
-  data() {
-    //这里存放数据
-    return {
-      imgList: [
-        {
-          id: 1,
-          imgUrl: "/data/Publications/Exhibition/1.jpg",
-          name: "A_brief_history_of_Beijing.pdf",
-        },
-        {
-          id: 2,
-          imgUrl: "/data/Publications/Exhibition/2.jpg",
-          name: "Geneva.pdf",
-        },
-        {
-          id: 3,
-          imgUrl: "/data/Publications/Exhibition/3.jpg",
-          name: "Renaissance.pdf",
-        },
-        {
-          id: 4,
-          imgUrl: "/data/Publications/Exhibition/4.jpg",
-          name: "TheMetropolisesandtheProsperities.pdf",
-        },
-        {
-          id: 5,
-          imgUrl: "/data/Publications/Exhibition/5.jpg",
-          name: "Andes.pdf",
-        },
-        {
-          id: 6,
-          imgUrl: "/data/Publications/Exhibition/6.jpg",
-          name: "smileofkhmer.pdf",
-        },
-      ],
-      info: {},
-    };
-  },
-  //监听属性 类似于data概念
-  computed: {},
-  //监控data中的数据变化
-  watch: {},
-  //方法集合
-  methods: {},
-  //生命周期 - 创建完成(可以访问当前this实例)
-  created() {
-    // 获取id
-    let id = this.$route.query.id;
-    id = Number(id);
-    this.imgList.forEach((v) => {
-      if (v.id === id) this.info = v;
-    });
-    // 隐藏底部和头部
-    this.$nextTick(() => {
-      setTimeout(() => {
-        let dom = document.querySelector(".Layout .bottom");
-        dom.style.display = "none";
-        window.document.title = this.info.name;
-        // 获取顶部固定栏
-        let LayoutTop = document.querySelector(".Layout .top");
-        LayoutTop.style.display = "none";
-      }, 100);
-    });
-  },
-  //生命周期 - 挂载完成(可以访问DOM元素)
-  mounted() {
-    new Pdfh5("#pdf", {
-      pdfurl: `/data/Pdf/${this.info.id}.pdf`,
-      goto: 1,
-      lazy: true,
-    });
-  },
-  beforeCreate() {}, //生命周期 - 创建之前
-  beforeMount() {}, //生命周期 - 挂载之前
-  beforeUpdate() {}, //生命周期 - 更新之前
-  updated() {}, //生命周期 - 更新之后
-  beforeDestroy() {}, //生命周期 - 销毁之前
-  destroyed() {
-    let dom = document.querySelector(".Layout .bottom");
-    dom.style.display = "";
-    // 获取顶部固定栏
-    let LayoutTop = document.querySelector(".Layout .top");
-    LayoutTop.style.display = "flex";
-  }, //生命周期 - 销毁完成
-  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
-};
-</script>
-<style lang='less' scoped>
-.lookPdf {
-  position: relative;
-  width: 100vw;
-  height: 100vh;
-}
+<template>
+  <div class="lookPdf">
+    <div id="pdf"></div>
+  </div>
+</template>
+
+<script>
+import Pdfh5 from "pdfh5";
+import "pdfh5/css/pdfh5.css";
+export default {
+  name: "lookPdf",
+  components: {},
+  data() {
+    //这里存放数据
+    return {
+      imgList: [
+        {
+          id: 1,
+          imgUrl: "/data/Publications/Exhibition/1.jpg",
+          name: "A_brief_history_of_Beijing.pdf",
+        },
+        {
+          id: 2,
+          imgUrl: "/data/Publications/Exhibition/2.jpg",
+          name: "Geneva.pdf",
+        },
+        {
+          id: 3,
+          imgUrl: "/data/Publications/Exhibition/3.jpg",
+          name: "Renaissance.pdf",
+        },
+        {
+          id: 4,
+          imgUrl: "/data/Publications/Exhibition/4.jpg",
+          name: "TheMetropolisesandtheProsperities.pdf",
+        },
+        {
+          id: 5,
+          imgUrl: "/data/Publications/Exhibition/5.jpg",
+          name: "Andes.pdf",
+        },
+        {
+          id: 6,
+          imgUrl: "/data/Publications/Exhibition/6.jpg",
+          name: "smileofkhmer.pdf",
+        },
+        {
+          id: 7,
+          imgUrl: "/data/Publications/Exhibition/7.jpg",
+          name: "Greeks.pdf",
+        },
+      ],
+      info: {},
+    };
+  },
+  //监听属性 类似于data概念
+  computed: {},
+  //监控data中的数据变化
+  watch: {},
+  //方法集合
+  methods: {},
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created() {
+    // 获取id
+    let id = this.$route.query.id;
+    id = Number(id);
+    this.imgList.forEach((v) => {
+      if (v.id === id) this.info = v;
+    });
+    // 隐藏底部和头部
+    this.$nextTick(() => {
+      setTimeout(() => {
+        let dom = document.querySelector(".Layout .bottom");
+        dom.style.display = "none";
+        window.document.title = this.info.name;
+        // 获取顶部固定栏
+        let LayoutTop = document.querySelector(".Layout .top");
+        LayoutTop.style.display = "none";
+      }, 100);
+    });
+  },
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {
+    new Pdfh5("#pdf", {
+      pdfurl: `/data/Pdf/${this.info.id}.pdf`,
+      goto: 1,
+      lazy: true,
+    });
+  },
+  beforeCreate() {}, //生命周期 - 创建之前
+  beforeMount() {}, //生命周期 - 挂载之前
+  beforeUpdate() {}, //生命周期 - 更新之前
+  updated() {}, //生命周期 - 更新之后
+  beforeDestroy() {}, //生命周期 - 销毁之前
+  destroyed() {
+    let dom = document.querySelector(".Layout .bottom");
+    dom.style.display = "";
+    // 获取顶部固定栏
+    let LayoutTop = document.querySelector(".Layout .top");
+    LayoutTop.style.display = "flex";
+  }, //生命周期 - 销毁完成
+  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
+};
+</script>
+<style lang='less' scoped>
+.lookPdf {
+  position: relative;
+  width: 100vw;
+  height: 100vh;
+}
 </style>

+ 7 - 0
webM/src/views/Search/data.js

@@ -32,6 +32,13 @@ export const Visit = [
 ];
 export const Exhibitions = [
   {
+    id: 66,
+    cover: "/data/Exhibitions/Past/43.jpg",
+    h3: "Qi Baishi in Beijing: Commemorating the 160th Anniversary of His Birth",
+    p: 'Xi Jinping, General Secretary of the Communist Party of China, emphasized during his inspection of Beijing that “historical culture is the soul of a city.” The report of the 20th National Congress of the Communist Party of China proposed to “enhance tourism with culture and highlight culture through tourism, promoting the deep integration of culture and tourism.”',
+    path: "#/Layout/Detail?id=66&k=3",
+  },
+  {
     id: 63,
     cover: "/data/Exhibitions/Permanent/13.jpg",
     h3: "The Greeks Agamemnon to Alexander the Great",

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 7 - 0
webM/src/views/Search/dataAll.js