Commit 7c51b76d by chenwq

样式

1 parent fca2c231
......@@ -10,20 +10,19 @@
width: 100%;
height: 488rpx;
}
.img-card {
position: absolute;
bottom: 0;
left: 4%;
width: 630rpx;
// height: 288rpx;
height: 80%;
}
}
.box {
box-sizing: border-box;
.img-box {
text-align: center;
}
.img-card {
width: 630rpx;
height: 288rpx;
}
.card-free {
width: 100vw;
height: 654rpx;
......@@ -38,10 +37,16 @@
height: 202rpx;
}
}
.equity-box:last-child {
padding-bottom: 140rpx;
}
}
.card-btn {
position: relative;
position: absolute;
bottom: 0;
left: 0;
box-sizing: border-box;
width: 100vw;
padding: 20rpx 32rpx;
......@@ -71,6 +76,7 @@
border-radius: 48rpx;
color: #fff;
}
.h-20 {
width: 100%;
height: 20rpx;
......
<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/card.png" class="img-card" />
</view>
<scroll-view class="box" scroll-y style="margin-top:calc({{statusBarHeight + navigationBarHeight + 110}}px);" refresher-enabled="{{false}}">
<view style="height: calc(100vh - {{statusBarHeight + navigationBarHeight + 110}}px);">
<scroll-view class="box" scroll-y style="margin-top:calc({{statusBarHeight + navigationBarHeight}}px);" refresher-enabled="{{false}}">
<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" />
<view class="equity-box" wx:for="{{imgList}}" wx:key="index">
<glsx-image class="img-equity" src="equity/card-{{index}}.png" />
</view>
<view class="card-btn isFullSucreen">
<view class="tips">限时领红包</view>
<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>
<view wx:else>
<view class="btn-defalut" bindtap="toCheckMember">免费领取</view>
</view>
<view class="h-20"></view>
</view>
</view>
</scroll-view>
<view class="card-btn isFullSucreen">
<view class="tips">限时领红包</view>
<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>
<view wx:else>
<view class="btn-defalut" bindtap="toCheckMember">免费领取</view>
</view>
<view class="h-20"></view>
</view>
<glsx-privacy appletName="业主甄选"></glsx-privacy>
\ 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!