Commit 49e3e2bbb2a1cc929693964a246a4ae203a60901

Authored by vking
1 parent f214b6fc

商家红包活动

@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 </view> 35 </view>
36 </view> 36 </view>
37 <view class="toast flex-vc" wx:if="{{red_envelopes_price>0}}"> 37 <view class="toast flex-vc" wx:if="{{red_envelopes_price>0}}">
38 - <view>恭喜您获得<text>{{red_envelopes_price}}元红包</text></view> 38 + <view style="text-align: center;">恭喜您获得<text>{{red_envelopes_price}}元红包</text></view>
39 </view> 39 </view>
40 <view class="tips reserve-detail" wx:if="{{money>0 && red_envelopes_price==0}}"> 40 <view class="tips reserve-detail" wx:if="{{money>0 && red_envelopes_price==0}}">
41 <view class="msg"> 41 <view class="msg">
@@ -122,8 +122,8 @@ @@ -122,8 +122,8 @@
122 } 122 }
123 123
124 .toast{ 124 .toast{
  125 + min-height:80rpx;
125 width:380rpx; 126 width:380rpx;
126 - height:80rpx;  
127 background:rgba(53,53,53,0.8); 127 background:rgba(53,53,53,0.8);
128 border-radius:20rpx; 128 border-radius:20rpx;
129 129
@@ -135,6 +135,8 @@ @@ -135,6 +135,8 @@
135 position: fixed; 135 position: fixed;
136 top:60%; 136 top:60%;
137 left:calc(50% - 190rpx); 137 left:calc(50% - 190rpx);
  138 + padding: 10rpx 20rpx;
  139 + box-sizing: border-box;
138 } 140 }
139 .toast text{ 141 .toast text{
140 color:#FEDE68; 142 color:#FEDE68;