Forráskód Böngészése

修改修改底部备案信息

plg 1 hete
szülő
commit
c73063c861
2 módosított fájl, 37 hozzáadás és 2 törlés
  1. 35 0
      src/components/CpmdFooter.vue
  2. 2 2
      src/utils/http.ts

+ 35 - 0
src/components/CpmdFooter.vue

@@ -1,4 +1,19 @@
 <script lang="ts" setup>
+import { onMounted, ref } from 'vue'
+import { base_url } from '@/utils/http'
+
+const ipc = ref<any>()
+
+onMounted(() => {
+
+    if (base_url == 'http://123.57.18.29:8089') {
+        ipc.value = '粤ICP备2025386772号-2'
+    } else if (base_url == 'http://129.211.221.44:8089') {
+        ipc.value = '粤ICP备2025386772号-1'
+    }
+
+
+})
 </script>
 <template>
     <!-- 此处最大宽度是1200px -->
@@ -70,11 +85,31 @@
         <div class="home_footer_fo">
             <div class="home_footer_fo_des">隐私</div>
             <div class="home_footer_fo_des">使用条款</div>
+            <a class="home_footer_fo_des a_ba" href="https://beian.miit.gov.cn/#/Integrated/index">{{ ipc }}</a>
             <!-- <div class="home_footer_fo_des">北京丁香科技有限公司</div> -->
         </div>
+
+        <!-- <ul class="record">
+            <li>
+                <a target="_blank"
+                    href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11011402011379"><img
+                        src="../assets/beian.png" /><span class="ml10">京公网安备 11011402011379号</span></a>
+            </li>
+            <li>
+                <a href="https://beian.miit.gov.cn/#/Integrated/index">粤ICP备2025386772号-2</a>
+            </li>
+            <li>
+                <a href="javascript:;">Copyright© 北京决明科技有限公司</a>
+            </li>
+        </ul> -->
     </div>
 </template>
 <style lang="scss">
+.a_ba {
+    color: #ffffff;
+    text-decoration: none;
+}
+
 .home_footer_inner {
     padding: 30px 0px;
     background-color: #000000;

+ 2 - 2
src/utils/http.ts

@@ -25,12 +25,12 @@ const menuStatus = menuStatusStore()
 //30
 // const base_url = 'http://43.143.198.30:8089/'
 //红朵
-const base_url = 'http://129.211.221.44:8089'
+// const base_url = 'http://129.211.221.44:8089'
 
 //锦泓服务器
 // const base_url = 'http://146.56.226.174:8089'
 //新服务器
-// const base_url = 'http://123.57.18.29:8089'
+export const base_url = 'http://123.57.18.29:8089'
 
 
 //设置axios 默认访问路径