modal.js 978 B

123456789101112131415161718192021222324252627282930313233343536
  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:15:59
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  9. */
  10. import { t } from '../../libs/i18n'
  11. export default {
  12. // modal 组件
  13. modal: {
  14. show: false,
  15. title: '',
  16. content: '',
  17. confirmText: t("up.common.confirm"),
  18. cancelText: t("up.common.cancel"),
  19. showConfirmButton: true,
  20. showCancelButton: false,
  21. confirmColor: '#2979ff',
  22. cancelColor: '#606266',
  23. buttonReverse: false,
  24. zoom: true,
  25. asyncClose: false,
  26. closeOnClickOverlay: false,
  27. negativeTop: 0,
  28. width: '650rpx',
  29. confirmButtonShape: '',
  30. duration: 400,
  31. contentTextAlign: 'left',
  32. asyncCloseTip: t("up.common.inOperatio") + '...',
  33. asyncCancelClose: false,
  34. contentStyle: {}
  35. }
  36. }