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
3d69aa66
Commit
3d69aa66
authored
May 27, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3b03bc16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
273 additions
and
262 deletions
+273
-262
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+15
-7
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+258
-255
No files found.
pages/jiuzhai/jz_Line.vue
View file @
3d69aa66
...
...
@@ -173,8 +173,7 @@
<view
class=
"jz_ListMain"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goJzDetail(item.tcid,item.configId)"
>
<view
class=
"jz_List"
>
<view
class=
"jz_TuDiv"
>
<img
class=
"jz_TuBigImg"
aspectFill
src=
"http://imgfile.oytour.com/Upload/DMC/20200603030333648.jpg"
alt=
""
/>
<img
class=
"jz_TuBigImg"
mode=
"aspectFill"
:src=
"getImgs(item.imgCover)"
alt=
""
/>
<view
class=
"jz_TuDivBotm"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/address.png"
/>
成都出发
{{
item
.
dayNum
}}
天
...
...
@@ -186,13 +185,15 @@
{{
item
.
productRecommend
}}
</view>
<view
style=
"margin:10px 0"
>
<img
class=
"jz_calederImg"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/canlder.png"
/>
{{
item
.
startDate
}}
<text
class=
"jz_Canhoubu"
>
不可候补
</text>
<img
class=
"jz_calederImg"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/canlder.png"
/>
{{
item
.
startDate
}}
<text
class=
"jz_Canhoubu"
>
{{
item
.
isSubstitution
==
0
?
'不可候补'
:
'可以候补'
}}
</text>
</view>
<view
style=
"margin-bottom:10px"
>
航班:
<text>
无
</text>
(余位:10)
</view>
<view
style=
"margin-bottom:10px"
>
余位:
{{
item
.
surplus
}}
</view>
<view
style=
"color:#FF3166;position: absolute;right:0;bottom:0"
>
<text
style=
"font-size:20rpx;"
>
¥
</text>
<text
style=
"font-size:
36
rpx;"
>
{{
item
.
b2BPrice
}}
</text>
<text
style=
"font-size:
40
rpx;"
>
{{
item
.
b2BPrice
}}
</text>
<text
style=
"font-size:20rpx;"
>
起
</text>
</view>
</view>
...
...
@@ -256,7 +257,7 @@
//获取数据
getList
()
{
this
.
apipost
(
"b2b_get_GetB2B
HomeLine
TravelPageList"
,
"b2b_get_GetB2BTravelPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
resultCode
==
1
)
{
...
...
@@ -288,6 +289,13 @@
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
tcid
+
'&configId='
+
configId
});
},
//获取第一张图
getImgs
(
imgObj
){
let
imgArr
=
JSON
.
parse
(
imgObj
);
if
(
imgArr
&&
imgArr
.
length
>
0
){
return
imgArr
[
0
].
Url
}
}
},
};
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
3d69aa66
This diff is collapsed.
Click to expand it.
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