shaogen1995 8 月之前
父节点
当前提交
5e0e313b98
共有 3 个文件被更改,包括 41 次插入63 次删除
  1. 37 59
      Code/public/myData/hot.js
  2. 3 3
      Code/src/components/Zhot/index.tsx
  3. 1 1
      Code/src/pages/A3banPano/index.tsx

+ 37 - 59
Code/public/myData/hot.js

@@ -34,7 +34,7 @@ const myHotInfo = {
         // 相关文物
         involve: [
           {
-            name: '拥彗门吏1',
+            name: '拥彗门吏',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli.png'],
             //介绍,一段用 <p></p> 包起来
@@ -46,7 +46,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '拥彗门吏2',
+            name: '拥彗门吏&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli2.png'],
             //介绍,一段用 <p></p> 包起来
@@ -57,7 +57,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '拥彗门吏3',
+            name: '拥彗门吏&&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli5.png'],
             //介绍,一段用 <p></p> 包起来
@@ -68,7 +68,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '拥彗门吏4',
+            name: '拥彗门吏&&&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli6.png'],
             //介绍,一段用 <p></p> 包起来
@@ -79,7 +79,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '熊执彗门吏1',
+            name: '熊执彗门吏',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli3.png'],
             //介绍,一段用 <p></p> 包起来
@@ -90,7 +90,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '熊执彗门吏2',
+            name: '熊执彗门吏&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YinBin/ww_menli4.png'],
             //介绍,一段用 <p></p> 包起来
