瀏覽代碼

再次更新一波

shaogen1995 4 月之前
父節點
當前提交
279a161cb3

+ 10 - 3
Code/public/myData/hot.js

@@ -1016,6 +1016,7 @@ const myHotInfo = {
       data: {
       data: {
         //一级介绍,一段用 <p></p> 包起来
         //一级介绍,一段用 <p></p> 包起来
         txt: `<p>炊煮或盛放肉食的盛器,有铜质、有漆质。</p>`,
         txt: `<p>炊煮或盛放肉食的盛器,有铜质、有漆质。</p>`,
+        imgArr1: ['Zhot/new04_24/ding.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1087,6 +1088,7 @@ const myHotInfo = {
         txt: `
         txt: `
       <p>盛器,主要是用来盛酒、温酒。</p>
       <p>盛器,主要是用来盛酒、温酒。</p>
       `,
       `,
+        imgArr1: ['Zhot/new04_24/xing.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1125,8 +1127,8 @@ const myHotInfo = {
         //一级介绍,一段用 <p></p> 包起来
         //一级介绍,一段用 <p></p> 包起来
         txt: `
         txt: `
       <p>方形的壶,储酒器具,青铜钫盛行于秦汉时期。</p>
       <p>方形的壶,储酒器具,青铜钫盛行于秦汉时期。</p>
-
       `,
       `,
+        imgArr1: ['Zhot/new04_24/fang.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1177,8 +1179,8 @@ const myHotInfo = {
         //一级介绍,一段用 <p></p> 包起来
         //一级介绍,一段用 <p></p> 包起来
         txt: `
         txt: `
       <p>奁,或称樽。是流行于中原地区汉晋之际的温酒器。汉代的奁有釉陶、青瓷、漆器质地,仿自同类青铜器的造型。</p>
       <p>奁,或称樽。是流行于中原地区汉晋之际的温酒器。汉代的奁有釉陶、青瓷、漆器质地,仿自同类青铜器的造型。</p>
-
       `,
       `,
+        imgArr1: ['Zhot/new04_24/daqu.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1217,8 +1219,8 @@ const myHotInfo = {
         //一级介绍,一段用 <p></p> 包起来
         //一级介绍,一段用 <p></p> 包起来
         txt: `
         txt: `
       <p>水器</p>
       <p>水器</p>
-
       `,
       `,
+        imgArr1: ['Zhot/new04_24/panyi.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1671,6 +1673,7 @@ const myHotInfo = {
         txt: `
         txt: `
     <p>容器</p>
     <p>容器</p>
     `,
     `,
+        imgArr1: ['Zhot/new04_24/hezi2.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1711,6 +1714,7 @@ const myHotInfo = {
       <p>食案是用来放置杯、盘等食具的饮食器具。从出土的实物看,在材料上,案有木制、陶制、石制和铜制多种质地。汉代的食案长约1米,宽约为0.5米。食案是汉代家庭中常备的食具:“持案”、“奉案”、“举案”等行为都是尊敬的表示。</p>
       <p>食案是用来放置杯、盘等食具的饮食器具。从出土的实物看,在材料上,案有木制、陶制、石制和铜制多种质地。汉代的食案长约1米,宽约为0.5米。食案是汉代家庭中常备的食具:“持案”、“奉案”、“举案”等行为都是尊敬的表示。</p>
 
 
       `,
       `,
+        imgArr1: ['Zhot/new04_24/an2.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1750,6 +1754,7 @@ const myHotInfo = {
         txt: `
         txt: `
       <p>盘为混合型食具,可用于盛酒具或菜肴。</p>
       <p>盘为混合型食具,可用于盛酒具或菜肴。</p>
       `,
       `,
+        imgArr1: ['Zhot/new04_24/pan2.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1803,6 +1808,7 @@ const myHotInfo = {
         txt: `
         txt: `
       <p>豆,羹食器,专备盛放腌菜和肉酱的和味品。</p>
       <p>豆,羹食器,专备盛放腌菜和肉酱的和味品。</p>
       `,
       `,
+        imgArr1: ['Zhot/new04_24/dou2.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物
@@ -1854,6 +1860,7 @@ const myHotInfo = {
         txt: `
         txt: `
       <p>耳杯,汉代宴饮中常见的饮酒器具。</p>
       <p>耳杯,汉代宴饮中常见的饮酒器具。</p>
       `,
       `,
+        imgArr1: ['Zhot/new04_24/erHuan2.png'],
         // 二级信息(没有的话--删掉)
         // 二级信息(没有的话--删掉)
         son: [],
         son: [],
         // 相关文物
         // 相关文物

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

@@ -2138,25 +2138,25 @@ const myDataTemp = {
           left: '56.4%'
           left: '56.4%'
         }
         }
       },
       },
-      {
-        // 热点名字
-        name: '淘洗',
-        // 热点图片路径+名字
-        hoverSrc: 'chef/hot3.png',
-        // 点击之后的播放动画路径+名字
-        videoId: '3',
-        // 里面展示的图片路径+名字
-        showImg: 'chef/show3.png',
-        // 里面展示的文本
-        txt: `
-        <p>对米、蔬菜或食材进行清洗,通常在井边或水源附近进行。</p>
-        `,
-        // 热点定位百分比
-        loc: {
-          top: '68%',
-          left: '67%'
-        }
-      },
+      // {
+      //   // 热点名字
+      //   name: '淘洗',
+      //   // 热点图片路径+名字
+      //   hoverSrc: 'chef/hot3.png',
+      //   // 点击之后的播放动画路径+名字
+      //   videoId: '3',
+      //   // 里面展示的图片路径+名字
+      //   showImg: 'chef/show3.png',
+      //   // 里面展示的文本
+      //   txt: `
+      //   <p>对米、蔬菜或食材进行清洗,通常在井边或水源附近进行。</p>
+      //   `,
+      //   // 热点定位百分比
+      //   loc: {
+      //     top: '68%',
+      //     left: '67%'
+      //   }
+      // },
 
 
       {
       {
         // 热点名字
         // 热点名字

+ 10 - 4
Code/src/pages/A1home/index.module.scss

@@ -76,10 +76,16 @@
           text-align: justify;
           text-align: justify;
           font-size: 12px;
           font-size: 12px;
           background-size: 100% 100%;
           background-size: 100% 100%;
-          padding: 8px 10px 2px;
-          p {
-            text-indent: 2em;
-            margin-bottom: 8px;
+          // padding: 8px 10px 2px;
+          // p {
+          //   text-indent: 2em;
+          //   margin-bottom: 8px;
+          // }
+
+          img {
+            pointer-events: none;
+            height: 170px;
+            object-fit: contain !important;
           }
           }
         }
         }
       }
       }

+ 3 - 2
Code/src/pages/A1home/index.tsx

@@ -131,9 +131,10 @@ function A1home() {
               </div>
               </div>
               <div
               <div
                 className='A1txt2'
                 className='A1txt2'
-                style={{ backgroundImage: `url(${baseURL + 'home/txtBg.png'})` }}
+                // style={{ backgroundImage: `url(${baseURL + 'home/txtBg.png'})` }}
               >
               >
-                <div dangerouslySetInnerHTML={{ __html: myData.home.text }}></div>
+                {/* <div dangerouslySetInnerHTML={{ __html: myData.home.text }}></div> */}
+                <img src={`${baseURL}home/txt.svg`} alt='' />
               </div>
               </div>
             </div>
             </div>
 
 

二進制
资源/staticData/Zhot/new04_24/an2.png


二進制
资源/staticData/Zhot/new04_24/daqu.png


二進制
资源/staticData/Zhot/new04_24/ding.png


二進制
资源/staticData/Zhot/new04_24/dou2.png


二進制
资源/staticData/Zhot/new04_24/erHuan2.png


二進制
资源/staticData/Zhot/new04_24/fang.png


二進制
资源/staticData/Zhot/new04_24/hezi2.png


二進制
资源/staticData/Zhot/new04_24/pan2.png


二進制
资源/staticData/Zhot/new04_24/panyi.png


二進制
资源/staticData/Zhot/new04_24/xing.png


File diff suppressed because it is too large
+ 11 - 0
资源/staticData/home/txt.svg