shaogen1995 8 kuukautta sitten
vanhempi
commit
f342826581

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 297 - 172
Code/public/myData/hot.js


+ 2 - 2
Code/src/components/Zhot/index.module.scss

@@ -60,11 +60,11 @@
         position: relative;
         display: inline-block;
         color: #eacf60;
-        font-size: 24px;
+        font-size: 22px;
         margin-bottom: 8px;
         & > img {
           position: absolute;
-          top: 60%;
+          top: 50%;
           left: 0;
           transform: translateY(-50%);
           width: 40px;

+ 1 - 1
Code/src/components/Zhot/index.tsx

@@ -112,7 +112,7 @@ function Zhot({ name, closeFu }: Props) {
       {/* 左边主体 */}
       <div className='ZHll'>
         {/* 标题 */}
-        <div className='h2Titele'>
+        <div className='h2Titele sizeNo'>
           <img src={`${baseURL}Zhot/img-yun1.png`} alt='' />
           <img className='h2TimgR' src={`${baseURL}Zhot/img-yun2.png`} alt='' />
           {acObj3.name ? acObj3.name : name}

+ 1 - 28
Code/src/pages/A6xian/index.tsx

@@ -1,4 +1,4 @@
-import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
+import React, { useCallback, useEffect, useRef, useState } from 'react'
 import styles from './index.module.scss'
 import BaseImg from '@/components/BaseImg'
 import { baseURL, myData } from '@/utils/http'
@@ -11,8 +11,6 @@ import FloorBtn from '@/components/FloorBtn'
 import NextPage from '@/components/NextPage'
 import EndVideo from '@/components/EndVideo'
 import history from '@/utils/history'
-import HotIcon from '@/components/HotIcon'
-import Hot2 from '../A2visit/PanoVideo/Hot2'
 
 function A6xian() {
   // 过度动画
@@ -114,12 +112,6 @@ function A6xian() {
   // 二级的静态图
   const [erImg, setErImg] = useState(false)
 
-  // 打开热点
-  const [acName, setAcName] = useState('')
-  const hotInfo = useMemo(() => {
-    return myData.xianJu.imgHot.find(v => v.name === acName)!
-  }, [acName])
-
   return (
     <div className={styles.A6xian}>
       {/* 初始静态图 */}
@@ -142,21 +134,6 @@ function A6xian() {
       >
         <img src={baseURL + 'xianJu/bg.jpg'} alt='' />
 
-        {/* 热点 */}
-        {myData.xianJu.imgHot.map((v, i) => (
-          <HotIcon
-            isModel={v.isModel ? true : false}
-            style={{
-              top: v.loc.top,
-              left: v.loc.left
-            }}
-            key={i}
-            index={i}
-            clickSon={() => setAcName(v.name)}
-            hoverSrc={v.hoverSrc}
-          />
-        ))}
-
         <NextPage
           clickSon={() => {
             domDelOwnFu('.A6erImg')
@@ -167,10 +144,6 @@ function A6xian() {
 
         {/* 右下角按钮 */}
         <FloorBtn />
-
-        {acName ? (
-          <Hot2 data={hotInfo.data} closeFu={() => setAcName('')} name={hotInfo.name} />
-        ) : null}
       </div>
 
       {/* 过度动画页面 */}

+ 2 - 2
Code/src/pages/B1more/S2mien/index.module.scss

@@ -28,13 +28,13 @@
           background-repeat: no-repeat;
           color: #343434;
           transition: all 0.3s;
-          line-height: 28px;
+          line-height: 30px;
           padding-left: 24px;
           margin-bottom: 10px;
           overflow: hidden;
           text-overflow: ellipsis;
           white-space: nowrap;
-          font-size: 16px;
+          font-size: 14px;
 
           &:hover {
             left: 24px;

+ 2 - 4
Code/src/pages/B1more/S2mien/index.tsx

@@ -1,10 +1,8 @@
-import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
+import React, { useMemo, useRef, useState } from 'react'
 import styles from './index.module.scss'
 import { baseURL, hotInfo, myData } from '@/utils/http'
 import classNames from 'classnames'
 import HotIcon from '@/components/HotIcon'
-import Hot2 from '@/pages/A2visit/PanoVideo/Hot2'
-import history from '@/utils/history'
 import ZHot0 from '@/components/ZHot0'
 import Zhot from '@/components/Zhot'
 import { HotRowType } from '@/components/Zhot/type'
@@ -50,7 +48,7 @@ function S2mien({ hidden }: Props) {
           {hotArr.map((item, index) => (
             <div
               onClick={() => setAcName(item.name)}
-              className={classNames('S2leftRow', acName === item.name ? 'S2leftRowAc' : '')}
+              className={classNames('S2leftRow sizeNo', acName === item.name ? 'S2leftRowAc' : '')}
               // onMouseUp={() => setHotInd(index)}
               key={index}
             >

BIN
资源/staticData/Zhot/hot/tag_lewubaixi.png