shaogen1995 3 лет назад
Родитель
Сommit
d84c4f7075
3 измененных файлов с 953 добавлено и 939 удалено
  1. 905 903
      web/public/static/js/Hot.js
  2. 1 1
      web/public/static/js/main_2020_show.js
  3. 47 35
      web/src/views/gui/menu.vue

Разница между файлами не показана из-за своего большого размера
+ 905 - 903
web/public/static/js/Hot.js


+ 1 - 1
web/public/static/js/main_2020_show.js

@@ -17550,7 +17550,7 @@ window.Modernizr = function(n, e, t) {
                             })
                         } 
                         this.createHotItem( ); 
-                        // Hot.createHotList();
+                        Hot.createHotList();
                         Hot.startLoad()  
                          
                         

+ 47 - 35
web/src/views/gui/menu.vue

@@ -309,7 +309,7 @@
         <!-- 3个小地图 -->
         <div class="minMap minMap1">
           <a href="javascript:;"></a>
-          <a href="javascript:;"></a>
+          <a href="javascript:;" @click="toHideHot('C9Xzw4A682213')"></a>
         </div>
         <div class="minMap minMap2">
           <a
@@ -331,9 +331,7 @@
           <a
             href="javascript:;"
             @click="
-              skipIframe(
-                'https://www.4dmodel.com/SuperTwo/index.html?m=997'
-              )
+              skipIframe('https://www.4dmodel.com/SuperTwo/index.html?m=997')
             "
           ></a>
         </div>
@@ -350,9 +348,9 @@
           ></a>
         </div>
         <div class="minMap minMap4">
-          <a href="javascript:;"></a>
-          <a href="javascript:;"></a>
-          <a href="javascript:;"></a>
+          <a href="javascript:;" @click="toHideHot('SkJMnNI650604')"></a>
+          <a href="javascript:;" @click="toHideHot('LKkKYP679393')"></a>
+          <a href="javascript:;" @click="toHideHot('1jugHED669838')"></a>
         </div>
       </div>
     </div>
@@ -380,9 +378,7 @@
         <!-- 题目 -->
         <div class="moTopic" v-if="state === 'one'">
           <div class="topic_head">
-            <p>
-              {{ topicInd + 1 }}、{{ topic[topicInd].title }}
-            </p>
+            <p>{{ topicInd + 1 }}、{{ topic[topicInd].title }}</p>
           </div>
           <ul class="moTopic_con">
             <li v-for="(item, index) in topic[topicInd].answer" :key="index">
@@ -390,9 +386,11 @@
                 <!-- 选中了之后的显示 -->
                 <div v-show="caseInd === index"></div>
               </div>
-              <span @touchstart="select(index, item.id)" :class="{ active: caseInd === index }">{{
-                item.id + "、" + item.txt
-              }}</span>
+              <span
+                @touchstart="select(index, item.id)"
+                :class="{ active: caseInd === index }"
+                >{{ item.id + "、" + item.txt }}</span
+              >
             </li>
             <!-- 下面的按钮 -->
             <div class="Motopic_btn" @touchstart="btnOk">确 定</div>
@@ -553,9 +551,7 @@
         <div class="Motab5ER">
           <img src="tab5Ma.png" alt="" />
           <p>请使用手机扫描二维码</p>
-          <a href="tab5Ma.png" download class="tab5Box"
-            >下 载 二 维 码</a
-          >
+          <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
         </div>
       </div>
     </div>
@@ -579,8 +575,8 @@
         <!-- 最下面的跳转链接 -->
         <div class="bottom">
           <div>
-            <a href="javascript:;" title="123456"></a>
             <a href="javascript:;"></a>
+            <a href="javascript:;" title='上栅村史馆' @click="toHideHot('C9Xzw4A682213')"></a>
           </div>
           <div>
             <a
@@ -601,13 +597,21 @@
           </div>
           <div>
             <a href="javascript:;"></a>
-            <a target="_blank" href="http://www.4dmodel.com/SuperTwo/index.html?m=1034" title="望慈山房"></a>
-            <a target="_blank" href="https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh" title="廉洁文化园内苏兆征雕像广场"></a>
+            <a
+              target="_blank"
+              href="http://www.4dmodel.com/SuperTwo/index.html?m=1034"
+              title="望慈山房"
+            ></a>
+            <a
+              target="_blank"
+              href="https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh"
+              title="廉洁文化园内苏兆征雕像广场"
+            ></a>
           </div>
           <div>
