index.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <view class='list'>
  2. <text>公司名称</text>
  3. <view class="list-content">
  4. <input value="{{ comName }}" placeholder="请填写" maxlength='50' bindchange="changeComName" />
  5. </view>
  6. </view>
  7. <view class='list'>
  8. <text>工作岗位</text>
  9. <view class="list-content">
  10. <input value="{{ jobName }}" placeholder="请填写" maxlength='50' bindchange="changeJobName" />
  11. </view>
  12. </view>
  13. <view class='list'>
  14. <text>入职时间</text>
  15. <view class="list-content">
  16. <picker bindchange="startDateChange" mode="date" value="{{startDate}}" fields="month" start="2015-09" end="{{startDateEnd}}">
  17. {{startDate}}
  18. </picker>
  19. <image class='arrow' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
  20. </view>
  21. </view>
  22. <view class='list'>
  23. <text>离职时间</text>
  24. <view class="list-content">
  25. <view bindtap="showEndDate" class="endDate">
  26. {{endDate}}
  27. <!-- <picker bindchange="endDateChange" mode="date" value="{{endDate}}" fields="month" start="2015-09" end="{{endTime}}">
  28. </picker> -->
  29. </view>
  30. <image class='arrow' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
  31. </view>
  32. </view>
  33. <!-- <view class="delete" wx:if='{{show_delete}}' bindtap="delete">
  34. <icon type='cancel' color='#006BE7' size="35rpx"></icon>
  35. <text>删除工作经历</text>
  36. </view> -->
  37. <form bindsubmit="submit" report-submit='true' class="btn-group fixed-footer">
  38. <button class="distance selfBtn {{!disabled&&'disabled'}}" form-type="submit">保存</button>
  39. </form>
  40. <view class="pick-view" bindtap="endDateCancel" hidden="{{pick_view}}">
  41. <view class="pick-view-header">
  42. <view style="color:#0177FF;" catchtap="endDateCancel">取消</view>
  43. <view>离职时间</view>
  44. <view style="color:#0177FF" catchtap="endDateSure">确定</view>
  45. </view>
  46. <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">
  47. <picker-view-column style='background: #fff;'>
  48. <view wx:for="{{years}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}</view>
  49. </picker-view-column>
  50. <picker-view-column>
  51. <view wx:for="{{months}}" wx:key='index' style="line-height: 50px;text-align: center;background: #fff;">{{item}}月</view>
  52. </picker-view-column>
  53. </picker-view>
  54. </view>