update 优惠券修改
parent
dc55deda6f
commit
7c106ff3bc
|
|
@ -50,7 +50,15 @@ function SpCoupon (props) {
|
|||
'background-size': '100% 100%'
|
||||
})}>
|
||||
<View className="coupons-list-item-left">
|
||||
<View className='coupons-list-item-money'><Text className='coupons-list-item-unit'>¥</Text><Text className="coupons-list-item-num">{reduceCost || 0}</Text></View>
|
||||
<View className='coupons-list-item-money'>
|
||||
{cardType === 'cash' &&
|
||||
<><Text className='coupons-list-item-unit'>¥</Text><Text className="coupons-list-item-num">{reduceCost || 0}</Text></>
|
||||
}
|
||||
{cardType === 'discount' && <>
|
||||
<Text className="coupons-list-item-num">{discount || 0}</Text>
|
||||
<Text className='coupons-list-item-unit'>折</Text>
|
||||
</>}
|
||||
</View>
|
||||
<View className="coupons-list-item-desc">满{leastCost}可用</View>
|
||||
</View>
|
||||
<View className="coupons-list-item-right">
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@ page {
|
|||
align-items: center;
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
transition: all 0.3s ease-in-out;
|
||||
.icon-my {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ function CouponCenter (props) {
|
|||
end_date: 1,
|
||||
card_id,
|
||||
distributor_id,
|
||||
item_id: item_id || itemid
|
||||
item_id: item_id || itemid,
|
||||
receive: true
|
||||
}
|
||||
const {
|
||||
list,
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ function CouponIndex () {
|
|||
status: '1',
|
||||
page: pageIndex,
|
||||
pageSize,
|
||||
card_type: couponType,
|
||||
// card_type: couponType,
|
||||
scope_type: 'all'
|
||||
}
|
||||
const { list, total_count: total } = await api.member.getUserCardList(params)
|
||||
|
|
|
|||
Loading…
Reference in New Issue