index.wxml 920 B

123456789101112131415161718192021222324252627
  1. <view style="width: 90%;height:640rpx;overflow:hidden;margin: 0 auto 40rpx;">
  2. <calendar
  3. id="calendar"
  4. config="{{calendarConfig}}"
  5. bind:onSwipe="onSwipe"
  6. bind:whenChangeWeek="whenChangeWeek"
  7. bind:whenChangeMonth="whenChangeMonth"
  8. bind:takeoverTap="takeoverTap"
  9. bind:afterTapDate="afterTapDate"
  10. bind:afterCalendarRender="afterCalendarRender"
  11. ></calendar>
  12. </view>
  13. <!-- <view class='b cc wrap btn-wrap'>
  14. <button
  15. class='b cc btn btn-{{item.color}} btn-action-{{item.action}}'
  16. wx:for="{{actionBtn}}"
  17. wx:key="action"
  18. data-action="{{item.action}}"
  19. data-disable="{{item.disable}}"
  20. bindtap="handleAction">{{item.text}}</button>
  21. </view> -->
  22. <!-- <view class="show-rst-wrap">
  23. <view wx:if="{{rst}}" wx:for="{{rst}}" wx:key="index" class="show-rst">{{item}}</view>
  24. <view wx:if="{{rstStr}}" wx:key="index" class="show-rst">{{rstStr}}</view>
  25. </view> -->