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
cb108628
Commit
cb108628
authored
May 27, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d540c46d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
18 deletions
+31
-18
index.vue
pages/index/index.vue
+15
-15
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+16
-3
No files found.
pages/index/index.vue
View file @
cb108628
...
...
@@ -1220,21 +1220,21 @@
},
yj
(){
let
obj
=
{
ArriveCityId
:
7
,
ArriveCityName
:
"九寨沟"
,
ArriveCityType
:
2
,
Q_Date
:
"2021-5-25"
,
StartCityId
:
262
,
StartCityName
:
"成都"
,
StartCityType
:
1
}
obj
=
encodeURIComponent
(
JSON
.
stringify
(
obj
))
uni
.
navigateTo
({
url
:
'/pages/guidecar/bookaCarList?carMsg='
+
obj
})
//
uni.navigateTo({
// url: '/pages/guidecar/index'
//
// url: '/pages/blindDate/personal/IDidentification'
//
})
//
let obj ={ArriveCityId: 7,
//
ArriveCityName: "九寨沟",
//
ArriveCityType: 2,
//
Q_Date: "2021-5-25",
//
StartCityId: 262,
//
StartCityName: "成都",
//
StartCityType: 1}
//
obj = encodeURIComponent(JSON.stringify(obj))
//
uni.navigateTo({
//
url: '/pages/guidecar/bookaCarList?carMsg='+obj
//
})
uni
.
navigateTo
({
url
:
'/pages/jiuzhai/jz_Line'
,
// url: '/pages/blindDate/personal/IDidentification'
})
}
},
...
...
pages/jiuzhai/jz_Line.vue
View file @
cb108628
...
...
@@ -133,6 +133,16 @@
top
:
130px
;
z-index
:
999
;
}
.jz_Recommend
{
color
:
#999999
;
font-size
:
24
rpx
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
overflow
:
hidden
;
margin-top
:
10px
;
line-height
:
20px
;
}
</
style
>
<
template
>
<div
class=
"jz_Line"
>
...
...
@@ -160,7 +170,7 @@
<template
v-else
>
<view
style=
"height: calc(100vh - 120px);overflow: hidden;"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ height: '100%' }">
<view
class=
"jz_ListMain"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goJzDetail(item.tcid)"
>
<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"
...
...
@@ -172,6 +182,9 @@
</view>
<view
class=
"jz_Right"
>
<view
class=
"jz_LineName"
>
{{
item
.
title
}}
</view>
<view
class=
"jz_Recommend"
>
{{
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>
...
...
@@ -271,9 +284,9 @@
}
},
//跳转至详情
goJzDetail
(
tcid
){
goJzDetail
(
tcid
,
configId
){
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
tcid
url
:
"/pages/jiuzhai/jz_LineDetail?tcid="
+
tcid
+
'&configId='
+
configId
});
}
},
...
...
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