抖音c端
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.

2 jaren geleden
1234567891011121314151617181920212223242526272829303132333435
  1. const app = getApp()
  2. const navigationBarHeight = (getApp().statusBarHeight + 50) + "px"
  3. const util = require("../../utils/util.js");
  4. Page({
  5. data: {
  6. navigationBarHeight,
  7. dateVale: '1988-03-12',
  8. dateEnd:'',
  9. flag:1,
  10. items: [
  11. { name: 1, value: '男', checked: false },
  12. { name: 2, value: '女', checked: false },
  13. ],
  14. },
  15. bindDateChange(e) {
  16. this.setData({
  17. dateVale: e.detail.value,
  18. flag:2
  19. })
  20. },
  21. radioChange: function (e) {
  22. this.setData({
  23. sex: e.detail.value,
  24. flagsex: 1
  25. })
  26. },
  27. onLoad: function (options) {
  28. let tmpeDateEnd = util.formatTime(new Date(), "yyyy-MM-dd")
  29. let that = this;
  30. that.setData({
  31. dateEnd: tmpeDateEnd,
  32. })
  33. }
  34. })