Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mini_own
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geruidan
mini_own
Commits
1bfd3aaa
Commit
1bfd3aaa
authored
Mar 28, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改收银台
parent
c9e49ed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
pages.json
pages.json
+1
-1
pages/h5/pay.vue
pages/h5/pay.vue
+15
-3
No files found.
pages.json
View file @
1bfd3aaa
...
...
@@ -42,7 +42,7 @@
"name"
:
"pay"
,
"style"
:
{
"navigationBarTitleText"
:
"
支付
"
,
"navigationBarTitleText"
:
"
收银台
"
,
"enablePullDownRefresh"
:
false
}
...
...
pages/h5/pay.vue
View file @
1bfd3aaa
...
...
@@ -2,8 +2,11 @@
<view>
<!--
<sh-custom-nav
:info=
"info"
></sh-custom-nav>
-->
<view
class=
"pay-container"
v-if=
"!isPay"
>
<view
class=
"money-box"
>
¥
<text
class=
"money"
>
{{
actuallyPay
}}
</text></view>
<u-button
@
click=
"pay"
shape=
"circle"
type=
"primary"
text=
"确认支付"
color=
"#61b077"
></u-button>
<view
class=
"pay-info"
>
<text
class=
"info-tips"
>
订单已创建,还需支付
</text>
<view
class=
"money-box"
>
¥
<text
class=
"money"
>
{{
actuallyPay
}}
</text></view>
</view>
<u-button
@
click=
"pay"
shape=
"circle"
type=
"primary"
text=
"微信支付"
color=
"#61b077"
></u-button>
</view>
<view
class=
"payResult"
v-else
>
<u-icon
v-if=
"payStatus == 'pending'"
name=
"clock"
size=
"60px"
color=
"#61b077"
></u-icon>
...
...
@@ -108,11 +111,19 @@
</
script
>
<
style
lang=
"scss"
scoped
>
.pay-container
{
.pay-info
{
text-align
:
center
;
margin
:
100rpx
0
;
.info-tips
{
font-weight
:
bold
;
font-size
:
36rpx
;
}
}
.money-box
{
font-size
:
34rpx
;
font-weight
:
bold
;
margin
:
100rpx
0
;
text-align
:
center
;
padding-top
:
50rpx
;
.money
{
font-size
:
60rpx
;
}
...
...
@@ -143,4 +154,5 @@
}
}
}
</
style
>
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