@@ -152,7 +152,7 @@ const myHotInfo = {
         // 相关文物
         involve: [
           {
-            name: '灰陶院落1',
+            name: '灰陶院落',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YuanLuo/ww_yuanluo1.png'],
             //介绍,一段用 <p></p> 包起来
@@ -163,7 +163,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '灰陶院落2',
+            name: '灰陶院落&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/YuanLuo/ww_yuanluo2.png'],
             //介绍,一段用 <p></p> 包起来
@@ -506,14 +506,14 @@ const myHotInfo = {
         ],
         // 相关文物
         involve: [
-          {
-            name: '三角纹彩绘陶壶',
-            type: '模型', //图片|模型|视频
-            urlArr: ['Zhot/model/taohu.4dage'],
-            //介绍,一段用 <p></p> 包起来
-            text: `
-              `
-          },
+          // {
+          //   name: '三角纹彩绘陶壶',
+          //   type: '模型', //图片|模型|视频
+          //   urlArr: ['Zhot/model/taohu.4dage'],
+          //   //介绍,一段用 <p></p> 包起来
+          //   text: `
+          //     `
+          // },
           {
             name: '绿釉直颈陶投壶',
             type: '视频', //图片|模型|视频
@@ -659,7 +659,7 @@ const myHotInfo = {
           {
             name: '绿釉陶院落',
             type: '图片', //图片|模型|视频
-            urlArr: ['Zhot/cheQi/handaiwudin//ww_yuanluo8.png'],
+            urlArr: ['Zhot/cheQi/handaiwudin/ww_yuanluo8.png'],
             //介绍,一段用 <p></p> 包起来
             text: `
               <P>东汉</P>
@@ -778,7 +778,7 @@ const myHotInfo = {
         // 相关文物
         involve: [
           {
-            name: '云纹瓦当1',
+            name: '云纹瓦当',
             type: '图片', //图片|模型|视频
             urlArr: [
               'Zhot/cheQi/handaiwadang/ww_wadang1.png',
@@ -795,7 +795,7 @@ const myHotInfo = {
               `
           },
           {
-            name: '云纹瓦当2',
+            name: '云纹瓦当&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/handaiwadang/ww_wadang5.png'],
             //介绍,一段用 <p></p> 包起来
@@ -1390,7 +1390,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '君幸食小漆盘',
+            name: '君幸食小漆盘',
             type: '图片', //图片|模型|视频
             urlArr: [
               'Zhot/cheQi/handaifenshizhi/ww_pan3.png',
@@ -1736,7 +1736,7 @@ const myHotInfo = {
           `
           },
           {
-            name: '君幸食小漆盘',
+            name: '君幸食小漆盘',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/cheQi/pan/ww_xiaoqipan1.png', 'Zhot/cheQi/pan/ww_xiaoqipan2.png'],
             //介绍,一段用 <p></p> 包起来
@@ -1871,20 +1871,6 @@ const myHotInfo = {
            <p>博山炉,又叫博山香炉、博山香薰、博山薰炉等名,是中国汉、晋时期民间常见的焚香所用的器具。常见的为青铜器和陶瓷器。</p>
            <p>博山炉的得名源于外形。炉体呈青铜器中的豆形,上有盖,盖高而尖,镂空,呈山形,山形重叠,其间雕有云气纹、人物及鸟兽。于炉中焚香,轻烟飘出,缭绕炉体,自然造成群山朦胧、众兽浮动的效果,仿佛传说中的海上仙山"博山"。</p>
           `
-          },
-          {
-            name: '',
-            //二级介绍,一段用 <p></p> 包起来
-            txt: `
-
-          `
-          },
-          {
-            name: '',
-            //二级介绍,一段用 <p></p> 包起来
-            txt: `
-
-          `
           }
         ],
         // 相关文物
@@ -2681,20 +2667,20 @@ const myHotInfo = {
            <P>金饼和索饼:根据色彩和形状来命名的饼食。</P>
           `
           }
-        ],
-        // 相关文物
-        involve: [
-          {
-            name: '',
-            type: '图片', //图片|模型|视频
-            urlArr: [''],
-            //介绍,一段用 <p></p> 包起来
-            text: `
-          <P></P>
-          <P></P>
-          `
-          }
         ]
+        // 相关文物
+        // involve: [
+        //   {
+        //     name: '',
+        //     type: '图片', //图片|模型|视频
+        //     urlArr: [''],
+        //     //介绍,一段用 <p></p> 包起来
+        //     text: `
+        //   <P></P>
+        //   <P></P>
+        //   `
+        //   }
+        // ]
       }
     },
     {
@@ -2848,15 +2834,7 @@ const myHotInfo = {
       <P>两汉时期人们肉食种类广泛,其中家饲类动物是其肉食动物的主要来源。家饲类动物主要包括猪、牛、羊、马、驴、鸡、鸭、鹅、狗等。</P>
       `,
         // 二级信息(没有的话--删掉)
-        son: [
-          {
-            name: '',
-            //二级介绍,一段用 <p></p> 包起来
-            txt: `
-           <p></p>
-          `
-          }
-        ],
+        son: [],
         // 相关文物
         involve: [
           {
@@ -3061,7 +3039,7 @@ const myHotInfo = {
             `
           },
           {
-            name: '铁䦆',
+            name: '铁䦆',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/plowZhuang/ww_tiejue2.png'],
             //介绍,一段用 <p></p> 包起来
@@ -3073,7 +3051,7 @@ const myHotInfo = {
             `
           },
           {
-            name: '铁䦆',
+            name: '铁䦆&',
             type: '图片', //图片|模型|视频
             urlArr: ['Zhot/plowZhuang/ww_tiejue3.png', 'Zhot/plowZhuang/ww_tiejue4.png'],
             //介绍,一段用 <p></p> 包起来

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

@@ -115,7 +115,7 @@ function Zhot({ name, closeFu }: Props) {
         <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}
+          {acObj3.name ? acObj3.name.replaceAll('&', '') : name}
         </div>
 
         {info.data ? (
@@ -151,7 +151,7 @@ function Zhot({ name, closeFu }: Props) {
                       >
                         <img src={baseURL + 'Zhot/icon2.png'} alt='' />
                         <img src={baseURL + 'Zhot/icon2Ac.png'} alt='' />
-                        {row2.name}
+                        {row2.name.replaceAll('&', '')}
                       </div>
                     ))}
                   </div>
@@ -273,7 +273,7 @@ function Zhot({ name, closeFu }: Props) {
                         )}
                         key={row3.name}
                       >
-                        {row3.name}
+                        {row3.name.replaceAll('&', '')}
                       </div>
                     ))}
                   </div>

+ 1 - 1
Code/src/pages/A3banPano/index.tsx

@@ -79,7 +79,7 @@ function A3banPano() {
                 onOut={() => setActiveIdx(-1)}
                 onClick={() => setAcName(item.name)}
                 // @ts-ignore
-                onDown='draggable_hotspot()'
+                // onDown='draggable_hotspot()'
               >
                 <HotIcon
                   isPano