فهرست منبع

Merge branch 'master' of http://192.168.0.115:3000/shaogen1995/ShouBo

任一存 3 سال پیش
والد
کامیت
be2e3ad0e0
36فایلهای تغییر یافته به همراه67 افزوده شده و 17 حذف شده
  1. BIN
      web/public/data/About/Events/in2/1.png
  2. BIN
      web/public/data/About/Events/in2/10.png
  3. BIN
      web/public/data/About/Events/in2/11.png
  4. BIN
      web/public/data/About/Events/in2/12.png
  5. BIN
      web/public/data/About/Events/in2/13.png
  6. BIN
      web/public/data/About/Events/in2/14.png
  7. BIN
      web/public/data/About/Events/in2/15.png
  8. BIN
      web/public/data/About/Events/in2/16.png
  9. BIN
      web/public/data/About/Events/in2/17.png
  10. BIN
      web/public/data/About/Events/in2/2.png
  11. BIN
      web/public/data/About/Events/in2/3.png
  12. BIN
      web/public/data/About/Events/in2/4.png
  13. BIN
      web/public/data/About/Events/in2/5.png
  14. BIN
      web/public/data/About/Events/in2/6.png
  15. BIN
      web/public/data/About/Events/in2/7.png
  16. BIN
      web/public/data/About/Events/in2/8.png
  17. BIN
      web/public/data/About/Events/in2/9.png
  18. 61 16
      web/src/views/Events/info.vue
  19. 6 1
      web/src/views/dataAll.js
  20. BIN
      webM/public/data/About/Events/in2/1.png
  21. BIN
      webM/public/data/About/Events/in2/10.png
  22. BIN
      webM/public/data/About/Events/in2/11.png
  23. BIN
      webM/public/data/About/Events/in2/12.png
  24. BIN
      webM/public/data/About/Events/in2/13.png
  25. BIN
      webM/public/data/About/Events/in2/14.png
  26. BIN
      webM/public/data/About/Events/in2/15.png
  27. BIN
      webM/public/data/About/Events/in2/16.png
  28. BIN
      webM/public/data/About/Events/in2/17.png
  29. BIN
      webM/public/data/About/Events/in2/2.png
  30. BIN
      webM/public/data/About/Events/in2/3.png
  31. BIN
      webM/public/data/About/Events/in2/4.png
  32. BIN
      webM/public/data/About/Events/in2/5.png
  33. BIN
      webM/public/data/About/Events/in2/6.png
  34. BIN
      webM/public/data/About/Events/in2/7.png
  35. BIN
      webM/public/data/About/Events/in2/8.png
  36. BIN
      webM/public/data/About/Events/in2/9.png

BIN
web/public/data/About/Events/in2/1.png


BIN
web/public/data/About/Events/in2/10.png


BIN
web/public/data/About/Events/in2/11.png


BIN
web/public/data/About/Events/in2/12.png


BIN
web/public/data/About/Events/in2/13.png


BIN
web/public/data/About/Events/in2/14.png


BIN
web/public/data/About/Events/in2/15.png


BIN
web/public/data/About/Events/in2/16.png


BIN
web/public/data/About/Events/in2/17.png


BIN
web/public/data/About/Events/in2/2.png


BIN
web/public/data/About/Events/in2/3.png


BIN
web/public/data/About/Events/in2/4.png


BIN
web/public/data/About/Events/in2/5.png


BIN
web/public/data/About/Events/in2/6.png


BIN
web/public/data/About/Events/in2/7.png


BIN
web/public/data/About/Events/in2/8.png


BIN
web/public/data/About/Events/in2/9.png


+ 61 - 16
web/src/views/Events/info.vue

@@ -8,15 +8,21 @@
     <div class="conten">
     <div class="conten">
       <img class="topBan" :src="`/data/About/Events/${imgInd}Ac.jpg`" alt="" />
       <img class="topBan" :src="`/data/About/Events/${imgInd}Ac.jpg`" alt="" />
       <div class="main">
       <div class="main">
-        <div class="pos" data-aria-viewport-area tabindex="0"
-          aria-label aria-description="You've reached the path area; this area has two URLs; please use the tab key to go through the content."
+        <div
+          class="pos"
+          data-aria-viewport-area
+          tabindex="0"
+          aria-label="You've reached the path area; this area has two URLs; please use the tab key to go through the content."
         >
         >
           <span>Your Position:&nbsp;</span>
           <span>Your Position:&nbsp;</span>
           <Router-link to="/Layout/Home">Home></Router-link>
           <Router-link to="/Layout/Home">Home></Router-link>
           <Router-link to="/Layout/Events">Events></Router-link>
           <Router-link to="/Layout/Events">Events></Router-link>
         </div>
         </div>
-        <div class="mainContent" data-aria-viewport-area tabindex="0"
-          aria-label aria-description="You've reached the content area of the Events sub-page, please use the tab key to go through the content."
+        <div
+          class="mainContent"
+          data-aria-viewport-area
+          tabindex="0"
+          aria-label="You've reached the content area of the Events sub-page, please use the tab key to go through the content."
         >
         >
           <div class="title">
           <div class="title">
             <div class="left">
             <div class="left">
@@ -36,21 +42,35 @@
               <p>{{ info.i }}</p>
               <p>{{ info.i }}</p>
             </div>
             </div>
           </div>
           </div>
-          <div class="txtMain" v-html="info.main"></div>
+          <div class="txtMain" v-html="info.main" v-if="info.main"></div>
+          <div
+            class="txtMain"
+            v-if="info.mainArr"
+            v-html="info.mainArr[mainArr]"
+          ></div>
+          <!-- 分页 -->
+          <div class="page" v-if="info.mainArr">
+            <span
+              @click="pageCut(i-1)"
+              v-for="i in 5"
+              :key="i"
+              :class="{ active: i === mainArr + 1 }"
+              >{{ i }}</span
+            >
+          </div>
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
     <!-- 底部的更多 -->
     <!-- 底部的更多 -->
