Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7c51b76d
authored
Oct 11, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
fca2c231
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
23 deletions
packageEquity/pages/freecard/freecard.scss
packageEquity/pages/freecard/freecard.wxml
packageEquity/pages/freecard/freecard.scss
View file @
7c51b76
...
@@ -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
;
...
...
packageEquity/pages/freecard/freecard.wxml
View file @
7c51b76
<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 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>
</view>
</scroll-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>
<glsx-privacy appletName="业主甄选"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment