Commit c54f6cd2 authored by youjie's avatar youjie

修复bug

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