-    <div class="other" data-aria-viewport-area tabindex="0"
-      aria-label aria-description="You've reached the View other events section of the Events sub-page; please use the tab key to go through the content."
+    <div
+      class="other"
+      data-aria-viewport-area
+      tabindex="0"
+      aria-label="You've reached the View other events section of the Events sub-page; please use the tab key to go through the content."
     >
     >
       <h2>View Other Events</h2>
       <h2>View Other Events</h2>
       <ul>
       <ul>
-        <li
-          v-for="(item, index) in other"
-          :key="index"
-          @click="skip(item.id)"
-        >
+        <li v-for="(item, index) in other" :key="index" @click="skip(item.id)">
           <img :src="`/data/About/Events/${item.id}.jpg`" alt="" />
           <img :src="`/data/About/Events/${item.id}.jpg`" alt="" />
           <div class="txt" v-html="item.h3"></div>
           <div class="txt" v-html="item.h3"></div>
         </li>
         </li>
@@ -60,7 +80,7 @@
 </template>
 </template>
 
 
 <script>
 <script>
-// <p class='xx'>111111111</p> <p>111111111</p> <img src='/data/About/Events/in/00.png'/>
+// <p class='xx'>111111111</p> <p>111111111</p> <img src='/data/About/Events/in2/00.png'/>
 // <p><i>111111111</i></p>
 // <p><i>111111111</i></p>
 import { About, AboutOne } from "../dataAll";
 import { About, AboutOne } from "../dataAll";
 
 
@@ -74,6 +94,7 @@ export default {
       other: [],
       other: [],
       // 控制顶部的图片
       // 控制顶部的图片
       imgInd: 1,
       imgInd: 1,
+      mainArr: 0,
     };
     };
   },
   },
   //监听属性 类似于data概念
   //监听属性 类似于data概念
@@ -86,8 +107,12 @@ export default {
   },
   },
   //方法集合
   //方法集合
   methods: {
   methods: {
+    pageCut(i){
+      this.mainArr = i
+      this.toTop()
+    },
     skip(id) {
     skip(id) {
-      this.$router.push(`/Layout/EventsInfo/${id}`).catch(()=>{});
+      this.$router.push(`/Layout/EventsInfo/${id}`).catch(() => {});
     },
     },
     // 点击回到顶部
     // 点击回到顶部
     toTop() {
     toTop() {
@@ -121,7 +146,7 @@ export default {
       } else if (id < 4) {
       } else if (id < 4) {
         temp.push(AboutOne[3]);
         temp.push(AboutOne[3]);
         temp.push(AboutOne[4]);
         temp.push(AboutOne[4]);
-      } else if(id<5) temp.push(AboutOne[4])
+      } else if (id < 5) temp.push(AboutOne[4]);
       else temp.push(AboutOne[3]);
       else temp.push(AboutOne[3]);
 
 
       this.other = temp;
       this.other = temp;
@@ -133,7 +158,10 @@ export default {
   },
   },
   //生命周期 - 挂载完成(可以访问DOM元素)
   //生命周期 - 挂载完成(可以访问DOM元素)
   mounted() {
   mounted() {
-      this.$eventBus.$emit('request-read', `You've reached the sub-page of the Events page.This page contains one navigation section, four window sections, and one interactive section. To choose an section, please hit the shortcut key.`)
+    this.$eventBus.$emit(
+      "request-read",
+      `You've reached the sub-page of the Events page.This page contains one navigation section, four window sections, and one interactive section. To choose an section, please hit the shortcut key.`
+    );
   },
   },
   beforeCreate() {}, //生命周期 - 创建之前
   beforeCreate() {}, //生命周期 - 创建之前
   beforeMount() {}, //生命周期 - 挂载之前
   beforeMount() {}, //生命周期 - 挂载之前
@@ -256,6 +284,23 @@ export default {
           text-decoration: underline;
           text-decoration: underline;
         }
         }
       }
       }
+      .mainContent {
+        position: relative;
+        .page {
+          position: absolute;
+          bottom: 10px;
+          left: 50%;
+          transform: translateX(-50%);
+          & > span {
+            margin-right: 8px;
+            cursor: pointer;
+          }
+          .active {
+            color: #bf2323;
+            pointer-events: none;
+          }
+        }
+      }
     }
     }
   }
   }
   .other {
   .other {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 6 - 1
web/src/views/dataAll.js


BIN
webM/public/data/About/Events/in2/1.png


BIN
webM/public/data/About/Events/in2/10.png


BIN
webM/public/data/About/Events/in2/11.png


BIN
webM/public/data/About/Events/in2/12.png


BIN
webM/public/data/About/Events/in2/13.png


BIN
webM/public/data/About/Events/in2/14.png


BIN
webM/public/data/About/Events/in2/15.png


BIN
webM/public/data/About/Events/in2/16.png


BIN
webM/public/data/About/Events/in2/17.png


BIN
webM/public/data/About/Events/in2/2.png


BIN
webM/public/data/About/Events/in2/3.png


BIN
webM/public/data/About/Events/in2/4.png


BIN
webM/public/data/About/Events/in2/5.png


BIN
webM/public/data/About/Events/in2/6.png


BIN
webM/public/data/About/Events/in2/7.png


BIN
webM/public/data/About/Events/in2/8.png


BIN
webM/public/data/About/Events/in2/9.png