Commit 62b38352 authored by 黄奎's avatar 黄奎

页面修改

parent 86b3c02a
...@@ -102,7 +102,6 @@ ...@@ -102,7 +102,6 @@
.TravelPrice .days .checked1 { .TravelPrice .days .checked1 {
border: 1px solid #2aa872 !important; border: 1px solid #2aa872 !important;
} }
.TravelPrice .days .checked2 { .TravelPrice .days .checked2 {
border: 1px solid #e95252 !important; border: 1px solid #e95252 !important;
} }
...@@ -343,9 +342,17 @@ ...@@ -343,9 +342,17 @@
<li class="liList" v-for="(dayobject,index) in days" :key="dayobject.subCode"> <li class="liList" v-for="(dayobject,index) in days" :key="dayobject.subCode">
<template v-if="dayobject.click"> <template v-if="dayobject.click">
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1" <span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}
<!-- <template v-if="dayobject.Tip">
有机票
</template> -->
</span>
<span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" <span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue"
@click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}
<!-- <template v-if="dayobject.Tip">
有机票
</template> -->
</span>
</template> </template>
<template v-else> <template v-else>
<span class="other-month">{{dayobject.day.getDate()}}</span> <span class="other-month">{{dayobject.day.getDate()}}</span>
...@@ -1034,8 +1041,11 @@ ...@@ -1034,8 +1041,11 @@
initCalendarEdit() { initCalendarEdit() {
for (let i in this.queryFlightAirDateList) { for (let i in this.queryFlightAirDateList) {
for (let k in this.days) { for (let k in this.days) {
this.days[k].click = true;
if (this.queryFlightAirDateList[i].day == new Date(this.days[k].day).Format("yyyy-MM-dd")) { if (this.queryFlightAirDateList[i].day == new Date(this.days[k].day).Format("yyyy-MM-dd")) {
this.days[k].click = true; this.days[k].Tip=true;
//HK 2020-02-03注释
//this.days[k].click = true;
} }
} }
} }
......
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