Browse Source

change: 新增页脚信息.

peter 4 months ago
parent
commit
73be22643d
1 changed files with 7 additions and 39 deletions
  1. 7 39
      components/PcFooter.vue

+ 7 - 39
components/PcFooter.vue

@@ -132,28 +132,7 @@
     </div>
     <div class="footer-bottom">
       <div class="footer-bottom-item com-width-1400 com-margin-auto">
-        <div class="footer-bottom-item-left">
-          <!-- <a href="https://www.facebook.com/PromoCollection/">
-            <img
-              src="@/assets/img/Shape 4.png"
-              alt="" />
-          </a>
-          <a href="https://twitter.com/Promocollection/">
-            <img
-              src="@/assets/img/Shape 5.png"
-              alt="" />
-          </a>
-          <a href="https://www.youtube.com/channel/UCXHWdW0Khk-TNxjObLqi7Yg">
-            <img
-              src="@/assets/img/Shape 7.png"
-              alt="" />
-          </a>
-          <a href="https://www.instagram.com/promocollectionau/">
-            <img
-              src="@/assets/img/Shape 21.png"
-              alt="" />
-          </a> -->
-        </div>
+        <div class="footer-bottom-item-left">{{ footerInfo }}</div>
         <div class="footer-bottom-item-right">
           {{ indexConfigWebsite.version_info }}
         </div>
@@ -183,7 +162,8 @@ export default {
       scroll: 0,
       xxContentVisible: false,
       xxDesc: '',
-      websitelogo: ''
+      websitelogo: '',
+      footerInfo: '',
     }
   },
   async fetch() {
@@ -220,6 +200,7 @@ export default {
         ? this.$OSS_PREFIX +
           (/^\/.+/.test(res.logo) ? res.logo : `/${res.logo}`)
         : res.logo
+      this.footerInfo = res.footer || ''
     })
   },
   methods: {
@@ -472,22 +453,9 @@ footer {
       display: flex;
       justify-content: space-between;
       align-items: center;
-      .footer-bottom-item-left {
-        margin-left: 50px;
-        a {
-          cursor: pointer;
-          img {
-            width: 19px;
-            height: 20px;
-            margin-left: 24px;
-          }
-        }
-      }
-      .footer-bottom-item-right {
-        font-size: 12px;
-        font-weight: 400;
-        color: #4a596c;
-      }
+      font-size: 12px;
+      font-weight: 400;
+      color: #4a596c;
     }
   }
 }