lang.js 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = void 0;
  4. /**
  5. * Sku only provide zh-CN lang by default
  6. */
  7. var _default = {
  8. 'zh-CN': {
  9. vanSku: {
  10. select: '请选择',
  11. selected: '已选',
  12. selectSku: '请先选择商品规格',
  13. soldout: '库存不足',
  14. originPrice: '原价',
  15. minusTip: '至少选择一件',
  16. minusStartTip: function minusStartTip(start) {
  17. return start + "\u4EF6\u8D77\u552E";
  18. },
  19. unavailable: '商品已经无法购买啦',
  20. stock: '剩余',
  21. stockUnit: '件',
  22. quotaTip: function quotaTip(quota) {
  23. return "\u6BCF\u4EBA\u9650\u8D2D" + quota + "\u4EF6";
  24. },
  25. quotaUsedTip: function quotaUsedTip(quota, count) {
  26. return "\u6BCF\u4EBA\u9650\u8D2D" + quota + "\u4EF6\uFF0C\u4F60\u5DF2\u8D2D\u4E70" + count + "\u4EF6";
  27. }
  28. },
  29. vanSkuActions: {
  30. buy: '立即购买',
  31. addCart: '加入购物车'
  32. },
  33. vanSkuImgUploader: {
  34. oversize: function oversize(maxSize) {
  35. return "\u6700\u5927\u53EF\u4E0A\u4F20\u56FE\u7247\u4E3A" + maxSize + "MB\uFF0C\u8BF7\u5C1D\u8BD5\u538B\u7F29\u56FE\u7247\u5C3A\u5BF8";
  36. },
  37. fail: '上传失败',
  38. uploading: '上传中...'
  39. },
  40. vanSkuStepper: {
  41. quotaLimit: function quotaLimit(quota) {
  42. return "\u9650\u8D2D" + quota + "\u4EF6";
  43. },
  44. quotaStart: function quotaStart(start) {
  45. return start + "\u4EF6\u8D77\u552E";
  46. },
  47. comma: ',',
  48. num: '购买数量'
  49. },
  50. vanSkuMessages: {
  51. fill: '请填写',
  52. upload: '请上传',
  53. imageLabel: '仅限一张',
  54. invalid: {
  55. tel: '请填写正确的数字格式留言',
  56. mobile: '手机号长度为6-20位数字',
  57. email: '请填写正确的邮箱',
  58. id_no: '请填写正确的身份证号码'
  59. },
  60. placeholder: {
  61. id_no: '请填写身份证号',
  62. text: '请填写留言',
  63. tel: '请填写数字',
  64. email: '请填写邮箱',
  65. date: '请选择日期',
  66. time: '请选择时间',
  67. textarea: '请填写留言',
  68. mobile: '请填写手机号'
  69. }
  70. },
  71. vanSkuRow: {
  72. multiple: '可多选'
  73. },
  74. vanSkuDatetimeField: {
  75. title: {
  76. date: '选择年月日',
  77. time: '选择时间',
  78. datetime: '选择日期时间'
  79. },
  80. format: {
  81. year: '年',
  82. month: '月',
  83. day: '日',
  84. hour: '时',
  85. minute: '分'
  86. }
  87. }
  88. }
  89. };
  90. exports.default = _default;