bayi 1 year ago
parent
commit
8e1bc3052c

+ 5 - 5
components/invite/index.js

@@ -8,11 +8,11 @@ Component({
     data: {
         current: 1
     },
-    lifetimes: {
-        attached() {
-            this.openInvite()
-        }
-    },
+    // lifetimes: {
+    //     attached() {
+    //         this.openInvite()
+    //     }
+    // },
     methods: {
         openInvite() {
             this.selectComponent("#popUp").showModal()

+ 9 - 9
pages/index/index.json

@@ -1,11 +1,11 @@
 {
-  "usingComponents": {
-    "navigationBar": "/components/navigationBar/index",
-    "banner": "/components/banner/index",
-    "worksList": "/components/worksList/index",
-    "activityList": "/components/activityList/index",
-    "authority": "/components/authority/index"
-  },
-  "navigationStyle": "custom",
-  "enablePullDownRefresh": false
+    "usingComponents": {
+        "navigationBar": "/components/navigationBar/index",
+        "banner": "/components/banner/index",
+        "worksList": "/components/worksList/index",
+        "activityList": "/components/activityList/index",
+        "authority": "/components/authority/index"
+    },
+    "navigationStyle": "custom",
+    "enablePullDownRefresh": false
 }

+ 1 - 0
salesperson/pages/history/index.json

@@ -3,5 +3,6 @@
         "emptyBg": "/components/empty/index",
         "InvitePop": "/components/invite/index"
     },
+    "disableScroll": true,
     "navigationBarTitleText": "我的邀请"
 }

+ 2 - 1
salesperson/pages/history/index.less

@@ -28,7 +28,8 @@
         top: 0;
         left: 0;
         height: 100vh;
-        padding: 250rpx 14rpx 130rpx;
+        padding: 250rpx 14rpx 0rpx;
+        padding-bottom: calc(136rpx + env(safe-area-inset-bottom)) !important;
         box-sizing: border-box;
         z-index: -1;
 

+ 2 - 1
salesperson/pages/history/index.wxss

@@ -25,7 +25,8 @@
   top: 0;
   left: 0;
   height: 100vh;
-  padding: 250rpx 14rpx 130rpx;
+  padding: 250rpx 14rpx 0rpx;
+  padding-bottom: calc(136rpx + env(safe-area-inset-bottom)) !important;
   box-sizing: border-box;
   z-index: -1;
 }

+ 1 - 0
salesperson/pages/lxDetail/index.json

@@ -2,5 +2,6 @@
     "usingComponents": {
         "emptyBg": "/components/empty/index"
     },
+    "disableScroll": true,
     "navigationBarTitleText": "收益报表"
 }

+ 2 - 1
salesperson/pages/saleOffice/index.json

@@ -1,6 +1,7 @@
 {
     "usingComponents": {
-        "InvitePop":"/components/invite/index"
+        "InvitePop": "/components/invite/index"
     },
+    "disableScroll": true,
     "navigationBarTitleText": "推荐中心"
 }