weixin_52219567 há 1 semana atrás
pai
commit
e09e6d64c7

+ 51 - 5
src/layout/components/foot.vue

@@ -6,11 +6,11 @@
           <img class="head-img" src="@/assets/images/head.png" alt="" />
           <div class="flex-row-start">
             <div class="head-code flex-column-center">
-              <img src="@/assets/images/code.png" alt="" />
+              <img :src="wechatLink" alt="" />
               <div>关注公众号</div>
             </div>
             <div class="head-code flex-column-center" style="margin-left: 16px">
-              <img src="@/assets/images/code.png" alt="" />
+              <img :src="weiboLink" alt="" />
               <div>关注微博</div>
             </div>
           </div>
@@ -35,7 +35,7 @@
           </div>
           <div class="contact">
             <span>联系我们</span>
-            <span>400-111-0027</span>
+            <span>{{ servicePhone }}</span>
             <span>(周一至周五 8:30-17:30)</span>
           </div>
           <div class="logistics">
@@ -55,11 +55,57 @@
         </div>
       </div>
     </div>
-    <div class="foot-foot">ICP备案号: 哪ICP备06016915号-1增值电信业务经营许可证编号:鄂B2-20170182</div>
+    <div class="foot-foot">{{ icpNo }}增值电信业务经营许可证编号:{{ license }}</div>
   </div>
 </template>
 
-<script setup lang="ts"></script>
+<script setup lang="ts">
+import { getPlatformConfigList } from '@/api/breg/index';
+const icpNo = ref<any>('');
+const license = ref<any>('');
+const wechatLink = ref<any>('');
+const weiboLink = ref<any>('');
+const servicePhone = ref<any>('');
+getPlatformConfigList({ configKey: 'icpNo' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      icpNo.value = res.rows[0].value;
+    }
+  }
+});
+
+getPlatformConfigList({ configKey: 'license' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      license.value = res.rows[0].value;
+    }
+  }
+});
+
+getPlatformConfigList({ configKey: 'wechatLink' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      wechatLink.value = res.rows[0].value;
+    }
+  }
+});
+
+getPlatformConfigList({ configKey: 'weiboLink' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      weiboLink.value = res.rows[0].value;
+    }
+  }
+});
+
+getPlatformConfigList({ configKey: 'servicePhone' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      servicePhone.value = res.rows[0].value;
+    }
+  }
+});
+</script>
 
 <style lang="scss" scoped>
 .foot {

+ 10 - 1
src/views/breg/index.vue

@@ -93,7 +93,7 @@
       <template v-if="nextNum == 4">
         <div class="register-success flex-column-center">
           <img src="@/assets/images/breg.png" alt="" />
-          <div class="success-text">您的账户还在审核中,如有疑问,请致电400-111-0027</div>
+          <div class="success-text">您的账户还在审核中,如有疑问,请致电{{ servicePhone }}</div>
           <el-button @click="goLogin" type="primary">返回登录</el-button>
         </div>
       </template>
@@ -150,6 +150,7 @@ const countdown = ref<number>(0);
 const timer = ref<any>(null);
 const enterprise = ref<any>({});
 const loading = ref(false);
+const servicePhone = ref<any>('');
 const form = ref<any>({
   purchaseName: '',
   purchasePhone: '',
@@ -169,6 +170,14 @@ getPlatformConfigList({ configKey: 'customerLoginAgreement' }).then((res) => {
   }
 });
 
+getPlatformConfigList({ configKey: 'servicePhone' }).then((res) => {
+  if (res.code == 200) {
+    if (res.rows && res.rows.length > 0) {
+      servicePhone.value = res.rows[0].value;
+    }
+  }
+});
+
 // 启动倒计时
 const startCountdown = () => {
   countdown.value = 60;

Diff do ficheiro suprimidas por serem muito extensas
+ 4 - 4
src/views/greg/index.vue


Diff do ficheiro suprimidas por serem muito extensas
+ 3 - 4
src/views/reg/index.vue


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff