picker.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * @Author : LQ
  3. * @Description :
  4. * @version : 1.0
  5. * @Date : 2021-08-20 16:44:21
  6. * @LastAuthor : LQ
  7. * @lastTime : 2021-08-20 17:18:20
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  9. */
  10. import { t } from '../../libs/i18n'
  11. export default {
  12. // picker
  13. picker: {
  14. show: false,
  15. popupMode: 'bottom',
  16. showToolbar: true,
  17. title: '',
  18. columns: [],
  19. loading: false,
  20. itemHeight: 44,
  21. cancelText: t("up.common.cancel"),
  22. confirmText: t("up.common.confirm"),
  23. cancelColor: '#909193',
  24. confirmColor: '',
  25. visibleItemCount: 5,
  26. keyName: 'text',
  27. valueName: 'value',
  28. closeOnClickOverlay: false,
  29. defaultIndex: [],
  30. immediateChange: true,
  31. zIndex: 10076,
  32. disabled: false,
  33. disabledColor: '',
  34. placeholder: t("up.common.pleaseChoose"),
  35. inputProps: {},
  36. bgColor: '',
  37. round: 0,
  38. duration: 300,
  39. overlayOpacity: 0.5,
  40. pageInline: false
  41. }
  42. }