Commit 7c51b76d by chenwq

样式

1 parent fca2c231
...@@ -10,20 +10,19 @@ ...@@ -10,20 +10,19 @@
width: 100%; width: 100%;
height: 488rpx; height: 488rpx;
} }
.img-card {
position: absolute;
bottom: 0;
left: 4%;
width: 630rpx;
// height: 288rpx;
height: 80%;
}
} }
.box { .box {
box-sizing: border-box; box-sizing: border-box;
.img-box {
text-align: center;
}
.img-card {
width: 630rpx;
height: 288rpx;
}
.card-free { .card-free {
width: 100vw; width: 100vw;
height: 654rpx; height: 654rpx;
...@@ -38,10 +37,16 @@ ...@@ -38,10 +37,16 @@
height: 202rpx; height: 202rpx;
} }
} }
.equity-box:last-child {
padding-bottom: 140rpx;
}
} }
.card-btn { .card-btn {
position: relative; position: absolute;
bottom: 0;
left: 0;
box-sizing: border-box; box-sizing: border-box;
width: 100vw; width: 100vw;
padding: 20rpx 32rpx; padding: 20rpx 32rpx;
...@@ -71,6 +76,7 @@ ...@@ -71,6 +76,7 @@
border-radius: 48rpx; border-radius: 48rpx;
color: #fff; color: #fff;
} }
.h-20 { .h-20 {
width: 100%; width: 100%;
height: 20rpx; height: 20rpx;
......
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" showBack="{{true}}" navTitleStyle="{{navTitleStyle}}" page-title="领取会员卡">领取会员卡</navigation-bar> <navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" showBack="{{true}}" navTitleStyle="{{navTitleStyle}}" page-title="领取会员卡">领取会员卡</navigation-bar>
<view class="bg-iamge" style="height: calc({{statusBarHeight + navigationBarHeight + 110}}px);"> <view class="bg-iamge" style="height: calc({{statusBarHeight + navigationBarHeight}}px);">
<glsx-image src="equity/bg-card.png" class="image-class" /> <glsx-image src="equity/bg-card.png" class="image-class" />
<glsx-image src="equity/card.png" class="img-card" />
</view> </view>
<scroll-view class="box" scroll-y style="margin-top:calc({{statusBarHeight + navigationBarHeight + 110}}px);" refresher-enabled="{{false}}"> <scroll-view class="box" scroll-y style="margin-top:calc({{statusBarHeight + navigationBarHeight}}px);" refresher-enabled="{{false}}">
<view style="height: calc(100vh - {{statusBarHeight + navigationBarHeight + 110}}px);"> <view style="height: calc(100vh - {{statusBarHeight + navigationBarHeight}}px);">
<view class="img-box">
<glsx-image src="equity/card.png" class="img-card" />
</view>
<glsx-image class="card-free" src="equity/card-free.png" /> <glsx-image class="card-free" src="equity/card-free.png" />
<view class="equity-box" wx:for="{{imgList}}" wx:key="index"> <view class="equity-box" wx:for="{{imgList}}" wx:key="index">
<glsx-image class="img-equity" src="equity/card-{{index}}.png" /> <glsx-image class="img-equity" src="equity/card-{{index}}.png" />
</view> </view>
<view class="card-btn isFullSucreen"> </view>
</scroll-view>
<view class="card-btn isFullSucreen">
<view class="tips">限时领红包</view> <view class="tips">限时领红包</view>
<button wx:if="{{authStatus}}" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="text-center btn-defalut">登陆</button> <button wx:if="{{authStatus}}" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="text-center btn-defalut">登陆</button>
<button wx:elif="{{!hasUserInfo}}" catchtap="jumpAuthUserInfo" class="text-center btn-defalut">头像昵称</button> <button wx:elif="{{!hasUserInfo}}" catchtap="jumpAuthUserInfo" class="text-center btn-defalut">头像昵称</button>
...@@ -17,7 +21,5 @@ ...@@ -17,7 +21,5 @@
<view class="btn-defalut" bindtap="toCheckMember">免费领取</view> <view class="btn-defalut" bindtap="toCheckMember">免费领取</view>
</view> </view>
<view class="h-20"></view> <view class="h-20"></view>
</view> </view>
</view>
</scroll-view>
<glsx-privacy appletName="业主甄选"></glsx-privacy> <glsx-privacy appletName="业主甄选"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!