Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
1a562d13
Commit
1a562d13
authored
Aug 05, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付
parent
83a95827
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
index.vue
src/pages/order/components/Payment/index.vue
+10
-4
No files found.
src/pages/order/components/Payment/index.vue
View file @
1a562d13
...
...
@@ -18,25 +18,26 @@
<image
src=
"@/static/shop/wx-icon.png"
></image>
微信
</view>
<radio
class=
"radio"
color=
"#F12A2A"
value=
"
'wx'"
:checked=
"'wx
' == selectType"
/>
<radio
class=
"radio"
color=
"#F12A2A"
value=
"
TENPAY"
:checked=
"'TENPAY
' == selectType"
/>
</view>
<view
class=
"pay-item"
>
<view
class=
"icon"
>
<image
src=
"@/static/shop/yzf-icon.png"
></image>
翼支付
</view>
<radio
class=
"radio"
color=
"#F12A2A"
value=
"
'yzf'"
:checked=
"'yzf
' == selectType"
/>
<radio
class=
"radio"
color=
"#F12A2A"
value=
"
BESTPAY"
:checked=
"'BESTPAY
' == selectType"
/>
</view>
</radio-group>
<view
class=
"footer"
>
<wd-button
type=
"error"
>
危险按钮
</wd-button>
<wd-button
type=
"error"
@
tap=
"toPay"
>
危险按钮
</wd-button>
</view>
</view>
</wd-popup>
</
template
>
<
script
setup
>
const
selectType
=
ref
(
'wx'
);
const
emits
=
defineEmits
([
'payment'
]);
const
selectType
=
ref
(
'TENPAY'
);
const
show
=
ref
(
false
);
function
radioChange
(
evt
)
{
...
...
@@ -44,6 +45,11 @@ function radioChange(evt) {
selectType
.
value
=
value
;
}
const
toPay
=
()
=>
{
emits
(
'payment'
,
selectType
.
value
);
show
.
value
=
false
;
};
const
open
=
()
=>
{
show
.
value
=
true
;
};
...
...
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