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 d488c077
authored
Aug 28, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
f166c481
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
packageMall/components/CouponGoods/CouponGoods.wxml
packageMall/components/CouponGoods/CouponGoods.wxss
packageMall/components/CouponGoods/CouponGoods.wxml
View file @
d488c07
...
...
@@ -18,13 +18,9 @@
<view class="title_text">{{item.couponName}}</view>
<view class="h4_text" wx:if="{{item.useBarriers == 1}}">无限制</view>
<view class="h4_text" wx:if="{{item.useBarriers == 2}}">满减</view>
<!-- 未领取,effectiveType == 1,就显示effectiveDays有效,effectiveType == 2 显示时间段,effectiveType == 3 无限制 -->
<view class="h4_text drive" wx:if="{{item.couponStatus == 0&&item.effectiveType == 1}}">领取后{{item.effectiveDays}}天内有效</view>
<view class="h4_text drive" wx:if="{{item.couponStatus == 0&&item.effectiveType == 2}}">{{item.effectiveStartTime}}-{{item.effectiveEndTime}}</view>
<view class="h4_text drive" wx:if="{{item.couponStatus == 0&&item.effectiveType == 3}}">无期限</view>
<!-- 已领取,effectiveType == 1 或者2,都显示时间段,effectiveType == 3 无限制 -->
<view class="h4_text drive" wx:if="{{item.
couponStatus == 1&&item.effectiveType == 1||item.couponStatus == 1&&item.effectiveType == 2 }}">{{item.effectiveStartTime}}-{{item.effect
iveEndTime}}</view>
<view class="h4_text drive" wx:if="{{item.
couponStatus == 1&&item.
effectiveType == 3}}">无期限</view>
<view class="h4_text drive" wx:if="{{item.
effectiveType == 1||item.effectiveType == 2 }}">{{item.receiveStartTime}}-{{item.rece
iveEndTime}}</view>
<view class="h4_text drive" wx:if="{{item.effectiveType == 3}}">无期限</view>
</view>
<block wx:if="{{order == 0}}">
<!-- <view class="box_btn box_btn_color box_btn_color_grey" bindtap="toDetail" wx:if="{{item.couponStatus == 0&&item.residueAmount >0}}" data-item="{{item}}" bindtap="getCoupon">领取</view>
...
...
packageMall/components/CouponGoods/CouponGoods.wxss
View file @
d488c07
...
...
@@ -11,7 +11,7 @@
display: flex;
align-items: center;
position: relative;
margin: 24rpx;
margin: 24rpx
auto
;
}
.gray {
...
...
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