Commit 3b03bc16 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/zk123/jz_travel into master

parents cab978e2 cb108628
...@@ -591,6 +591,8 @@ ...@@ -591,6 +591,8 @@
"root": "pages/jiuzhai", "root": "pages/jiuzhai",
"pages": [{ "pages": [{
"path":"jz_Line" //九寨-线路 "path":"jz_Line" //九寨-线路
},{
"path":"jz_LineDetail" //九寨-线路详情
}] }]
}, },
//相亲分包 //相亲分包
......
This diff is collapsed.
This diff is collapsed.
...@@ -280,10 +280,11 @@ ...@@ -280,10 +280,11 @@
} }
} }
let carDate = new Date(); let carDate = new Date();
this.carMsg.Q_Date = carDate.getFullYear() +'-'+(carDate.getMonth() + 1)+'-'+carDate.getDate(); let carMonth = (carDate.getMonth() + 1)<10?'0'+(carDate.getMonth() + 1):(carDate.getMonth() + 1);
this.carMsg.Q_Date = carDate.getFullYear() +'-'+carMonth+'-'+carDate.getDate();
let carday = carDate.getDay(); let carday = carDate.getDay();
this.startDate = carDate.getFullYear() +'-'+(carDate.getMonth() + 1)+'-'+carDate.getDate();//从啥时候开始 this.startDate = carDate.getFullYear() +'-'+carMonth+'-'+carDate.getDate();//从啥时候开始
this.showcardate = (carDate.getMonth() + 1)+'-'+carDate.getDate(); this.showcardate = carMonth+'-'+carDate.getDate();
this.showweek = this.getweek(carday) //得到定制专车的周几 this.showweek = this.getweek(carday) //得到定制专车的周几
}, },
......
...@@ -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'
// }) })
} }
}, },
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
} }
.jz_TuDiv { .jz_TuDiv {
width: 280rpx; width: 220rpx;
height: 220rpx; height: 280rpx;
border-radius: 6px; border-radius: 12px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
...@@ -24,9 +24,10 @@ ...@@ -24,9 +24,10 @@
} }
.jz_Right { .jz_Right {
width: 380rpx; width: 432rpx;
margin-top: 5px; margin-top: 5px;
font-size: 14px; font-size: 14px;
position: relative;
} }
.jz_LineName { .jz_LineName {
...@@ -61,14 +62,7 @@ ...@@ -61,14 +62,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.jz_Remark {
width: 100%;
font-size: 13px;
background-color: #f1f0f0;
padding: 10px;
}
.op_remark { .op_remark {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
...@@ -77,7 +71,7 @@ ...@@ -77,7 +71,7 @@
.jz_ListMain { .jz_ListMain {
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px solid #d1d1d1; border-bottom: 1px solid #E2E2E2;
margin-bottom: 10px; margin-bottom: 10px;
} }
...@@ -97,9 +91,6 @@ ...@@ -97,9 +91,6 @@
.jz_Sort { .jz_Sort {
width: 100%; width: 100%;
/* justify-content: space-between;
display: flex;
*/
margin: 20px 0; margin: 20px 0;
} }
...@@ -142,6 +133,16 @@ ...@@ -142,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" >
...@@ -169,10 +170,10 @@ ...@@ -169,10 +170,10 @@
<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"> <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" src="http://imgfile.oytour.com/Upload/DMC/20200603030333648.jpg?x-oss-process=image/resize,l_140" <img class="jz_TuBigImg" aspectFill src="http://imgfile.oytour.com/Upload/DMC/20200603030333648.jpg"
alt="" /> alt="" />
<view class="jz_TuDivBotm"> <view class="jz_TuDivBotm">
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/address.png" />成都出发 <img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/address.png" />成都出发
...@@ -181,21 +182,21 @@ ...@@ -181,21 +182,21 @@
</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>
</view> </view>
<view style="margin-bottom:10px">航班:<text></text>(余位:10)</view> <view style="margin-bottom:10px">航班:<text></text>(余位:10)</view>
<view> <view style="color:#FF3166;position: absolute;right:0;bottom:0">
同业价:<text class="jz_redType">{{item.b2BPrice}}</text> <text style="font-size:20rpx;">¥</text>
<text style="margin-left:10px;">统一售价:<text class="jz_redType">{{item.b2CPrice}}</text></text> <text style="font-size:36rpx;">{{item.b2BPrice}}</text>
<text style="font-size:20rpx;"></text>
</view> </view>
</view> </view>
</view> </view>
<view class="jz_Remark">
<view class="op_remark" style="margin-bottom:10px;">OP备注:1不占床小孩收费1不占床小孩收费1不占床小孩收费1不占床小孩收费</view>
<view class="op_remark">本团卖点:1不占床小孩收费1不占床小孩收费1不占床小孩收费1不占床小孩收费</view>
</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
...@@ -229,9 +230,6 @@ ...@@ -229,9 +230,6 @@
searchKey: '', //搜索数据 searchKey: '', //搜索数据
value1: 1, value1: 1,
isShowDate: false, isShowDate: false,
delMsg: {
tcid: 10964
},
lineList: [{ lineList: [{
label: '出境日本线', label: '出境日本线',
value: 1, value: 1,
...@@ -253,7 +251,6 @@ ...@@ -253,7 +251,6 @@
}, },
created() { created() {
this.getList(); this.getList();
this.getDetails();
}, },
methods: { methods: {
//获取数据 //获取数据
...@@ -273,22 +270,6 @@ ...@@ -273,22 +270,6 @@
null null
); );
}, },
//获取详情
getDetails() {
this.apipost(
"b2b_get_GetB2BTravelInfoNoDes",
this.delMsg,
res => {
console.log(res, '详情');
if (res.data.resultCode == 1) {
} else {
}
},
null
);
},
//获取日期 //获取日期
getStratDate(val) { getStratDate(val) {
console.log(val, 'val'); console.log(val, 'val');
...@@ -302,6 +283,12 @@ ...@@ -302,6 +283,12 @@
this.status = "nomore"; this.status = "nomore";
} }
}, },
//跳转至详情
goJzDetail(tcid,configId){
uni.navigateTo({
url: "/pages/jiuzhai/jz_LineDetail?tcid=" + tcid +'&configId='+configId
});
}
}, },
}; };
</script> </script>
This diff is collapsed.
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