ソースを参照

dev: 调整文件打包路径,使其符合按需引入标准

Roxas 4 年 前
コミット
4318b65078
共有70 個のファイルを変更した178 個の追加200 個の削除を含む
  1. 0
    0
      eslib/BraftEditor/index.js
  2. 0
    0
      eslib/BraftEditor/index.js.map
  3. 2
    2
      eslib/ConsumeListView/index.js
  4. 1
    0
      eslib/ConsumeListView/index.js.map
  5. 3
    3
      eslib/Editor/index.js
  6. 2
    2
      eslib/PayPlatformOptions/index.js
  7. 1
    0
      eslib/PayPlatformOptions/index.js.map
  8. 0
    1
      eslib/Payment-Common-common-ConsumeListView/index.js.map
  9. 0
    1
      eslib/Payment-Common-common-PayPlatformOptions/index.js.map
  10. 0
    59
      eslib/Payment-Common-common-PriceOptions/index.js
  11. 0
    1
      eslib/Payment-Common-common-PriceOptions/index.js.map
  12. 0
    1
      eslib/Payment-Common-common-WaitPayInfoView/index.js.map
  13. 4
    4
      eslib/Payment/index.js
  14. 49
    0
      eslib/PriceOptions/index.js
  15. 1
    0
      eslib/PriceOptions/index.js.map
  16. 0
    0
      eslib/RichTextEditor/index.js
  17. 0
    0
      eslib/RichTextEditor/index.js.map
  18. 0
    0
      eslib/RichTextEditorForSlate/index.js
  19. 0
    0
      eslib/RichTextEditorForSlate/index.js.map
  20. 2
    2
      eslib/WaitPayInfoView/index.js
  21. 1
    0
      eslib/WaitPayInfoView/index.js.map
  22. 4
    4
      eslib/index.js
  23. 0
    0
      lib/BraftEditor/index.js
  24. 0
    0
      lib/BraftEditor/index.js.map
  25. 2
    2
      lib/ConsumeListView/index.js
  26. 1
    0
      lib/ConsumeListView/index.js.map
  27. 6
    6
      lib/Editor/index.js
  28. 2
    2
      lib/PayPlatformOptions/index.js
  29. 1
    0
      lib/PayPlatformOptions/index.js.map
  30. 0
    1
      lib/Payment-Common-common-ConsumeListView/index.js.map
  31. 0
    1
      lib/Payment-Common-common-PayPlatformOptions/index.js.map
  32. 0
    66
      lib/Payment-Common-common-PriceOptions/index.js
  33. 0
    1
      lib/Payment-Common-common-PriceOptions/index.js.map
  34. 0
    1
      lib/Payment-Common-common-WaitPayInfoView/index.js.map
  35. 8
    8
      lib/Payment/index.js
  36. 56
    0
      lib/PriceOptions/index.js
  37. 1
    0
      lib/PriceOptions/index.js.map
  38. 0
    0
      lib/RichTextEditor/index.js
  39. 0
    0
      lib/RichTextEditor/index.js.map
  40. 0
    0
      lib/RichTextEditorForSlate/index.js
  41. 0
    0
      lib/RichTextEditorForSlate/index.js.map
  42. 2
    2
      lib/WaitPayInfoView/index.js
  43. 1
    0
      lib/WaitPayInfoView/index.js.map
  44. 8
    8
      lib/index.js
  45. 2
    4
      rollup.config.js
  46. 0
    0
      src/components/Payment/ConsumeListView/ConsumeListView.less
  47. 0
    0
      src/components/Payment/ConsumeListView/README.md
  48. 1
    1
      src/components/Payment/ConsumeListView/index.tsx
  49. 0
    0
      src/components/Payment/PayPlatformOptions/PayPlatformOptions.less
  50. 0
    0
      src/components/Payment/PayPlatformOptions/README.md
  51. 1
    1
      src/components/Payment/PayPlatformOptions/index.tsx
  52. 1
    0
      src/components/Payment/PriceOptions/PriceOptions.less
  53. 0
    0
      src/components/Payment/PriceOptions/README.md
  54. 6
    6
      src/components/Payment/PriceOptions/index.tsx
  55. 0
    0
      src/components/Payment/WaitPayInfoView/README.md
  56. 0
    0
      src/components/Payment/WaitPayInfoView/WaitPayInfoView.less
  57. 0
    0
      src/components/Payment/WaitPayInfoView/index.tsx
  58. 0
    0
      src/components/Payment/assets/btn_toggle.png
  59. 0
    0
      src/components/Payment/assets/icon-info-blue@2x.svg
  60. 0
    0
      src/components/Payment/assets/kcxq_popovers_icon_alipay@2x.png
  61. 0
    0
      src/components/Payment/assets/kcxq_popovers_icon_paypal@2x.png
  62. 0
    0
      src/components/Payment/assets/kcxq_popovers_icon_wechatpay@2x.png
  63. 0
    0
      src/components/Payment/assets/payment_btn_pay_alipay@2x.png
  64. 0
    0
      src/components/Payment/assets/payment_btn_pay_paypal@2x.png
  65. 0
    0
      src/components/Payment/assets/payment_btn_pay_wechatpay@2x.png
  66. 0
    0
      src/components/Payment/assets/popovers_list_huangguan.png
  67. 4
    4
      src/components/Payment/index.ts
  68. 0
    1
      src/lib-build.js
  69. 1
    1
      stats.html
  70. 4
    4
      stories/Payment.stories.tsx

eslib/Editor-BraftEditor/index.js → eslib/BraftEditor/index.js ファイルの表示


eslib/Editor-BraftEditor/index.js.map → eslib/BraftEditor/index.js.map ファイルの表示


eslib/Payment-Common-common-ConsumeListView/index.js → eslib/ConsumeListView/index.js ファイルの表示

@@ -6,8 +6,8 @@ import { a as addImageProcess } from '../utils-82346768.js';
6 6
 
7 7
 const img = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=';
8 8
 
9
-var css = ".ConsumeListView_wrapper__2Tr0_ {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_kingdomIcon__3VUpq {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_avatar__1t0io {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_gray__3eaP8 {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_toggle__2GLGV {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_toggle__2GLGV.ConsumeListView_expand__1D2BA {\n  transform: rotate(180deg);\n}\n";
10
-var styles = {"wrapper":"ConsumeListView_wrapper__2Tr0_","consumelist":"ConsumeListView_consumelist__2yoWt","consumeItem":"ConsumeListView_consumeItem__2NKR7","kingdomIcon":"ConsumeListView_kingdomIcon__3VUpq","avatar":"ConsumeListView_avatar__1t0io","gray":"ConsumeListView_gray__3eaP8","toggle":"ConsumeListView_toggle__2GLGV","expand":"ConsumeListView_expand__1D2BA"};
9
+var css = ".ConsumeListView_wrapper__28k7D {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_kingdomIcon__3tTNA {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_avatar__1WsJ3 {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_gray__oOyJP {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_toggle__2bNE3 {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_toggle__2bNE3.ConsumeListView_expand__26ifU {\n  transform: rotate(180deg);\n}\n";
10
+var styles = {"wrapper":"ConsumeListView_wrapper__28k7D","consumelist":"ConsumeListView_consumelist__2RETd","consumeItem":"ConsumeListView_consumeItem__bsmS9","kingdomIcon":"ConsumeListView_kingdomIcon__3tTNA","avatar":"ConsumeListView_avatar__1WsJ3","gray":"ConsumeListView_gray__oOyJP","toggle":"ConsumeListView_toggle__2bNE3","expand":"ConsumeListView_expand__26ifU"};
11 11
 styleInject(css);
12 12
 
13 13
 var DEFAULT_AVATAR = '//links-comment.oss-cn-beijing.aliyuncs.com/comment/20180820/Kgka4_oU1.jpeg';

+ 1
- 0
eslib/ConsumeListView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 3
- 3
eslib/Editor/index.js ファイルの表示

@@ -4,8 +4,8 @@ import '../style-inject.es-1f59c1d0.js';
4 4
 import '../Draft-ec3417b2.js';
5 5
 import '../_react-dom_commonjs-external-d3012e04.js';
6 6
 import 'react-dom';
7
-export { default as BraftEditor } from '../Editor-BraftEditor/index.js';
7
+export { default as BraftEditor } from '../BraftEditor/index.js';
8 8
 import 'react-dom/server';
9
-export { default as RichTextEditor } from '../Editor-RichTextEditor/index.js';
10
-export { default as RichTextEditorForSlate } from '../Editor-RichTextEditorForSlate/index.js';
9
+export { default as RichTextEditor } from '../RichTextEditor/index.js';
10
+export { default as RichTextEditorForSlate } from '../RichTextEditorForSlate/index.js';
11 11
 //# sourceMappingURL=index.js.map

eslib/Payment-Common-common-PayPlatformOptions/index.js → eslib/PayPlatformOptions/index.js ファイルの表示

@@ -16,8 +16,8 @@ const img$4 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAA+CAMAAAChgZ0
16 16
 
17 17
 const img$5 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABGCAMAAACnmwfnAAAAb1BMVEVHcEwSOoYNeb4ROoUAnuMAneIAnuMROoUAneMSU5wUO4gROoUROoYROYUROYUAoOUAnuMSOoYRO4YAnuMROoUAoOUNUpwEh88Ja7QAnuQAnuQROYQAneIXLHAUM3sVL3USNn8NWqEIdLsRRYwEh8yuGf8EAAAAG3RSTlMAVQvuy+eo5PkXKW/Rr4goeETDiZ43us7AS166//BKAAAB4UlEQVRYw6WW25qCMAyEEVoOAitycBdboYrv/4yru4oS0pDK3P9f0gkZ4nmjNmWEK8vK+ivd+55dG7WkLE1scKQYqnF8q1gKNhi8V0ylCJxyYYXUrtlwsJ3BJRtW+QwO+LCCpRMHVtWfmn1X9LHZSN9fTjCYVr4GjlbAvloBz9bCdKiMMXPD4DJ3J7v6TiWk2SdSfVwldrMNDSutZfOCM37XN5211nE7wsoJvtxgLROL2T39ZP2n0LIWNDz8w3GCrwWj65sKNIMMp+ux79LFr/MTFmgGdazCWqIZ1LMKP2AXs40GsIPZ/fUFC2wtDGNM9zmHjmvxevA454hr9oTVLZZBNr/6y4TVO4e1UNcpK9AMwkcEyj6fvJxB/TBDH10jZvejOqOG81UjEmgGmUFz1KIZFLBYgWfQDwtu8Az65rAF/msOYgYbWu6gjPNg33IHHRh1fdsddGC/F8mgJbPDHXEHkWbLCTrPIDkj4rukFGHVwNMPrEUEySN14YO1KAFceZQi2uwdxfq02ZIsvKXNFiQMMshMzY5DEl4wuyDhnF6LloSzFWaDtTDA7NhzgN3MBobl0pIYtq8keZPv9HECNQA+usBHPGB5qgDsu8Chy1pAiemUxQrYzWyviN8l6I/T+wU2HDmgaaHs/gAAAABJRU5ErkJggg==';
18 18
 
