Browse Source

dev&build: 替换图片

Roxas 4 years ago
parent
commit
bf3c19e4d7

+ 3
- 3
eslib/PayPlatformOptions/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
eslib/PayPlatformOptions/index.js.map
File diff suppressed because it is too large
View File


+ 3
- 3
lib/PayPlatformOptions/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/PayPlatformOptions/index.js.map
File diff suppressed because it is too large
View File


+ 2
- 4
rollup.config.js View File

12
 import visualizer from 'rollup-plugin-visualizer';
12
 import visualizer from 'rollup-plugin-visualizer';
13
 import analyze from 'rollup-plugin-analyzer';
13
 import analyze from 'rollup-plugin-analyzer';
14
 import ts from "@wessberg/rollup-plugin-ts";
14
 import ts from "@wessberg/rollup-plugin-ts";
15
-import typescript from 'rollup-plugin-typescript2';
16
-import sourcemaps from 'rollup-plugin-sourcemaps';
15
+// import typescript from 'rollup-plugin-typescript2';
16
+// import sourcemaps from 'rollup-plugin-sourcemaps';
17
 
17
 
18
 // import url from '@rollup/plugin-url';
18
 // import url from '@rollup/plugin-url';
19
 // import less from "rollup-plugin-less";
19
 // import less from "rollup-plugin-less";
21
 
21
 
22
 export function getModuleExports(moduleId) {
22
 export function getModuleExports(moduleId) {
23
   const id = require.resolve(moduleId)
23
   const id = require.resolve(moduleId)
24
-  console.log('moduleId: ', moduleId);
25
-  console.log('id: ', id);
26
   const moduleOut = nodeEval(fs.readFileSync(id).toString(), id)
24
   const moduleOut = nodeEval(fs.readFileSync(id).toString(), id)
27
   let result = []
25
   let result = []
28
   const excludeExports = /^(default|__)/
26
   const excludeExports = /^(default|__)/

+ 3
- 3
src/components/Payment/PayPlatformOptions/index.tsx View File

1
 import React, { PureComponent } from "react";
1
 import React, { PureComponent } from "react";
2
 import classnames from "classnames";
2
 import classnames from "classnames";
3
 
3
 
4
-import iconAlipay from "../assets/kcxq_popovers_icon_alipay@2x.png";
5
-import iconWechatpay from "../assets/kcxq_popovers_icon_wechatpay@2x.png";
6
-import iconPaypal from "../assets/kcxq_popovers_icon_paypal@2x.png";
4
+import iconAlipay from "../assets/pay_zhifubao@2x.png";
5
+import iconWechatpay from "../assets/pay_wechat@2x.png";
6
+import iconPaypal from "../assets/pay_paypal@2x.png";
7
 import mobileIconAlipay from "../assets/payment_btn_pay_alipay@2x.png";
7
 import mobileIconAlipay from "../assets/payment_btn_pay_alipay@2x.png";
8
 import mobileIconWechatpay from "../assets/payment_btn_pay_wechatpay@2x.png";
8
 import mobileIconWechatpay from "../assets/payment_btn_pay_wechatpay@2x.png";
9
 import mobileIconPaypal from "../assets/payment_btn_pay_paypal@2x.png";
9
 import mobileIconPaypal from "../assets/payment_btn_pay_paypal@2x.png";

BIN
src/components/Payment/assets/pay_paypal@2x.png View File


BIN
src/components/Payment/assets/pay_wechat@2x.png View File


BIN
src/components/Payment/assets/pay_zhifubao@2x.png View File


+ 1
- 1
stats.html
File diff suppressed because it is too large
View File