You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

form-date.wxml 1.3KB

1 year ago
12345678910111213141516171819202122232425
  1. <!-- <wux-date-picker mode="{{mode}}" value="{{ date_value }}" data-index="2" data-mode="date" bind:confirm="onConfirm">
  2. <wux-cell wx:if="{{activeMode}}" hover-class="none" wux-class="wux-cell-class-1">
  3. <view wx:if="{{activeMode}}" class="view-input">
  4. <text wx:if="{{child_value}}">{{child_value}}</text>
  5. <text wx:else style="color: #999999;">{{placeholder}}</text>
  6. </view>
  7. </wux-cell>
  8. <wux-cell wx:else hover-class="none" wux-class="wux-cell-class">
  9. <wux-input label="{{label}}" placeholder="{{placeholder}}" requiredMark="{{requiredMark}}" value="{{child_value}}" labelWrap controlled readOnly />
  10. </wux-cell>
  11. </wux-date-picker> -->
  12. <picker mode="date" value="{{date}}" start="{{curDate}}" end="2099-09-01" bindchange="bindDateChange">
  13. <view-flex wx:if="{{activeMode}}" justify="space-between" align="center">
  14. <input class="view-input" placeholder="请在此选择您的出生日期" value="{{date}}" disabled/>
  15. </view-flex>
  16. <view-flex wx:else styleCss="{{styleCss}}" justify="space-between" align="center">
  17. <view class="form-label">{{label}}</view>
  18. <view-flex class="form-value" justify="flex-end">
  19. <input style="width: 550rpx;text-align: right;" value="{{date}}" placeholder="请选择{{label}}" disabled />
  20. </view-flex>
  21. </view-flex>
  22. </picker>