shaogen1995 10 kuukautta sitten
vanhempi
commit
b84c6e2a00

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 9199 - 0
hot/yarn.lock


BIN
scene/public/favicon.ico


+ 2 - 1
scene/public/index.html

@@ -6,7 +6,7 @@
     <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <title>湖南雷锋纪念馆</title>
+    <title>粤韵匠心  艺铸华章 —庆祝中华人民共和国成立75周年广东工艺美术大展</title>
     <meta name="description" content="四维时代">
     <meta property="og:title" content="四维时代">
     <meta property="og:description" content="四维时代">
@@ -27,6 +27,7 @@
         // }
 
         // 待完善
+        // 'SG-ebhiLPJ6Ktb'
         var number ='1359'
     </script>
 

BIN
scene/src/assets/img/moBg.jpg


BIN
scene/src/assets/img/mobileBg.jpg


BIN
scene/src/assets/img/pcBg.jpg


+ 9 - 10
scene/src/components/welcome/index.vue

@@ -1,11 +1,9 @@
 <template>
   <div class="welcome">
     <div class="mobileBg" v-if="isMobile"></div>
-    <iframe
-      v-else
-      src="https://zzbbh.4dage.com/SWKK/show.html?id=WK1717474784264114176&vr=fd720_Y8cO1d7Fu&lang=zh"
-      frameborder="0"
-    ></iframe>
+
+    <div v-else class="pcBg"></div>
+
     <div class="btn" @click.stop="$emit('close')">
       <img src="../../assets/img/home/homeBtn.png" alt="" />
       <p>360环顾</p>
@@ -35,11 +33,12 @@ export default {
   background-color: black;
   // background-image: url('../../assets/img/home/homeBac.jpg');
   // background-size: 100% 100%;
-  iframe {
+  .pcBg {
     width: 100%;
     height: 100%;
+    background-image: url("../../assets/img/pcBg.jpg");
+    background-size: 100% 100%;
   }
-
   .btn {
     position: absolute;
     z-index: 10;
@@ -68,11 +67,11 @@ export default {
   .mobileBg {
     width: 100%;
     height: 100%;
-    background-image: url('../../assets/img/mobileBg.jpg');
+    background-image: url("../../assets/img/moBg.jpg");
     background-size: 100% 100%;
   }
 
-  // 移动端
+  // // 移动端
   @media screen and (max-width: 1000px) {
     .btn {
       bottom: 6%;
@@ -85,4 +84,4 @@ export default {
     }
   }
 }
-</style>
+</style>

+ 0 - 8
scene/src/pages/Home.vue

@@ -101,7 +101,6 @@ import vrCon from "@/views/gui/vrcon";
 import vOther from "@/views/gui/other";
 import welcome from "@/components/welcome";
 
-import { addVisitAPI } from "../utils/api";
 
 export default {
   name: "Home",
@@ -177,13 +176,6 @@ export default {
     // 雷锋故居场景需求,会携带 hideCover=1
     this.hideTools = Boolean(Number(this.$route.query.hideCover));
     this.showWelcome = !this.hideTools;
-
-    // 发送访问量
-    try {
-      await addVisitAPI();
-    } catch (e) {
-      console.log(e);
-    }
   },
 };
 </script>

+ 0 - 16
scene/src/utils/api.js

@@ -1,16 +0,0 @@
-import axios from './request'
-// 访问量+1
-export const addVisitAPI = () => {
-  return axios({
-    method: 'get',
-    url: `show/addVisit/${1}`,
-  })
-}
-
-// 获取访问量
-export const getVisitAPI = () => {
-  return axios({
-    method: 'get',
-    url: 'show/share/detail',
-  })
-}

+ 0 - 7
scene/src/views/gui/components/share.vue

@@ -30,7 +30,6 @@
 
 <script>
 import html2canvas from "html2canvas";
-import { getVisitAPI } from "../../../utils/api";
 export default {
   components: {},
   props: ["openInd"],
@@ -66,12 +65,6 @@ export default {
     },
   },
   async created() {
-    try {
-      const res = await getVisitAPI();
-      this.num = res.data.pcsShow + res.data.pcsVisit;
-    } catch (e) {
-      console.log(e);
-    }
   },
   mounted() {},
   beforeCreate() {}, //生命周期 - 创建之前

+ 0 - 13
scene/src/views/gui/menu.vue

@@ -221,13 +221,6 @@
           <img src="../../assets/img/toHome.png" alt="" />
         </div>
 
-        <!-- vr -->
-        <div class="toHomeBox" @click="openVR">
-          <!-- 鼠标移入的显示 -->
-          <div class="hoverTit">VR</div>
-          <img src="../../assets/img/openVR.png" alt="" />
-        </div>
-
         <!-- 音乐 -->
         <div id="volume" class="ui-icon bgandshare wide">
           <!-- 鼠标移入的显示 -->
@@ -249,12 +242,6 @@
             />
           </div>
         </div>
-        <!-- 分享 -->
-        <div class="toHomeBox" @click="openInd = 2">
-          <!-- 鼠标移入的显示 -->
-          <div class="hoverTit">分享</div>
-          <img src="../../assets/img/share.png" alt="" />
-        </div>
       </div>
     </div>