shaogen1995 1 settimana fa
parent
commit
2b0eeb364a

+ 5 - 1
code/public/myData/base.js

@@ -1,4 +1,4 @@
-const baseUrl1 = 'http://192.168.20.55:8080/staticData/'
+const baseUrl1 = 'http://192.168.20.55:8081/staticData/'
 
 const baseUrl2 = 'https://houseoss.4dkankan.com/project/daYunHeShiKe/staticData/'
 
@@ -1020,6 +1020,10 @@ const myDataTemp = {
           `
         }
       ]
+    },
+    thanks: {
+      title: '鸣谢',
+      txt: '  部分图像资料承蒙南京市文化遗产保护研究所、南京市江宁区文化旅游局、南京市栖霞区文化旅游局、丹阳市文体广电和旅游局、句容市博物馆惠允提供。谨此致谢南京城墙博物馆王腾及“华夏古迹图”全国文物古迹大数据平台创始人邵世海、镇江博物馆闫龙惠允提供相关历史照片。'
     }
   }
 }

+ 25 - 1
code/src/pages/A2main/index.module.scss

@@ -770,9 +770,23 @@
         }
       }
 
+      .A2thanks {
+        text-align: justify;
+        margin: 130px auto 50px;
+        width: 1413px;
+        color: #FCF7ED;
+        font-size: 24px;
+        line-height: 36px;
+
+        .A2thanks1 {
+          font-size: 30px;
+          margin-bottom: 15px;
+        }
+      }
+
       .A2logo {
         display: block;
-        margin: 289px auto 0;
+        margin: 0 auto;
         width: 226px;
         height: 42px;
       }
@@ -886,6 +900,16 @@
         }
       }
 
+      .A2thanks {
+        margin: 120px auto 30px;
+        font-size: 28px;
+        line-height: 38px;
+
+        .A2thanks1 {
+          font-size: 34px;
+        }
+      }
+
       .A2logo {
         width: 300px;
         height: auto;

+ 8 - 1
code/src/pages/A2main/index.tsx

@@ -15,7 +15,6 @@ import 'swiper/css/effect-creative'
 import { isMobiileFu } from '@/utils/history'
 import A7duiHua from '../A7duiHua'
 import { CloseOutlined } from '@ant-design/icons'
-import Ztop from '@/components/Ztop'
 
 function A2main() {
   // 从首页进来才需要平滑滚动
@@ -370,6 +369,14 @@ function A2main() {
           ></div>
         </div>
 
+        <div className='A2thanks'>
+          <div className='A2thanks1'>{myData.main.thanks.title}</div>
+          <div
+            className='A2thanks2'
+            dangerouslySetInnerHTML={{ __html: myData.main.thanks.txt }}
+          ></div>
+        </div>
+
         <img className='A2logo' src={`${baseUrl}main/logo.png`} alt='' />
         {/* end */}
       </div>

+ 4 - 0
code/src/types/api/layot.d.ts

@@ -80,5 +80,9 @@ export type MyDataType = {
       endTxt: string
       page: duiHuaPageType[]
     }
+    thanks: {
+      title: string
+      txt: string
+    }
   }
 }