19
-var css = ".PayPlatformOptions_flexContainer__3RdFq {\n  display: flex;\n  justify-content: space-around;\n  align-items: center;\n}\n.PayPlatformOptions_label__3CGfx {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616A79;\n}\n.PayPlatformOptions_payChannelBox__3_nLw {\n  padding: 20px 10px 10px 10px;\n  text-align: center;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_paymentImage__2raEr {\n  display: inline-block;\n  margin: 0;\n  width: 60%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_paymentImage-before__2YrK0 {\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  cursor: pointer;\n  border: 1px solid transparent;\n  height: 66px;\n  line-height: 66px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw .PayPlatformOptions_platformName__1JY1p {\n  text-align: center;\n  white-space: nowrap;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_small__1rSKm {\n  width: 88px;\n  height: 36px;\n  line-height: 36px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_small__1rSKm .PayPlatformOptions_paymentImage__2raEr {\n  margin: 0;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_normal__zDGIQ {\n  width: 132px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_large__2j1ca {\n  width: 162px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n  border-radius: 5px;\n  border-color: #1790FF;\n  box-shadow: 0px 2px 6px 0px rgba(163, 163, 163, 0.3);\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_en__2kcj9 {\n  font-size: 12px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu {\n  padding: 8px 10px 10px 8px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw {\n  display: inline-flex;\n  flex-direction: column;\n  justify-content: space-around;\n  width: 78px;\n  height: 80px;\n  line-height: initial;\n  border: 1px solid transparent;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n  border-radius: 4px;\n  border-color: #1790FF;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw .PayPlatformOptions_paymentImage__2raEr {\n  display: inline-block;\n  width: 34px;\n  height: 34px;\n}\n@media (max-width: 768px) {\n  .PayPlatformOptions_payChannelBlock__2g_Kw {\n    cursor: pointer;\n    border: 1px solid transparent;\n  }\n  .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n    border-radius: 5px;\n    border-color: #1790FF;\n  }\n}\n";
20
-var styles = {"flexContainer":"PayPlatformOptions_flexContainer__3RdFq","label":"PayPlatformOptions_label__3CGfx","payChannelBox":"PayPlatformOptions_payChannelBox__3_nLw","paymentImage":"PayPlatformOptions_paymentImage__2raEr","paymentImage-before":"PayPlatformOptions_paymentImage-before__2YrK0","payChannelBlock":"PayPlatformOptions_payChannelBlock__2g_Kw","platformName":"PayPlatformOptions_platformName__1JY1p","small":"PayPlatformOptions_small__1rSKm","normal":"PayPlatformOptions_normal__zDGIQ","large":"PayPlatformOptions_large__2j1ca","active":"PayPlatformOptions_active__2h-ps","en":"PayPlatformOptions_en__2kcj9","mobile":"PayPlatformOptions_mobile__3Fmnu","paymentImageBefore":"PayPlatformOptions_paymentImage-before__2YrK0"};
19
+var css = ".PayPlatformOptions_flexContainer__3WcqE {\n  display: flex;\n  justify-content: space-around;\n  align-items: center;\n}\n.PayPlatformOptions_label__3NQvy {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616A79;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B {\n  padding: 20px 10px 10px 10px;\n  text-align: center;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_paymentImage__1D264 {\n  display: inline-block;\n  margin: 0;\n  width: 60%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_paymentImage-before__TZpAA {\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6 {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  cursor: pointer;\n  border: 1px solid transparent;\n  height: 66px;\n  line-height: 66px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6 .PayPlatformOptions_platformName__2iEFM {\n  text-align: center;\n  white-space: nowrap;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_small__3amR2 {\n  width: 88px;\n  height: 36px;\n  line-height: 36px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_small__3amR2 .PayPlatformOptions_paymentImage__1D264 {\n  margin: 0;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_normal__2uJLF {\n  width: 132px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_large__3n5Yt {\n  width: 162px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n  border-radius: 5px;\n  border-color: #1790FF;\n  box-shadow: 0px 2px 6px 0px rgba(163, 163, 163, 0.3);\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_en__1Wp1K {\n  font-size: 12px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 {\n  padding: 8px 10px 10px 8px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6 {\n  display: inline-flex;\n  flex-direction: column;\n  justify-content: space-around;\n  width: 78px;\n  height: 80px;\n  line-height: initial;\n  border: 1px solid transparent;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n  border-radius: 4px;\n  border-color: #1790FF;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6 .PayPlatformOptions_paymentImage__1D264 {\n  display: inline-block;\n  width: 34px;\n  height: 34px;\n}\n@media (max-width: 768px) {\n  .PayPlatformOptions_payChannelBlock__1f7d6 {\n    cursor: pointer;\n    border: 1px solid transparent;\n  }\n  .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n    border-radius: 5px;\n    border-color: #1790FF;\n  }\n}\n";
20
+var styles = {"flexContainer":"PayPlatformOptions_flexContainer__3WcqE","label":"PayPlatformOptions_label__3NQvy","payChannelBox":"PayPlatformOptions_payChannelBox__3Ai_B","paymentImage":"PayPlatformOptions_paymentImage__1D264","paymentImage-before":"PayPlatformOptions_paymentImage-before__TZpAA","payChannelBlock":"PayPlatformOptions_payChannelBlock__1f7d6","platformName":"PayPlatformOptions_platformName__2iEFM","small":"PayPlatformOptions_small__3amR2","normal":"PayPlatformOptions_normal__2uJLF","large":"PayPlatformOptions_large__3n5Yt","active":"PayPlatformOptions_active__2_V1M","en":"PayPlatformOptions_en__1Wp1K","mobile":"PayPlatformOptions_mobile__qgCT1","paymentImageBefore":"PayPlatformOptions_paymentImage-before__TZpAA"};
21 21
 styleInject(css);
22 22
 
