Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
2be06ad6
You need to sign in or sign up before continuing.
Commit
2be06ad6
authored
Oct 23, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8eeca68e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
flex.css
asset/css/flex.css
+3
-0
airTicketList.vue
pages/airTicket/airTicketList.vue
+3
-2
index.vue
pages/airTicket/components/address/index.vue
+10
-1
No files found.
asset/css/flex.css
View file @
2be06ad6
...
...
@@ -377,6 +377,9 @@
.PX4
{
padding
:
0
4
rpx
;
}
.PX10
{
padding
:
0
10
rpx
;
}
.PX20
{
padding
:
0
20
rpx
;
}
...
...
pages/airTicket/airTicketList.vue
View file @
2be06ad6
...
...
@@ -211,6 +211,7 @@
},
onLoad
(
options
){
this
.
msg
.
DepartCityId
=
this
.
OriginAddress
.
DepartCityId
=
options
.
DepartCityId
?
options
.
DepartCityId
:
0
,
console
.
log
(
options
.
ArriveCityId
,
'-----'
)
this
.
msg
.
ArriveCityId
=
this
.
OriginAddress
.
DepartCityId
=
options
.
ArriveCityId
?
options
.
ArriveCityId
:
0
this
.
U
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
if
(
this
.
U
&&
this
.
U
.
Token
){
...
...
@@ -413,13 +414,13 @@
let
DepartCityName
=
this
.
DepartureCityList
.
filter
(
x
=>
{
return
x
.
ID
==
this
.
msg
.
DepartCityId
})
this
.
OriginAddress
.
DepartCityName
=
DepartCityName
[
0
].
Name
this
.
OriginAddress
.
DepartCityName
=
DepartCityName
.
length
>
0
?
DepartCityName
[
0
].
Name
:
''
}
if
(
this
.
msg
.
ArriveCityId
){
let
ArriveCityName
=
this
.
ArrivalCity
.
filter
(
x
=>
{
return
x
.
ID
==
this
.
msg
.
ArriveCityId
})
this
.
OriginAddress
.
ArriveCityName
=
ArriveCityName
[
0
].
Name
this
.
OriginAddress
.
ArriveCityName
=
ArriveCityName
.
length
>
0
?
ArriveCityName
[
0
].
Name
:
''
}
}
});
...
...
pages/airTicket/components/address/index.vue
View file @
2be06ad6
<
template
>
<view
class=
"addressIndex-box"
>
<view
class=
"fz30 fontBold textCenter MB30 PX53"
>
选择
{{
AddressType
==
1
?
'出发地'
:
'目的地'
}}
</view>
<view
class=
"fz30 fontBold textCenter MB30 PX53 relative"
>
选择
{{
AddressType
==
1
?
'出发地'
:
'目的地'
}}
<text
class=
"fz24 color9999A5 absolute PX10"
style=
"right: 53rpx;top: 0;bottom: 0;"
@
click=
"Clear"
>
清空
</text>
</view>
<view
class=
"fz30 fontBold MB30 PX53"
>
当前
{{
AddressType
==
1
?
'出发地'
:
'目的地'
}}
</view>
<view
class=
"MT30 PX53"
>
<view
class=
"addressIndex-Orientation inlineblock bgF5 row-ajc-n textCenter"
>
...
...
@@ -70,6 +72,13 @@
},
methods
:
{
Clear
(){
this
.
SelectObj
=
{
Name
:
''
,
ID
:
0
,
}
this
.
$emit
(
'RenewalAddres'
,
this
.
SelectObj
,
this
.
AddressType
)
},
getAddress
(
item
){
if
(
item
.
ID
==
this
.
SelectObj
.
ID
){
this
.
SelectObj
=
{
...
...
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