Commit 588b02342cd08ff0f262cfa4b0ecd1a0dba4a7df

Authored by taiyuan
1 parent 04bf170a

预约底部按钮

packageA/pages/my_service2/appment_main.wxml
1 <wxs module="filters" src="../../../utils/filter.wxs"></wxs> 1 <wxs module="filters" src="../../../utils/filter.wxs"></wxs>
2 <wxs module="fil" src="g_filter.wxs"></wxs> 2 <wxs module="fil" src="g_filter.wxs"></wxs>
3 3
4 -<view class="btn-container"> 4 +<!-- <view class="btn-container">
5 <navigator class="btn" url="/pages/user/my_service/tment_order_list"> 5 <navigator class="btn" url="/pages/user/my_service/tment_order_list">
6 <view>我的预约</view> 6 <view>我的预约</view>
7 </navigator> 7 </navigator>
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <view>提交预约</view> 10 <view>提交预约</view>
11 </button> 11 </button>
12 </form> 12 </form>
13 - </view> 13 + </view> -->
14 14
15 <view class="card" bindlongtap="getcopy"> 15 <view class="card" bindlongtap="getcopy">
16 <view class="t-c c-c7"> 16 <view class="t-c c-c7">
@@ -25,8 +25,8 @@ @@ -25,8 +25,8 @@
25 </view> 25 </view>
26 26
27 <image class="main" src="{{iurl}}/miniapp/images/yyservice/main.png"></image> 27 <image class="main" src="{{iurl}}/miniapp/images/yyservice/main.png"></image>
28 -<!-- Fram -->  
29 -<view class=""> 28 +
  29 +<view class="pdb100">
30 <!-- 选择门店 --> 30 <!-- 选择门店 -->
31 <view class="flex-vertical pdv20 jc-center"> 31 <view class="flex-vertical pdv20 jc-center">
32 <!-- 门店 --> 32 <!-- 门店 -->
@@ -138,17 +138,19 @@ @@ -138,17 +138,19 @@
138 <view>注:剩余可预约人数{{tment_count}}人</view> 138 <view>注:剩余可预约人数{{tment_count}}人</view>
139 </view> --> 139 </view> -->
140 140
141 - <!-- <view class="submitMax flex-space-center fs32"> -->  
142 - <!-- <navigator class="appment flex-center" url="/pages/user/my_service/tment_order_list">  
143 - <view>我的预约</view>  
144 - </navigator> -->  
145 - <!-- <form report-submit='true' bindtap="sub_success">  
146 - <button form-type="submit" class="sub_appment flex-center">帮你预约</button>  
147 - </form> -->  
148 - <!-- </view> --> 141 +
149 </view> 142 </view>
150 </view> 143 </view>
151 144
  145 +<view class="btn-box fs32">
  146 + <navigator class="appment flex-center" url="/pages/user/my_service/tment_order_list">
  147 + <view>我的预约</view>
  148 + </navigator>
  149 + <form report-submit='true' bindtap="sub_success">
  150 + <button form-type="submit" class="sub_appment flex-center">帮你预约</button>
  151 + </form>
  152 +</view>
  153 +
152 154
153 <!-- 门店列表显示 --> 155 <!-- 门店列表显示 -->
154 <view wx:if="{{store}}" class="storeList fixed"> 156 <view wx:if="{{store}}" class="storeList fixed">
packageA/pages/my_service2/appment_main.wxss
@@ -425,5 +425,21 @@ button { @@ -425,5 +425,21 @@ button {
425 .close_this{ position: absolute; width: 40rpx; display: flex;right: 0; top: 0; border-radius: 50%; 425 .close_this{ position: absolute; width: 40rpx; display: flex;right: 0; top: 0; border-radius: 50%;
426 justify-content: center;align-items: center; 426 justify-content: center;align-items: center;
427 height: 40rpx; border: 1rpx solid #adadad; } 427 height: 40rpx; border: 1rpx solid #adadad; }
  428 +
  429 +
  430 +.btn-box {
  431 + background-color: white;
  432 + position: fixed;
  433 + bottom: 0;
  434 + width: 100%;
  435 + display: flex;
  436 + justify-content: space-around;
  437 + padding: 20rpx 0;
  438 + box-shadow: 1px 0px 6px #aaa;
  439 +}
  440 +
  441 +.pdb100 {
  442 + padding-bottom: 100rpx;
  443 +}
428 444
429 445