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
147c511f
Commit
147c511f
authored
Mar 27, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改收银台样式
parent
db595604
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
13 deletions
+24
-13
pages.json
pages.json
+10
-10
pages/h5/pay.vue
pages/h5/pay.vue
+14
-3
No files found.
pages.json
View file @
147c511f
...
...
@@ -5,6 +5,15 @@
},
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path"
:
"pages/h5/pay"
,
"name"
:
"pay"
,
"style"
:
{
"navigationBarTitleText"
:
"收银台"
,
"enablePullDownRefresh"
:
false
}
},{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationBarTitleText"
:
"步数"
,
...
...
@@ -44,16 +53,7 @@
"enablePullDownRefresh"
:
false
}
},{
"path"
:
"pages/h5/pay"
,
"name"
:
"pay"
,
"style"
:
{
"navigationBarTitleText"
:
"支付"
,
"enablePullDownRefresh"
:
false
}
}
}
],
"subPackages"
:[],
...
...
pages/h5/pay.vue
View file @
147c511f
...
...
@@ -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
}}
111
</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>
...
...
@@ -109,11 +112,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
;
}
...
...
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