Jelajahi Sumber

国子文脉-东楼

lanxin 1 bulan lalu
induk
melakukan
7826a764e0

+ 1 - 1
hot/src/views/Home.vue

@@ -515,7 +515,7 @@ export default {
         .myTxt {
           font-size: 18px;
           color: #ffffff;
-          line-height: 40px;
+          line-height: 30px;
           text-align: left;
           margin-top: 10px;
           padding-right: 30px;

File diff ditekan karena terlalu besar
+ 1413 - 34
scene/public/static/data/data.json


File diff ditekan karena terlalu besar
+ 13 - 13
scene/public/static/js/manage.js


TEMPAT SAMPAH
scene/src/assets/image/map/38.jpg


TEMPAT SAMPAH
scene/src/assets/image/map/39.jpg


TEMPAT SAMPAH
scene/src/assets/image/map/7.jpg


+ 3 - 2
scene/src/store/index.js

@@ -45,8 +45,9 @@ const store = new Vuex.Store({
     },
     setPanoOver(state, id) {
       state.panoId = id;
-      if (state.points && !state.points[id]?.over) {
-        state.points[id].over = true;
+      // console.log(state.points, state.points[id - 1], id, state.points && !state.points[id - 1]?.over);
+      if (state.points && !state.points[id - 1]?.over) {
+        state.points[id - 1].over = true;
       }
     },
   },

+ 1 - 1
scene/src/views/gui/components/layerMap.vue

@@ -4,7 +4,7 @@
     <div class="layer-close" @click="$emit('close')"></div>
     <div class="layer-content">
       <div class="wep-options" v-if="sceneList && sceneList.length > 1">
-        <div class="wep-option" :class="{ onselected: sceneNum === i.num }" v-for="i in sceneList" @click="changeScene(i)">
+        <div class="wep-option" :class="{ onselected: selectedNum === i.num }" v-for="i in sceneList" @click="changeScene(i)">
           {{ i.name }}
         </div>
         <!-- <div  class="wep-option">午门</div>

+ 2 - 2
scene/src/views/gui/menu.vue

@@ -633,9 +633,9 @@ export default {
       let w = info?.width || 500,
         h = info?.height || 920,
         rotate = info?.rotate || 0;
-      console.log(info?.width, info?.height, info?.rotate, "----------------------------------------");
+      console.log(info?.width, info?.height, info?.rotate, "参数信息");
       let points = manage.initMapPanoPos(w, h, rotate);
-      console.log(points);
+      console.log("点位:", points);
 
       // if (this.points) {
       //   Object.keys(this.points).forEach((id) => {