Commit c54f6cd2 authored by youjie's avatar youjie

修复bug

parent 97307b33
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
} else if (item.goodsType == 7) { //道旅酒店住宿 } else if (item.goodsType == 7) { //道旅酒店住宿
url = "hotel/list" url = "hotel/list"
} else if (item.goodsTyp == 5) { //目的地用车 } else if (item.goodsType == 5) { //目的地用车
url = "bus/index" url = "bus/index"
} else if (item.goodsType == 6) { //签证 } else if (item.goodsType == 6) { //签证
url = "visa/visaList" url = "visa/visaList"
......
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
<!-- #endif --> <!-- #endif -->
</view> </view>
<view style="flex: 1; margin-left: 30rpx; text-align: left" class="name-ali"> <view style="flex: 1; margin-left: 30rpx; text-align: left" class="name-ali">
{{ dataList.Name }} {{ dataList&&dataList.Name?dataList.Name:'' }}
</view> </view>
</view> </view>
<view class="bus-content"> <view class="bus-content">
<view class="bus-base"> <view class="bus-base">
<view style="padding: 0 31rpx;"> <view style="padding: 0 31rpx;">
<view class="bus-name"> <view class="bus-name">
{{ dataList.Name }} {{ dataList&&dataList.Name?dataList.Name:'' }}
</view> </view>
<view class="bus-brand"> <view class="bus-brand">
{{ dataList.brandname?dataList.brandname:'' }} {{ dataList&&dataList.brandname?dataList.brandname:'' }}
</view> </view>
<view class="bus-tag"> <view class="bus-tag">
<text class="bus-tagText" v-if="dataList.TravelHours"> <text class="bus-tagText" v-if="dataList.TravelHours">
......
...@@ -169,7 +169,11 @@ ...@@ -169,7 +169,11 @@
<!--接送时间--> <!--接送时间-->
<u-picker v-model="dateVisible" <u-picker v-model="dateVisible"
mode="time" mode="time"
:startYear="startYear" :startYear="$utils.GetDateFewFaysLater(0).year"
:startMonth="$utils.GetDateFewFaysLater(0).month"
:startDay="$utils.GetDateFewFaysLater(0).dd"
:startHours="$utils.GetDateFewFaysLater(0).hour"
:startMinutes="$utils.GetDateFewFaysLater(0).minute"
:params="dateParams" :params="dateParams"
@cancel="setDateHandler" @cancel="setDateHandler"
@confirm="setDateHandler" @confirm="setDateHandler"
...@@ -269,7 +273,6 @@ ...@@ -269,7 +273,6 @@
}, },
getTheCar: 1,//1 接机下车 2送机下车 3上车 getTheCar: 1,//1 接机下车 2送机下车 3上车
startYear: 2025,
} }
}, },
onLoad(options) { onLoad(options) {
...@@ -285,7 +288,7 @@ ...@@ -285,7 +288,7 @@
// }); // });
}, },
created() { created() {
this.startYear = this.$utils.GetDateFewFaysLater(0).year
}, },
mounted() { mounted() {
let that = this let that = this
...@@ -583,7 +586,7 @@ ...@@ -583,7 +586,7 @@
min-height: 100vh; min-height: 100vh;
background-image: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638813466842071842.png'); background-image: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638813466842071842.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% auto; background-size: 100% 100%;
padding: 0 30rpx; padding: 0 30rpx;
padding-top: 357rpx; padding-top: 357rpx;
padding-bottom: 36rpx; padding-bottom: 36rpx;
......
...@@ -318,7 +318,11 @@ ...@@ -318,7 +318,11 @@
</view> </view>
</view> </view>
<u-picker <u-picker
:startYear="startYear" :startYear="$utils.GetDateFewFaysLater(0).year"
:startMonth="$utils.GetDateFewFaysLater(0).month"
:startDay="$utils.GetDateFewFaysLater(0).dd"
:startHours="$utils.GetDateFewFaysLater(0).hour"
:startMinutes="$utils.GetDateFewFaysLater(0).minute"
v-model="showtime" v-model="showtime"
mode="time" mode="time"
@cancel="confirm" @cancel="confirm"
...@@ -437,7 +441,6 @@ ...@@ -437,7 +441,6 @@
submit: false, submit: false,
orderInfo: null, orderInfo: null,
price: 0, price: 0,
startYear: 2025,
busInfor: null, busInfor: null,
userInfo: null, userInfo: null,
radioList:[ radioList:[
...@@ -471,7 +474,6 @@ ...@@ -471,7 +474,6 @@
this.getPeoples() this.getPeoples()
}, },
created() { created() {
this.startYear = this.$utils.GetDateFewFaysLater(0).year
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.activeStyle = `background:${this.mainColor};`; this.activeStyle = `background:${this.mainColor};`;
}, },
......
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