shaogen1995 8 months ago
parent
commit
1267d77802

+ 0 - 1
Code/public/myData/hot.js

@@ -2195,7 +2195,6 @@ const myHotInfo = {
       tubiao: '普通', //普通 | 文物(热点图标不同)
       zIndex: 1, //定位层级(默认填1)
       hoverSrc: 'Zhot/hot/tag_pengrengjiyi.png', // pc鼠标移入显示的图片路径+名字
-      // 热点定位百分比(更多模块的定位--不需要在更多模块中展示的---删掉)
       locPage: {
         top: '79%',
         left: '15%'

+ 4 - 5
Code/src/pages/A2visit/PanoVideo/index.tsx

@@ -7,10 +7,9 @@ import { KrpanoMiddleware, KrpanoMiddlewareMethods } from '@/components/KrpanoMi
 import ZHot0 from '@/components/ZHot0'
 import Zhot from '@/components/Zhot'
 
-// 待完善位置
-window.draggbleHotspotEvent = (ath: number, atv: number) => {
-  console.log(`ath: ${ath}, atv: ${atv}`)
-}
+// window.draggbleHotspotEvent = (ath: number, atv: number) => {
+//   console.log(`ath: ${ath}, atv: ${atv}`)
+// }
 
 type Propr = {
   lodingOk: () => void
@@ -86,7 +85,7 @@ function PanoVideo({ lodingOk }: Propr) {
                 onOut={() => setActiveIdx(-1)}
                 onClick={() => setAcName(item.name)}
                 // @ts-ignore
-                onDown='draggable_hotspot()'
+                // onDown='draggable_hotspot()'
               >
                 <HotIcon
                   isModel={item.tubiao === '文物' ? true : false}

+ 4 - 5
Code/src/pages/A2visit2/A22Pano/index.tsx

@@ -5,10 +5,9 @@ import { HotSpot, Krpano, Scene, View } from '@dage/krpano'
 import HotIcon from '@/components/HotIcon'
 import { KrpanoMiddleware } from '@/components/KrpanoMiddleware'
 
-// 待完善位置
-window.draggbleHotspotEvent = (ath: number, atv: number) => {
-  console.log(`ath: ${ath}, atv: ${atv}`)
-}
+// window.draggbleHotspotEvent = (ath: number, atv: number) => {
+//   console.log(`ath: ${ath}, atv: ${atv}`)
+// }
 
 type Props = {
   setAcName: (val: string) => void
@@ -59,7 +58,7 @@ function A22Pano({ setAcName }: Props) {
                 onOut={() => setActiveIdx(-1)}
                 onClick={() => setAcName(item.name)}
                 // @ts-ignore
-                onDown='draggable_hotspot()'
+                // onDown='draggable_hotspot()'
               >
                 <HotIcon
                   isModel={item.tubiao === '文物' ? true : false}

+ 5 - 6
Code/src/pages/A3banPano/index.tsx

@@ -13,10 +13,9 @@ import CatVideo from '@/components/CatVideo'
 import Zhot from '@/components/Zhot'
 // import { myData } from '@/utils/http'
 
-// 待完善位置
-window.draggbleHotspotEvent = (ath: number, atv: number) => {
-  console.log(`ath: ${ath}, atv: ${atv}`)
-}
+// window.draggbleHotspotEvent = (ath: number, atv: number) => {
+//   console.log(`ath: ${ath}, atv: ${atv}`)
+// }
 
 function A3banPano() {
   // 路由:/banPano/id
@@ -106,7 +105,7 @@ function A3banPano() {
                 history.push('/banquet?r=ren')
               }}
               // @ts-ignore
-              onDown='draggable_hotspot()'
+              // onDown='draggable_hotspot()'
             >
               <div className={styles.floorHotspot}>
                 <img src={FloorHotspotIcon} className={styles.floorHotspotIcon} alt='' />
@@ -175,7 +174,7 @@ function A3banPano() {
                 onOut={() => setActiveIdx(-1)}
                 onClick={() => setAcName(item.name)}
                 // @ts-ignore
-                onDown='draggable_hotspot()'
+                // onDown='draggable_hotspot()'
               >
                 <HotIcon
                   isPano

+ 4 - 5
Code/src/pages/A3banquet/PanoImg/index.tsx

@@ -8,10 +8,9 @@ import { HotSpot, Krpano, Scene, View } from '@dage/krpano'
 import FloorHotspotIcon from '@/assets/img/icon-flo-min.png'
 import Zhot from '@/components/Zhot'
 
-// 待完善位置
-window.draggbleHotspotEvent = (ath: number, atv: number) => {
-  console.log(`ath: ${ath}, atv: ${atv}`)
-}
+// window.draggbleHotspotEvent = (ath: number, atv: number) => {
+//   console.log(`ath: ${ath}, atv: ${atv}`)
+// }
 
 function PanoImg() {
   //热点
@@ -79,7 +78,7 @@ function PanoImg() {
                 onOut={() => setActiveIdx(-1)}
                 onClick={() => setAcName(item.name)}
                 // @ts-ignore
-                onDown='draggable_hotspot()'
+                // onDown='draggable_hotspot()'
               >
                 <HotIcon
                   isPano