Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
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
poc
poc-fe
Commits
57d647cd
Commit
57d647cd
authored
Jan 02, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(个人充值): 支付宝二维码支付调整
parent
4afb6b26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
54 deletions
+79
-54
pay-sidebar.vue
src/views/equity/components/pay-sidebar.vue
+39
-26
point-recharge-modal.vue
src/views/equity/components/point-recharge-modal.vue
+40
-28
No files found.
src/views/equity/components/pay-sidebar.vue
View file @
57d647cd
...
@@ -296,35 +296,48 @@ function handlePayQrCodeRefresh() {
...
@@ -296,35 +296,48 @@ function handlePayQrCodeRefresh() {
</div>
</div>
<div
class=
"mt-[26px] flex justify-center"
>
<div
class=
"mt-[26px] flex justify-center"
>
<div
v-if=
"payInfo.url"
class=
"relative"
>
<template
v-if=
"payInfo.url"
>
<n-qr-code
<div
v-if=
"currentPaymentMethod === 'wechatpay'"
class=
"relative"
>
class=
"align-bottom"
<n-qr-code
:class=
"isPayQrcodeInvalid ? 'blur-sm' : ''"
class=
"align-bottom"
:value=
"payInfo.url"
:class=
"isPayQrcodeInvalid ? 'blur-sm' : ''"
:size=
"140"
:value=
"payInfo.url"
:padding=
"0"
:size=
"140"
/>
:padding=
"0"
<Transition
name=
"mask"
>
/>
<div
v-show=
"isPaymentSuccess"
class=
"flex-center absolute inset-0 flex bg-[rgba(0,0,0,0.6)]"
>
<Transition
name=
"mask"
>
<div
<div
v-show=
"isPaymentSuccess"
class=
"flex-center absolute inset-0 flex bg-[rgba(0,0,0,0.6)]"
>
class=
"flex-center flex h-[50px] w-[50px] rounded-full border-[4px] border-solid border-[#fff] bg-[#52c41a]"
<div
>
class=
"flex-center flex h-[50px] w-[50px] rounded-full border-[4px] border-solid border-[#fff] bg-[#52c41a]"
<i
class=
"iconfont icon-queren font-600 text-[28px] text-white"
></i>
>
<i
class=
"iconfont icon-queren font-600 text-[28px] text-white"
></i>
</div>
</div>
</div>
</div>
</Transition>
</Transition>
<Transition
name=
"mask"
>
<Transition
name=
"mask"
>
<div
v-show=
"isPayQrcodeInvalid"
class=
"flex-center absolute inset-0 flex"
>
<div
v-show=
"isPayQrcodeInvalid"
class=
"flex-center absolute inset-0 flex"
>
<div
class=
"absolute inset-0 bg-[rgba(0,0,0,0.6)] blur-sm"
></div>
<div
class=
"absolute inset-0 bg-[rgba(0,0,0,0.6)] blur-sm"
></div>
<i
class=
"iconfont icon-huanyihuan font-600 z-1 relative cursor-pointer text-[30px] text-[#fff]"
@
click=
"handlePayQrCodeRefresh"
></i>
</div>
</Transition>
</div>
<div
v-else-if=
"currentPaymentMethod === 'alipay'"
class=
"flex-center flex"
>
<iframe
:src=
"payInfo.url"
frameborder=
"0"
width=
"140"
height=
"140"
class=
"object-center"
scrolling=
"no"
></iframe>
</div>
</
template
>
<i
class=
"iconfont icon-huanyihuan font-600 z-1 relative cursor-pointer text-[30px] text-[#fff]"
@
click=
"handlePayQrCodeRefresh"
></i>
</div>
</Transition>
</div>
<div
v-else
class=
"flex-center flex h-[140px] w-[140px]"
>
<div
v-else
class=
"flex-center flex h-[140px] w-[140px]"
>
<n-spin
size=
"large"
/>
<n-spin
size=
"large"
/>
</div>
</div>
...
...
src/views/equity/components/point-recharge-modal.vue
View file @
57d647cd
...
@@ -308,35 +308,47 @@ function handlePayQrCodeRefresh() {
...
@@ -308,35 +308,47 @@ function handlePayQrCodeRefresh() {
<
/ul
>
<
/ul
>
<
/div
>
<
/div
>
<
div
class
=
"mt-[26px] flex justify-center"
>
<
div
class
=
"mt-[26px] flex justify-center"
>
<
div
v
-
if
=
"payInfo.url"
class
=
"relative"
>
<
template
v
-
if
=
"payInfo.url"
>
<
n
-
qr
-
code
<
div
v
-
if
=
"currentPaymentMethod === 'wechatpay'"
class
=
"relative"
>
class
=
"align-bottom"
<
n
-
qr
-
code
:
class
=
"isPayQrcodeInvalid ? 'blur-sm' : ''"
class
=
"align-bottom"
:
value
=
"payInfo.url"
:
class
=
"isPayQrcodeInvalid ? 'blur-sm' : ''"
:
size
=
"140"
:
value
=
"payInfo.url"
:
padding
=
"0"
:
size
=
"140"
/>
:
padding
=
"0"
<
Transition
name
=
"mask"
>
/>
<
div
v
-
show
=
"isPaymentSuccess"
class
=
"flex-center absolute inset-0 flex bg-[rgba(0,0,0,0.6)]"
>
<
Transition
name
=
"mask"
>
<
div
<
div
v
-
show
=
"isPaymentSuccess"
class
=
"flex-center absolute inset-0 flex bg-[rgba(0,0,0,0.6)]"
>
class
=
"flex-center flex h-[50px] w-[50px] rounded-full border-[4px] border-solid border-[#fff] bg-[#52c41a]"
<
div
>
class
=
"flex-center flex h-[50px] w-[50px] rounded-full border-[4px] border-solid border-[#fff] bg-[#52c41a]"
<
i
class
=
"iconfont icon-queren font-600 text-[28px] text-white"
><
/i
>
>
<
i
class
=
"iconfont icon-queren font-600 text-[28px] text-white"
><
/i
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/Transition
>
<
/Transition
>
<
Transition
name
=
"mask"
>
<
Transition
name
=
"mask"
>
<
div
v
-
show
=
"isPayQrcodeInvalid"
class
=
"flex-center absolute inset-0 flex"
>
<
div
v
-
show
=
"isPayQrcodeInvalid"
class
=
"flex-center absolute inset-0 flex"
>
<
div
class
=
"absolute inset-0 bg-[rgba(0,0,0,0.6)] blur-sm"
><
/div
>
<
div
class
=
"absolute inset-0 bg-[rgba(0,0,0,0.6)] blur-sm"
><
/div
>
<
i
<
i
class
=
"iconfont icon-huanyihuan font-600 z-1 relative cursor-pointer text-[30px] text-[#fff]"
class
=
"iconfont icon-huanyihuan font-600 z-1 relative cursor-pointer text-[30px] text-[#fff]"
@
click
=
"handlePayQrCodeRefresh"
@
click
=
"handlePayQrCodeRefresh"
><
/i
>
><
/i
>
<
/div
>
<
/div
>
<
/Transition
>
<
/Transition
>
<
/div
>
<
/div
>
<
div
v
-
else
-
if
=
"currentPaymentMethod === 'alipay'"
class
=
"flex-center flex"
>
<
iframe
:
src
=
"payInfo.url"
frameborder
=
"0"
width
=
"140"
height
=
"140"
class
=
"object-center"
scrolling
=
"no"
><
/iframe
>
<
/div
>
<
/template
>
<
div
v
-
else
class
=
"flex-center flex h-[140px] w-[140px]"
>
<
div
v
-
else
class
=
"flex-center flex h-[140px] w-[140px]"
>
<
n
-
spin
size
=
"large"
/>
<
n
-
spin
size
=
"large"
/>
<
/div
>
<
/div
>
...
...
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