Browse Source

fix 小程序-计划开始/结束时间只需要到年月日

master
巴林闲侠 2 years ago
parent
commit
02627e5f97
  1. 4
      weapp/package/troubleshooting/index.wxml
  2. 4
      weapp/package/troubleshooting/shootingForm/index.wxml

4
weapp/package/troubleshooting/index.wxml

@ -42,9 +42,9 @@
</van-dropdown-item> </van-dropdown-item>
<van-dropdown-item title="{{ '时间' }}" bind:close="onDropDownClose"> <van-dropdown-item title="{{ '时间' }}" bind:close="onDropDownClose">
<view style="max-height:60%; display:flex" class="time-option"> <view style="max-height:60%; display:flex" class="time-option">
<van-datetime-picker type="datetime" show-toolbar="{{false}}" type="date" value="{{ startTime }}" bind:input="onStartTimeChange" min-date="{{1640966400000}}"/> <van-datetime-picker show-toolbar="{{false}}" type="date" value="{{ startTime }}" bind:input="onStartTimeChange" min-date="{{1640966400000}}"/>
<view style="display:flex; align-items:center">至</view> <view style="display:flex; align-items:center">至</view>
<van-datetime-picker type="datetime" show-toolbar="{{false}}" type="date" value="{{ endTime }}" bind:input="onEndTimeChange" min-date="{{1640966400000}}"/> <van-datetime-picker show-toolbar="{{false}}" type="date" value="{{ endTime }}" bind:input="onEndTimeChange" min-date="{{1640966400000}}"/>
</view> </view>
</van-dropdown-item> </van-dropdown-item>
</van-dropdown-menu> </van-dropdown-menu>

4
weapp/package/troubleshooting/shootingForm/index.wxml

@ -75,7 +75,7 @@
确定 确定
</view> </view>
</view> </view>
<van-datetime-picker type="datetime" value="{{ planStartTime }}" min-date="{{1640966400000}}" bind:input="onPlanStartTimeChange" show-toolbar="{{false}}" /> <van-datetime-picker type="date" value="{{ planStartTime }}" min-date="{{1640966400000}}" bind:input="onPlanStartTimeChange" show-toolbar="{{false}}" />
</van-popup> </van-popup>
</view> </view>
</van-cell> </van-cell>
@ -93,7 +93,7 @@
确定 确定
</view> </view>
</view> </view>
<van-datetime-picker type="datetime" value="{{ planEndTime }}" min-date="{{1640966400000}}" bind:input="onPlanEndTimeChange" show-toolbar="{{false}}" /> <van-datetime-picker type="date" value="{{ planEndTime }}" min-date="{{1640966400000}}" bind:input="onPlanEndTimeChange" show-toolbar="{{false}}" />
</van-popup> </van-popup>
</view> </view>
</van-cell> </van-cell>

Loading…
Cancel
Save