From c1fdd4cd63f2b70ca04e5af4321a38228b877850 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Mon, 28 Nov 2022 10:36:58 +0800
Subject: [PATCH] projID

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

diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue
index 20c978a..585bd17 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-05 15:19:44
+ * @LastEditTime: 2022-11-28 10:36:22
  * @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">
@@ -52,7 +52,9 @@
     // 判断微信接口是否支持
     wx.checkJsApi({
       jsApiList: ["checkJsApi", "scanQRCode"], // 需要检测的JS接口列表
-      success: function(res) {}
+      success: function(res) {
+        console.log(res)
+      }
     });
 
   },
@@ -70,7 +72,7 @@
      * **/
     orderCreateStep() {
       this.$api.orderCreateStep().then(res => {
-        localStorage.setItem('projId',res.body.projId);
+        localStorage.setItem('projId',res.body.projId?res.body.projId:100000);
         // res.body.createStep = 4;
         if (res.body.createStep == 0) {
           //调用摄像头
@@ -178,13 +180,13 @@
 .home-index-page {
   & {
     background: #fff;
-    height: 100vh;
+    height:calc(100vh - 52px);
   }
   .top-bg-box{
     &{
       width: 100%;
-      height: 100vh;
-      background: url('../../../static/img/homeBack.png');
+      height:calc(100vh - 52px);
+      background: url('../../../static/img/homeBack.jpg');
       background-size: 100% 100%;
       position: relative;
     }

--
Gitblit v1.8.0