切换导航条
此项目
正在载入...
登录
郭盛
/
store
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
5 years ago
提交
d628732927ba1c5882eb8df3cacdde97bc85a4c9
1 个父辈
abd90e0e
1 个管道 的构建
通过
耗费 0 秒
修改问题文档
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
15 行增加
和
11 行删除
application/index/view/member/settled_payment.html
application/index/view/member/settled_payment.html
查看文件 @
d628732
...
...
@@ -304,7 +304,7 @@
<div
class=
"paymentMode"
onclick=
"changeRadioState(1)"
>
<img
id=
"weChat"
class=
"checkboxImg"
src=
"__CDN__/assets/store/images/checkbox_orange.png"
alt=
"radio"
>
<div>
<img
src=
"images/weixin.png"
alt=
""
class=
"paymentModeIcon"
>
<img
src=
"
__CDN__/assets/store/
images/weixin.png"
alt=
""
class=
"paymentModeIcon"
>
<span
class=
"paymentModeText"
>
微信支付
</span>
</div>
...
...
@@ -312,7 +312,7 @@
<div
class=
"paymentMode"
onclick=
"changeRadioState(2)"
>
<img
id=
"aliPay"
class=
"checkboxImg"
src=
"__CDN__/assets/store/images/radioUnSelect.png"
alt=
"radio"
>
<div>
<img
src=
"images/zhufubao.png"
alt=
""
class=
"paymentModeIcon"
>
<img
src=
"
__CDN__/assets/store/
images/zhufubao.png"
alt=
""
class=
"paymentModeIcon"
>
<span
class=
"paymentModeText"
>
支付宝支付
</span>
</div>
</div>
...
...
@@ -397,15 +397,19 @@
success
:
function
(
res
)
{
console
.
log
(
res
);
if
(
res
.
code
==
1
)
{
if
(
pay_type
==
1
)
{
//微信支付
order_id
=
res
.
data
.
viporder_id
;
$
(
'#payModal'
).
show
();
$
(
'.modal-left .modal-qrcode'
).
attr
(
'src'
,
res
.
data
.
url
);
}
else
if
(
pay_type
==
2
)
{
//支付宝支付
order_id
=
res
.
data
.
viporder_id
;
window
.
open
(
res
.
data
.
url
);
if
(
res
.
data
.
status
==
1
){
if
(
pay_type
==
1
)
{
//微信支付
order_id
=
res
.
data
.
viporder_id
;
$
(
'#payModal'
).
show
();
$
(
'.modal-left .modal-qrcode'
).
attr
(
'src'
,
res
.
data
.
url
);
}
else
if
(
pay_type
==
2
)
{
//支付宝支付
order_id
=
res
.
data
.
viporder_id
;
window
.
open
(
res
.
data
.
url
);
}
}
else
{
window
.
location
.
href
=
"{:url('index/member/member')}"
;
}
}
else
{
toast
(
res
.
msg
);
...
...
请
注册
或
登录
后发表评论