Commit 46437ef1 by 匡雅琴

样式调整

1 parent e55bbdde
......@@ -30,6 +30,16 @@ Page({
this.handleFreeCard(bingInfo)
}
},
navbarReady(e) {
let {
height
} = e.detail
this.setData({
user_box_style: `padding-top:${height + 15}px`
})
},
onShow() {
let authComponent = this.selectComponent('#authorize')
if (authComponent) authComponent.check()
......
......@@ -6,8 +6,8 @@
background: #ffffff;
}
.save-money-box {
padding-top: 84px;
// .save-money-box {
// padding-top: 120rpx;
.save-money-box-content {
padding: 30rpx;
......@@ -68,7 +68,7 @@
align-items: flex-end;
}
}
}
// }
.flex {
display: flex;
......
<view class="navigation-bar">
<navigation-bar bindnavbarReady="navbarReady" page-title="省钱专区">省钱专区</navigation-bar>
</view>
<view class="save-money-box">
<view class="save-money-box-content" hover-class="none" hover-stop-propagation="false">
<!-- <view class="save-money-box"> -->
<view class="save-money-box-content" style="{{user_box_style}}">
<glsx-image webp src="home/homelife_bg.png" class="save-money-img"></glsx-image>
<view class="save-money-order-box">
<glsx-image webp src="savemoney/save_order.png" class="save-money-order-img"></glsx-image>
......@@ -39,6 +39,6 @@
</view>
</view>
</view>
</view>
<!-- </view> -->
<authorize id="authorize" scopeType="userLocation" isShowCheck="{{false}}" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<!-- <glsx-privacy appletName="业主甄选"></glsx-privacy> -->
\ No newline at end of file
......@@ -20,7 +20,7 @@ Page({
height
} = e.detail
this.setData({
user_box_style: `padding-top:${height + 20}px`
user_box_style: `padding-top:${height + 15}px`
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!