Commit cb108628 authored by zhengke's avatar zhengke

修改

parent d540c46d
...@@ -1220,21 +1220,21 @@ ...@@ -1220,21 +1220,21 @@
}, },
yj(){ yj(){
let obj ={ArriveCityId: 7, // let obj ={ArriveCityId: 7,
ArriveCityName: "九寨沟", // ArriveCityName: "九寨沟",
ArriveCityType: 2, // ArriveCityType: 2,
Q_Date: "2021-5-25", // Q_Date: "2021-5-25",
StartCityId: 262, // StartCityId: 262,
StartCityName: "成都", // StartCityName: "成都",
StartCityType: 1} // StartCityType: 1}
obj = encodeURIComponent(JSON.stringify(obj)) // obj = encodeURIComponent(JSON.stringify(obj))
uni.navigateTo({ // uni.navigateTo({
url: '/pages/guidecar/bookaCarList?carMsg='+obj // url: '/pages/guidecar/bookaCarList?carMsg='+obj
}) // })
// uni.navigateTo({ uni.navigateTo({
// url: '/pages/guidecar/index' url: '/pages/jiuzhai/jz_Line',
// // url: '/pages/blindDate/personal/IDidentification' // url: '/pages/blindDate/personal/IDidentification'
// }) })
} }
}, },
......
...@@ -133,6 +133,16 @@ ...@@ -133,6 +133,16 @@
top: 130px; top: 130px;
z-index: 999; z-index: 999;
} }
.jz_Recommend{
color:#999999;
font-size:24rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
margin-top:10px;
line-height: 20px;
}
</style> </style>
<template> <template>
<div class="jz_Line" > <div class="jz_Line" >
...@@ -160,7 +170,7 @@ ...@@ -160,7 +170,7 @@
<template v-else> <template v-else>
<view style="height: calc(100vh - 120px);overflow: hidden;"> <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%' }"> <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_List">
<view class="jz_TuDiv"> <view class="jz_TuDiv">
<img class="jz_TuBigImg" aspectFill src="http://imgfile.oytour.com/Upload/DMC/20200603030333648.jpg" <img class="jz_TuBigImg" aspectFill src="http://imgfile.oytour.com/Upload/DMC/20200603030333648.jpg"
...@@ -172,6 +182,9 @@ ...@@ -172,6 +182,9 @@
</view> </view>
<view class="jz_Right"> <view class="jz_Right">
<view class="jz_LineName">{{item.title}}</view> <view class="jz_LineName">{{item.title}}</view>
<view class="jz_Recommend">
{{item.productRecommend}}
</view>
<view style="margin:10px 0"> <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 <img class="jz_calederImg" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/canlder.png" />{{item.startDate}}<text
class="jz_Canhoubu">不可候补</text> class="jz_Canhoubu">不可候补</text>
...@@ -271,9 +284,9 @@ ...@@ -271,9 +284,9 @@
} }
}, },
//跳转至详情 //跳转至详情
goJzDetail(tcid){ goJzDetail(tcid,configId){
uni.navigateTo({ uni.navigateTo({
url: "/pages/jiuzhai/jz_LineDetail?tcid=" + tcid url: "/pages/jiuzhai/jz_LineDetail?tcid=" + tcid +'&configId='+configId
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment