Showing
4 changed files
with
31 additions
and
34 deletions
| @@ -167,18 +167,16 @@ | @@ -167,18 +167,16 @@ | ||
| 167 | </view> | 167 | </view> |
| 168 | </view> | 168 | </view> |
| 169 | <tabBar></tabBar> | 169 | <tabBar></tabBar> |
| 170 | -<view class="calendar-mask" | ||
| 171 | - style="left:{{calendarMask?0:-5000}}px;" wx:if="{{calendarMaskLoad}}"> | ||
| 172 | - <view bindtap="calendarClose" style="width: 100%; height: 100%;"></view> | ||
| 173 | -<calendar weeks-type="cn" | ||
| 174 | - year="2018" | ||
| 175 | - month="9" | ||
| 176 | - day="27" | ||
| 177 | - start-date="2018-09" | ||
| 178 | - days-color="{{dayStyle}}" | ||
| 179 | - binddayClick="dateChange" | ||
| 180 | - active-type="rounded" | ||
| 181 | - calendar-style="calendar" | ||
| 182 | - header-style="calendar-header" | ||
| 183 | - board-style="calendar-board"></calendar> | 170 | +<view class="calendar-mask" bindtap="calendarClose" |
| 171 | + style="height:{{calendarMask?'100%':0}};" wx:if="{{calendarMaskLoad}}"> | ||
| 172 | + <view style="width: 100%; height:{{calendarMask?'100%':0}};overflow: hidden;position: relative;"> | ||
| 173 | + <calendar weeks-type="cn" catchtap="catchtap" | ||
| 174 | + start-date="2018-09" | ||
| 175 | + days-color="{{dayStyle}}" | ||
| 176 | + binddayClick="dateChange" | ||
| 177 | + active-type="rounded" | ||
| 178 | + calendar-style="calendar" | ||
| 179 | + header-style="calendar-header" | ||
| 180 | + board-style="calendar-board"></calendar> | ||
| 181 | + </view> | ||
| 184 | </view> | 182 | </view> |
| @@ -207,7 +207,7 @@ | @@ -207,7 +207,7 @@ | ||
| 207 | .calendar { | 207 | .calendar { |
| 208 | background-color: #eeedff; | 208 | background-color: #eeedff; |
| 209 | padding-top: 10px; | 209 | padding-top: 10px; |
| 210 | - position: fixed; | 210 | + position: absolute; |
| 211 | bottom: 0; | 211 | bottom: 0; |
| 212 | width: 100%; | 212 | width: 100%; |
| 213 | } | 213 | } |
| @@ -31,10 +31,11 @@ | @@ -31,10 +31,11 @@ | ||
| 31 | <nothingBook height="{{listHeight}}"></nothingBook> | 31 | <nothingBook height="{{listHeight}}"></nothingBook> |
| 32 | </block> | 32 | </block> |
| 33 | <block wx:else> | 33 | <block wx:else> |
| 34 | + <view class="book-list-cut flex-ll font26r black-font"> | ||
| 35 | + <text>已定 {{bookList.length}}</text> | ||
| 36 | + </view> | ||
| 34 | <view bindcsroll="onPullDownRefresh" class="bg_white"> | 37 | <view bindcsroll="onPullDownRefresh" class="bg_white"> |
| 35 | - <view class="book-list-cut flex-ll font26r black-font"> | ||
| 36 | - <text>已定 {{bookList.length}}</text> | ||
| 37 | - </view> | 38 | + |
| 38 | <view class="book-list-thead flex-lr font34r black-font"> | 39 | <view class="book-list-thead flex-lr font34r black-font"> |
| 39 | <view>桌号</view> | 40 | <view>桌号</view> |
| 40 | <view class="flex-cc">预定人</view> | 41 | <view class="flex-cc">预定人</view> |
| @@ -53,18 +54,16 @@ | @@ -53,18 +54,16 @@ | ||
| 53 | </block> | 54 | </block> |
| 54 | <tabBar></tabBar> | 55 | <tabBar></tabBar> |
| 55 | 56 | ||
| 56 | -<view class="calendar-mask" | ||
| 57 | - style="left:{{calendarMask?0:-5000}}px;" wx:if="{{calendarMaskLoad}}"> | ||
| 58 | - <view bindtap="calendarClose" style="width: 100%; height: 100%;"></view> | ||
| 59 | -<calendar weeks-type="cn" | ||
| 60 | - year="{{showyear}}" | ||
| 61 | - month="{{showmonth}}" | ||
| 62 | - day="{{showday}}" | ||
| 63 | - start-date="2018-09" | ||
| 64 | - days-color="{{dayStyle}}" | ||
| 65 | - binddayClick="dateChange" | ||
| 66 | - active-type="rounded" | ||
| 67 | - calendar-style="calendar" | ||
| 68 | - header-style="calendar-header" | ||
| 69 | - board-style="calendar-board"></calendar> | 57 | +<view class="calendar-mask" bindtap="calendarClose" |
| 58 | + style="height:{{calendarMask?'100%':0}};" wx:if="{{calendarMaskLoad}}"> | ||
| 59 | + <view style="width: 100%; height:{{calendarMask?'100%':0}};overflow: hidden;position: relative;"> | ||
| 60 | + <calendar weeks-type="cn" catchtap="catchtap" | ||
| 61 | + start-date="2018-09" | ||
| 62 | + days-color="{{dayStyle}}" | ||
| 63 | + binddayClick="dateChange" | ||
| 64 | + active-type="rounded" | ||
| 65 | + calendar-style="calendar" | ||
| 66 | + header-style="calendar-header" | ||
| 67 | + board-style="calendar-board"></calendar> | ||
| 68 | + </view> | ||
| 70 | </view> | 69 | </view> |
| @@ -46,7 +46,6 @@ page{ | @@ -46,7 +46,6 @@ page{ | ||
| 46 | box-sizing:border-box; | 46 | box-sizing:border-box; |
| 47 | } | 47 | } |
| 48 | .book-list-cut{ | 48 | .book-list-cut{ |
| 49 | - width:100%; | ||
| 50 | height:66rpx; | 49 | height:66rpx; |
| 51 | background:#F5F5F5; | 50 | background:#F5F5F5; |
| 52 | padding-left:44rpx; | 51 | padding-left:44rpx; |
| @@ -106,9 +105,10 @@ page{ | @@ -106,9 +105,10 @@ page{ | ||
| 106 | .calendar { | 105 | .calendar { |
| 107 | background-color: #eeedff; | 106 | background-color: #eeedff; |
| 108 | padding-top: 10px; | 107 | padding-top: 10px; |
| 109 | - position: fixed; | 108 | + position: absolute; |
| 110 | bottom: 0; | 109 | bottom: 0; |
| 111 | width: 100%; | 110 | width: 100%; |
| 111 | + z-index: 999; | ||
| 112 | } | 112 | } |
| 113 | .calendar-header{ | 113 | .calendar-header{ |
| 114 | font-size: large; /*修改了标题文字和按钮的大小*/ | 114 | font-size: large; /*修改了标题文字和按钮的大小*/ |
-
Please register or login to post a comment