Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
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 fef29f69
authored
Oct 07, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.18.0' into 'master'
合并会员套餐支持限购 See merge request
!5
2 parents
1f36f884
3ea9c08d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
packageEquity/pages/package/package.scss
packageEquity/pages/package/package.wxml
packageEquity/pages/package/package.scss
View file @
fef29f6
...
...
@@ -19,8 +19,15 @@
align-items
:
center
;
font-size
:
36rpx
;
color
:
#fff
;
position
:
relative
;
}
.limit-number
{
font-size
:
24rpx
;
color
:
#999999
;
position
:
absolute
;
bottom
:
20rpx
;
right
:
24rpx
;
}
.title_widget
{
width
:
100%
;
color
:
#282829
;
...
...
@@ -116,7 +123,9 @@
font-size
:
28rpx
;
color
:
#FFFFFF
;
}
.dis
{
background
:
#CCCCCC
;
}
.grey-btn
{
background
:
#ccc
;
}
...
...
packageEquity/pages/package/package.wxml
View file @
fef29f6
<view class="package-container">
<view class="top_wrapper">{{packageInfo.packageName }}</view>
<view class="top_wrapper">{{packageInfo.packageName }}
<view class="limit-number" wx:if="{{packageInfo.limitPurchaseFlag == 2}}">限购{{packageInfo.limitPurchaseNumber}}次</view>
</view>
<view class="title_widget">
现在购买尊享
<text class="title_num">{{packageInfo.count }}项</text>
...
...
@@ -47,9 +49,12 @@
<!-- <block wx:if="{{showAuthBtn}}">
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="auth-button"></button>
</block> -->
<view wx:if="{{packageInfo.isPayFlag || showAuthBtn}}" class="button-item" bind:tap="toCreatePackageNum">
限时特价仅需¥{{packageInfo.packagePrice }},点击购买
</view>
<block wx:if="{{packageInfo.isPayFlag || showAuthBtn}}">
<view class="button-item dis" wx:if="{{packageInfo.limitPurchaseFlag==2&&packageInfo.purchaseNumber >= packageInfo.limitPurchaseNumber}}">已达套餐购买次数上限</view>
<view class="button-item" wx:else bind:tap="toCreatePackageNum">
限时特价仅需¥{{packageInfo.packagePrice }},点击购买
</view>
</block>
<view wx:if="{{!packageInfo.isPayFlag&&!showAuthBtn}}" class="button-item grey-btn">非指定用户不可购买</view>
</view>
</view>
\ 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