From 9fd5dafacc57ace85ff558865f7f9054d3d5b343 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Tue, 30 Aug 2022 09:40:50 +0800
Subject: [PATCH] 注册协议

---
 src/views/homeIndex/home-index.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue
index 4d1fd11..60922b6 100644
--- a/src/views/homeIndex/home-index.vue
+++ b/src/views/homeIndex/home-index.vue
@@ -2,7 +2,7 @@
  * @Author: 小明丶
  * @Date: 2020-05-20 20:29:47
  * @LastEditors: zxq
- * @LastEditTime: 2022-08-04 14:55:01
+ * @LastEditTime: 2022-08-18 08:54:17
  * @Description:
 -->
 <template>
@@ -19,10 +19,10 @@
       <div class="btn-box">
         <button @click="goOrderHandling">办理分期</button>
       </div>
-      <div class="text-box">
-        <!-- <p>客服电话:028-86043722</p> -->
+      <!-- <div class="text-box">
+        <p>客服电话:028-86043722</p>
         <p>联系邮箱:kefu@finlean.com</p>
-      </div>
+      </div> -->
     </div>
     <van-dialog v-model="show" title="错误提示">
       <div class="dialog-box">
@@ -153,12 +153,12 @@
         if (window.android && window.android.fetchQrCode) {
           window.android.fetchQrCode();
         } else {
-          console.log(wx)
           wx.scanQRCode({
             needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
             scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
             success: function(res) {
               var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
+              console.log(result);
               _this.str = res.resultStr;
               _this.$router.push({
                 path: "/order-handling",
@@ -178,14 +178,14 @@
 .home-index-page {
   & {
     background: #fff;
-    height: 100vh;
+    height:calc(100vh - 52px);
   }
   .top-bg-box{
     &{
       width: 100%;
-      height: 100vh;
-      background: url('../../../static/img/homeBack.png');
-      background-size: cover;
+      height:calc(100vh - 52px);
+      background: url('../../../static/img/homeBack.jpg');
+      background-size: 100% 100%;
       position: relative;
     }
     .btn-box{

--
Gitblit v1.8.0