Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
77a0a556
Commit
77a0a556
authored
Oct 27, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码支付页面优化
parent
700f5ad9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
index.vue
pages/indexs/index/index.vue
+1
-1
ourPayment.vue
pages/payment/ourPayment/ourPayment.vue
+14
-14
No files found.
pages/indexs/index/index.vue
View file @
77a0a556
...
...
@@ -20,7 +20,7 @@
</view>
<view
class=
"banner"
>
<u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px"
height=
"300"
circular
>
<u-swiper
:list=
"list"
@
change=
"e => currentNum = e.current"
indicatorStyle=
"right: 20px"
height=
"300"
circular
@
click=
'swiperClick(currentNum)'
>
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
list
.
length
}}
</text>
</view>
...
...
pages/payment/ourPayment/ourPayment.vue
View file @
77a0a556
...
...
@@ -84,7 +84,7 @@
</view>
</view>
</
template
>
<!-- 显示增加数量页面 -->
<
template
v-if=
"showNumber"
>
<view
class=
"top2"
>
<view
class=
"top2-name"
>
...
...
@@ -100,9 +100,10 @@
v-model=
"buyNum"
bg-color=
'#3688FF'
color=
'#ffffff'
:input-height=
"60"
:min=
"1"
size=
'28'
>
iconStyle=
'color:#ffffff;font-size:32rpx;'
buttonSize=
'60'
input-width=
"100"
:min=
"1"
>
</u-number-box>
</view>
<view
class=
"top2-price"
>
...
...
@@ -396,20 +397,21 @@ export default {
this
.
$request
(
'user/newCompany/findCompanyById'
,
data
).
then
(
res
=>
{
uni
.
hideLoading
()
if
(
res
.
code
==
'00'
)
{
this
.
companyAttribute
=
res
.
data
.
companyAttribute
this
.
paydJumpUrl
=
res
.
data
.
paydJumpUrl
if
(
this
.
companyAttribute
==
5
)
{
//出租车显示联系人姓名,其他显示公司名称
this
.
companyName
=
res
.
data
.
contactName
}
else
{
this
.
companyName
=
res
.
data
.
companyName
}
let
list
=
res
.
data
.
companyTollPointVoList
let
list
=
res
.
data
.
companyTollPointVoList
||
[]
list
.
forEach
(
item
=>
{
if
(
item
.
tollPoints
==
this
.
extendInfo
){
this
.
tollPoint
=
item
}
})
this
.
companyAttribute
=
res
.
data
.
companyAttribute
if
(
this
.
companyAttribute
==
5
)
{
//出租车显示联系人姓名
this
.
companyName
=
res
.
data
.
contactName
}
else
{
//优先取收费点名称,然后是公司名称,然后是联系人名称
this
.
companyName
=
this
.
tollPoint
.
tollPointByname
||
res
.
data
.
companyName
||
res
.
data
.
contactName
}
if
(
this
.
tollPoint
.
tollPointsModel
==
0
){
//显示输入金额页面
this
.
showMoney
=
true
...
...
@@ -426,8 +428,6 @@ export default {
icon
:
'none'
})
}
//优先取收费点名称,然后是公司名称,然后是联系人名称
this
.
companyName
=
this
.
tollPoint
.
tollPointByname
||
res
.
data
.
companyName
||
res
.
data
.
contactName
}
}
else
{
uni
.
showToast
({
...
...
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