universal payment
1.0.0
A universal payment webpage composed of static pages.
Demo: pay.cnily.top
Generate and save the original content obtained by each payment platform and scan.
Pull the warehouse to the local and configure the collection code of each payment platform in src/template.js
.
src/images/
Directory and fill in "[!img]" + require("./images/wechatpay.webp")
, or fill in "[!img] https://图片链接.example.com/"
to use the picture of the specified URL.Install Node.js and NPM and execute the following commands
npm install
npm run build
To build a page.
dist/
Directory. Deploy the obtained static pages on the website, and visit /index.html
to display the payment page.
src/template.js
is only a template. For more text and link configuration (detailed configuration), please refer to src/scripts/config.ts
file
The icon and the corresponding configuration are located in the src/icon
folder
Other style settings are located in src/stylesheets/config.scss
file
auto
opens automatic recognition of useragent and jumps to the webpage of the corresponding payment platformplatform
displays the specified payment platform.type
displays the design of the specified payment platform, with the following optional value icon
| logo
| select