Commit e26dd0db93d381308bc67192d8f77fb56856812c

Authored by vking
1 parent 3262acf2

pay

@@ -20,7 +20,12 @@ @@ -20,7 +20,12 @@
20 </view> 20 </view>
21 </view> 21 </view>
22 </checkbox-group> 22 </checkbox-group>
23 - <view class="checkout-get" bindtap="checkoutInit">获取消费金额</view> 23 + <view class="checkout-get" bindtap="checkoutInit">
  24 + <view class="checkout-button">
  25 + 获取消费金额
  26 + <view class="checkout-button-money-tips" wx:if="{{user.price>0}}">{{user.price}}元红包待用</view>
  27 + </view>
  28 + </view>
24 </block> 29 </block>
25 <block wx:elif="{{checkout.status==1}}"> 30 <block wx:elif="{{checkout.status==1}}">
26 <view class="content checkout" wx:if="{{checkout.is_pack==1 || checkout.is_wine==1}}"> 31 <view class="content checkout" wx:if="{{checkout.is_pack==1 || checkout.is_wine==1}}">
@@ -55,6 +55,12 @@ page{ @@ -55,6 +55,12 @@ page{
55 background:rgba(36,35,32,1); 55 background:rgba(36,35,32,1);
56 text-align: center; 56 text-align: center;
57 } 57 }
  58 +.checkout-button{
  59 + width: 100%;
  60 + height: 80rpx;
  61 + line-height: 80rpx;
  62 + position: relative;
  63 +}
58 .checkout-get.subscribe{ 64 .checkout-get.subscribe{
59 bottom: 178rpx; 65 bottom: 178rpx;
60 } 66 }
@@ -129,4 +135,20 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked{ @@ -129,4 +135,20 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked{
129 } 135 }
130 checkbox .wx-checkbox-input.wx-checkbox-input-checked:before{ 136 checkbox .wx-checkbox-input.wx-checkbox-input-checked:before{
131 content: ""; 137 content: "";
  138 +}
  139 +
  140 +.checkout-button-money-tips{
  141 + width:184rpx;
  142 + height:34rpx;
  143 + background:rgba(240,85,34,1);
  144 + border-radius:16rpx 16rpx 16rpx 0rpx;
  145 +
  146 + font-size:20rpx;
  147 + font-weight:500;
  148 + color:rgba(255,255,255,1);
  149 + line-height:34rpx;
  150 +
  151 + position: absolute;
  152 + top:-28rpx;
  153 + right:40rpx;
132 } 154 }