Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
acdd25a1
Commit
acdd25a1
authored
Nov 21, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决个人中心IPHONEX适配问题
parent
fb4171fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
5 deletions
+33
-5
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+5
-0
my-info.vue
src/pages/myInfo/my-info.vue
+27
-4
contract-record.vue
src/pages/pay/firstPay/contract-record.vue
+1
-1
No files found.
src/pages/carConfirm/confirm-detail.vue
View file @
acdd25a1
...
@@ -204,6 +204,11 @@ export default {
...
@@ -204,6 +204,11 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
equip
=
res
.
lists
vm
.
equip
=
res
.
lists
vm
.
hlsPopup
.
showSuccess
(
'发车成功'
)
vm
.
hlsPopup
.
showSuccess
(
'发车成功'
)
setTimeout
(()
=>
{
vm
.
$router
.
push
({
name
:
'ConfirmList'
,
})
},
2000
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
src/pages/myInfo/my-info.vue
View file @
acdd25a1
...
@@ -47,7 +47,8 @@
...
@@ -47,7 +47,8 @@
<div
class=
"userInfo"
>
我的合同
</div>
<div
class=
"userInfo"
>
我的合同
</div>
<div
class=
"my-contract"
>
<div
class=
"my-contract"
>
<div
class=
"content-wrap"
@
click=
"goSign"
>
<div
class=
"content-wrap"
@
click=
"goSign"
>
<span
v-if=
"signCount > 0"
<span
v-if=
"signCount > 0"
:class=
"
{'content-wrap-class-width':signCount>99, 'content-wrap-class':signCount
<99
}"
:class=
"
{'content-wrap-class-width':signCount>99, 'content-wrap-class':signCount
<99
}"
>
{{
signCount
>
99
?
'99+'
:
signCount
}}
</span>
>
{{
signCount
>
99
?
'99+'
:
signCount
}}
</span>
<img
src=
"@/assets/myInfo/unSign.png"
>
<img
src=
"@/assets/myInfo/unSign.png"
>
...
@@ -61,14 +62,16 @@
...
@@ -61,14 +62,16 @@
<p>
待确认
</p>
<p>
待确认
</p>
</div>
-->
</div>
-->
<div
class=
"content-wrap"
@
click=
"goVideoSign"
>
<div
class=
"content-wrap"
@
click=
"goVideoSign"
>
<span
v-if=
"vedioCount > 0"
<span
v-if=
"vedioCount > 0"
:class=
"
{'content-wrap-class-width':vedioCount>99, 'content-wrap-class':vedioCount
<99
}"
:class=
"
{'content-wrap-class-width':vedioCount>99, 'content-wrap-class':vedioCount
<99
}"
>
{{
vedioCount
>
99
?
'99+'
:
vedioCount
}}
</span>
>
{{
vedioCount
>
99
?
'99+'
:
vedioCount
}}
</span>
<img
src=
"@/assets/myInfo/unFace.png"
>
<img
src=
"@/assets/myInfo/unFace.png"
>
<p>
待面签
</p>
<p>
待面签
</p>
</div>
</div>
<div
class=
"content-wrap"
@
click=
"goCarConfirm"
>
<div
class=
"content-wrap"
@
click=
"goCarConfirm"
>
<span
v-if=
"carCount > 0"
<span
v-if=
"carCount > 0"
:class=
"
{'content-wrap-class-width':carCount>99, 'content-wrap-class':carCount
<99
}"
style=
"margin-left:5px;"
:class=
"
{'content-wrap-class-width':carCount>99, 'content-wrap-class':carCount
<99
}"
style=
"margin-left:5px;"
>
{{
carCount
>
99
?
'99+'
:
carCount
}}
</span>
>
{{
carCount
>
99
?
'99+'
:
carCount
}}
</span>
<img
src=
"@/assets/myInfo/carConfirm.png"
>
<img
src=
"@/assets/myInfo/carConfirm.png"
>
...
@@ -87,7 +90,8 @@
...
@@ -87,7 +90,8 @@
<item
@
click
.
native=
"goMyProduct"
>
<item
@
click
.
native=
"goMyProduct"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/collect.png"
class=
"left-icon"
>
<img
slot=
"left-icon"
src=
"@/assets/myInfo/collect.png"
class=
"left-icon"
>
<div
slot=
"name"
>
我的收藏
</div>
<div
slot=
"name"
>
我的收藏
</div>
<div
v-if=
"productCount > 0"
<div
v-if=
"productCount > 0"
slot=
"right-icon"
slot=
"right-icon"
:class=
"
{'right-icon-width':productCount>99, 'right-icon':productCount
<99
}"
:class=
"
{'right-icon-width':productCount>99, 'right-icon':productCount
<99
}"
>
{{
productCount
>
99
?
'99+'
:
productCount
}}
</div>
>
{{
productCount
>
99
?
'99+'
:
productCount
}}
</div>
...
@@ -796,4 +800,23 @@ export default {
...
@@ -796,4 +800,23 @@ export default {
color: #fff;
color: #fff;
border-radius: 50%;
border-radius: 50%;
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#my-info {
button {
margin-bottom: 98px;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#my-info {
button {
margin-bottom: 98px;
}
}
}
}
</
style
>
</
style
>
src/pages/pay/firstPay/contract-record.vue
View file @
acdd25a1
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
vm
.
prj_lists
=
res
.
prj_lists
vm
.
prj_lists
=
res
.
prj_lists
vm
.
prj_lists
.
forEach
(
i
=>
{
vm
.
prj_lists
.
forEach
(
i
=>
{
i
.
cf_lists
.
forEach
(
j
=>
{
i
.
cf_lists
.
forEach
(
j
=>
{
let
num
=
(
parseFloat
(
j
.
due_amount
)
-
parseFloat
(
j
.
received_amount
)
)
let
num
=
parseFloat
(
j
.
due_amount
)
-
parseFloat
(
j
.
received_amount
)
vm
.
$set
(
j
,
'amount'
,
num
)
vm
.
$set
(
j
,
'amount'
,
num
)
})
})
})
})
...
...
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