Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
计全科技
jeepay-ui
提交
998fcc56
jeepay-ui
项目概览
计全科技
/
jeepay-ui
通知
11
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
jeepay-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
998fcc56
编写于
6月 22, 2021
作者:
qq_40137331
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1. 商户列表增加支付测试页面
上级
f05fa039
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
1044 addition
and
423 deletion
+1044
-423
jeepay-ui-merchant/package-lock.json
jeepay-ui-merchant/package-lock.json
+423
-423
jeepay-ui-merchant/src/api/manage.js
jeepay-ui-merchant/src/api/manage.js
+17
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_app.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_app.svg
+11
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_bar.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_bar.svg
+7
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_jsapi.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_jsapi.svg
+17
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_pc.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_pc.svg
+18
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_qr.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_qr.svg
+14
-0
jeepay-ui-merchant/src/assets/payTestImg/ali_wap.svg
jeepay-ui-merchant/src/assets/payTestImg/ali_wap.svg
+18
-0
jeepay-ui-merchant/src/assets/payTestImg/auto_bar.svg
jeepay-ui-merchant/src/assets/payTestImg/auto_bar.svg
+7
-0
jeepay-ui-merchant/src/assets/payTestImg/jee-big.svg
jeepay-ui-merchant/src/assets/payTestImg/jee-big.svg
+1
-0
jeepay-ui-merchant/src/assets/payTestImg/jee-quan.svg
jeepay-ui-merchant/src/assets/payTestImg/jee-quan.svg
+1
-0
jeepay-ui-merchant/src/assets/payTestImg/logo.svg
jeepay-ui-merchant/src/assets/payTestImg/logo.svg
+1
-0
jeepay-ui-merchant/src/assets/payTestImg/pay_h5.png
jeepay-ui-merchant/src/assets/payTestImg/pay_h5.png
+0
-0
jeepay-ui-merchant/src/assets/payTestImg/qr_cashier.svg
jeepay-ui-merchant/src/assets/payTestImg/qr_cashier.svg
+14
-0
jeepay-ui-merchant/src/assets/payTestImg/top.svg
jeepay-ui-merchant/src/assets/payTestImg/top.svg
+1
-0
jeepay-ui-merchant/src/assets/payTestImg/wx_app.svg
jeepay-ui-merchant/src/assets/payTestImg/wx_app.svg
+17
-0
jeepay-ui-merchant/src/assets/payTestImg/wx_bar.svg
jeepay-ui-merchant/src/assets/payTestImg/wx_bar.svg
+7
-0
jeepay-ui-merchant/src/assets/payTestImg/wx_h5.svg
jeepay-ui-merchant/src/assets/payTestImg/wx_h5.svg
+7
-0
jeepay-ui-merchant/src/assets/payTestImg/wx_jsapi.svg
jeepay-ui-merchant/src/assets/payTestImg/wx_jsapi.svg
+7
-0
jeepay-ui-merchant/src/assets/payTestImg/wx_native.svg
jeepay-ui-merchant/src/assets/payTestImg/wx_native.svg
+14
-0
jeepay-ui-merchant/src/config/appConfig.js
jeepay-ui-merchant/src/config/appConfig.js
+1
-0
jeepay-ui-merchant/src/views/mchApp/List.vue
jeepay-ui-merchant/src/views/mchApp/List.vue
+5
-0
jeepay-ui-merchant/src/views/payTest/PayTest.vue
jeepay-ui-merchant/src/views/payTest/PayTest.vue
+247
-0
jeepay-ui-merchant/src/views/payTest/PayTestModal.vue
jeepay-ui-merchant/src/views/payTest/PayTestModal.vue
+66
-0
jeepay-ui-merchant/src/views/payTest/payTest.css
jeepay-ui-merchant/src/views/payTest/payTest.css
+123
-0
未找到文件。
jeepay-ui-merchant/package-lock.json
浏览文件 @
998fcc56
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
jeepay-ui-merchant/src/api/manage.js
浏览文件 @
998fcc56
...
...
@@ -134,6 +134,23 @@ export function getMchPayConfigUnique (infoId, ifCode) {
})
}
/** 支付体验配置 **/
export
function
payTest
(
appId
)
{
return
request
.
request
({
url
:
'
api/paytest/payways/
'
+
appId
,
method
:
'
GET
'
})
}
/** 支付体验下单配置 **/
export
function
payTestOrder
(
parameter
)
{
return
request
.
request
({
url
:
'
/api/paytest/payOrders
'
,
method
:
'
POST
'
,
data
:
parameter
})
}
/** 根据支付方式查询可用支付接口 **/
export
function
getAvailablePayInterfaceList
(
appId
,
wayCode
)
{
return
request
.
request
({
...
...
jeepay-ui-merchant/src/assets/payTestImg/ali_app.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<defs>
<clipPath
id=
"clip-path"
>
<path
id=
"路径_4169"
data-name=
"路径 4169"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6271.75 11622.75)"
fill=
"#04c361"
/>
</clipPath>
</defs>
<g
id=
"支付宝APP"
transform=
"translate(-6425 -11757)"
clip-path=
"url(#clip-path)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6271.75 11622.75)"
fill=
"#1977fd"
/>
<path
id=
"路径_4168"
data-name=
"路径 4168"
d=
"M677.256,334.179a14.853,14.853,0,0,0,1.374-2.946,13.7,13.7,0,0,0,.808-3.024l-5.6-.049v-1.91l6.782-.048V324.85h-6.782v-3.08h-3.322v3.08h-6.328V326.2l6.324-.048v2.052h-5.073v1.076h10.447a10.038,10.038,0,0,1-.514,1.948c-.4,1.084-.812,2.03-.812,2.03s-4.909-1.713-7.5-1.713-5.728,1.039-6.033,4.048,1.464,4.644,3.955,5.248a9.9,9.9,0,0,0,6.793-.987,15.752,15.752,0,0,0,3.966-3.207l16.4,7.306s.652-.983,1.121-1.9a21.179,21.179,0,0,0,.86-1.959Zm-10.719,5.013c-3.665,0-4.432-1.8-4.432-3.091s.763-2.7,3.877-2.9,7.326,2.208,7.326,2.208-3.106,3.788-6.771,3.788Zm0,0"
transform=
"translate(5773 11445.265)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/ali_bar.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"支付宝条码"
transform=
"translate(-6535 -11679)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6381.75 11544.75)"
fill=
"#1977fd"
/>
<path
id=
"路径_4161"
data-name=
"路径 4161"
d=
"M703.52,282.559h1.913v12.715H703.52Zm9.245,0h2.75v12.715h-2.75Zm-5.472,0h.89v12.715h-.89Zm2.722,0h.89v12.715h-.89Zm7.357,0h.89v12.715h-.89Zm0,0"
transform=
"translate(5844.109 11410.043)"
fill=
"#fff"
/>
<path
id=
"减去_1"
data-name=
"减去 1"
d=
"M20,20H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H20a2,2,0,0,1,2,2V18A2,2,0,0,1,20,20ZM2.5,1.5a1,1,0,0,0-1,1v15a1,1,0,0,0,1,1h17a1,1,0,0,0,1-1V2.5a1,1,0,0,0-1-1Z"
transform=
"translate(6544 11689)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/ali_jsapi.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<defs>
<clipPath
id=
"clip-path"
>
<rect
id=
"矩形_2579"
data-name=
"矩形 2579"
width=
"20.901"
height=
"22"
fill=
"#fff"
/>
</clipPath>
</defs>
<g
id=
"支付宝生活号"
transform=
"translate(-6425 -11707)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6271.75 11572.75)"
fill=
"#1977fd"
/>
<g
id=
"组_1007"
data-name=
"组 1007"
transform=
"translate(5864.55 11585)"
>
<g
id=
"组_1006"
data-name=
"组 1006"
transform=
"translate(570 131)"
>
<g
id=
"组_1005"
data-name=
"组 1005"
transform=
"translate(0 0)"
clip-path=
"url(#clip-path)"
>
<path
id=
"路径_4167"
data-name=
"路径 4167"
d=
"M589.606,152.943a1.382,1.382,0,0,1-.472-.088l-8.257-3.279a1.252,1.252,0,0,0-.921,0l-8.257,3.279a1,1,0,0,1-.45.088,1.21,1.21,0,0,1-1.162-.8,1.161,1.161,0,0,1-.088-.472V132.23a1.261,1.261,0,0,1,1.261-1.261h18.366a1.261,1.261,0,0,1,1.261,1.261v19.452a1.3,1.3,0,0,1-1.283,1.261ZM571.634,151.1l7.708-3.07a2.864,2.864,0,0,1,1.086-.219,3.077,3.077,0,0,1,1.1.208l7.708,3.059V132.6h-17.6Zm11.711-5.022a.837.837,0,0,1-.362-.088l-2.566-1.3-2.566,1.294a.838.838,0,0,1-.362.088.8.8,0,0,1-.614-.285.806.806,0,0,1-.164-.636l.494-2.741-2.062-1.93a.8.8,0,0,1-.219-.811.812.812,0,0,1,.647-.548l2.862-.395,1.272-2.5a.783.783,0,0,1,.7-.428.8.8,0,0,1,.7.428l1.272,2.5,2.862.395a.809.809,0,0,1,.647.548.781.781,0,0,1-.219.811l-2.061,1.941.493,2.741a.778.778,0,0,1-.164.636.754.754,0,0,1-.592.285Zm-2.906-2.785a1.071,1.071,0,0,1,.362.077l1.853.943-.351-1.985a.8.8,0,0,1,.23-.7L584,140.245l-2.05-.285a.736.736,0,0,1-.581-.417l-.921-1.831-.921,1.831a.782.782,0,0,1-.581.417l-2.039.285,1.436,1.382a.785.785,0,0,1,.23.7l-.362,2.007.175-.088c.6-.307,1.524-.779,1.667-.844l.022-.011a.69.69,0,0,1,.362-.1Zm0,0"
transform=
"translate(-570 -130.97)"
fill=
"#fff"
/>
</g>
</g>
</g>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/ali_pc.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<defs>
<clipPath
id=
"clip-path"
>
<rect
id=
"矩形_2580"
data-name=
"矩形 2580"
width=
"8"
height=
"8"
fill=
"#fff"
/>
</clipPath>
</defs>
<g
id=
"支付宝WEB"
transform=
"translate(-6425 -11807)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6271.75 11672.75)"
fill=
"#1977fd"
/>
<g
id=
"组_1011"
data-name=
"组 1011"
transform=
"translate(5891 11690.5)"
>
<g
id=
"组_1009"
data-name=
"组 1009"
transform=
"translate(550 130)"
>
<g
id=
"组_1008"
data-name=
"组 1008"
transform=
"translate(0 0)"
clip-path=
"url(#clip-path)"
>
<path
id=
"路径_4170"
data-name=
"路径 4170"
d=
"M553.877,130.52a3.993,3.993,0,1,0,4,3.993,4,4,0,0,0-4-3.993Zm.321,7.273a.17.17,0,0,0-.061.009v-1.883c.452-.009.86-.017,1.234-.043a4.974,4.974,0,0,1-1.173,1.918Zm-.643,0a5.015,5.015,0,0,1-1.173-1.918c.365.026.782.043,1.234.043V137.8c-.017,0-.035-.009-.061-.009Zm-2.98-3.281a3.92,3.92,0,0,1,.061-.642c.191-.035.556-.087,1.069-.139a4.6,4.6,0,0,0-.07.79,5.476,5.476,0,0,0,.061.781c-.5-.052-.878-.1-1.069-.139a5.478,5.478,0,0,1-.052-.651Zm1.59,0a4.228,4.228,0,0,1,.087-.833c.4-.026.852-.052,1.364-.052V135.4c-.5-.009-.964-.026-1.373-.061a4.831,4.831,0,0,1-.078-.825Zm2.024-3.281a5.288,5.288,0,0,1,1.173,1.918c-.365-.026-.773-.043-1.225-.043v-1.883c.017,0,.035.009.052.009Zm-.573-.009v1.883c-.452.009-.86.017-1.225.043a5.305,5.305,0,0,1,1.164-1.918c.026,0,.043-.009.061-.009Zm.521,4.175v-1.771c.5.009.965.026,1.364.052a4.245,4.245,0,0,1,.009,1.667c-.4.026-.86.043-1.373.052Zm1.9-1.666c.513.052.878.1,1.069.139a3.16,3.16,0,0,1,.07.642,3.92,3.92,0,0,1-.061.642c-.191.035-.556.087-1.069.139a4.621,4.621,0,0,0,.061-.79,4.48,4.48,0,0,0-.069-.772Zm.912-.417c-.243-.035-.591-.078-1.034-.122a5.7,5.7,0,0,0-.878-1.771,3.31,3.31,0,0,1,1.911,1.892Zm-4.24-1.892a5.374,5.374,0,0,0-.878,1.762c-.434.035-.782.087-1.034.122a3.345,3.345,0,0,1,1.912-1.883ZM550.8,135.71c.243.035.591.078,1.025.122a5.371,5.371,0,0,0,.869,1.762,3.341,3.341,0,0,1-1.894-1.883Zm4.258,1.883a5.318,5.318,0,0,0,.869-1.753c.434-.035.782-.087,1.025-.121a3.351,3.351,0,0,1-1.894,1.875Zm0,0"
transform=
"translate(-549.881 -130.515)"
fill=
"#fff"
/>
</g>
</g>
</g>
<path
id=
"联合_46"
data-name=
"联合 46"
d=
"M3.25,20A.249.249,0,0,1,3,19.75v-1a.25.25,0,0,1,.25-.25h6V15H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H18a2,2,0,0,1,2,2V13a2,2,0,0,1-2,2H10.75v3.5h6a.25.25,0,0,1,.25.25v1a.25.25,0,0,1-.25.249ZM1.5,2.25v10.5a.751.751,0,0,0,.75.75h15.5a.751.751,0,0,0,.751-.75V2.25a.751.751,0,0,0-.751-.75H2.25A.751.751,0,0,0,1.5,2.25Z"
transform=
"translate(6435 11817)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/ali_qr.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"支付宝二维码"
transform=
"translate(-6475 -11607)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11472.75)"
fill=
"#1977fd"
/>
<rect
id=
"矩形_2549"
data-name=
"矩形 2549"
width=
"22"
height=
"1.5"
transform=
"translate(6484 11626.25)"
fill=
"#fff"
/>
<path
id=
"联合_40"
data-name=
"联合 40"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11617)"
fill=
"#fff"
/>
<path
id=
"联合_41"
data-name=
"联合 41"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11617) rotate(90)"
fill=
"#fff"
/>
<g
id=
"组_1001"
data-name=
"组 1001"
transform=
"translate(0 17)"
>
<path
id=
"联合_43"
data-name=
"联合 43"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11620) rotate(180)"
fill=
"#fff"
/>
<path
id=
"联合_42"
data-name=
"联合 42"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11620) rotate(-90)"
fill=
"#fff"
/>
</g>
<path
id=
"矩形_2559"
data-name=
"矩形 2559"
d=
"M1,0H11a1,1,0,0,1,1,1V4a0,0,0,0,1,0,0H0A0,0,0,0,1,0,4V1A1,1,0,0,1,1,0Z"
transform=
"translate(6489 11621)"
fill=
"#fff"
/>
<path
id=
"矩形_2560"
data-name=
"矩形 2560"
d=
"M0,0H12a0,0,0,0,1,0,0V3a1,1,0,0,1-1,1H1A1,1,0,0,1,0,3V0A0,0,0,0,1,0,0Z"
transform=
"translate(6489 11629)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/ali_wap.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<defs>
<clipPath
id=
"clip-path"
>
<rect
id=
"矩形_2580"
data-name=
"矩形 2580"
width=
"8"
height=
"8"
fill=
"#fff"
/>
</clipPath>
</defs>
<g
id=
"支付宝WAP"
transform=
"translate(-6425 -11857)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6271.75 11722.75)"
fill=
"#1977fd"
/>
<g
id=
"组_1010"
data-name=
"组 1010"
transform=
"translate(5891 11743)"
>
<g
id=
"组_1009"
data-name=
"组 1009"
transform=
"translate(550 130)"
>
<g
id=
"组_1008"
data-name=
"组 1008"
transform=
"translate(0 0)"
clip-path=
"url(#clip-path)"
>
<path
id=
"路径_4170"
data-name=
"路径 4170"
d=
"M553.877,130.52a3.993,3.993,0,1,0,4,3.993,4,4,0,0,0-4-3.993Zm.321,7.273a.17.17,0,0,0-.061.009v-1.883c.452-.009.86-.017,1.234-.043a4.975,4.975,0,0,1-1.173,1.918Zm-.643,0a5.016,5.016,0,0,1-1.173-1.918c.365.026.782.043,1.234.043V137.8c-.017,0-.035-.009-.061-.009Zm-2.98-3.281a3.92,3.92,0,0,1,.061-.642c.191-.035.556-.087,1.069-.139a4.6,4.6,0,0,0-.07.79,5.476,5.476,0,0,0,.061.781c-.5-.052-.878-.1-1.069-.139a5.465,5.465,0,0,1-.052-.651Zm1.59,0a4.227,4.227,0,0,1,.087-.833c.4-.026.852-.052,1.364-.052V135.4c-.5-.009-.964-.026-1.373-.061a4.831,4.831,0,0,1-.078-.825Zm2.024-3.281a5.289,5.289,0,0,1,1.173,1.918c-.365-.026-.773-.043-1.225-.043v-1.883c.017,0,.035.009.052.009Zm-.573-.009v1.883c-.452.009-.86.017-1.225.043a5.306,5.306,0,0,1,1.164-1.918c.026,0,.043-.009.061-.009Zm.521,4.175v-1.771c.5.009.964.026,1.364.052a4.245,4.245,0,0,1,.009,1.666c-.4.026-.86.043-1.373.052Zm1.9-1.666c.513.052.878.1,1.069.139a3.16,3.16,0,0,1,.07.642,3.92,3.92,0,0,1-.061.642c-.191.035-.556.087-1.069.139a4.621,4.621,0,0,0,.061-.79,4.48,4.48,0,0,0-.07-.772Zm.912-.417c-.243-.035-.591-.078-1.034-.122a5.7,5.7,0,0,0-.878-1.771,3.31,3.31,0,0,1,1.912,1.892Zm-4.24-1.892a5.371,5.371,0,0,0-.878,1.762c-.435.035-.782.087-1.034.122a3.344,3.344,0,0,1,1.911-1.883ZM550.8,135.71c.243.035.591.078,1.025.122a5.371,5.371,0,0,0,.869,1.762,3.34,3.34,0,0,1-1.894-1.883Zm4.258,1.883a5.319,5.319,0,0,0,.869-1.753c.434-.035.782-.087,1.025-.121a3.351,3.351,0,0,1-1.894,1.875Zm0,0"
transform=
"translate(-549.881 -130.515)"
fill=
"#fff"
/>
</g>
</g>
</g>
<path
id=
"联合_47"
data-name=
"联合 47"
d=
"M2,22a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2ZM1.5,2.25v17.5a.751.751,0,0,0,.75.751h11.5a.751.751,0,0,0,.75-.751V2.25a.751.751,0,0,0-.75-.75H11V2a1,1,0,0,1-1,1H6A1,1,0,0,1,5,2V1.5H2.25A.751.751,0,0,0,1.5,2.25Z"
transform=
"translate(6437 11866)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/auto_bar.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"聚合被扫"
transform=
"translate(-6535 -11679)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6381.75 11544.75)"
fill=
"#354268"
/>
<path
id=
"路径_4161"
data-name=
"路径 4161"
d=
"M703.52,282.559h1.913v12.715H703.52Zm9.245,0h2.75v12.715h-2.75Zm-5.472,0h.89v12.715h-.89Zm2.722,0h.89v12.715h-.89Zm7.357,0h.89v12.715h-.89Zm0,0"
transform=
"translate(5844.109 11410.043)"
fill=
"#fff"
/>
<path
id=
"减去_1"
data-name=
"减去 1"
d=
"M20,20H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H20a2,2,0,0,1,2,2V18A2,2,0,0,1,20,20ZM2.5,1.5a1,1,0,0,0-1,1v15a1,1,0,0,0,1,1h17a1,1,0,0,0,1-1V2.5a1,1,0,0,0-1-1Z"
transform=
"translate(6544 11689)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/jee-big.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"98.594"
height=
"90"
viewBox=
"0 0 98.594 90"
><defs><clipPath
id=
"a"
><rect
width=
"98.594"
height=
"90"
transform=
"translate(4766.87 7992)"
fill=
"#fff"
/></clipPath></defs><g
transform=
"translate(-4766.87 -7992)"
clip-path=
"url(#a)"
><path
d=
"M3044.676,1822.5h0l-12.856,11.273a6.408,6.408,0,0,0,4.225,11.227h23.076a2.246,2.246,0,0,0,1.7-3.71Z"
transform=
"translate(1745.828 6237)"
fill=
"#fff"
opacity=
"0.5"
/><path
d=
"M3030.029,1766.621l-8.854,63A13.5,13.5,0,0,0,3034.544,1845h5.016a2.249,2.249,0,0,0,2.227-1.936l2.347-16.694a4.493,4.493,0,0,1,4.45-3.87h14.684a4.5,4.5,0,0,0,4.453-3.871l2.073-14.756a4.5,4.5,0,0,1,4.456-3.873h13.412a4.5,4.5,0,0,1,4.456,5.126l-2.44,17.374-2.8,19.943A2.245,2.245,0,0,0,3089.1,1845h8.183a13.5,13.5,0,0,0,13.368-11.621l8.854-63A13.5,13.5,0,0,0,3106.134,1755H3043.4A13.5,13.5,0,0,0,3030.029,1766.621Zm60.476,22.129H3077.1a4.5,4.5,0,0,1-4.458-5.129l1.9-13.494a4.506,4.506,0,0,1,4.46-3.877h13.4a4.5,4.5,0,0,1,4.461,5.131l-1.9,13.493A4.505,4.505,0,0,1,3090.5,1788.75Z"
transform=
"translate(1745.829 6237)"
fill=
"#fff"
/></g></svg>
\ No newline at end of file
jeepay-ui-merchant/src/assets/payTestImg/jee-quan.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"384.389"
height=
"57"
viewBox=
"0 0 384.389 57"
><defs><style>
.a{fill:none;}.b{clip-path:url(#a);}.c{fill:#fff;}
</style><clipPath
id=
"a"
><rect
class=
"a"
width=
"384.389"
height=
"57"
/></clipPath></defs><g
transform=
"translate(-2806.535 -455)"
><g
class=
"b"
transform=
"translate(2806.535 455)"
><g
transform=
"translate(273.491)"
><path
class=
"c"
d=
"M3299.561,471.467h-14.567L3287.308,455h-5.066l-2.314,16.467H3265.36l-.712,5.067h14.566l-4.094,29.133h5.067l4.094-29.133h14.566Z"
transform=
"translate(-3248.001 -455)"
/><path
class=
"c"
d=
"M3247.124,506.134l2.82-20.067.712-5.067h-11.4l-.712,5.067h6.333l-3.231,22.992-3.283,1.753,1.917,4.388,14.4-7.688-1.917-4.388Z"
transform=
"translate(-3238.363 -464.533)"
/><path
class=
"c"
d=
"M3258.2,461.973,3249.353,455l-3.512,4.133,8.852,6.973Z"
transform=
"translate(-3241.105 -455)"
/></g><g
transform=
"translate(331.644)"
><path
class=
"c"
d=
"M3357.386,503.733h15.2l.712-5.067h-15.2l1.068-7.6h13.3l.712-5.067h-31.667l-.712,5.067h13.3l-1.068,7.6h-15.2l-.712,5.067h15.2l-1.157,8.233H3330.9l-.712,5.067h45.6l.712-5.067h-20.267Z"
transform=
"translate(-3330.184 -466.367)"
/><path
class=
"c"
d=
"M3349.253,468.542c4.045-2.72,7.8-5.447,11.294-8.129,2.742,2.682,5.729,5.409,9.009,8.129,3.844,3.188,7.624,5.995,11.257,8.464l3.319-4.153c-3.728-2.549-7.6-5.441-11.537-8.722-3.669-3.058-7-6.127-10.016-9.132l-.005.006V455h-2.533v.006l0-.006c-3.861,3.005-8.055,6.074-12.583,9.132-4.858,3.281-9.545,6.172-13.989,8.722l2.151,4.153C3339.943,474.536,3344.512,471.73,3349.253,468.542Z"
transform=
"translate(-3331.387 -455)"
/></g><path
class=
"c"
d=
"M3068.662,470l-.8,5.7-.713,5.067-.089.633-1.958,13.933a8.3,8.3,0,0,1-7.946,6.967h-8.866a3.767,3.767,0,0,1-3.81-4.433l2.314-16.467.8-5.7.8-5.7h-5.7l-3.916,27.867A8.6,8.6,0,0,0,3047.489,508h8.867a14.089,14.089,0,0,0,7.261-2.093l-.294,2.093h5.7l1.78-12.667,2.047-14.567L3074.362,470Z"
transform=
"translate(-2891.654 -460.5)"
/><path
class=
"c"
d=
"M3166.378,508l.8-5.7.712-5.067.089-.633,1.958-13.933a8.3,8.3,0,0,1,7.946-6.967h8.867a3.767,3.767,0,0,1,3.81,4.433l-2.314,16.467-.8,5.7-.8,5.7h5.7l3.917-27.867A8.6,8.6,0,0,0,3187.552,470h-8.867a14.09,14.09,0,0,0-7.261,2.093l.295-2.093h-5.7l-1.78,12.667-2.047,14.567L3160.678,508Z"
transform=
"translate(-2936.387 -460.5)"
/><path
class=
"c"
d=
"M3134.819,476.894a8.915,8.915,0,0,0-9.065-6.894h-19.528l-.8,5.7h19.129a4.871,4.871,0,0,1,3.856,1.7,3.613,3.613,0,0,1-2.784,5.9H3112.96a12.056,12.056,0,0,0-11.558,10.133l-.623,4.433A8.6,8.6,0,0,0,3109.489,508h8.866a14.088,14.088,0,0,0,7.261-2.093l-.294,2.093h5.7l1.78-12.667,1.691-12.033.445-3.167h0A9.224,9.224,0,0,0,3134.819,476.894ZM3127.992,489l-.356,2.533-.534,3.8a8.3,8.3,0,0,1-7.946,6.967h-8.867a3.767,3.767,0,0,1-3.81-4.433l.623-4.433a5.281,5.281,0,0,1,5.057-4.433h12.667a9.518,9.518,0,0,0,3.249-.582Z"
transform=
"translate(-2914.388 -460.5)"
/><path
class=
"c"
d=
"M3002.283,470h-11.4a12.056,12.056,0,0,0-11.558,10.133l-2.492,17.733A8.6,8.6,0,0,0,2985.542,508h8.867a14.089,14.089,0,0,0,7.261-2.093l-1.63,11.593h5.7l3.115-22.167,1.246-8.867.89-6.333A8.6,8.6,0,0,0,3002.283,470Zm.873,25.333a8.3,8.3,0,0,1-7.946,6.967h-8.867a3.767,3.767,0,0,1-3.81-4.433l2.492-17.733a5.281,5.281,0,0,1,5.057-4.433h11.4a3.767,3.767,0,0,1,3.81,4.433l-.891,6.333Z"
transform=
"translate(-2868.941 -460.5)"
/><path
class=
"c"
d=
"M2940.229,470h-11.4a12.056,12.056,0,0,0-11.557,10.133l-.845,6.017-.8,5.7-.845,6.017A8.6,8.6,0,0,0,2923.489,508h11.4a12.056,12.056,0,0,0,11.558-10.133l.044-.317h-5.7l-.044.317a5.281,5.281,0,0,1-5.056,4.433h-11.4a3.767,3.767,0,0,1-3.81-4.433l.846-6.017h25.967l.8-5.7.846-6.017A8.6,8.6,0,0,0,2940.229,470Zm-18.1,16.15.845-6.017a5.281,5.281,0,0,1,5.057-4.433h11.4a3.767,3.767,0,0,1,3.81,4.433l-.845,6.017Z"
transform=
"translate(-2846.188 -460.5)"
/><path
class=
"c"
d=
"M2878.229,470h-11.4a12.055,12.055,0,0,0-11.557,10.133l-.845,6.017-.8,5.7-.845,6.017A8.6,8.6,0,0,0,2861.489,508h11.4a12.056,12.056,0,0,0,11.558-10.133l.044-.317h-5.7l-.044.317a5.281,5.281,0,0,1-5.056,4.433h-11.4a3.767,3.767,0,0,1-3.81-4.433l.846-6.017h25.967l.8-5.7.846-6.017A8.6,8.6,0,0,0,2878.229,470Zm-18.1,16.15.845-6.017a5.281,5.281,0,0,1,5.057-4.433h11.4a3.767,3.767,0,0,1,3.81,4.433l-.845,6.017Z"
transform=
"translate(-2823.454 -460.5)"
/><path
class=
"c"
d=
"M2832.211,455h-12.667l-.89,6.333h6.333l-3.026,21.533L2820.8,491.1a6.036,6.036,0,0,1-5.779,5.067h-7.6l-.89,6.333h7.6a13.563,13.563,0,0,0,13-11.4l4.183-29.767h0Z"
transform=
"translate(-2806.535 -455)"
/></g></g></svg>
\ No newline at end of file
jeepay-ui-merchant/src/assets/payTestImg/logo.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"86.211"
height=
"26"
viewBox=
"0 0 86.211 26"
><defs><clipPath
id=
"a"
><rect
width=
"86.211"
height=
"26"
transform=
"translate(0 0)"
fill=
"#1953ff"
/></clipPath><clipPath
id=
"b"
><rect
width=
"28.483"
height=
"26"
fill=
"#1953ff"
/></clipPath></defs><g
transform=
"translate(-3021.041 -1755)"
><g
transform=
"translate(3021.041 1755)"
clip-path=
"url(#a)"
><g
transform=
"translate(35.626 2.889)"
><path
d=
"M3186.573,1772.511h-6.645l1.056-7.511h-2.311l-1.056,7.511h-6.645l-.325,2.311h6.645l-1.868,13.289h2.311l1.868-13.289h6.645Z"
transform=
"translate(-3163.055 -1765)"
fill=
"#1953ff"
/><path
d=
"M3148.359,1802.465l1.286-9.154.325-2.311h-5.2l-.325,2.311h2.889l-1.474,10.488-1.5.8.874,2,6.566-3.507-.874-2Z"
transform=
"translate(-3144.363 -1783.489)"
fill=
"#1953ff"
/><path
d=
"M3157.48,1768.181l-4.038-3.181-1.6,1.885,4.038,3.181Z"
transform=
"translate(-3149.68 -1765)"
fill=
"#1953ff"
/><g
transform=
"translate(26.526)"
><path
d=
"M3248.592,1804.089h6.933l.325-2.311h-6.934l.487-3.467h6.067l.325-2.311h-14.445l-.325,2.311h6.067l-.487,3.467h-6.933l-.325,2.311h6.933l-.528,3.756h-9.245l-.325,2.311h20.8l.325-2.311h-9.245Z"
transform=
"translate(-3236.184 -1787.044)"
fill=
"#1953ff"
/><path
d=
"M3246.667,1771.177c1.845-1.241,3.557-2.484,5.152-3.708,1.251,1.224,2.613,2.467,4.109,3.708,1.753,1.454,3.478,2.734,5.135,3.861l1.514-1.894c-1.7-1.163-3.467-2.482-5.263-3.978-1.673-1.395-3.193-2.795-4.569-4.166l0,0v0h-1.156v0c-1.761,1.371-3.674,2.771-5.74,4.166-2.216,1.5-4.354,2.815-6.381,3.978l.981,1.894C3242.42,1773.911,3244.5,1772.631,3246.667,1771.177Z"
transform=
"translate(-3238.517 -1765)"
fill=
"#1953ff"
/></g></g><g
transform=
"translate(0 0)"
><g
clip-path=
"url(#b)"
><path
d=
"M3033.971,1822.5h0l-3.714,3.257a1.851,1.851,0,0,0,1.22,3.243h6.667a.649.649,0,0,0,.492-1.072Z"
transform=
"translate(-3027.144 -1803)"
fill=
"#1953ff"
opacity=
"0.5"
/><path
d=
"M3023.638,1758.357l-2.558,18.2a3.9,3.9,0,0,0,3.862,4.443h1.449a.65.65,0,0,0,.643-.559l.678-4.823A1.3,1.3,0,0,1,3029,1774.5h4.242a1.3,1.3,0,0,0,1.287-1.118l.6-4.263a1.3,1.3,0,0,1,1.287-1.119h3.875a1.3,1.3,0,0,1,1.287,1.481l-.705,5.019-.81,5.761a.648.648,0,0,0,.642.739h2.364a3.9,3.9,0,0,0,3.862-3.357l2.558-18.2a3.9,3.9,0,0,0-3.862-4.442H3027.5A3.9,3.9,0,0,0,3023.638,1758.357Zm17.471,6.393h-3.873a1.3,1.3,0,0,1-1.288-1.482l.548-3.9a1.3,1.3,0,0,1,1.289-1.12h3.872a1.3,1.3,0,0,1,1.289,1.482l-.548,3.9A1.3,1.3,0,0,1,3041.108,1764.75Z"
transform=
"translate(-3021.041 -1755)"
fill=
"#1953ff"
/></g></g></g></g></svg>
\ No newline at end of file
jeepay-ui-merchant/src/assets/payTestImg/pay_h5.png
0 → 100644
浏览文件 @
998fcc56
1.7 KB
jeepay-ui-merchant/src/assets/payTestImg/qr_cashier.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"聚合主扫"
transform=
"translate(-6475 -11607)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11472.75)"
fill=
"#354268"
/>
<rect
id=
"矩形_2549"
data-name=
"矩形 2549"
width=
"22"
height=
"1.5"
transform=
"translate(6484 11626.25)"
fill=
"#fff"
/>
<path
id=
"联合_40"
data-name=
"联合 40"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11617)"
fill=
"#fff"
/>
<path
id=
"联合_41"
data-name=
"联合 41"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11617) rotate(90)"
fill=
"#fff"
/>
<g
id=
"组_1001"
data-name=
"组 1001"
transform=
"translate(0 17)"
>
<path
id=
"联合_43"
data-name=
"联合 43"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11620) rotate(180)"
fill=
"#fff"
/>
<path
id=
"联合_42"
data-name=
"联合 42"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11620) rotate(-90)"
fill=
"#fff"
/>
</g>
<path
id=
"矩形_2559"
data-name=
"矩形 2559"
d=
"M1,0H11a1,1,0,0,1,1,1V4a0,0,0,0,1,0,0H0A0,0,0,0,1,0,4V1A1,1,0,0,1,1,0Z"
transform=
"translate(6489 11621)"
fill=
"#fff"
/>
<path
id=
"矩形_2560"
data-name=
"矩形 2560"
d=
"M0,0H12a0,0,0,0,1,0,0V3a1,1,0,0,1-1,1H1A1,1,0,0,1,0,3V0A0,0,0,0,1,0,0Z"
transform=
"translate(6489 11629)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/top.svg
0 → 100644
浏览文件 @
998fcc56
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1618754752076"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"1998"
width=
"32"
height=
"32"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M316.16 657.493333 512 462.08l195.84 195.413333L768 597.333333l-256-256-256 256L316.16 657.493333z"
p-id=
"1999"
fill=
"#e6e6e6"
></path></svg>
\ No newline at end of file
jeepay-ui-merchant/src/assets/payTestImg/wx_app.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<defs>
<clipPath
id=
"clip-path"
>
<rect
id=
"矩形_2573"
data-name=
"矩形 2573"
width=
"22"
height=
"17.991"
transform=
"translate(0 0)"
fill=
"#fff"
/>
</clipPath>
</defs>
<g
id=
"微信APP"
transform=
"translate(-6475 -11757)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11622.75)"
fill=
"#04c361"
/>
<g
id=
"组_1004"
data-name=
"组 1004"
transform=
"translate(5596.355 11342.004)"
>
<g
id=
"组_1003"
data-name=
"组 1003"
transform=
"translate(887.645 426)"
clip-path=
"url(#clip-path)"
>
<g
id=
"组_1002"
data-name=
"组 1002"
transform=
"translate(0 0)"
>
<path
id=
"路径_4166"
data-name=
"路径 4166"
d=
"M902.538,431.443a7.021,7.021,0,0,1,.75.046c-.674-3.148-4.029-5.489-7.856-5.489-4.28,0-7.787,2.929-7.787,6.649a6.413,6.413,0,0,0,3.115,5.276l-.778,2.352,2.722-1.371a13.241,13.241,0,0,0,2.727.393c.244,0,.486-.013.727-.032a5.84,5.84,0,0,1-.241-1.637,6.388,6.388,0,0,1,6.619-6.187Zm-4.187-2.12a.977.977,0,0,1,0,1.955.993.993,0,1,1,0-1.955Zm-5.449,1.955a.994.994,0,1,1,0-1.955.977.977,0,0,1,0,1.955Zm16.742,6.259c0-3.126-3.115-5.674-6.614-5.674-3.7,0-6.623,2.547-6.623,5.674s2.918,5.671,6.623,5.671a9.732,9.732,0,0,0,2.335-.391l2.136,1.175-.586-1.954a5.926,5.926,0,0,0,2.729-4.5Zm-8.761-.978a.782.782,0,0,1,0-1.564.8.8,0,1,1,0,1.564Zm4.283,0a.782.782,0,0,1,0-1.564.8.8,0,1,1,0,1.564Zm0,0"
transform=
"translate(-887.645 -426)"
fill=
"#fff"
/>
</g>
</g>
</g>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/wx_bar.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"微信条码"
transform=
"translate(-6535 -11679)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6381.75 11544.75)"
fill=
"#04c361"
/>
<path
id=
"路径_4161"
data-name=
"路径 4161"
d=
"M703.52,282.559h1.913v12.715H703.52Zm9.245,0h2.75v12.715h-2.75Zm-5.472,0h.89v12.715h-.89Zm2.722,0h.89v12.715h-.89Zm7.357,0h.89v12.715h-.89Zm0,0"
transform=
"translate(5844.109 11410.043)"
fill=
"#fff"
/>
<path
id=
"减去_1"
data-name=
"减去 1"
d=
"M20,20H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H20a2,2,0,0,1,2,2V18A2,2,0,0,1,20,20ZM2.5,1.5a1,1,0,0,0-1,1v15a1,1,0,0,0,1,1h17a1,1,0,0,0,1-1V2.5a1,1,0,0,0-1-1Z"
transform=
"translate(6544 11689)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/wx_h5.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"微信H5"
transform=
"translate(-6475 -11807)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11672.75)"
fill=
"#04c361"
/>
<path
id=
"减去_3"
data-name=
"减去 3"
d=
"M18,20H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0H18a2,2,0,0,1,2,2V18A2,2,0,0,1,18,20ZM2.25,1.5a.751.751,0,0,0-.75.75v15.5a.751.751,0,0,0,.75.751h15.5a.751.751,0,0,0,.751-.751V2.25a.751.751,0,0,0-.751-.75Z"
transform=
"translate(6485 11817)"
fill=
"#fff"
/>
<path
id=
"联合_44"
data-name=
"联合 44"
d=
"M7,10V5.75H1.5V10H0V0H1.5V4.25H7V0H8.5V10Z"
transform=
"translate(6490.75 11822)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/wx_jsapi.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"公众号_小程序"
data-name=
"公众号&小程序"
transform=
"translate(-6475 -11707)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11572.75)"
fill=
"#04c361"
/>
<path
id=
"路径_4165"
data-name=
"路径 4165"
d=
"M738.834,343.512a3.3,3.3,0,0,0-3.269,3.333v3.333a2.193,2.193,0,1,1-2.193-2.208v-1.125a3.334,3.334,0,1,0,3.269,3.333v-3.333a2.193,2.193,0,1,1,2.193,2.208v1.125a3.334,3.334,0,0,0,0-6.667Zm0,0"
transform=
"translate(5758.897 11378.488)"
fill=
"#fff"
stroke=
"#fff"
stroke-width=
"0.5"
/>
<path
id=
"减去_2"
data-name=
"减去 2"
d=
"M11,22A11,11,0,0,1,3.222,3.222,11,11,0,1,1,18.778,18.778,10.928,10.928,0,0,1,11,22ZM11,1.5A9.5,9.5,0,1,0,20.5,11,9.51,9.51,0,0,0,11,1.5Z"
transform=
"translate(6484 11716)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/assets/payTestImg/wx_native.svg
0 → 100644
浏览文件 @
998fcc56
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"40"
height=
"40"
viewBox=
"0 0 40 40"
>
<g
id=
"微信二维码"
transform=
"translate(-6475 -11607)"
>
<path
id=
"路径_4159"
data-name=
"路径 4159"
d=
"M190.234,137.3l-.02-.02-.02-.02c-1.443-1.443-3.6-2.177-6.514-2.562a91.718,91.718,0,0,0-10.431-.453,91.681,91.681,0,0,0-10.431.453c-2.93.387-5.091,1.126-6.534,2.583s-2.2,3.6-2.582,6.534a91.7,91.7,0,0,0-.453,10.431,91.682,91.682,0,0,0,.453,10.431c.385,2.917,1.12,5.071,2.563,6.514l.02.02.02.02c1.443,1.443,3.6,2.177,6.514,2.562a91.714,91.714,0,0,0,10.431.453,91.681,91.681,0,0,0,10.431-.453c2.93-.387,5.091-1.126,6.534-2.583s2.2-3.6,2.582-6.534a91.729,91.729,0,0,0,.453-10.431,91.681,91.681,0,0,0-.453-10.431c-.385-2.917-1.12-5.071-2.563-6.514Z"
transform=
"translate(6321.75 11472.75)"
fill=
"#04c361"
/>
<rect
id=
"矩形_2549"
data-name=
"矩形 2549"
width=
"22"
height=
"1.5"
transform=
"translate(6484 11626.25)"
fill=
"#fff"
/>
<path
id=
"联合_40"
data-name=
"联合 40"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11617)"
fill=
"#fff"
/>
<path
id=
"联合_41"
data-name=
"联合 41"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11617) rotate(90)"
fill=
"#fff"
/>
<g
id=
"组_1001"
data-name=
"组 1001"
transform=
"translate(0 17)"
>
<path
id=
"联合_43"
data-name=
"联合 43"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6505 11620) rotate(180)"
fill=
"#fff"
/>
<path
id=
"联合_42"
data-name=
"联合 42"
d=
"M0,8V1A1,1,0,0,1,1,0H8V1.5H1.5V8Z"
transform=
"translate(6485 11620) rotate(-90)"
fill=
"#fff"
/>
</g>
<path
id=
"矩形_2559"
data-name=
"矩形 2559"
d=
"M1,0H11a1,1,0,0,1,1,1V4a0,0,0,0,1,0,0H0A0,0,0,0,1,0,4V1A1,1,0,0,1,1,0Z"
transform=
"translate(6489 11621)"
fill=
"#fff"
/>
<path
id=
"矩形_2560"
data-name=
"矩形 2560"
d=
"M0,0H12a0,0,0,0,1,0,0V3a1,1,0,0,1-1,1H1A1,1,0,0,1,0,3V0A0,0,0,0,1,0,0Z"
transform=
"translate(6489 11629)"
fill=
"#fff"
/>
</g>
</svg>
jeepay-ui-merchant/src/config/appConfig.js
浏览文件 @
998fcc56
...
...
@@ -25,6 +25,7 @@ export const asyncRouteDefine = {
'
RolePage
'
:
{
defaultPath
:
'
/roles
'
,
component
:
()
=>
import
(
'
@/views/role/RolePage
'
)
},
'
MchAppPage
'
:
{
defaultPath
:
'
/apps
'
,
component
:
()
=>
import
(
'
@/views/mchApp/List
'
)
},
// 商户应用列表
'
PayTestPage
'
:
{
defaultPath
:
'
/paytest
'
,
component
:
()
=>
import
(
'
@/views/payTest/PayTest
'
)
},
// 支付测试
'
PayOrderListPage
'
:
{
defaultPath
:
'
/payOrder
'
,
component
:
()
=>
import
(
'
@/views/order/pay/PayOrderList
'
)
},
// 支付订单列表
'
RefundOrderListPage
'
:
{
defaultPath
:
'
/refundOrder
'
,
component
:
()
=>
import
(
'
@/views/order/refund/RefundOrderList
'
)
}
// 退款订单列表
...
...
jeepay-ui-merchant/src/views/mchApp/List.vue
浏览文件 @
998fcc56
...
...
@@ -44,6 +44,11 @@
</
template
>
<
template
slot=
"opSlot"
slot-scope=
"{record}"
>
<!-- 操作列插槽 -->
<JeepayTableColumns>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_PAY_TEST')"
>
<router-link
:to=
"
{path:'paytest',query:{appid:record.appId}}">
支付体验
</router-link>
</a-button>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_APP_EDIT')"
@
click=
"editFunc(record.appId)"
>
修改
</a-button>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_PAY_CONFIG_LIST')"
@
click=
"showPayIfConfigList(record.appId)"
>
支付配置
</a-button>
<a-button
type=
"link"
v-if=
"$access('ENT_MCH_APP_DEL')"
style=
"color: red"
@
click=
"delFunc(record.appId)"
>
删除
</a-button>
...
...
jeepay-ui-merchant/src/views/payTest/PayTest.vue
0 → 100644
浏览文件 @
998fcc56
<
template
>
<div>
<a-card
style=
"box-sizing:border-box;border-radius:15px;padding:30px"
>
<a-form
>
<div
style=
"display:flex;flex-direction:row"
>
<p
style=
"margin-top:9px;margin-right:10px;"
>
应用APPID
</p>
<a-form-item
label=
""
class=
"table-head-layout"
>
<a-select
v-model=
"appId"
default-value=
"this.appId"
@
change=
"selectChange"
style=
"width:300px"
>
<a-select-option
v-for=
"(item) in appIdList"
:key=
"item.appId"
>
{{
item
.
appId
}}
</a-select-option>
</a-select>
</a-form-item>
</div>
</a-form>
<div
style=
"width: 100%;"
class=
"paydemo "
v-if=
"hasAppId"
>
<div
class=
"paydemo-type-content"
>
<div
class=
"paydemo-type-name"
>
微信支付
</div>
<div
class=
"paydemo-type-body"
>
<div
class=
"paydemo-type color-change"
code=
"WX_NATIVE"
@
click=
"payMentHandle('WX_NATIVE')"
:class=
"
{this:(payMent === 'WX_NATIVE')}" v-show="payMentShow('WX_NATIVE')">
<img
src=
"@/assets/payTestImg/wx_native.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
微信二维码
</span>
</div>
<div
class=
"paydemo-type color-change"
code=
"WX_BAR"
@
click=
"payMentHandle('WX_BAR')"
:class=
"
{this:(payMent === 'WX_BAR')}" v-show="payMentShow('WX_BAR')">
<img
src=
"@/assets/payTestImg/wx_bar.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
微信条码
</span>
</div>
<div
class=
"paydemo-type color-change "
code=
"WX_QR_CASHIER"
@
click=
"payMentHandle('WX_QR_CASHIER')"
:class=
"
{this:(payMent === 'WX_QR_CASHIER')}" v-show="payMentShow('WX_QR_CASHIER')">
<img
src=
"@/assets/payTestImg/wx_jsapi.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change "
>
公众号/小程序
</span>
</div>
<div
style=
"position: relative"
>
<div
class=
"paydemo-type-h5"
code=
"WX_H5"
@
mouseover=
"wx_h5=true"
@
mouseleave=
"wx_h5=false"
v-show=
"payMentShow('WX_H5')"
>
<img
src=
"@/assets/payTestImg/wx_h5.svg"
class=
"paydemo-type-img"
>
<span>
微信H5
</span>
</div>
<div
class=
"paydemo-type-h5 codeImg_wx_h5 "
v-show=
"wx_h5"
>
<img
style=
"width: 120px;height: 120px;padding-bottom: 10px"
src=
"@/assets/payTestImg/pay_h5.png"
>
<span>
请使用手机浏览器扫码
</span>
</div>
</div>
</div>
<div
class=
"paydemo-type-name"
>
支付宝支付
</div>
<div
class=
"paydemo-type-body"
>
<div
class=
"paydemo-type color-change"
code=
"ALI_QR"
@
click=
"payMentHandle('ALI_QR')"
:class=
"
{this:(payMent === 'ALI_QR')}" v-show="payMentShow('ALI_QR')">
<img
src=
"@/assets/payTestImg/ali_qr.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
支付宝二维码
</span>
</div>
<div
class=
"paydemo-type color-change"
code=
"ALI_BAR"
@
click=
"payMentHandle('ALI_BAR')"
:class=
"
{this:(payMent === 'ALI_BAR')}" v-show="payMentShow('ALI_BAR')">
<img
src=
"@/assets/payTestImg/ali_bar.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
支付宝条码
</span>
</div>
<div
class=
"paydemo-type color-change"
code=
"ALI_JSAPI"
@
click=
"payMentHandle('ALI_JSAPI')"
:class=
"
{this:(payMent === 'ALI_JSAPI')}" v-show="payMentShow('ALI_JSAPI')">
<img
src=
"@/assets/payTestImg/ali_jsapi.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
支付宝生活号
</span>
</div>
<div
class=
"paydemo-type color-change"
code=
"ALI_PC"
@
click=
"payMentHandle('ALI_PC')"
:class=
"
{this:(payMent === 'ALI_PC')}" v-show="payMentShow('ALI_PC')">
<img
src=
"@/assets/payTestImg/ali_pc.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
支付宝PC网站
</span>
</div>
<div
style=
"position: relative"
>
<div
class=
"paydemo-type-h5"
code=
"ALI_WAP"
@
mouseover=
"zfb_wap=true"
@
mouseleave=
"zfb_wap=false"
v-show=
"payMentShow('ALI_WAP')"
>
<img
src=
"@/assets/payTestImg/ali_wap.svg"
class=
"paydemo-type-img"
>
<span>
支付宝WAP
</span>
</div>
<div
class=
"paydemo-type-h5 codeImg_wx_h5"
v-show=
"zfb_wap"
>
<img
style=
"width: 120px;height: 120px;padding-bottom: 10px"
src=
"@/assets/payTestImg/pay_h5.png"
>
<span>
请使用手机浏览器扫码
</span>
</div>
</div>
</div>
<div
class=
"paydemo-type-name"
>
聚合支付
</div>
<div
class=
"paydemo-type-body"
>
<div
class=
"paydemo-type color-change"
code=
"QR_CASHIER"
@
click=
"payMentHandle('QR_CASHIER')"
:class=
"
{this:(payMent === 'QR_CASHIER')}" v-show="payMentShow('QR_CASHIER')">
<img
src=
"@/assets/payTestImg/qr_cashier.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
聚合扫码(用户扫商家)
</span>
</div>
<div
class=
"paydemo-type color-change"
code=
"AUTO_BAR"
@
click=
"payMentHandle('AUTO_BAR')"
:class=
"
{this:(payMent === 'AUTO_BAR')}" v-show="payMentShow('AUTO_BAR')">
<img
src=
"@/assets/payTestImg/auto_bar.svg"
class=
"paydemo-type-img"
>
<span
class=
"color-change"
>
聚合条码(商家扫用户)
</span>
</div>
</div>
</div>
<div
class=
"paydemo-type-content"
>
<div
class=
"paydemo-type-name"
>
支付信息
</div>
<form
class=
"layui-form"
>
<div
class=
"paydemo-form-item"
>
<label>
订单编号:
</label><span
id=
"payMchOrderNo"
>
{{
orderNo
}}
</span>
<span
id=
"randomOrderNo"
@
click=
"randomOrderNo"
class=
" paydemo-btn"
style=
"padding:0 3px"
>
刷新订单号
</span>
</div>
<div
class=
"paydemo-form-item"
>
<label>
商品名称:
</label>
<span
id=
"paySubject"
>
支付接口演示
</span>
</div>
<div
class=
"paydemo-form-item"
>
<span>
支付金额(元):
</span>
<label>
¥0.01
<input
type=
"radio"
value=
"0.01"
v-model=
"payMentAmount"
/></label>
<label>
¥0.15
<input
type=
"radio"
value=
"0.15"
v-model=
"payMentAmount"
/></label>
<label>
¥0.21
<input
type=
"radio"
value=
"0.21"
v-model=
"payMentAmount"
/></label>
<label>
¥0.29
<input
type=
"radio"
value=
"0.29"
v-model=
"payMentAmount"
/></label>
<label>
¥0.64
<input
type=
"radio"
value=
"0.64"
v-model=
"payMentAmount"
/></label>
<label><span
style=
"margin-right:3px"
>
自定义金额
</span><a-input-number
type=
"radio"
value=
"0.64"
v-model=
"payMentAmount"
:precision=
"2"
/></label>
</div>
<div
style=
"margin-top:20px;text-align: right"
>
<span
style=
"color: #FD482C;font-size: 18px;padding-right: 10px;"
id=
"amountShow"
>
{{
payMentAmount
}}
</span>
<a-button
@
click=
"immediatelyPay"
lay-filter=
"payTest"
style=
"padding:5px 20px;background-color: #1953ff;border-radius: 5px;color:#fff"
>
立即支付
</a-button>
</div>
</form>
</div>
</div>
</a-card>
<pay-test-modal
ref=
"payTestModal"
:codeUr=
"codeUr"
></pay-test-modal>
</div>
</
template
>
<
script
>
import
{
API_URL_MCH_APP
,
req
,
payTest
,
payTestOrder
,
getWebSocketPrefix
}
from
'
@/api/manage
'
// 接口
import
PayTestModal
from
'
./PayTestModal
'
// 对话框组件
import
ReconnectingWebSocket
from
'
reconnectingwebsocket
'
// WebSocket
export
default
{
props
:
{},
components
:
{
PayTestModal
},
data
()
{
return
{
payMent
:
''
,
// 以何种方式进行支付,默认是微信二维码
payMentAmount
:
'
0.01
'
,
// 支付金额,默认为0.01
hasAppId
:
false
,
// 如果没有选择appid 默认为false,则支付板块不显示
orderNo
:
''
,
// 订单号
appIdList
:
[],
// appid列表
appId
:
'
请选择appId
'
,
// 下拉框的默认值
wx_h5
:
false
,
// 微信h5 扫码
zfb_wap
:
false
,
// 支付宝wap 扫码
amountInputNum
:
''
,
// 自定义金额的值
amountInput
:
false
,
// 自定金额输入框是否展示
payMentList
:
[],
// 支付方式列表(根据appId动态展示)
authCode
:
''
,
// 条码地址
codeUr
:
''
,
// 二维码地址
payOrderId
:
''
}
},
methods
:
{
// 切换支付方式
payMentHandle
(
mode
)
{
console
.
log
(
mode
)
this
.
payMent
=
mode
},
// 自定义金额输入框展示
amountRadio
()
{
this
.
amountInput
=
true
},
// appId下拉框
selectChange
(
value
)
{
this
.
payMentListHandle
(
value
)
// 根据appId的值,动态显示支付方式
},
// 刷新订单号
randomOrderNo
()
{
this
.
orderNo
=
'
M
'
+
new
Date
().
getTime
()
+
Math
.
floor
(
Math
.
random
()
*
(
9999
-
1000
)
+
1000
)
},
// 根据不同的appId展示不同的支付方式(在下拉框切换时和在携带参数进入页面时调用)
payMentListHandle
(
value
)
{
const
that
=
this
payTest
(
value
).
then
(
res
=>
{
that
.
payMentList
=
res
console
.
log
(
that
.
payMentList
)
this
.
hasAppId
=
true
// 支付板块显示
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'
请求失败
'
)
this
.
hasAppId
=
false
// 支付板块不显示
console
.
error
(
err
)
})
},
// 立即支付按钮
immediatelyPay
()
{
// 判断是否选择支付方式
if
(
this
.
payMent
===
''
)
{
return
this
.
$message
.
error
(
'
请选择支付方式
'
)
}
const
that
=
this
payTestOrder
({
// 六个参数 1订单号 2appid 3金额 4支付方式 5payDataType(二维码,条码) 6条码的值
wayCode
:
this
.
payMent
,
amount
:
this
.
payMentAmount
,
appId
:
this
.
appId
,
mchOrderNo
:
this
.
orderNo
,
payDataType
:
'
codeImgUrl
'
,
authCode
:
this
.
authCode
}).
then
(
res
=>
{
that
.
codeUr
=
res
.
payData
that
.
payOrderId
=
res
.
payOrderId
that
.
$refs
.
payTestModal
.
showModal
(
this
.
payMent
)
// 打开弹窗
// 此处加入 webSocket
const
socket
=
new
ReconnectingWebSocket
(
getWebSocketPrefix
()
+
'
/api/anon/ws/payOrder/
'
+
res
.
payOrderId
+
'
/
'
+
new
Date
().
getTime
())
socket
.
onopen
=
()
=>
{}
socket
.
onmessage
=
(
msgObject
)
=>
{
if
(
JSON
.
parse
(
msgObject
.
data
).
state
===
2
)
{
this
.
$refs
.
payTestModal
.
handleClose
()
this
.
$message
.
success
(
'
支付成功
'
)
}
else
{
this
.
$refs
.
payTestModal
.
handleClose
()
this
.
$message
.
error
(
'
支付失败
'
)
}
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'
请求失败
'
)
console
.
error
(
err
)
})
},
// 该支付方式是否显示
payMentShow
(
payMent
)
{
if
(
this
.
payMentList
.
indexOf
(
payMent
)
!==
-
1
)
{
return
true
}
else
{
return
false
}
}
},
created
()
{
// 获取传入的参数,如果参数存在,则为appid 重新赋值
const
appId
=
this
.
$route
.
query
.
appid
if
(
appId
)
{
this
.
appId
=
appId
// appId赋值
this
.
hasAppId
=
true
// 支付板块显示
this
.
payMentListHandle
(
appId
)
// 调用payMentListHandle,展示支付方式
}
const
that
=
this
// 提前保留this
// 请求接口,获取所有的appid,只有此处进行pageSize=-1传参
req
.
list
(
API_URL_MCH_APP
+
'
?pageSize=-1
'
).
then
(
res
=>
{
that
.
appIdList
=
res
.
records
})
// 在进入页面时刷新订单号
this
.
randomOrderNo
()
},
mounted
()
{
}
}
</
script
>
<
style
scoped
lang=
"css"
>
@import
'./payTest.css'
;
</
style
>
jeepay-ui-merchant/src/views/payTest/PayTestModal.vue
0 → 100644
浏览文件 @
998fcc56
<
template
>
<div>
<a-modal
v-model=
"visible"
:title=
"payTitle"
@
ok=
"handleClose"
:footer=
"null"
:width=
"300"
>
<div
style=
"width:100%;margin-bottom:20px;text-align:center"
>
<img
:src=
"codeUr"
alt=
""
>
</div>
<p
class=
"describe"
>
<img
src=
"@/assets/payTestImg/wx_app.svg"
alt=
""
v-show=
"wxApp"
>
<!-- 微信图标 -->
<img
src=
"@/assets/payTestImg/ali_app.svg"
alt=
""
v-show=
"aliApp"
>
<!-- 支付宝图标 -->
<span>
{{
payText
}}
</span>
</p>
</a-modal>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
PayTestModal
'
,
data
()
{
return
{
visible
:
false
,
payTitle
:
'
扫码支付
'
,
// 弹窗标题文字默认为 扫码支付
payText
:
''
,
// 二维码底部描述文字
wxApp
:
false
,
// 微信二维码图片是否展示
aliApp
:
false
// 支付宝二维码图片是否展示
}
},
props
:
{
codeUr
:
{
type
:
String
,
default
:
'
404
'
}
},
methods
:
{
// 二维码以及条码弹窗
showModal
(
payMent
)
{
this
.
visible
=
true
// 打开弹窗
// 图片展示重置
this
.
wxApp
=
false
this
.
aliApp
=
false
// 根据不同的支付方式,展示不同的信息
if
(
payMent
===
'
WX_NATIVE
'
||
payMent
===
'
WX_QR_CASHIER
'
)
{
// 微信二维码
this
.
wxApp
=
true
this
.
payText
=
'
请使用微信"扫一扫"扫码支付
'
}
else
if
(
payMent
===
'
ALI_QR
'
||
payMent
===
'
ALI_QR_CASHIER
'
)
{
// 支付宝二维码
this
.
aliApp
=
true
this
.
payText
=
'
请使用支付宝"扫一扫"扫码支付
'
}
else
if
(
payMent
===
'
QR_CASHIER
'
)
{
// 聚合支付二维码
this
.
wxApp
=
true
this
.
aliApp
=
true
this
.
payText
=
'
支持微信、支付宝扫码
'
}
},
handleClose
(
e
)
{
this
.
visible
=
false
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.describe {
img {
width: 30px;
height: 25px;
}
}
</
style
>
jeepay-ui-merchant/src/views/payTest/payTest.css
0 → 100644
浏览文件 @
998fcc56
.paydemo
.content
{
max-width
:
1120px
;
margin
:
0
auto
;
}
.paydemo
.paydemo-type-content
{
padding
:
20px
0
;
margin-bottom
:
20px
;
background-color
:
#FFFFFF
;
border-radius
:
6px
;
}
.paydemo
.paydemo-type-name
{
font-size
:
16px
;
margin-bottom
:
12px
;
display
:
flex
;
align-items
:
center
;
}
.paydemo
.paydemo-type-body
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
margin-bottom
:
20px
;
}
.paydemo
.paydemo-type
{
padding
:
12px
;
border
:
solid
1px
#e2e2e2
;
margin-right
:
10px
;
cursor
:
pointer
;
}
.paydemo
.paydemo-type-h5
{
padding
:
12px
;
border
:
solid
1px
#e2e2e2
;
margin-right
:
10px
;
cursor
:
pointer
;
}
.paydemo
.codeImg_wx_h5
{
position
:
absolute
;
z-index
:
1001
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
background-color
:
#ffffff
;
width
:
160px
;
}
.paydemo
.paydemo-type-img
{
width
:
40px
;
height
:
40px
;
vertical-align
:
center
;
margin-right
:
10px
;
}
.paydemo
.this
{
color
:
#1953ff
;
border-color
:
#1953ff
;
}
.paydemo
.layui-input
{
width
:
50%
;
display
:
inline
;
font-size
:
14px
;
}
.paydemo
.paydemo-form-item
{
height
:
38px
;
margin-bottom
:
5px
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
}
.paydemo
.layui-form-radio
i
:hover
,
.layui-form-radioed
i
{
color
:
#1953ff
;
}
.paydemo
.layui-anim.layui-icon
{
margin-top
:
3px
;
}
.paydemo
.layui-form-radio
{
margin-top
:
2px
;
}
.paydemo
.paydemo-scan
{
padding-top
:
30px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.paydemo
.layui-laypage
.layui-laypage-curr
.layui-laypage-em
{
background-color
:
#1953ff
;
}
.paydemo
.layui-laypage
a
:hover
{
color
:
#1953ff
;
}
.paydemo-type-content
p
{
margin-bottom
:
10px
;
}
.paydemo
.layui-table-view
.layui-table
{
width
:
100%
;
}
.paydemo
.paydemo-btn
{
border
:
1px
solid
#e2e2e2
;
background-color
:
#ffffff
;
color
:
#000000
;
margin-left
:
8px
;
display
:
inline-flex
;
flex-direction
:
row
;
align-items
:
center
;
}
.paydemo
#paydemo-amount
{
display
:
flex
;
align-items
:
inherit
;
}
.paydemo
#paydemo-amount
.layui-unselect
{
margin-right
:
15px
}
#randomOrderNo
:hover
{
cursor
:
pointer
;
}
.paydemo-form-item
label
{
display
:
flex
;
align-items
:
center
;
margin-right
:
15px
;
flex-wrap
:
wrap
}
.paydemo-form-item
label
input
{
margin-left
:
3px
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录