index.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <view class='list'>
  2. <text>企业名称</text>
  3. <view>
  4. <input value="{{ comName }}" placeholder="请填写所在企业的名称" maxlength='50' bindchange="changeComName" />
  5. </view>
  6. </view>
  7. <view class='list'>
  8. <text>工作岗位</text>
  9. <view>
  10. <input value="{{ jobName }}" placeholder="请填写工作岗位" maxlength='50' bindchange="changeJobName" />
  11. </view>
  12. </view>
  13. <view class='list'>
  14. <text>入职时间</text>
  15. <view>
  16. <picker bindchange="startDateChange" mode="date" value="{{startDate}}" fields="month" start="2015-09" end="{{startDateEnd}}">
  17. {{startDate}}
  18. </picker>
  19. </view>
  20. </view>
  21. <view class='list'>
  22. <text>离职时间</text>
  23. <view bindtap="showEndDate" class="endDate">
  24. {{endDate}}
  25. <!-- <picker bindchange="endDateChange" mode="date" value="{{endDate}}" fields="month" start="2015-09" end="{{endTime}}">
  26. </picker> -->
  27. </view>
  28. </view>
  29. <form bindsubmit="submit" report-submit='true' class="btn-group fixed-footer">
  30. <button class="distance selfBtn" form-type="submit">保存</button>
  31. </form>
  32. <view class="pick-view" bindtap="endDateCancel" hidden="{{pick_view}}">
  33. <view class="pick-view-header">
  34. <view style="color:#8e8e8e;" catchtap="endDateCancel">取消</view>
  35. <view style="color:#47b841" catchtap="endDateSure">确定</view>
  36. </view>
  37. <picker-view class="show-pick" style="width: 750rpx; height: 300px;" value="{{end_time}}" indicator-style="height: 50px;" style="width: 100%; height: 300px;position:absolute;bottom: 0;left: 0;background: #fff;" indicator-class='indicator-class' catchchange="endDateChange" bindpickend='touchEnd' bindpickstart='touchStart' catchtap="endDateTap">
  38. <picker-view-column style='background: #fff;'>
  39. <view wx:for="{{years}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}</view>
  40. </picker-view-column>
  41. <picker-view-column>
  42. <view wx:for="{{months}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}月</view>
  43. </picker-view-column>
  44. </picker-view>
  45. </view>