21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
<!--packageH/turmaroundTime/timeMonthYear/monthYear.wxml-->
|
|
<!-- 日历 月和年-->
|
|
<van-popup show="{{monthYearShow}}" position="top" round bind:close="closeMonthYearShow">
|
|
<view class="{monthYearBox">
|
|
<view class="title">{{navTaps == 3?'选择年份':'选择月份'}}</view>
|
|
<view class="title">
|
|
<van-icon name="arrow-left" catchtap="monthYearLeft" size='15' />
|
|
{{selectMonth}}
|
|
<van-icon name="arrow" catchtap="monthYearRight" size='15' />
|
|
</view>
|
|
<view class="arrItem" style="{{navTaps == 3?'justify-content: center':''}}">
|
|
<view wx:for="{{monthArr}}" wx:key="index" wx:if="{{navTaps == 2}}"
|
|
class="{{index == monthIndex?'monthClassSelectOn':'monthClassSelect'}}" catchtap="selectItem"
|
|
data-item="{{index}}">{{item}}</view>
|
|
<view wx:for="{{arr}}" wx:key="index" wx:if="{{navTaps == 3}}"
|
|
class="{{item == monthIndex?'monthClassSelectOn':'monthClassSelect'}}" catchtap="selectItemYear"
|
|
data-item="{{index}}">{{item}}</view>
|
|
</view>
|
|
<view catchtap="monthYearShowConfirm" class="monthYearBtn">确定</view>
|
|
</view>
|
|
</van-popup> |