shaogen1995 11 months ago
parent
commit
f77b320fce
2 changed files with 24 additions and 25 deletions
  1. 1 1
      Code/public/myData/myData.js
  2. 23 24
      Code/src/pages/A4dance/index.tsx

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

@@ -795,7 +795,7 @@ moreHotArr = moreHotArr.filter(v => !v.noShow)
 const myDataTemp = {
   // 开发调试为 false  正式上线为  true
   // 开发调试的时候 取消所有加载进度条 所有的视频动画都加上跳过按钮
-  isLdong: true,
+  isLdong: false,
 
   // 首页(静态资源目录位置:staticData/home)
   home: {

+ 23 - 24
Code/src/pages/A4dance/index.tsx

@@ -5,7 +5,6 @@ import classNames from 'classnames'
 import Hot2 from '../A2visit/PanoVideo/Hot2'
 import EndVideo from '@/components/EndVideo'
 import BaseImg from '@/components/BaseImg'
-import HotIcon from '@/components/HotIcon'
 import FloorBtn from '@/components/FloorBtn'
 import NextPage from '@/components/NextPage'
 import useLoding from '@/components/ownUse/useLoding'
@@ -76,29 +75,29 @@ function A4dance() {
           )}
         >
           {/* 热点图标 云气图为第一个*/}
-          {myData.dance.hot.map((item, index) =>
-            item.name === '汉代乐舞百戏' ? (
-              <div
-                onClick={() => hotShowFu(1)}
-                key={index}
-                className='A4leftBtn'
-                style={{ backgroundImage: `url(${baseURL}chef/chuBtn.png)` }}
-              >
-                汉代乐舞百戏
-              </div>
-            ) : (
-              <HotIcon
-                style={{
-                  top: item.locPage.top,
-                  left: item.locPage.left
-                }}
-                key={index}
-                index={index}
-                clickSon={val => hotShowFu(val)}
-                hoverSrc={item.hoverSrc}
-                isZhan={true}
-              />
-            )
+          {myData.dance.hot.map(
+            (item, index) =>
+              item.name === '汉代乐舞百戏' ? (
+                <div
+                  onClick={() => hotShowFu(1)}
+                  key={index}
+                  className='A4leftBtn'
+                  style={{ backgroundImage: `url(${baseURL}chef/chuBtn.png)` }}
+                >
+                  汉代乐舞百戏
+                </div>
+              ) : null
+            // <HotIcon
+            //   style={{
+            //     top: item.locPage.top,
+            //     left: item.locPage.left
+            //   }}
+            //   key={index}
+            //   index={index}
+            //   clickSon={val => hotShowFu(val)}
+            //   hoverSrc={item.hoverSrc}
+            //   isZhan={true}
+            // />
           )}
 
           {/* 底部 */}