Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
million
Commits
06623103
Commit
06623103
authored
Apr 12, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c80793ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
alipay.vue
src/components/pay/alipay.vue
+1
-1
Search.vue
src/pages/Search.vue
+10
-0
pay.vue
src/pages/pay/pay.vue
+4
-2
No files found.
src/components/pay/alipay.vue
View file @
06623103
...
...
@@ -98,7 +98,7 @@ export default {
// 支付宝退款
GetAliPayReturn
(){
this
.
apipost
(
"GetAliPayReturn_post"
,{
OrderNo
:
this
.
orderNo
},
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
if
(
r
.
data
.
message
==
"退款成功"
){
this
.
$message
.
success
(
"退款成功"
)
}
else
{
this
.
$message
.
error
(
"退款失败"
)
...
...
src/pages/Search.vue
View file @
06623103
...
...
@@ -1443,6 +1443,16 @@ export default {
},
created
()
{},
mounted
()
{
// 支付宝退款 测试使用
// this.apipost("GetAliPayReturn_post",{OrderNo:'D202304121702420001'},r=>{
// if(r.data.message=="退款成功"){
// this.$message.success("退款成功")
// }else{
// this.$message.error("退款失败")
// }
// },e=>{
// })
if
(
localStorage
.
baseifo
)
{
var
jObj
=
JSON
.
parse
(
localStorage
.
baseifo
);
this
.
areas
=
jObj
.
AreaList
;
...
...
src/pages/pay/pay.vue
View file @
06623103
...
...
@@ -71,8 +71,7 @@
/>
</div>
<div
class=
"rounded-borders q-pa-sm bg-grey-2 cursor-pointer"
@
click=
"showPayFormHandler('alipay')"
>
<!-- height:25px;max-width: 150px;min-width: 30px drop-shadow(0px 0px black)-->
<q-img
src=
"../../assets/img/pay/alipay.png"
spinner-color=
"white"
style=
"width: 80px;filter: invert(100%) hue-rotate(180deg);"
/>
<q-img
src=
"../../assets/img/pay/alipay.png"
spinner-color=
"white"
style=
"width: 80px;"
/>
</div>
</div>
<div
class=
"q-mt-md"
v-if=
"showPay != ''"
>
...
...
@@ -132,6 +131,9 @@ export default {
components
:
{
wechatpay
,
alichatpay
,
NoneData
},
created
()
{
this
.
checkParamsHandler
()
},
mounted
()
{
},
methods
:
{
showPayFormHandler
(
payStr
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment