@@ -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,4 +1,3 @@
{
- "usingComponents": {},
- "navigationStyle": "custom"
+ "usingComponents": {}
}
@@ -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;
@@ -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>
@@ -7,13 +7,6 @@
-.container .black {
-}
.container .rule {
@@ -49,6 +42,7 @@