Commit e86d76c0f5cb43be2e3050616a464b32f9817acb

Authored by wangfan
1 parent fc05c6d5

fixbug 日历点击

@@ -133,6 +133,7 @@ Page({ @@ -133,6 +133,7 @@ Page({
133 [changeBg]: "#84e7d0" 133 [changeBg]: "#84e7d0"
134 }) 134 })
135 this.getbooklist(); 135 this.getbooklist();
  136 + this.calendarClose();
136 }, 137 },
137 calendarClose(){ 138 calendarClose(){
138 this.setData({ 139 this.setData({
@@ -54,8 +54,8 @@ @@ -54,8 +54,8 @@
54 <tabBar></tabBar> 54 <tabBar></tabBar>
55 55
56 <view class="calendar-mask" 56 <view class="calendar-mask"
57 - bindtap="calendarClose"  
58 style="left:{{calendarMask?0:-5000}}px;" wx:if="{{calendarMaskLoad}}"> 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" 59 <calendar weeks-type="cn"
60 year="{{showyear}}" 60 year="{{showyear}}"
61 month="{{showmonth}}" 61 month="{{showmonth}}"