calendar.wxml 3.3 KB

1
  1. <view class="calendar"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="content" catchtap="__e"><view class="head_calendar"><view>取消</view><view class="card_tag"><block wx:for="{{tagData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getTab',['$0'],[[['tagData','',index]]]]]]]}}" class="{{['tab_item','center_in',current==item.type?'activate_tab':'']}}" bindtap="__e">{{item.title}}</view></block></view><view class="today_card"><block wx:if="{{current!='four'}}"><view class="today_box">今</view></block></view></view><block wx:if="{{current=='solar'}}"><view class="title"><view class="left">{{''+showData+''}}</view><view data-event-opts="{{[['tap',[['sure',['$event']]]]]}}" class="sure" bindtap="__e">确定</view></view></block><block wx:if="{{current!='four'}}"><view class="card_time_tag"><view class="time_tag">年</view><view class="time_tag">月</view><view class="time_tag">日</view><view class="time_tag">时</view><view class="time_tag">分</view></view></block><block wx:if="{{current!='four'}}"><picker-view indicator-style="{{indicatorStyle}}" value="{{selectValue}}" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{years}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item">{{item}}</view></block></picker-view-column><picker-view-column><block wx:for="{{months}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item">{{item}}</view></block></picker-view-column><picker-view-column><block wx:for="{{days}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item">{{item}}</view></block></picker-view-column><block wx:if="{{isHourShow}}"><picker-view-column><block wx:for="{{lunarHour}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item">{{''+(isActive?item.solar:item.label)+''}}</view></block></picker-view-column></block><block wx:if="{{isHourShow}}"><picker-view-column><block wx:for="{{minuteHour}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item">{{''+(isActive?item.solar:item.label)+''}}</view></block></picker-view-column></block></picker-view></block><block wx:if="{{current=='four'}}"><view class="card_time_tag"><view class="time_tag">年柱</view><view class="time_tag">月柱</view><view class="time_tag">日柱</view><view class="time_tag">时柱</view></view></block><block wx:if="{{current=='four'}}"><view class="card_four_box"><view class="card_prin"><block wx:for="{{$root.l0}}" wx:for-item="item1" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getCloudy',['$0',index],[[['principal','',index]]]]]]]}}" class="cipal_box_flex" bindtap="__e"><view class="{{['cipal_box',item1.m0?'activate_cipal':'']}}">{{item1.$orig+''}}</view></view></block></view><view class="range_hint">查找范围:1801-2099年</view></view></block><view class="saving_time"><label class="iconfont icon-yiwen _span"></label><label class="saving_title _span">夏令时</label><u-switch bind:input="__e" vue-id="3ef934f5-1" activeColor="#b2955d" inactiveColor="#e9e9eb" size="18" value="{{summer}}" data-event-opts="{{[['^input',[['__set_model',['','summer','$event',[]]]]]]}}" bind:__l="__l"></u-switch></view><view class="confirm_title">确定</view></view></view>