ソースを参照

feat: 优化备案信息显示样式

SongZihuan 2 年 前
コミット
9a0b094c48
2 ファイル変更7 行追加3 行削除
  1. 4 2
      templates/base.html
  2. 3 1
      templates/index/hello.html

+ 4 - 2
templates/base.html

@@ -111,9 +111,11 @@
         <hr>
         {{ conf['FOOT'] }}
         {% if conf["ICP"] %}
-            <br> <a id="ICP" href="https://beian.miit.gov.cn"> {{ conf['ICP'] }} </a>
+            <br> <a id="ICP2" href="https://beian.miit.gov.cn" target="_blank"
+                style="display:inline-block;text-decoration:none;height:20px;line-height:20px;" >
+                {{ conf['ICP'] }} </a>
             {% if conf["GONG_AN"] %}
-                <br> <a id="GONG_AN" target="_blank"
+                <br> <a id="GONG_AN2" target="_blank"
                    href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011402000783"
                    style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
                     <img src="{{ url_for('static', filename='wangan.png') }}" style="float:left;"/>

+ 3 - 1
templates/index/hello.html

@@ -28,7 +28,9 @@
 {% block footer %}
     {% if conf["ICP"] %}
         <footer id="foot">
-            <a id="ICP" href="https://beian.miit.gov.cn"> {{ conf['ICP'] }} </a>
+            <a id="ICP" href="https://beian.miit.gov.cn" target="_blank"
+                style="display:inline-block;text-decoration:none;height:20px;line-height:20px;" >
+                {{ conf['ICP'] }} </a>
             {% if conf["GONG_AN"] %}
                 <br> <a id="GONG_AN" target="_blank"
                    href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011402000783"