-            <a href="javascript:;"></a>
-            <a href="javascript:;"></a>
-            <a href="javascript:;"></a>
+            <a href="javascript:;" title='金山软件' @click="toHideHot('SkJMnNI650604')"></a>
+            <a href="javascript:;" title='世纪鼎利' @click="toHideHot('LKkKYP679393')"></a>
+            <a href="javascript:;" title='派诺科技' @click="toHideHot('1jugHED669838')"></a>
           </div>
         </div>
       </div>
@@ -647,9 +651,11 @@
                 <!-- 选中了之后的显示 -->
                 <div v-show="caseInd === index"></div>
               </div>
-              <span  @click="select(index, item.id)" :class="{ active: caseInd === index }">{{
-                item.id + "、" + item.txt
-              }}</span>
+              <span
+                @click="select(index, item.id)"
+                :class="{ active: caseInd === index }"
+                >{{ item.id + "、" + item.txt }}</span
+              >
             </li>
             <!-- 下面的按钮 -->
             <div class="topic_btn" @click="btnOk">确 定</div>
@@ -821,9 +827,7 @@
         <div class="tab5Ma">
           <img src="tab5Ma.png" alt="" />
           <p>请用手机扫描二维码</p>
-          <a href="tab5Ma.png" download class="tab5Box"
-            >下 载 二 维 码</a
-          >
+          <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
           <div class="tab5Box" @click="copyPcTxt">复 制 链 接</div>
         </div>
       </div>
@@ -840,7 +844,7 @@ export default {
   components: { Iframe },
   data() {
     return {
-      baseUrl:'http://8.135.106.227:8011',//线上调试
+      baseUrl: "http://8.135.106.227:8011", //线上调试
       // baseUrl:'',//打包
       isGuide: true,
       //--------------手机端数据------------------
@@ -906,6 +910,14 @@ export default {
   computed: {},
   mounted() {},
   methods: {
+    toHideHot(id) {
+      let temp = window.myHotList.filter((v) => v.sid == id)[0];
+      setTimeout(() => {
+        temp && temp.examine(window.player, true);
+      }, 200);
+      console.log("----", temp);
+    },
+
     //移动端跳转
     skipIframe(url) {
       this.iframeUrl = url;
@@ -973,7 +985,7 @@ export default {
           //Ajax上传FormData对象
           // eslint-disable-next-line no-undef
           $.ajax({
-            url: this.baseUrl+"/show/upload",
+            url: this.baseUrl + "/show/upload",
             type: "POST",
             cache: false,
             data: fd,
@@ -984,7 +996,7 @@ export default {
               console.log("上传图片成功", res);
               if (res.code === 0) {
                 this.$message.success("生成图片成功");
-                this.qrCodeUrl = this.baseUrl+ res.data;
+                this.qrCodeUrl = this.baseUrl + res.data;
                 this.topicXShow = true;
               }
             })
@@ -1017,7 +1029,7 @@ export default {
       //发送请求
       // eslint-disable-next-line no-undef
       $.ajax({
-        url: this.baseUrl+"/show/comment/save",
+        url: this.baseUrl + "/show/comment/save",
         type: "POST",
         data: JSON.stringify(data),
         dataType: "json",
@@ -1120,7 +1132,7 @@ export default {
           //Ajax上传FormData对象
           // eslint-disable-next-line no-undef
           $.ajax({
-            url: this.baseUrl+"/show/upload",
+            url: this.baseUrl + "/show/upload",
             type: "POST",
             cache: false,
             data: fd,
@@ -1244,7 +1256,7 @@ export default {
       // eslint-disable-next-line no-undef
       $.ajax({
         type: "POST",
-        url:  this.baseUrl+"/show/comment/list",
+        url: this.baseUrl + "/show/comment/list",
         data: JSON.stringify(data),
         dataType: "json",
         contentType: "application/json;charset=UTF-8",
@@ -2653,7 +2665,7 @@ export default {
   #myMoMu {
     display: none !important;
   }
-  #gui-modes-floorplan{
+  #gui-modes-floorplan {
     margin-bottom: 0 !important;
   }
   #myMoMu img {