23 23
 var PAY_CHANNEL = {

+ 1
- 0
eslib/PayPlatformOptions/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
eslib/Payment-Common-common-ConsumeListView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
eslib/Payment-Common-common-PayPlatformOptions/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 59
eslib/Payment-Common-common-PriceOptions/index.js ファイルの表示

@@ -1,59 +0,0 @@
1
-import { i as _slicedToArray, _ as _defineProperty } from '../_commonjsHelpers-aeb41076.js';
2
-import React, { useState } from 'react';
3
-import { c as classnames } from '../index-7951fb2f.js';
4
-import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5
-import { f as formatMoney } from '../utils-82346768.js';
6
-
7
-var css = ".PriceOptions_options__2AGBn {\n  padding: 20px 50px;\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__2AGBn p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN {\n  padding-right: 0;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM.PriceOptions_active__rlHby {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_rate__3hVeo {\n  margin-left: 10px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_rate__3hVeo i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN {\n  text-align: center;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n@media (max-width: 768px) {\n  .PriceOptions_options__2AGBn {\n    padding: 20px 20px;\n  }\n  .PriceOptions_options__2AGBn p {\n    font-size: 14px;\n    font-weight: 400;\n    color: #616a79;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN {\n    padding-right: 0;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceBtn__YfsBe {\n    display: flex;\n    justify-content: space-between;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n    display: inline-block;\n    background-color: #fff;\n    width: 74px;\n    height: 36px;\n    line-height: 36px;\n    border-radius: 6px;\n    border: 1px solid #cfcfcf;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM.PriceOptions_active__rlHby {\n    background-color: #fff;\n    color: #FF3266FF;\n    border-radius: 4px;\n    border: 1px solid #ff3266;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n    border-radius: 6px;\n    height: 36px;\n    width: auto;\n  }\n}\n";
8
-var styles = {"options":"PriceOptions_options__2AGBn","infoItem":"PriceOptions_infoItem__1dYFN","priceItem":"PriceOptions_priceItem__2PLhM","active":"PriceOptions_active__rlHby","priceInput":"PriceOptions_priceInput__1UYLy","rate":"PriceOptions_rate__3hVeo","small":"PriceOptions_small__2Vys4","priceBtn":"PriceOptions_priceBtn__YfsBe"};
9
-styleInject(css);
10
-
11
-var FormattedMessage = function FormattedMessage(_ref) {
12
-  var id = _ref.id;
13
-  return id;
14
-};
15
-
16
-var PriceOptions = function PriceOptions(_ref2) {
17
-  var price = _ref2.price,
18
-      onPriceChange = _ref2.onPriceChange,
19
-      _ref2$size = _ref2.size,
20
-      _ref2$focusScroll = _ref2.focusScroll,
21
-      _ref2$withTitle = _ref2.withTitle,
22
-      withTitle = _ref2$withTitle === void 0 ? true : _ref2$withTitle,
23
-      inputRef = _ref2.inputRef;
24
-  var defaultOptions = [100, 600, 800]; // 控制是否为其他金额输入情况
25
-
26
-  var _useState = useState(false),
27
-      _useState2 = _slicedToArray(_useState, 2),
28
-      inputStatus = _useState2[0],
29
-      setInputStatus = _useState2[1];
30
-
31
-  return React.createElement("div", {
32
-    className: classnames(styles.options)
33
-  }, withTitle ? React.createElement("p", null, React.createElement(FormattedMessage, {
34
-    id: "pay.price.select.text"
35
-  })) : null, React.createElement("div", {
36
-    className: styles.infoItem,
37
-    style: {
38
-      marginBottom: "-12px"
39
-    }
40
-  }, React.createElement("span", {
41
-    className: styles.priceBtn
42
-  }, defaultOptions.map(function (item) {
43
-    var _classnames;
44
-
45
-    return React.createElement("span", {
46
-      className: classnames((_classnames = {}, _defineProperty(_classnames, styles.priceItem, true), _defineProperty(_classnames, styles.active, price === item && !inputStatus), _classnames)),
47
-      key: item,
48
-      onClick: function onClick() {
49
-        onPriceChange(item);
50
-        setInputStatus(false);
51
-      }
52
-    }, React.createElement(FormattedMessage, {
53
-      id: "".concat(formatMoney(item / 100, 0), "\xA5")
54
-    }));
55
-  }))));
56
-};
57
-
58
-export default PriceOptions;
59
-//# sourceMappingURL=index.js.map

+ 0
- 1
eslib/Payment-Common-common-PriceOptions/index.js.map ファイルの表示

@@ -1 +0,0 @@
1
-{"version":3,"file":"index.js","sources":["../../src/components/Payment/Common/PriceOptions/index.tsx"],"sourcesContent":["import React, { useState } from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { formatMoney } from \"../../Utils/utils\";\r\n\r\nimport styles from \"./PriceOptions.less\";\r\n\r\nconst FormattedMessage = ({ id }: any) => id;\r\n\r\ninterface Props {\r\n  price: number;\r\n  onPriceChange: (v: number) => void;\r\n  size: \"small\" | \"normal\" | \"large\";\r\n  focusScroll: boolean;\r\n  withTitle: boolean;\r\n  inputRef: React.RefObject<any>;\r\n}\r\n\r\nconst PriceOptions = ({\r\n  price,\r\n  onPriceChange,\r\n  size = \"normal\",\r\n  focusScroll = true,\r\n  withTitle = true,\r\n  inputRef\r\n}: Props) => {\r\n  const defaultOptions = [100, 600, 800];\r\n  // 控制是否为其他金额输入情况\r\n  const [inputStatus, setInputStatus] = useState(false);\r\n\r\n  return (\r\n    <div\r\n      className={classnames(styles.options)}\r\n    >\r\n      {withTitle ? (\r\n        <p>\r\n          <FormattedMessage id=\"pay.price.select.text\" />\r\n        </p>\r\n      ) : null}\r\n      <div className={styles.infoItem} style={{ marginBottom: \"-12px\" }}>\r\n        <span className={styles.priceBtn}>\r\n          {defaultOptions.map(item => (\r\n            <span\r\n              className={classnames({\r\n                [styles.priceItem]: true,\r\n                [styles.active]: price === item && !inputStatus\r\n              })}\r\n              key={item}\r\n              onClick={() => {\r\n                onPriceChange(item);\r\n                setInputStatus(false);\r\n              }}\r\n            >\r\n              <FormattedMessage id={`${formatMoney(item/100, 0)}¥`} />\r\n            </span>\r\n          ))}\r\n        </span>\r\n        {/* <Input\r\n          ref={inputRef}\r\n          onMouseEnter={() => {\r\n            if (inputStatus && inputRef && inputRef.current) {\r\n              inputRef.current.focus();\r\n              inputRef.current.select();\r\n            }\r\n          }}\r\n          suffix=\"¥\"\r\n          className={styles.priceInput}\r\n          value={inputStatus ? price / 100 || \"\" : \"\"}\r\n          placeholder=\"Others\"\r\n          onChange={e => {\r\n            const n = +e.target.value;\r\n            if (Number.isNaN(n)) {\r\n              return;\r\n            }\r\n            // 测试暂时改成1分\r\n            onPriceChange(n * 100);\r\n          }}\r\n          onClick={e => {\r\n            onPriceChange(0);\r\n            setInputStatus(true);\r\n          }}\r\n          onFocus={e => {\r\n            if (focusScroll) {\r\n              e.target.scrollIntoView();\r\n            }\r\n          }}\r\n        /> */}\r\n      </div>\r\n    </div>\r\n  );\r\n};\r\n\r\nexport default PriceOptions;\r\n"],"names":["FormattedMessage","id","PriceOptions","price","onPriceChange","size","focusScroll","withTitle","inputRef","defaultOptions","useState","inputStatus","setInputStatus","classnames","styles","options","infoItem","marginBottom","priceBtn","map","item","priceItem","active","formatMoney"],"mappings":";;;;;;;;;;AAMA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAmB;MAAGC,EAAH,QAAGA,EAAH;SAAiBA,EAAjB;CAAzB;;AAWA,IAAMC,YAAY,GAAG,SAAfA,YAAe,QAOR;MANXC,KAMW,SANXA,KAMW;MALXC,aAKW,SALXA,aAKW;yBAJXC,IAIW;MAJXA,0BACAC,WAGW;MAHXA,wBACAC,SAEW;MAFXA,SAEW,gCAFC,IAED;MADXC,QACW,SADXA,QACW;MACLC,cAAc,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAvB,CADW;;kBAG2BC,QAAQ,CAAC,KAAD,CAHnC;;MAGJC,WAHI;MAGSC,cAHT;;SAMT;IACE,SAAS,EAAEC,UAAU,CAACC,MAAM,CAACC,OAAR;KAEpBR,SAAS,GACR,+BACE,oBAAC,gBAAD;IAAkB,EAAE,EAAC;IADvB,CADQ,GAIN,IAPN,EAQE;IAAK,SAAS,EAAEO,MAAM,CAACE,QAAvB;IAAiC,KAAK,EAAE;MAAEC,YAAY,EAAE;;KACtD;IAAM,SAAS,EAAEH,MAAM,CAACI;KACrBT,cAAc,CAACU,GAAf,CAAmB,UAAAC,IAAI;;;WACtB;MACE,SAAS,EAAEP,UAAU,iDAClBC,MAAM,CAACO,SADW,EACC,IADD,gCAElBP,MAAM,CAACQ,MAFW,EAEFnB,KAAK,KAAKiB,IAAV,IAAkB,CAACT,WAFjB,gBADvB;MAKE,GAAG,EAAES,IALP;MAME,OAAO,EAAE,mBAAM;QACbhB,aAAa,CAACgB,IAAD,CAAb;QACAR,cAAc,CAAC,KAAD,CAAd;;OAGF,oBAAC,gBAAD;MAAkB,EAAE,YAAKW,WAAW,CAACH,IAAI,GAAC,GAAN,EAAW,CAAX,CAAhB;MAXtB,CADsB;GAAvB,CADH,CADF,CARF,CADF;CAZF;;;;"}

+ 0
- 1
eslib/Payment-Common-common-WaitPayInfoView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 4
- 4
eslib/Payment/index.js ファイルの表示

@@ -3,8 +3,8 @@ import 'react';
3 3
 import '../index-7951fb2f.js';
4 4
 import '../style-inject.es-1f59c1d0.js';
5 5
 import '../utils-82346768.js';
6
-export { default as ConsumeListView } from '../Payment-Common-common-ConsumeListView/index.js';
7
-export { default as PayPlatformOptions } from '../Payment-Common-common-PayPlatformOptions/index.js';
8
-export { default as PriceOptions } from '../Payment-Common-common-PriceOptions/index.js';
9
-export { default as WaitPayInfoView } from '../Payment-Common-common-WaitPayInfoView/index.js';
6
+export { default as ConsumeListView } from '../ConsumeListView/index.js';
7
+export { default as PayPlatformOptions } from '../PayPlatformOptions/index.js';
8
+export { default as PriceOptions } from '../PriceOptions/index.js';
9
+export { default as WaitPayInfoView } from '../WaitPayInfoView/index.js';
10 10
 //# sourceMappingURL=index.js.map

+ 49
- 0
eslib/PriceOptions/index.js ファイルの表示

@@ -0,0 +1,49 @@
1
+import { i as _slicedToArray, _ as _defineProperty } from '../_commonjsHelpers-aeb41076.js';
2
+import React, { useState } from 'react';
3
+import { c as classnames } from '../index-7951fb2f.js';
4
+import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5
+import { f as formatMoney } from '../utils-82346768.js';
6
+
7
+var css = ".PriceOptions_options__J-ZSS {\n  padding: 20px 50px;\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__J-ZSS p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a {\n  padding-right: 0;\n  margin-bottom: -12px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2.PriceOptions_active__3WyAU {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_rate__QgHQ3 {\n  margin-left: 10px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_rate__QgHQ3 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a {\n  text-align: center;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n@media (max-width: 768px) {\n  .PriceOptions_options__J-ZSS {\n    padding: 20px 20px;\n  }\n  .PriceOptions_options__J-ZSS p {\n    font-size: 14px;\n    font-weight: 400;\n    color: #616a79;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a {\n    padding-right: 0;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceBtn__Xz4m_ {\n    display: flex;\n    justify-content: space-between;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n    display: inline-block;\n    background-color: #fff;\n    width: 74px;\n    height: 36px;\n    line-height: 36px;\n    border-radius: 6px;\n    border: 1px solid #cfcfcf;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2.PriceOptions_active__3WyAU {\n    background-color: #fff;\n    color: #FF3266FF;\n    border-radius: 4px;\n    border: 1px solid #ff3266;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n    border-radius: 6px;\n    height: 36px;\n    width: auto;\n  }\n}\n";
8
+var styles = {"options":"PriceOptions_options__J-ZSS","infoItem":"PriceOptions_infoItem__3IL3a","priceItem":"PriceOptions_priceItem__rJ9o2","active":"PriceOptions_active__3WyAU","priceInput":"PriceOptions_priceInput__1MrVy","rate":"PriceOptions_rate__QgHQ3","small":"PriceOptions_small__2-wzl","priceBtn":"PriceOptions_priceBtn__Xz4m_"};
9
+styleInject(css);
10
+
11
+var PriceOptions = function PriceOptions(_ref) {
12
+  var price = _ref.price,
13
+      onPriceChange = _ref.onPriceChange,
14
+      _ref$size = _ref.size,
15
+      _ref$focusScroll = _ref.focusScroll,
16
+      _ref$withTitle = _ref.withTitle,
17
+      withTitle = _ref$withTitle === void 0 ? true : _ref$withTitle,
18
+      _ref$titleText = _ref.titleText,
19
+      titleText = _ref$titleText === void 0 ? "Price" : _ref$titleText,
20
+      inputRef = _ref.inputRef;
21
+  var defaultOptions = [100, 600, 800]; // 控制是否为其他金额输入情况
22
+
23
+  var _useState = useState(false),
24
+      _useState2 = _slicedToArray(_useState, 2),
25
+      inputStatus = _useState2[0],
26
+      setInputStatus = _useState2[1];
27
+
28
+  return React.createElement("div", {
29
+    className: classnames(styles.options)
30
+  }, withTitle ? React.createElement("p", null, titleText) : null, React.createElement("div", {
31
+    className: styles.infoItem
32
+  }, React.createElement("span", {
33
+    className: styles.priceBtn
34
+  }, defaultOptions.map(function (item) {
35
+    var _classnames;
36
+
37
+    return React.createElement("span", {
38
+      className: classnames((_classnames = {}, _defineProperty(_classnames, styles.priceItem, true), _defineProperty(_classnames, styles.active, price === item && !inputStatus), _classnames)),
39
+      key: item,
40
+      onClick: function onClick() {
41
+        onPriceChange(item);
42
+        setInputStatus(false);
43
+      }
44
+    }, formatMoney(item / 100, 0), "\xA5");
45
+  }))));
46
+};
47
+
48
+export default PriceOptions;
49
+//# sourceMappingURL=index.js.map

+ 1
- 0
eslib/PriceOptions/index.js.map ファイルの表示

@@ -0,0 +1 @@
1
+{"version":3,"file":"index.js","sources":["../../src/components/Payment/PriceOptions/index.tsx"],"sourcesContent":["import React, { useState } from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { formatMoney } from \"../Utils/utils\";\r\n\r\nimport styles from \"./PriceOptions.less\";\r\n\r\ninterface Props {\r\n  price: number;\r\n  onPriceChange: (v: number) => void;\r\n  size: \"small\" | \"normal\" | \"large\";\r\n  focusScroll: boolean;\r\n  withTitle: boolean;\r\n  titleText: string;\r\n  inputRef: React.RefObject<any>;\r\n}\r\n\r\nconst PriceOptions = ({\r\n  price,\r\n  onPriceChange,\r\n  size = \"normal\",\r\n  focusScroll = true,\r\n  withTitle = true,\r\n  titleText = \"Price\",\r\n  inputRef\r\n}: Props) => {\r\n  const defaultOptions = [100, 600, 800];\r\n  // 控制是否为其他金额输入情况\r\n  const [inputStatus, setInputStatus] = useState(false);\r\n\r\n  return (\r\n    <div\r\n      className={classnames(styles.options)}\r\n    >\r\n      {withTitle ? (\r\n        <p>\r\n          {titleText}\r\n        </p>\r\n      ) : null}\r\n      <div className={styles.infoItem}>\r\n        <span className={styles.priceBtn}>\r\n          {defaultOptions.map(item => (\r\n            <span\r\n              className={classnames({\r\n                [styles.priceItem]: true,\r\n                [styles.active]: price === item && !inputStatus\r\n              })}\r\n              key={item}\r\n              onClick={() => {\r\n                onPriceChange(item);\r\n                setInputStatus(false);\r\n              }}\r\n            >\r\n              {formatMoney(item/100, 0)}¥\r\n            </span>\r\n          ))}\r\n        </span>\r\n        {/* <Input\r\n          ref={inputRef}\r\n          onMouseEnter={() => {\r\n            if (inputStatus && inputRef && inputRef.current) {\r\n              inputRef.current.focus();\r\n              inputRef.current.select();\r\n            }\r\n          }}\r\n          suffix=\"¥\"\r\n          className={styles.priceInput}\r\n          value={inputStatus ? price / 100 || \"\" : \"\"}\r\n          placeholder=\"Others\"\r\n          onChange={e => {\r\n            const n = +e.target.value;\r\n            if (Number.isNaN(n)) {\r\n              return;\r\n            }\r\n            // 测试暂时改成1分\r\n            onPriceChange(n * 100);\r\n          }}\r\n          onClick={e => {\r\n            onPriceChange(0);\r\n            setInputStatus(true);\r\n          }}\r\n          onFocus={e => {\r\n            if (focusScroll) {\r\n              e.target.scrollIntoView();\r\n            }\r\n          }}\r\n        /> */}\r\n      </div>\r\n    </div>\r\n  );\r\n};\r\n\r\nexport default PriceOptions;\r\n"],"names":["PriceOptions","price","onPriceChange","size","focusScroll","withTitle","titleText","inputRef","defaultOptions","useState","inputStatus","setInputStatus","classnames","styles","options","infoItem","priceBtn","map","item","priceItem","active","formatMoney"],"mappings":";;;;;;;;;;AAgBA,IAAMA,YAAY,GAAG,SAAfA,YAAe,OAQR;MAPXC,KAOW,QAPXA,KAOW;MANXC,aAMW,QANXA,aAMW;uBALXC,IAKW;MALXA,wBACAC,WAIW;MAJXA,sBACAC,SAGW;MAHXA,SAGW,+BAHC,IAGD;4BAFXC,SAEW;MAFXA,SAEW,+BAFC,OAED;MADXC,QACW,QADXA,QACW;MACLC,cAAc,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAvB,CADW;;kBAG2BC,QAAQ,CAAC,KAAD,CAHnC;;MAGJC,WAHI;MAGSC,cAHT;;SAMT;IACE,SAAS,EAAEC,UAAU,CAACC,MAAM,CAACC,OAAR;KAEpBT,SAAS,GACR,+BACGC,SADH,CADQ,GAIN,IAPN,EAQE;IAAK,SAAS,EAAEO,MAAM,CAACE;KACrB;IAAM,SAAS,EAAEF,MAAM,CAACG;KACrBR,cAAc,CAACS,GAAf,CAAmB,UAAAC,IAAI;;;WACtB;MACE,SAAS,EAAEN,UAAU,iDAClBC,MAAM,CAACM,SADW,EACC,IADD,gCAElBN,MAAM,CAACO,MAFW,EAEFnB,KAAK,KAAKiB,IAAV,IAAkB,CAACR,WAFjB,gBADvB;MAKE,GAAG,EAAEQ,IALP;MAME,OAAO,EAAE,mBAAM;QACbhB,aAAa,CAACgB,IAAD,CAAb;QACAP,cAAc,CAAC,KAAD,CAAd;;OAGDU,WAAW,CAACH,IAAI,GAAC,GAAN,EAAW,CAAX,CAXd,SADsB;GAAvB,CADH,CADF,CARF,CADF;CAbF;;;;"}

eslib/Editor-RichTextEditor/index.js → eslib/RichTextEditor/index.js ファイルの表示


eslib/Editor-RichTextEditor/index.js.map → eslib/RichTextEditor/index.js.map ファイルの表示


eslib/Editor-RichTextEditorForSlate/index.js → eslib/RichTextEditorForSlate/index.js ファイルの表示


eslib/Editor-RichTextEditorForSlate/index.js.map → eslib/RichTextEditorForSlate/index.js.map ファイルの表示


eslib/Payment-Common-common-WaitPayInfoView/index.js → eslib/WaitPayInfoView/index.js ファイルの表示

@@ -3,8 +3,8 @@ import React, { Component } from 'react';
3 3
 import { c as classnames } from '../index-7951fb2f.js';
4 4
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5 5
 
6
-var css = ".WaitPayInfoView_waitingContainer__2fyww {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
7
-var styles = {"waitingContainer":"WaitPayInfoView_waitingContainer__2fyww"};
6
+var css = ".WaitPayInfoView_waitingContainer__2DyOZ {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
7
+var styles = {"waitingContainer":"WaitPayInfoView_waitingContainer__2DyOZ"};
8 8
 styleInject(css);
9 9
 
10 10
 const img = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQ4cHgiIGhlaWdodD0iNDNweCIgdmlld0JveD0iMCAwIDQ4IDQzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAuMiAoNTUwNDcpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPg0KICAgIDx0aXRsZT5rY3hxX3BvcG92ZXJzX2ljb25fdGFuaGFvPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSLlj6blrqLnvZFf55u05pKt6K++X+ivvueoi+S7i+e7jeivpuaDhV/otK3kubDmj5DnpLrlvLnnqpciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05MzYuMDAwMDAwLCAtMTkwLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+DQogICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMjIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDY5MC4wMDAwMDAsIDExMC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0ia2N4cV9wb3BvdmVyc19pY29uX3RhbmhhbyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQ2LjAwMDAwMCwgODAuMDAwMDAwKSI+DQogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00OCwyMS41IEM0OCwzMy4zNzM2NjI2IDM4LjM2NDU3NTYsNDMgMjYuNDc5NzA0OCw0MyBDMjEuMTMwNjI3Myw0MyAxNy4wMzkxMTQ0LDQyLjE1MDYxNzMgMTMuMjg0MTMyOCwzOC45MzAwNDEyIEMxMS44MTQwMjIxLDM3LjY3MzY2MjYgMS43MDAzNjksNDMuMjEyMzQ1NyAwLjE3NzEyMTc3MSwzOS4yODM5NTA2IEMtMS4wNjI3MzA2MywzNi4wOTg3NjU0IDUuOTUxMjkxNTEsMjkuMjUwNjE3MyA1LjMxMzY1MzE0LDI3LjA3NDA3NDEgQzQuNzY0NTc1NjUsMjUuMTgwNjU4NCA0Ljk1OTQwOTU5LDIzLjU3MDM3MDQgNC45NTk0MDk1OSwyMS41IEM0Ljk1OTQwOTU5LDkuNjI2MzM3NDUgMTQuNTk0ODMzOSwwIDI2LjQ3OTcwNDgsMCBDMzguMzY0NTc1NiwwIDQ4LDkuNjI2MzM3NDUgNDgsMjEuNSBaIiBpZD0iU2hhcGUiIGZpbGw9IiMxNzkwRkYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMy44NDg3MDgsIDguMTkzNDE2KSIgZmlsbD0iI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMi41LDI3LjQ5NzEwOTggQzEuMTMyMzUyOTQsMjcuNDk3MTA5OCAwLDI2LjM3OTQ2MjggMCwyNC45OTcxMDk4IEMwLDIzLjYxNDc1NjkgMS4xMzIzNTI5NCwyMi40OTcxMDk4IDIuNSwyMi40OTcxMDk4IEMzLjg2NzY0NzA2LDIyLjQ5NzEwOTggNSwyMy42MTQ3NTY5IDUsMjQuOTk3MTA5OCBDNSwyNi4zNzk0NjI4IDMuODY3NjQ3MDYsMjcuNDk3MTA5OCAyLjUsMjcuNDk3MTA5OCBaIE0yLjUsMTkuNDIxOTY1MyBDMS4xMzIzNTI5NCwxOS40MjE5NjUzIDAsMTguMTkxOTA3NSAwLDE2LjY3MDUyMDIgTDAsMi43NTE0NDUwOSBDMCwxLjI0NjI0Mjc3IDEuMTMyMzUyOTQsMCAyLjUsMCBDMy44Njc2NDcwNiwwIDUsMS4yMzAwNTc4IDUsMi43NTE0NDUwOSBMNSwxNi42NzA1MjAyIEM1LDE4LjE5MTkwNzUgMy44Njc2NDcwNiwxOS40MjE5NjUzIDIuNSwxOS40MjE5NjUzIFoiIGlkPSJTaGFwZSI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+';

+ 1
- 0
eslib/WaitPayInfoView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 4
- 4
eslib/index.js ファイルの表示

@@ -4,10 +4,10 @@ import './index-7951fb2f.js';
4 4
 import './style-inject.es-1f59c1d0.js';
5 5
 import './test-81795c27.js';
6 6
 import './utils-82346768.js';
7
-export { default as ConsumeListView } from './Payment-Common-common-ConsumeListView/index.js';
8
-export { default as PayPlatformOptions } from './Payment-Common-common-PayPlatformOptions/index.js';
9
-export { default as PriceOptions } from './Payment-Common-common-PriceOptions/index.js';
10
-export { default as WaitPayInfoView } from './Payment-Common-common-WaitPayInfoView/index.js';
7
+export { default as ConsumeListView } from './ConsumeListView/index.js';
8
+export { default as PayPlatformOptions } from './PayPlatformOptions/index.js';
9
+export { default as PriceOptions } from './PriceOptions/index.js';
10
+export { default as WaitPayInfoView } from './WaitPayInfoView/index.js';
11 11
 
12 12
 // type TransmitImgTxtData = {
13 13
 //   user_id?: string|number;

lib/Editor-BraftEditor/index.js → lib/BraftEditor/index.js ファイルの表示


lib/Editor-BraftEditor/index.js.map → lib/BraftEditor/index.js.map ファイルの表示


lib/Payment-Common-common-ConsumeListView/index.js → lib/ConsumeListView/index.js ファイルの表示

@@ -13,8 +13,8 @@ var utils = require('../utils-ed518bfc.js');
13 13
 
14 14
 const img = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=';
15 15
 
16
-var css = ".ConsumeListView_wrapper__2Tr0_ {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_kingdomIcon__3VUpq {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_avatar__1t0io {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_consumeItem__2NKR7 .ConsumeListView_gray__3eaP8 {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_toggle__2GLGV {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__2Tr0_ .ConsumeListView_consumelist__2yoWt .ConsumeListView_toggle__2GLGV.ConsumeListView_expand__1D2BA {\n  transform: rotate(180deg);\n}\n";
17
-var styles = {"wrapper":"ConsumeListView_wrapper__2Tr0_","consumelist":"ConsumeListView_consumelist__2yoWt","consumeItem":"ConsumeListView_consumeItem__2NKR7","kingdomIcon":"ConsumeListView_kingdomIcon__3VUpq","avatar":"ConsumeListView_avatar__1t0io","gray":"ConsumeListView_gray__3eaP8","toggle":"ConsumeListView_toggle__2GLGV","expand":"ConsumeListView_expand__1D2BA"};
16
+var css = ".ConsumeListView_wrapper__28k7D {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_kingdomIcon__3tTNA {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_avatar__1WsJ3 {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_consumeItem__bsmS9 .ConsumeListView_gray__oOyJP {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_toggle__2bNE3 {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__28k7D .ConsumeListView_consumelist__2RETd .ConsumeListView_toggle__2bNE3.ConsumeListView_expand__26ifU {\n  transform: rotate(180deg);\n}\n";
17
+var styles = {"wrapper":"ConsumeListView_wrapper__28k7D","consumelist":"ConsumeListView_consumelist__2RETd","consumeItem":"ConsumeListView_consumeItem__bsmS9","kingdomIcon":"ConsumeListView_kingdomIcon__3tTNA","avatar":"ConsumeListView_avatar__1WsJ3","gray":"ConsumeListView_gray__oOyJP","toggle":"ConsumeListView_toggle__2bNE3","expand":"ConsumeListView_expand__26ifU"};
18 18
 styleInject_es.styleInject(css);
19 19
 
20 20
 var DEFAULT_AVATAR = '//links-comment.oss-cn-beijing.aliyuncs.com/comment/20180820/Kgka4_oU1.jpeg';

+ 1
- 0
lib/ConsumeListView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 6
- 6
lib/Editor/index.js ファイルの表示

@@ -8,14 +8,14 @@ require('../style-inject.es-dcee06b6.js');
8 8
 require('../Draft-7ee7c163.js');
9 9
 require('../_react-dom_commonjs-external-55867475.js');
10 10
 require('react-dom');
11
-var EditorBraftEditor = require('../Editor-BraftEditor/index.js');
11
+var BraftEditor = require('../BraftEditor/index.js');
12 12
 require('react-dom/server');
13
-var EditorRichTextEditor = require('../Editor-RichTextEditor/index.js');
14
-var EditorRichTextEditorForSlate = require('../Editor-RichTextEditorForSlate/index.js');
13
+var RichTextEditor = require('../RichTextEditor/index.js');
14
+var RichTextEditorForSlate = require('../RichTextEditorForSlate/index.js');
15 15
 
16 16
 
17 17
 
18
-exports.BraftEditor = EditorBraftEditor.default;
19
-exports.RichTextEditor = EditorRichTextEditor.default;
20
-exports.RichTextEditorForSlate = EditorRichTextEditorForSlate.default;
18
+exports.BraftEditor = BraftEditor.default;
19
+exports.RichTextEditor = RichTextEditor.default;
20
+exports.RichTextEditorForSlate = RichTextEditorForSlate.default;
21 21
 //# sourceMappingURL=index.js.map

lib/Payment-Common-common-PayPlatformOptions/index.js → lib/PayPlatformOptions/index.js ファイルの表示

@@ -23,8 +23,8 @@ const img$4 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAA+CAMAAAChgZ0
23 23
 
24 24
 const img$5 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABGCAMAAACnmwfnAAAAb1BMVEVHcEwSOoYNeb4ROoUAnuMAneIAnuMROoUAneMSU5wUO4gROoUROoYROYUROYUAoOUAnuMSOoYRO4YAnuMROoUAoOUNUpwEh88Ja7QAnuQAnuQROYQAneIXLHAUM3sVL3USNn8NWqEIdLsRRYwEh8yuGf8EAAAAG3RSTlMAVQvuy+eo5PkXKW/Rr4goeETDiZ43us7AS166//BKAAAB4UlEQVRYw6WW25qCMAyEEVoOAitycBdboYrv/4yru4oS0pDK3P9f0gkZ4nmjNmWEK8vK+ivd+55dG7WkLE1scKQYqnF8q1gKNhi8V0ylCJxyYYXUrtlwsJ3BJRtW+QwO+LCCpRMHVtWfmn1X9LHZSN9fTjCYVr4GjlbAvloBz9bCdKiMMXPD4DJ3J7v6TiWk2SdSfVwldrMNDSutZfOCM37XN5211nE7wsoJvtxgLROL2T39ZP2n0LIWNDz8w3GCrwWj65sKNIMMp+ux79LFr/MTFmgGdazCWqIZ1LMKP2AXs40GsIPZ/fUFC2wtDGNM9zmHjmvxevA454hr9oTVLZZBNr/6y4TVO4e1UNcpK9AMwkcEyj6fvJxB/TBDH10jZvejOqOG81UjEmgGmUFz1KIZFLBYgWfQDwtu8Az65rAF/msOYgYbWu6gjPNg33IHHRh1fdsddGC/F8mgJbPDHXEHkWbLCTrPIDkj4rukFGHVwNMPrEUEySN14YO1KAFceZQi2uwdxfq02ZIsvKXNFiQMMshMzY5DEl4wuyDhnF6LloSzFWaDtTDA7NhzgN3MBobl0pIYtq8keZPv9HECNQA+usBHPGB5qgDsu8Chy1pAiemUxQrYzWyviN8l6I/T+wU2HDmgaaHs/gAAAABJRU5ErkJggg==';
25 25
 
26
-var css = ".PayPlatformOptions_flexContainer__3RdFq {\n  display: flex;\n  justify-content: space-around;\n  align-items: center;\n}\n.PayPlatformOptions_label__3CGfx {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616A79;\n}\n.PayPlatformOptions_payChannelBox__3_nLw {\n  padding: 20px 10px 10px 10px;\n  text-align: center;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_paymentImage__2raEr {\n  display: inline-block;\n  margin: 0;\n  width: 60%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_paymentImage-before__2YrK0 {\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  cursor: pointer;\n  border: 1px solid transparent;\n  height: 66px;\n  line-height: 66px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw .PayPlatformOptions_platformName__1JY1p {\n  text-align: center;\n  white-space: nowrap;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_small__1rSKm {\n  width: 88px;\n  height: 36px;\n  line-height: 36px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_small__1rSKm .PayPlatformOptions_paymentImage__2raEr {\n  margin: 0;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_normal__zDGIQ {\n  width: 132px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_large__2j1ca {\n  width: 162px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n  border-radius: 5px;\n  border-color: #1790FF;\n  box-shadow: 0px 2px 6px 0px rgba(163, 163, 163, 0.3);\n}\n.PayPlatformOptions_payChannelBox__3_nLw .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_en__2kcj9 {\n  font-size: 12px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu {\n  padding: 8px 10px 10px 8px;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw {\n  display: inline-flex;\n  flex-direction: column;\n  justify-content: space-around;\n  width: 78px;\n  height: 80px;\n  line-height: initial;\n  border: 1px solid transparent;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n  border-radius: 4px;\n  border-color: #1790FF;\n}\n.PayPlatformOptions_payChannelBox__3_nLw.PayPlatformOptions_mobile__3Fmnu .PayPlatformOptions_payChannelBlock__2g_Kw .PayPlatformOptions_paymentImage__2raEr {\n  display: inline-block;\n  width: 34px;\n  height: 34px;\n}\n@media (max-width: 768px) {\n  .PayPlatformOptions_payChannelBlock__2g_Kw {\n    cursor: pointer;\n    border: 1px solid transparent;\n  }\n  .PayPlatformOptions_payChannelBlock__2g_Kw.PayPlatformOptions_active__2h-ps {\n    border-radius: 5px;\n    border-color: #1790FF;\n  }\n}\n";
27
-var styles = {"flexContainer":"PayPlatformOptions_flexContainer__3RdFq","label":"PayPlatformOptions_label__3CGfx","payChannelBox":"PayPlatformOptions_payChannelBox__3_nLw","paymentImage":"PayPlatformOptions_paymentImage__2raEr","paymentImage-before":"PayPlatformOptions_paymentImage-before__2YrK0","payChannelBlock":"PayPlatformOptions_payChannelBlock__2g_Kw","platformName":"PayPlatformOptions_platformName__1JY1p","small":"PayPlatformOptions_small__1rSKm","normal":"PayPlatformOptions_normal__zDGIQ","large":"PayPlatformOptions_large__2j1ca","active":"PayPlatformOptions_active__2h-ps","en":"PayPlatformOptions_en__2kcj9","mobile":"PayPlatformOptions_mobile__3Fmnu","paymentImageBefore":"PayPlatformOptions_paymentImage-before__2YrK0"};
26
+var css = ".PayPlatformOptions_flexContainer__3WcqE {\n  display: flex;\n  justify-content: space-around;\n  align-items: center;\n}\n.PayPlatformOptions_label__3NQvy {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616A79;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B {\n  padding: 20px 10px 10px 10px;\n  text-align: center;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_paymentImage__1D264 {\n  display: inline-block;\n  margin: 0;\n  width: 60%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_paymentImage-before__TZpAA {\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6 {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  cursor: pointer;\n  border: 1px solid transparent;\n  height: 66px;\n  line-height: 66px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6 .PayPlatformOptions_platformName__2iEFM {\n  text-align: center;\n  white-space: nowrap;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_small__3amR2 {\n  width: 88px;\n  height: 36px;\n  line-height: 36px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_small__3amR2 .PayPlatformOptions_paymentImage__1D264 {\n  margin: 0;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_normal__2uJLF {\n  width: 132px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_large__3n5Yt {\n  width: 162px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n  border-radius: 5px;\n  border-color: #1790FF;\n  box-shadow: 0px 2px 6px 0px rgba(163, 163, 163, 0.3);\n}\n.PayPlatformOptions_payChannelBox__3Ai_B .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_en__1Wp1K {\n  font-size: 12px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 {\n  padding: 8px 10px 10px 8px;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6 {\n  display: inline-flex;\n  flex-direction: column;\n  justify-content: space-around;\n  width: 78px;\n  height: 80px;\n  line-height: initial;\n  border: 1px solid transparent;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n  border-radius: 4px;\n  border-color: #1790FF;\n}\n.PayPlatformOptions_payChannelBox__3Ai_B.PayPlatformOptions_mobile__qgCT1 .PayPlatformOptions_payChannelBlock__1f7d6 .PayPlatformOptions_paymentImage__1D264 {\n  display: inline-block;\n  width: 34px;\n  height: 34px;\n}\n@media (max-width: 768px) {\n  .PayPlatformOptions_payChannelBlock__1f7d6 {\n    cursor: pointer;\n    border: 1px solid transparent;\n  }\n  .PayPlatformOptions_payChannelBlock__1f7d6.PayPlatformOptions_active__2_V1M {\n    border-radius: 5px;\n    border-color: #1790FF;\n  }\n}\n";
27
+var styles = {"flexContainer":"PayPlatformOptions_flexContainer__3WcqE","label":"PayPlatformOptions_label__3NQvy","payChannelBox":"PayPlatformOptions_payChannelBox__3Ai_B","paymentImage":"PayPlatformOptions_paymentImage__1D264","paymentImage-before":"PayPlatformOptions_paymentImage-before__TZpAA","payChannelBlock":"PayPlatformOptions_payChannelBlock__1f7d6","platformName":"PayPlatformOptions_platformName__2iEFM","small":"PayPlatformOptions_small__3amR2","normal":"PayPlatformOptions_normal__2uJLF","large":"PayPlatformOptions_large__3n5Yt","active":"PayPlatformOptions_active__2_V1M","en":"PayPlatformOptions_en__1Wp1K","mobile":"PayPlatformOptions_mobile__qgCT1","paymentImageBefore":"PayPlatformOptions_paymentImage-before__TZpAA"};
28 28
 styleInject_es.styleInject(css);
29 29
 
30 30
 var PAY_CHANNEL = {

+ 1
- 0
lib/PayPlatformOptions/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
lib/Payment-Common-common-ConsumeListView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
lib/Payment-Common-common-PayPlatformOptions/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 66
lib/Payment-Common-common-PriceOptions/index.js ファイルの表示

@@ -1,66 +0,0 @@
1
-'use strict';
2
-
3
-Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
-
7
-var _commonjsHelpers = require('../_commonjsHelpers-4ed3570f.js');
8
-var React = require('react');
9
-var React__default = _interopDefault(React);
10
-var index = require('../index-c2424ad4.js');
11
-var styleInject_es = require('../style-inject.es-dcee06b6.js');
12
-var utils = require('../utils-ed518bfc.js');
13
-
14
-var css = ".PriceOptions_options__2AGBn {\n  padding: 20px 50px;\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__2AGBn p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN {\n  padding-right: 0;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM.PriceOptions_active__rlHby {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_rate__3hVeo {\n  margin-left: 10px;\n}\n.PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_rate__3hVeo i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN {\n  text-align: center;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__2AGBn.PriceOptions_small__2Vys4 .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n@media (max-width: 768px) {\n  .PriceOptions_options__2AGBn {\n    padding: 20px 20px;\n  }\n  .PriceOptions_options__2AGBn p {\n    font-size: 14px;\n    font-weight: 400;\n    color: #616a79;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN {\n    padding-right: 0;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceBtn__YfsBe {\n    display: flex;\n    justify-content: space-between;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM {\n    display: inline-block;\n    background-color: #fff;\n    width: 74px;\n    height: 36px;\n    line-height: 36px;\n    border-radius: 6px;\n    border: 1px solid #cfcfcf;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceItem__2PLhM.PriceOptions_active__rlHby {\n    background-color: #fff;\n    color: #FF3266FF;\n    border-radius: 4px;\n    border: 1px solid #ff3266;\n  }\n  .PriceOptions_options__2AGBn .PriceOptions_infoItem__1dYFN .PriceOptions_priceInput__1UYLy {\n    border-radius: 6px;\n    height: 36px;\n    width: auto;\n  }\n}\n";
15
-var styles = {"options":"PriceOptions_options__2AGBn","infoItem":"PriceOptions_infoItem__1dYFN","priceItem":"PriceOptions_priceItem__2PLhM","active":"PriceOptions_active__rlHby","priceInput":"PriceOptions_priceInput__1UYLy","rate":"PriceOptions_rate__3hVeo","small":"PriceOptions_small__2Vys4","priceBtn":"PriceOptions_priceBtn__YfsBe"};
16
-styleInject_es.styleInject(css);
17
-
18
-var FormattedMessage = function FormattedMessage(_ref) {
19
-  var id = _ref.id;
20
-  return id;
21
-};
22
-
23
-var PriceOptions = function PriceOptions(_ref2) {
24
-  var price = _ref2.price,
25
-      onPriceChange = _ref2.onPriceChange,
26
-      _ref2$size = _ref2.size,
27
-      _ref2$focusScroll = _ref2.focusScroll,
28
-      _ref2$withTitle = _ref2.withTitle,
29
-      withTitle = _ref2$withTitle === void 0 ? true : _ref2$withTitle,
30
-      inputRef = _ref2.inputRef;
31
-  var defaultOptions = [100, 600, 800]; // 控制是否为其他金额输入情况
32
-
33
-  var _useState = React.useState(false),
34
-      _useState2 = _commonjsHelpers._slicedToArray(_useState, 2),
35
-      inputStatus = _useState2[0],
36
-      setInputStatus = _useState2[1];
37
-
38
-  return React__default.createElement("div", {
39
-    className: index.classnames(styles.options)
40
-  }, withTitle ? React__default.createElement("p", null, React__default.createElement(FormattedMessage, {
41
-    id: "pay.price.select.text"
42
-  })) : null, React__default.createElement("div", {
43
-    className: styles.infoItem,
44
-    style: {
45
-      marginBottom: "-12px"
46
-    }
47
-  }, React__default.createElement("span", {
48
-    className: styles.priceBtn
49
-  }, defaultOptions.map(function (item) {
50
-    var _classnames;
51
-
52
-    return React__default.createElement("span", {
53
-      className: index.classnames((_classnames = {}, _commonjsHelpers._defineProperty(_classnames, styles.priceItem, true), _commonjsHelpers._defineProperty(_classnames, styles.active, price === item && !inputStatus), _classnames)),
54
-      key: item,
55
-      onClick: function onClick() {
56
-        onPriceChange(item);
57
-        setInputStatus(false);
58
-      }
59
-    }, React__default.createElement(FormattedMessage, {
60
-      id: "".concat(utils.formatMoney(item / 100, 0), "\xA5")
61
-    }));
62
-  }))));
63
-};
64
-
65
-exports.default = PriceOptions;
66
-//# sourceMappingURL=index.js.map

+ 0
- 1
lib/Payment-Common-common-PriceOptions/index.js.map ファイルの表示

@@ -1 +0,0 @@
1
-{"version":3,"file":"index.js","sources":["../../src/components/Payment/Common/PriceOptions/index.tsx"],"sourcesContent":["import React, { useState } from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { formatMoney } from \"../../Utils/utils\";\r\n\r\nimport styles from \"./PriceOptions.less\";\r\n\r\nconst FormattedMessage = ({ id }: any) => id;\r\n\r\ninterface Props {\r\n  price: number;\r\n  onPriceChange: (v: number) => void;\r\n  size: \"small\" | \"normal\" | \"large\";\r\n  focusScroll: boolean;\r\n  withTitle: boolean;\r\n  inputRef: React.RefObject<any>;\r\n}\r\n\r\nconst PriceOptions = ({\r\n  price,\r\n  onPriceChange,\r\n  size = \"normal\",\r\n  focusScroll = true,\r\n  withTitle = true,\r\n  inputRef\r\n}: Props) => {\r\n  const defaultOptions = [100, 600, 800];\r\n  // 控制是否为其他金额输入情况\r\n  const [inputStatus, setInputStatus] = useState(false);\r\n\r\n  return (\r\n    <div\r\n      className={classnames(styles.options)}\r\n    >\r\n      {withTitle ? (\r\n        <p>\r\n          <FormattedMessage id=\"pay.price.select.text\" />\r\n        </p>\r\n      ) : null}\r\n      <div className={styles.infoItem} style={{ marginBottom: \"-12px\" }}>\r\n        <span className={styles.priceBtn}>\r\n          {defaultOptions.map(item => (\r\n            <span\r\n              className={classnames({\r\n                [styles.priceItem]: true,\r\n                [styles.active]: price === item && !inputStatus\r\n              })}\r\n              key={item}\r\n              onClick={() => {\r\n                onPriceChange(item);\r\n                setInputStatus(false);\r\n              }}\r\n            >\r\n              <FormattedMessage id={`${formatMoney(item/100, 0)}¥`} />\r\n            </span>\r\n          ))}\r\n        </span>\r\n        {/* <Input\r\n          ref={inputRef}\r\n          onMouseEnter={() => {\r\n            if (inputStatus && inputRef && inputRef.current) {\r\n              inputRef.current.focus();\r\n              inputRef.current.select();\r\n            }\r\n          }}\r\n          suffix=\"¥\"\r\n          className={styles.priceInput}\r\n          value={inputStatus ? price / 100 || \"\" : \"\"}\r\n          placeholder=\"Others\"\r\n          onChange={e => {\r\n            const n = +e.target.value;\r\n            if (Number.isNaN(n)) {\r\n              return;\r\n            }\r\n            // 测试暂时改成1分\r\n            onPriceChange(n * 100);\r\n          }}\r\n          onClick={e => {\r\n            onPriceChange(0);\r\n            setInputStatus(true);\r\n          }}\r\n          onFocus={e => {\r\n            if (focusScroll) {\r\n              e.target.scrollIntoView();\r\n            }\r\n          }}\r\n        /> */}\r\n      </div>\r\n    </div>\r\n  );\r\n};\r\n\r\nexport default PriceOptions;\r\n"],"names":["FormattedMessage","id","PriceOptions","price","onPriceChange","size","focusScroll","withTitle","inputRef","defaultOptions","useState","inputStatus","setInputStatus","React","classnames","styles","options","infoItem","marginBottom","priceBtn","map","item","priceItem","active","formatMoney"],"mappings":";;;;;;;;;;;;;;;;;AAMA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAmB;MAAGC,EAAH,QAAGA,EAAH;SAAiBA,EAAjB;CAAzB;;AAWA,IAAMC,YAAY,GAAG,SAAfA,YAAe,QAOR;MANXC,KAMW,SANXA,KAMW;MALXC,aAKW,SALXA,aAKW;yBAJXC,IAIW;MAJXA,0BACAC,WAGW;MAHXA,wBACAC,SAEW;MAFXA,SAEW,gCAFC,IAED;MADXC,QACW,SADXA,QACW;MACLC,cAAc,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAvB,CADW;;kBAG2BC,cAAQ,CAAC,KAAD,CAHnC;;MAGJC,WAHI;MAGSC,cAHT;;SAMTC;IACE,SAAS,EAAEC,gBAAU,CAACC,MAAM,CAACC,OAAR;KAEpBT,SAAS,GACRM,wCACEA,6BAAC,gBAAD;IAAkB,EAAE,EAAC;IADvB,CADQ,GAIN,IAPN,EAQEA;IAAK,SAAS,EAAEE,MAAM,CAACE,QAAvB;IAAiC,KAAK,EAAE;MAAEC,YAAY,EAAE;;KACtDL;IAAM,SAAS,EAAEE,MAAM,CAACI;KACrBV,cAAc,CAACW,GAAf,CAAmB,UAAAC,IAAI;;;WACtBR;MACE,SAAS,EAAEC,gBAAU,kEAClBC,MAAM,CAACO,SADW,EACC,IADD,iDAElBP,MAAM,CAACQ,MAFW,EAEFpB,KAAK,KAAKkB,IAAV,IAAkB,CAACV,WAFjB,gBADvB;MAKE,GAAG,EAAEU,IALP;MAME,OAAO,EAAE,mBAAM;QACbjB,aAAa,CAACiB,IAAD,CAAb;QACAT,cAAc,CAAC,KAAD,CAAd;;OAGFC,6BAAC,gBAAD;MAAkB,EAAE,YAAKW,iBAAW,CAACH,IAAI,GAAC,GAAN,EAAW,CAAX,CAAhB;MAXtB,CADsB;GAAvB,CADH,CADF,CARF,CADF;CAZF;;;;"}

+ 0
- 1
lib/Payment-Common-common-WaitPayInfoView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 8
- 8
lib/Payment/index.js ファイルの表示

@@ -7,15 +7,15 @@ require('react');
7 7
 require('../index-c2424ad4.js');
8 8
 require('../style-inject.es-dcee06b6.js');
9 9
 require('../utils-ed518bfc.js');
10
-var PaymentCommonCommonConsumeListView = require('../Payment-Common-common-ConsumeListView/index.js');
11
-var PaymentCommonCommonPayPlatformOptions = require('../Payment-Common-common-PayPlatformOptions/index.js');
12
-var PaymentCommonCommonPriceOptions = require('../Payment-Common-common-PriceOptions/index.js');
13
-var PaymentCommonCommonWaitPayInfoView = require('../Payment-Common-common-WaitPayInfoView/index.js');
10
+var ConsumeListView = require('../ConsumeListView/index.js');
11
+var PayPlatformOptions = require('../PayPlatformOptions/index.js');
12
+var PriceOptions = require('../PriceOptions/index.js');
13
+var WaitPayInfoView = require('../WaitPayInfoView/index.js');
14 14
 
15 15
 
16 16
 
17
-exports.ConsumeListView = PaymentCommonCommonConsumeListView.default;
18
-exports.PayPlatformOptions = PaymentCommonCommonPayPlatformOptions.default;
19
-exports.PriceOptions = PaymentCommonCommonPriceOptions.default;
20
-exports.WaitPayInfoView = PaymentCommonCommonWaitPayInfoView.default;
17
+exports.ConsumeListView = ConsumeListView.default;
18
+exports.PayPlatformOptions = PayPlatformOptions.default;
19
+exports.PriceOptions = PriceOptions.default;
20
+exports.WaitPayInfoView = WaitPayInfoView.default;
21 21
 //# sourceMappingURL=index.js.map

+ 56
- 0
lib/PriceOptions/index.js ファイルの表示

@@ -0,0 +1,56 @@
1
+'use strict';
2
+
3
+Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
+
7
+var _commonjsHelpers = require('../_commonjsHelpers-4ed3570f.js');
8
+var React = require('react');
9
+var React__default = _interopDefault(React);
10
+var index = require('../index-c2424ad4.js');
11
+var styleInject_es = require('../style-inject.es-dcee06b6.js');
12
+var utils = require('../utils-ed518bfc.js');
13
+
14
+var css = ".PriceOptions_options__J-ZSS {\n  padding: 20px 50px;\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__J-ZSS p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a {\n  padding-right: 0;\n  margin-bottom: -12px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2.PriceOptions_active__3WyAU {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_rate__QgHQ3 {\n  margin-left: 10px;\n}\n.PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_rate__QgHQ3 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a {\n  text-align: center;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__J-ZSS.PriceOptions_small__2-wzl .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n@media (max-width: 768px) {\n  .PriceOptions_options__J-ZSS {\n    padding: 20px 20px;\n  }\n  .PriceOptions_options__J-ZSS p {\n    font-size: 14px;\n    font-weight: 400;\n    color: #616a79;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a {\n    padding-right: 0;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceBtn__Xz4m_ {\n    display: flex;\n    justify-content: space-between;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2 {\n    display: inline-block;\n    background-color: #fff;\n    width: 74px;\n    height: 36px;\n    line-height: 36px;\n    border-radius: 6px;\n    border: 1px solid #cfcfcf;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceItem__rJ9o2.PriceOptions_active__3WyAU {\n    background-color: #fff;\n    color: #FF3266FF;\n    border-radius: 4px;\n    border: 1px solid #ff3266;\n  }\n  .PriceOptions_options__J-ZSS .PriceOptions_infoItem__3IL3a .PriceOptions_priceInput__1MrVy {\n    border-radius: 6px;\n    height: 36px;\n    width: auto;\n  }\n}\n";
15
+var styles = {"options":"PriceOptions_options__J-ZSS","infoItem":"PriceOptions_infoItem__3IL3a","priceItem":"PriceOptions_priceItem__rJ9o2","active":"PriceOptions_active__3WyAU","priceInput":"PriceOptions_priceInput__1MrVy","rate":"PriceOptions_rate__QgHQ3","small":"PriceOptions_small__2-wzl","priceBtn":"PriceOptions_priceBtn__Xz4m_"};
16
+styleInject_es.styleInject(css);
17
+
18
+var PriceOptions = function PriceOptions(_ref) {
19
+  var price = _ref.price,
20
+      onPriceChange = _ref.onPriceChange,
21
+      _ref$size = _ref.size,
22
+      _ref$focusScroll = _ref.focusScroll,
23
+      _ref$withTitle = _ref.withTitle,
24
+      withTitle = _ref$withTitle === void 0 ? true : _ref$withTitle,
25
+      _ref$titleText = _ref.titleText,
26
+      titleText = _ref$titleText === void 0 ? "Price" : _ref$titleText,
27
+      inputRef = _ref.inputRef;
28
+  var defaultOptions = [100, 600, 800]; // 控制是否为其他金额输入情况
29
+
30
+  var _useState = React.useState(false),
31
+      _useState2 = _commonjsHelpers._slicedToArray(_useState, 2),
32
+      inputStatus = _useState2[0],
33
+      setInputStatus = _useState2[1];
34
+
35
+  return React__default.createElement("div", {
36
+    className: index.classnames(styles.options)
37
+  }, withTitle ? React__default.createElement("p", null, titleText) : null, React__default.createElement("div", {
38
+    className: styles.infoItem
39
+  }, React__default.createElement("span", {
40
+    className: styles.priceBtn
41
+  }, defaultOptions.map(function (item) {
42
+    var _classnames;
43
+
44
+    return React__default.createElement("span", {
45
+      className: index.classnames((_classnames = {}, _commonjsHelpers._defineProperty(_classnames, styles.priceItem, true), _commonjsHelpers._defineProperty(_classnames, styles.active, price === item && !inputStatus), _classnames)),
46
+      key: item,
47
+      onClick: function onClick() {
48
+        onPriceChange(item);
49
+        setInputStatus(false);
50
+      }
51
+    }, utils.formatMoney(item / 100, 0), "\xA5");
52
+  }))));
53
+};
54
+
55
+exports.default = PriceOptions;
56
+//# sourceMappingURL=index.js.map

+ 1
- 0
lib/PriceOptions/index.js.map ファイルの表示

@@ -0,0 +1 @@
1
+{"version":3,"file":"index.js","sources":["../../src/components/Payment/PriceOptions/index.tsx"],"sourcesContent":["import React, { useState } from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { formatMoney } from \"../Utils/utils\";\r\n\r\nimport styles from \"./PriceOptions.less\";\r\n\r\ninterface Props {\r\n  price: number;\r\n  onPriceChange: (v: number) => void;\r\n  size: \"small\" | \"normal\" | \"large\";\r\n  focusScroll: boolean;\r\n  withTitle: boolean;\r\n  titleText: string;\r\n  inputRef: React.RefObject<any>;\r\n}\r\n\r\nconst PriceOptions = ({\r\n  price,\r\n  onPriceChange,\r\n  size = \"normal\",\r\n  focusScroll = true,\r\n  withTitle = true,\r\n  titleText = \"Price\",\r\n  inputRef\r\n}: Props) => {\r\n  const defaultOptions = [100, 600, 800];\r\n  // 控制是否为其他金额输入情况\r\n  const [inputStatus, setInputStatus] = useState(false);\r\n\r\n  return (\r\n    <div\r\n      className={classnames(styles.options)}\r\n    >\r\n      {withTitle ? (\r\n        <p>\r\n          {titleText}\r\n        </p>\r\n      ) : null}\r\n      <div className={styles.infoItem}>\r\n        <span className={styles.priceBtn}>\r\n          {defaultOptions.map(item => (\r\n            <span\r\n              className={classnames({\r\n                [styles.priceItem]: true,\r\n                [styles.active]: price === item && !inputStatus\r\n              })}\r\n              key={item}\r\n              onClick={() => {\r\n                onPriceChange(item);\r\n                setInputStatus(false);\r\n              }}\r\n            >\r\n              {formatMoney(item/100, 0)}¥\r\n            </span>\r\n          ))}\r\n        </span>\r\n        {/* <Input\r\n          ref={inputRef}\r\n          onMouseEnter={() => {\r\n            if (inputStatus && inputRef && inputRef.current) {\r\n              inputRef.current.focus();\r\n              inputRef.current.select();\r\n            }\r\n          }}\r\n          suffix=\"¥\"\r\n          className={styles.priceInput}\r\n          value={inputStatus ? price / 100 || \"\" : \"\"}\r\n          placeholder=\"Others\"\r\n          onChange={e => {\r\n            const n = +e.target.value;\r\n            if (Number.isNaN(n)) {\r\n              return;\r\n            }\r\n            // 测试暂时改成1分\r\n            onPriceChange(n * 100);\r\n          }}\r\n          onClick={e => {\r\n            onPriceChange(0);\r\n            setInputStatus(true);\r\n          }}\r\n          onFocus={e => {\r\n            if (focusScroll) {\r\n              e.target.scrollIntoView();\r\n            }\r\n          }}\r\n        /> */}\r\n      </div>\r\n    </div>\r\n  );\r\n};\r\n\r\nexport default PriceOptions;\r\n"],"names":["PriceOptions","price","onPriceChange","size","focusScroll","withTitle","titleText","inputRef","defaultOptions","useState","inputStatus","setInputStatus","React","classnames","styles","options","infoItem","priceBtn","map","item","priceItem","active","formatMoney"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,IAAMA,YAAY,GAAG,SAAfA,YAAe,OAQR;MAPXC,KAOW,QAPXA,KAOW;MANXC,aAMW,QANXA,aAMW;uBALXC,IAKW;MALXA,wBACAC,WAIW;MAJXA,sBACAC,SAGW;MAHXA,SAGW,+BAHC,IAGD;4BAFXC,SAEW;MAFXA,SAEW,+BAFC,OAED;MADXC,QACW,QADXA,QACW;MACLC,cAAc,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAvB,CADW;;kBAG2BC,cAAQ,CAAC,KAAD,CAHnC;;MAGJC,WAHI;MAGSC,cAHT;;SAMTC;IACE,SAAS,EAAEC,gBAAU,CAACC,MAAM,CAACC,OAAR;KAEpBV,SAAS,GACRO,wCACGN,SADH,CADQ,GAIN,IAPN,EAQEM;IAAK,SAAS,EAAEE,MAAM,CAACE;KACrBJ;IAAM,SAAS,EAAEE,MAAM,CAACG;KACrBT,cAAc,CAACU,GAAf,CAAmB,UAAAC,IAAI;;;WACtBP;MACE,SAAS,EAAEC,gBAAU,kEAClBC,MAAM,CAACM,SADW,EACC,IADD,iDAElBN,MAAM,CAACO,MAFW,EAEFpB,KAAK,KAAKkB,IAAV,IAAkB,CAACT,WAFjB,gBADvB;MAKE,GAAG,EAAES,IALP;MAME,OAAO,EAAE,mBAAM;QACbjB,aAAa,CAACiB,IAAD,CAAb;QACAR,cAAc,CAAC,KAAD,CAAd;;OAGDW,iBAAW,CAACH,IAAI,GAAC,GAAN,EAAW,CAAX,CAXd,SADsB;GAAvB,CADH,CADF,CARF,CADF;CAbF;;;;"}

lib/Editor-RichTextEditor/index.js → lib/RichTextEditor/index.js ファイルの表示


lib/Editor-RichTextEditor/index.js.map → lib/RichTextEditor/index.js.map ファイルの表示


lib/Editor-RichTextEditorForSlate/index.js → lib/RichTextEditorForSlate/index.js ファイルの表示


lib/Editor-RichTextEditorForSlate/index.js.map → lib/RichTextEditorForSlate/index.js.map ファイルの表示


lib/Payment-Common-common-WaitPayInfoView/index.js → lib/WaitPayInfoView/index.js ファイルの表示

@@ -10,8 +10,8 @@ var React__default = _interopDefault(React);
10 10
 var index = require('../index-c2424ad4.js');
11 11
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
12 12
 
13
-var css = ".WaitPayInfoView_waitingContainer__2fyww {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
14
-var styles = {"waitingContainer":"WaitPayInfoView_waitingContainer__2fyww"};
13
+var css = ".WaitPayInfoView_waitingContainer__2DyOZ {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
14
+var styles = {"waitingContainer":"WaitPayInfoView_waitingContainer__2DyOZ"};
15 15
 styleInject_es.styleInject(css);
16 16
 
17 17
 const img = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQ4cHgiIGhlaWdodD0iNDNweCIgdmlld0JveD0iMCAwIDQ4IDQzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAuMiAoNTUwNDcpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPg0KICAgIDx0aXRsZT5rY3hxX3BvcG92ZXJzX2ljb25fdGFuaGFvPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSLlj6blrqLnvZFf55u05pKt6K++X+ivvueoi+S7i+e7jeivpuaDhV/otK3kubDmj5DnpLrlvLnnqpciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05MzYuMDAwMDAwLCAtMTkwLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+DQogICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMjIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDY5MC4wMDAwMDAsIDExMC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0ia2N4cV9wb3BvdmVyc19pY29uX3RhbmhhbyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQ2LjAwMDAwMCwgODAuMDAwMDAwKSI+DQogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00OCwyMS41IEM0OCwzMy4zNzM2NjI2IDM4LjM2NDU3NTYsNDMgMjYuNDc5NzA0OCw0MyBDMjEuMTMwNjI3Myw0MyAxNy4wMzkxMTQ0LDQyLjE1MDYxNzMgMTMuMjg0MTMyOCwzOC45MzAwNDEyIEMxMS44MTQwMjIxLDM3LjY3MzY2MjYgMS43MDAzNjksNDMuMjEyMzQ1NyAwLjE3NzEyMTc3MSwzOS4yODM5NTA2IEMtMS4wNjI3MzA2MywzNi4wOTg3NjU0IDUuOTUxMjkxNTEsMjkuMjUwNjE3MyA1LjMxMzY1MzE0LDI3LjA3NDA3NDEgQzQuNzY0NTc1NjUsMjUuMTgwNjU4NCA0Ljk1OTQwOTU5LDIzLjU3MDM3MDQgNC45NTk0MDk1OSwyMS41IEM0Ljk1OTQwOTU5LDkuNjI2MzM3NDUgMTQuNTk0ODMzOSwwIDI2LjQ3OTcwNDgsMCBDMzguMzY0NTc1NiwwIDQ4LDkuNjI2MzM3NDUgNDgsMjEuNSBaIiBpZD0iU2hhcGUiIGZpbGw9IiMxNzkwRkYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMy44NDg3MDgsIDguMTkzNDE2KSIgZmlsbD0iI0ZGRkZGRiI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMi41LDI3LjQ5NzEwOTggQzEuMTMyMzUyOTQsMjcuNDk3MTA5OCAwLDI2LjM3OTQ2MjggMCwyNC45OTcxMDk4IEMwLDIzLjYxNDc1NjkgMS4xMzIzNTI5NCwyMi40OTcxMDk4IDIuNSwyMi40OTcxMDk4IEMzLjg2NzY0NzA2LDIyLjQ5NzEwOTggNSwyMy42MTQ3NTY5IDUsMjQuOTk3MTA5OCBDNSwyNi4zNzk0NjI4IDMuODY3NjQ3MDYsMjcuNDk3MTA5OCAyLjUsMjcuNDk3MTA5OCBaIE0yLjUsMTkuNDIxOTY1MyBDMS4xMzIzNTI5NCwxOS40MjE5NjUzIDAsMTguMTkxOTA3NSAwLDE2LjY3MDUyMDIgTDAsMi43NTE0NDUwOSBDMCwxLjI0NjI0Mjc3IDEuMTMyMzUyOTQsMCAyLjUsMCBDMy44Njc2NDcwNiwwIDUsMS4yMzAwNTc4IDUsMi43NTE0NDUwOSBMNSwxNi42NzA1MjAyIEM1LDE4LjE5MTkwNzUgMy44Njc2NDcwNiwxOS40MjE5NjUzIDIuNSwxOS40MjE5NjUzIFoiIGlkPSJTaGFwZSI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+';

+ 1
- 0
lib/WaitPayInfoView/index.js.map
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 8
- 8
lib/index.js ファイルの表示

@@ -8,10 +8,10 @@ require('./index-c2424ad4.js');
8 8
 require('./style-inject.es-dcee06b6.js');
9 9
 require('./test-029f205d.js');
10 10
 require('./utils-ed518bfc.js');
11
-var PaymentCommonCommonConsumeListView = require('./Payment-Common-common-ConsumeListView/index.js');
12
-var PaymentCommonCommonPayPlatformOptions = require('./Payment-Common-common-PayPlatformOptions/index.js');
13
-var PaymentCommonCommonPriceOptions = require('./Payment-Common-common-PriceOptions/index.js');
14
-var PaymentCommonCommonWaitPayInfoView = require('./Payment-Common-common-WaitPayInfoView/index.js');
11
+var ConsumeListView = require('./ConsumeListView/index.js');
12
+var PayPlatformOptions = require('./PayPlatformOptions/index.js');
13
+var PriceOptions = require('./PriceOptions/index.js');
14
+var WaitPayInfoView = require('./WaitPayInfoView/index.js');
15 15
 
16 16
 // type TransmitImgTxtData = {
17 17
 //   user_id?: string|number;
@@ -78,9 +78,9 @@ var PaymentCommonCommonWaitPayInfoView = require('./Payment-Common-common-WaitPa
78 78
 
79 79
 var Test = "TestComponent";
80 80
 
81
-exports.ConsumeListView = PaymentCommonCommonConsumeListView.default;
82
-exports.PayPlatformOptions = PaymentCommonCommonPayPlatformOptions.default;
83
-exports.PriceOptions = PaymentCommonCommonPriceOptions.default;
84
-exports.WaitPayInfoView = PaymentCommonCommonWaitPayInfoView.default;
81
+exports.ConsumeListView = ConsumeListView.default;
82
+exports.PayPlatformOptions = PayPlatformOptions.default;
83
+exports.PriceOptions = PriceOptions.default;
84
+exports.WaitPayInfoView = WaitPayInfoView.default;
85 85
 exports.Test = Test;
86 86
 //# sourceMappingURL=index.js.map

+ 2
- 4
rollup.config.js ファイルの表示

@@ -46,11 +46,10 @@ const cModuleMap = cModuleNames.reduce((prev, name) => {
46 46
   const child = fs.readdirSync(path.resolve(modulePath));
47 47
   child.forEach(c => {
48 48
     const childFoldPath = `${modulePath}/${c}`;
49
-    console.log('childFoldPath: ', childFoldPath);
50 49
     const isDir = fs.statSync(childFoldPath).isDirectory();
51 50
     if (isDir) {
52 51
       if (fs.existsSync(`${childFoldPath}/index.tsx`)) {
53
-        prev[`${name}-${c}`] = `${childFoldPath}/index.tsx`;
52
+        prev[c] = `${childFoldPath}/index.tsx`;
54 53
       }
55 54
       if (c === 'Common' && fs.existsSync(childFoldPath) && fs.statSync(childFoldPath).isDirectory()) {
56 55
         const commonComponentsArr = fs.readdirSync(childFoldPath);
@@ -58,13 +57,12 @@ const cModuleMap = cModuleNames.reduce((prev, name) => {
58 57
           const commonComponentFoldPath = `${childFoldPath}/${commonComponentFold}`;
59 58
           const isCommonComponentDir = fs.statSync(commonComponentFoldPath).isDirectory();
60 59
           if (isCommonComponentDir && fs.existsSync(`${commonComponentFoldPath}/index.tsx`)) {
61
-            prev[`${name}-${c}-common-${commonComponentFold}`] = `${commonComponentFoldPath}/index.tsx`;
60
+            prev[`${commonComponentFold}`] = `${commonComponentFoldPath}/index.tsx`;
62 61
           }
63 62
         });
64 63
       }
65 64
     }
66 65
   });
67
-  console.log('prev: ', prev);
68 66
   return prev;
69 67
 }, {});
70 68
 

src/components/Payment/Common/ConsumeListView/ConsumeListView.less → src/components/Payment/ConsumeListView/ConsumeListView.less ファイルの表示


src/components/Payment/Common/ConsumeListView/README.md → src/components/Payment/ConsumeListView/README.md ファイルの表示


src/components/Payment/Common/ConsumeListView/index.tsx → src/components/Payment/ConsumeListView/index.tsx ファイルの表示

@@ -2,7 +2,7 @@ import React, { Component, MouseEvent } from 'react';
2 2
 import classnames from 'classnames';
3 3
 
4 4
 // import { DEFAULT_AVATAR } from '@/constants';
5
-import { addImageProcess } from '../../Utils/utils';
5
+import { addImageProcess } from '../Utils/utils';
6 6
 import KingDomPic from '../assets/popovers_list_huangguan.png';
7 7
 
8 8
 import styles from './ConsumeListView.less';

src/components/Payment/Common/PayPlatformOptions/PayPlatformOptions.less → src/components/Payment/PayPlatformOptions/PayPlatformOptions.less ファイルの表示


src/components/Payment/Common/PayPlatformOptions/README.md → src/components/Payment/PayPlatformOptions/README.md ファイルの表示


src/components/Payment/Common/PayPlatformOptions/index.tsx → src/components/Payment/PayPlatformOptions/index.tsx ファイルの表示

@@ -9,7 +9,7 @@ import mobileIconWechatpay from "../assets/payment_btn_pay_wechatpay@2x.png";
9 9
 import mobileIconPaypal from "../assets/payment_btn_pay_paypal@2x.png";
10 10
 
11 11
 import styles from "./PayPlatformOptions.less";
12
-import { exportStyleSizeClass } from "../../Utils/utils";
12
+import { exportStyleSizeClass } from "../Utils/utils";
13 13
 
14 14
 type PAY_CHANNEL_VALUE =
15 15
   | "PAYPAL_PAYPAL"

src/components/Payment/Common/PriceOptions/PriceOptions.less → src/components/Payment/PriceOptions/PriceOptions.less ファイルの表示

@@ -11,6 +11,7 @@
11 11
   }
12 12
   .infoItem {
13 13
     padding-right: 0;
14
+    margin-bottom: -12px;
14 15
     .priceItem {
15 16
       background:rgba(243,243,243,0.14);
16 17
       border-radius:4px;

src/components/Payment/Common/PriceOptions/README.md → src/components/Payment/PriceOptions/README.md ファイルの表示


src/components/Payment/Common/PriceOptions/index.tsx → src/components/Payment/PriceOptions/index.tsx ファイルの表示

@@ -1,17 +1,16 @@
1 1
 import React, { useState } from "react";
2 2
 import classnames from "classnames";
3
-import { formatMoney } from "../../Utils/utils";
3
+import { formatMoney } from "../Utils/utils";
4 4
 
5 5
 import styles from "./PriceOptions.less";
6 6
 
7
-const FormattedMessage = ({ id }: any) => id;
8
-
9 7
 interface Props {
10 8
   price: number;
11 9
   onPriceChange: (v: number) => void;
12 10
   size: "small" | "normal" | "large";
13 11
   focusScroll: boolean;
14 12
   withTitle: boolean;
13
+  titleText: string;
15 14
   inputRef: React.RefObject<any>;
16 15
 }
17 16
 
@@ -21,6 +20,7 @@ const PriceOptions = ({
21 20
   size = "normal",
22 21
   focusScroll = true,
23 22
   withTitle = true,
23
+  titleText = "Price",
24 24
   inputRef
25 25
 }: Props) => {
26 26
   const defaultOptions = [100, 600, 800];
@@ -33,10 +33,10 @@ const PriceOptions = ({
33 33
     >
34 34
       {withTitle ? (
35 35
         <p>
36
-          <FormattedMessage id="pay.price.select.text" />
36
+          {titleText}
37 37
         </p>
38 38
       ) : null}
39
-      <div className={styles.infoItem} style={{ marginBottom: "-12px" }}>
39
+      <div className={styles.infoItem}>
40 40
         <span className={styles.priceBtn}>
41 41
           {defaultOptions.map(item => (
42 42
             <span
@@ -50,7 +50,7 @@ const PriceOptions = ({
50 50
                 setInputStatus(false);
51 51
               }}
52 52
             >
53
-              <FormattedMessage id={`${formatMoney(item/100, 0)}¥`} />
53
+              {formatMoney(item/100, 0)}¥
54 54
             </span>
55 55
           ))}
56 56
         </span>

src/components/Payment/Common/WaitPayInfoView/README.md → src/components/Payment/WaitPayInfoView/README.md ファイルの表示


src/components/Payment/Common/WaitPayInfoView/WaitPayInfoView.less → src/components/Payment/WaitPayInfoView/WaitPayInfoView.less ファイルの表示


src/components/Payment/Common/WaitPayInfoView/index.tsx → src/components/Payment/WaitPayInfoView/index.tsx ファイルの表示


src/components/Payment/Common/assets/btn_toggle.png → src/components/Payment/assets/btn_toggle.png ファイルの表示


src/components/Payment/Common/assets/icon-info-blue@2x.svg → src/components/Payment/assets/icon-info-blue@2x.svg ファイルの表示


src/components/Payment/Common/assets/kcxq_popovers_icon_alipay@2x.png → src/components/Payment/assets/kcxq_popovers_icon_alipay@2x.png ファイルの表示


src/components/Payment/Common/assets/kcxq_popovers_icon_paypal@2x.png → src/components/Payment/assets/kcxq_popovers_icon_paypal@2x.png ファイルの表示


src/components/Payment/Common/assets/kcxq_popovers_icon_wechatpay@2x.png → src/components/Payment/assets/kcxq_popovers_icon_wechatpay@2x.png ファイルの表示


src/components/Payment/Common/assets/payment_btn_pay_alipay@2x.png → src/components/Payment/assets/payment_btn_pay_alipay@2x.png ファイルの表示


src/components/Payment/Common/assets/payment_btn_pay_paypal@2x.png → src/components/Payment/assets/payment_btn_pay_paypal@2x.png ファイルの表示


src/components/Payment/Common/assets/payment_btn_pay_wechatpay@2x.png → src/components/Payment/assets/payment_btn_pay_wechatpay@2x.png ファイルの表示


src/components/Payment/Common/assets/popovers_list_huangguan.png → src/components/Payment/assets/popovers_list_huangguan.png ファイルの表示


+ 4
- 4
src/components/Payment/index.ts ファイルの表示

@@ -1,4 +1,4 @@
1
-export { default as ConsumeListView } from './Common/ConsumeListView';
2
-export { default as PayPlatformOptions } from './Common/PayPlatformOptions';
3
-export { default as PriceOptions } from './Common/PriceOptions';
4
-export { default as WaitPayInfoView } from './Common/WaitPayInfoView';
1
+export { default as ConsumeListView } from './ConsumeListView';
2
+export { default as PayPlatformOptions } from './PayPlatformOptions';
3
+export { default as PriceOptions } from './PriceOptions';
4
+export { default as WaitPayInfoView } from './WaitPayInfoView';

+ 0
- 1
src/lib-build.js ファイルの表示

@@ -1,4 +1,3 @@
1
-
2 1
 export { Test } from '@components/Common/test.tsx';
3 2
 export * from '@components/Common/index.ts';
4 3
 export * from '@components/Payment/index.ts';

+ 1
- 1
stats.html
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 4
- 4
stories/Payment.stories.tsx ファイルの表示

@@ -5,13 +5,13 @@ import { withInfo } from "@storybook/addon-info";
5 5
 import { withKnobs, number, boolean, select } from "@storybook/addon-knobs";
6 6
 import { addReadme } from 'storybook-readme';
7 7
 
8
-import ConsumeListView from '@components/Payment/Common/ConsumeListView';
8
+import ConsumeListView from '@/components/Payment/ConsumeListView';
9 9
 import ConsumeListViewDoc from '@components/Payment/Common/ConsumeListView/README.md';
10
-import PayPlatFormOptions, { PAY_CHANNEL } from '@components/Payment/Common/PayPlatformOptions';
10
+import PayPlatFormOptions, { PAY_CHANNEL } from '@/components/Payment/PayPlatformOptions';
11 11
 import PayPlatFormOptionsDoc from '@components/Payment/Common/PayPlatformOptions/README.md';
12
-import PriceOptions from '@components/Payment/Common/PriceOptions';
12
+import PriceOptions from '@/components/Payment/PriceOptions';
13 13
 import PriceOptionsDoc from '@components/Payment/Common/PriceOptions/README.md';
14
-import WaitPayInfoView from '@components/Payment/Common/WaitPayInfoView';
14
+import WaitPayInfoView from '@/components/Payment/WaitPayInfoView';
15 15
 import WaitPayInfoViewDoc from '@components/Payment/Common/WaitPayInfoView/README.md';
16 16
 
17 17
 const stories = storiesOf('Payment', module);