Browse Source

feat:小程序日历改成选中日期即可选择日期

master
zhaobing’ 1 year ago
parent
commit
60afa290a8
  1. 5
      weapp/package/subSystem/subSystem.wxml

5
weapp/package/subSystem/subSystem.wxml

@ -35,12 +35,13 @@
<view class="xunjian">巡检日历</view>
</view>
<image src="/images/shape2.png" class="imgStyle"></image>
<view class="yearMonth">
<view class="yearMonth" style="z-index: 1;">
<!-- <van-dropdown-menu active-color="#1989fa">
<van-dropdown-item title="{{ '日期' }}" bind:change="dateChange" value="{{ curSelect }}" options="{{ cList }}" />
</van-dropdown-menu> -->
<view class="fs-cell-content" style="width:100%;text-align:left" bindtap="datePickerPopup">
{{currentYear+'年'+currentMonth+'月'}}<van-icon name="arrow-down" style="float:right;position:relative; top:4px" />
{{currentYear+'年'+currentMonth+'月'}}
<van-icon name="arrow-down" style="float:right;position:relative; top:4px" />
</view>
<van-popup show="{{ datePickerShow }}" position="bottom" custom-style="height: 50%;" bind:close="closeDatePickerPopup">
<view style="display:flex;justify-content: space-between;padding:24rpx;font-size:larger;border-bottom:1px solid #f5f5f5">

Loading…
Cancel
Save