作者 王旭宇

4545

@@ -1762,6 +1762,8 @@ padding-left: 30rpx @@ -1762,6 +1762,8 @@ padding-left: 30rpx
1762 top:250rpx; 1762 top:250rpx;
1763 left: 0; 1763 left: 0;
1764 z-index: 999; 1764 z-index: 999;
  1765 + padding-bottom: 100rpx;
  1766 + box-sizing: border-box
1765 } 1767 }
1766 .swiperswiper{ 1768 .swiperswiper{
1767 height: 120rpx; 1769 height: 120rpx;
@@ -9,18 +9,18 @@ @@ -9,18 +9,18 @@
9 <view class='content_item'> 9 <view class='content_item'>
10 <view class='item_list'> 10 <view class='item_list'>
11 <!-- <view class='expected_time' bindtap='chooseTime' wx:if='{{is_group==0}}'> --> 11 <!-- <view class='expected_time' bindtap='chooseTime' wx:if='{{is_group==0}}'> -->
12 - <view class='expected_time' wx:if='{{is_group==0}}' bindtap='changeTime'>  
13 - <picker mode="multiSelector" class='flex_box' bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">  
14 - <view class='zhanman'>  
15 - <view class='iconfont icon-time'></view>  
16 - <text class='hint' wx:if='{{timeflag}}'>选择时间</text>  
17 - <text class='hint' wx:else>{{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}</text> 12 + <picker mode="multiSelector" wx:if='{{is_group==0}}' class='flex_box' bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
  13 +<view class="picker_class">
  14 +<view class='zhanman'>
  15 +<view class='iconfont icon-time'></view>
  16 +<text class='hint' wx:if='{{timeflag}}'>选择时间</text>
  17 +<text class='hint' wx:else>{{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}</text>
18 18
19 - <view class='centers'>送达</view>  
20 - <view class='iconfont icon-jinru add_left'></view>  
21 - </view>  
22 - </picker>  
23 - </view> 19 +<view class='centers'>送达</view>
  20 +</view>
  21 +<view class='iconfont icon-jinru add_left'></view>
  22 +</view>
  23 +</picker>
24 <!-- <view class='expected_time' bindtap='chooseTime' wx:else> --> 24 <!-- <view class='expected_time' bindtap='chooseTime' wx:else> -->
25 <view class='expected_time' wx:else> 25 <view class='expected_time' wx:else>
26 <view class='iconfont icon-time'></view> 26 <view class='iconfont icon-time'></view>
@@ -140,7 +140,7 @@ @@ -140,7 +140,7 @@
140 </view> 140 </view>
141 <!-- 选取优惠券弹框 --> 141 <!-- 选取优惠券弹框 -->
142 <view class='chooseCoupon' wx:if='{{couponFlag}}'> 142 <view class='chooseCoupon' wx:if='{{couponFlag}}'>
143 -<view class='banner'> 143 + <view class='banner'>
144 <view class='iconfont icon-fanhui' bindtap='get_myss'> </view> 144 <view class='iconfont icon-fanhui' bindtap='get_myss'> </view>
145 <view class='coupons'>我的优惠券</view> 145 <view class='coupons'>我的优惠券</view>
146 </view> 146 </view>
@@ -16,17 +16,25 @@ box-sizing: border-box; @@ -16,17 +16,25 @@ box-sizing: border-box;
16 .pages.activity{ 16 .pages.activity{
17 overflow: hidden 17 overflow: hidden
18 } 18 }
  19 +.flex_box {
  20 +width: 100%;
  21 +}
  22 +
  23 +.picker_class {
  24 +width: 100%;
  25 +display: flex;
  26 +justify-content: space-between;
  27 +align-items: center;
  28 +box-sizing: border-box;
  29 +position: relative;
  30 +}
19 .scroll{ 31 .scroll{
20 width: 100%; 32 width: 100%;
21 /* height: calc(100% - 600rpx); */ 33 /* height: calc(100% - 600rpx); */
22 /* padding-bottom:120rpx; */ 34 /* padding-bottom:120rpx; */
23 /* box-sizing: border-box */ 35 /* box-sizing: border-box */
24 } 36 }
25 -.flex_box{  
26 - /* background: red; */  
27 - width: 100%;  
28 - display: flex  
29 -} 37 +
30 .user_guide{ 38 .user_guide{
31 font-size: 28rpx; 39 font-size: 28rpx;
32 color: #222; 40 color: #222;
@@ -101,7 +109,7 @@ box-sizing: border-box; @@ -101,7 +109,7 @@ box-sizing: border-box;
101 font-weight:500; 109 font-weight:500;
102 line-height:42rpx; 110 line-height:42rpx;
103 text-shadow:0px 10rpx 10rpx rgba(0, 0, 0, 0.05); 111 text-shadow:0px 10rpx 10rpx rgba(0, 0, 0, 0.05);
104 - position: relative 112 + position: relative;
105 } 113 }
106 114
107 .shipping_information { 115 .shipping_information {
@@ -111,15 +119,17 @@ box-sizing: border-box; @@ -111,15 +119,17 @@ box-sizing: border-box;
111 .hint { 119 .hint {
112 margin-right: 18rpx; 120 margin-right: 18rpx;
113 color:rgba(255,68,68,1); 121 color:rgba(255,68,68,1);
114 - float: left; 122 + /* float: left; */
  123 + display: inline-block
115 } 124 }
116 .zhanman{ 125 .zhanman{
117 - width: 100%; 126 + /* width: 100%; */
118 height: 100%; 127 height: 100%;
119 - /* background: pink */ 128 + flex: 1;
120 } 129 }
121 .centers{ 130 .centers{
122 - float: left; 131 + /* float: left; */
  132 + display: inline-block;
123 color:rgba(34,34,34,1); 133 color:rgba(34,34,34,1);
124 padding-right:16rpx; 134 padding-right:16rpx;
125 box-sizing: border-box; 135 box-sizing: border-box;
@@ -141,6 +151,8 @@ box-sizing: border-box; @@ -141,6 +151,8 @@ box-sizing: border-box;
141 .add_left{ 151 .add_left{
142 position: absolute; 152 position: absolute;
143 right: 0rpx; 153 right: 0rpx;
  154 + top: 50%;
  155 + transform: translateY(-50%)
144 } 156 }
145 157
146 .icon-time,.icon-position{ 158 .icon-time,.icon-position{