瀏覽代碼

网站icon改为从本地去拿

任一存 2 年之前
父節點
當前提交
494d0022d0
共有 4 個文件被更改,包括 5 次插入4 次删除
  1. 2 2
      index.html
  2. 1 1
      src/data.js
  3. 2 1
      src/output.js
  4. 二進制
      static/favicon.png

+ 2 - 2
index.html

@@ -6,8 +6,8 @@
     <meta name="force-rendering" content="webkit"/>
     <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
-    <link rel="apple-touch-icon" sizes="180x180" href="http://4d-tjw.oss-cn-shenzhen.aliyuncs.com/images/favicon.png">
-    <link rel="icon" type="image/png" href="http://4d-tjw.oss-cn-shenzhen.aliyuncs.com/images/favicon.png" sizes="192x192">
+    <link rel="apple-touch-icon" sizes="180x180" href="./static/favicon.png">
+    <link rel="icon" type="image/png" href="./static/favicon.png" sizes="192x192">
     <title>珠海高新区-不可移动文物一张图</title>
   </head>
   <body>

+ 1 - 1
src/data.js

@@ -2145,7 +2145,7 @@ let tititi = {}
 
 Object.keys(data).forEach(item => {
   let ele = data[item]
-  // http://www.4dage.com/tech/#/external/https:%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm=474/0
+  // .../tech/#/external/https:%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm=474/0
   if (ele.link) {
     tititi[ele.name] = `http://www.4dage.com/tech/#/external/${encodeURIComponent(ele.link)}/${item}`
   }

+ 2 - 1
src/output.js

@@ -1,3 +1,4 @@
+// 这啥玩意儿?并不会用到
 {
   "北沙启明门": "http://www.4dage.com/tech/#/external/https%3A%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm%3D474/0",
   "省愚卢公祠": "http://www.4dage.com/tech/#/external/https%3A%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm%3D472/2",
@@ -94,4 +95,4 @@
   "太史第(唐宝锷故居)": "http://www.4dage.com/tech/#/external/https%3A%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm%3D459/110",
   "陆文广宅": "http://www.4dage.com/tech/#/external/https%3A%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm%3D477/114",
   "东岸北溪庙": "http://www.4dage.com/tech/#/external/https%3A%2F%2Fwww.4dmodel.com%2FSuperTwo%2Findex.html%3Fm%3D1040/115"
-}
+}

二進制
static/favicon.png