Ver código fonte

调整分销加入页面样式

bayi 1 ano atrás
pai
commit
bc6d63315f

+ 0 - 9
salesperson/pages/sale/index.js

@@ -1,16 +1,7 @@
-const app = getApp()
-
 Page({
     data: {
-        menuTop: app.globalData.menuTop,
     },
     onLoad(options) {
- 
-    },
-    black() {
-        wx.switchTab({
-            url: '/pages/my/index'
-        })
     },
     jump({
         currentTarget

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

@@ -1,4 +1,3 @@
 {
-    "usingComponents": {},
-    "navigationStyle": "custom"
+    "usingComponents": {}
 }

+ 1 - 8
salesperson/pages/sale/index.less

@@ -7,14 +7,6 @@
     background-size: 100%;
     background-color: #FDA118;
 
-    .black {
-        padding: 10rpx 30rpx;
-        transform: rotate(180deg);
-        width: 18rpx;
-        height: 36rpx;
-        opacity: 0.8;
-    }
-
     .rule {
         display: flex;
         align-items: center;
@@ -53,6 +45,7 @@
             margin: 0 auto;
             width: 466rpx;
             padding: 14rpx 0;
+            margin-bottom: env(safe-area-inset-bottom) !important;
             background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
             border-radius: 39rpx;
             color: white;

+ 0 - 1
salesperson/pages/sale/index.wxml

@@ -1,5 +1,4 @@
 <view class="container">
-    <image src="/static/black.png" style="margin-top:{{menuTop}}px;" class='black' bindtap="black"/>
     <view class="rule" bindtap="jump" data-url="commission">佣金规则
         <image src="../../image/blueR.png" class='blueR' />
     </view>

+ 1 - 7
salesperson/pages/sale/index.wxss

@@ -7,13 +7,6 @@
   background-size: 100%;
   background-color: #FDA118;
 }
-.container .black {
-  padding: 10rpx 30rpx;
-  transform: rotate(180deg);
-  width: 18rpx;
-  height: 36rpx;
-  opacity: 0.8;
-}
 .container .rule {
   display: flex;
   align-items: center;
@@ -49,6 +42,7 @@
   margin: 0 auto;
   width: 466rpx;
   padding: 14rpx 0;
+  margin-bottom: env(safe-area-inset-bottom) !important;
   background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
   border-radius: 39rpx;
   color: white;