提交 88065900 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 aaed38b4
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
:key="item" :key="item"
class="text" class="text"
:class="selectTimes === item.appointmentDate ?'selected':''" :class="selectTimes === item.appointmentDate ?'selected':''"
:style="item.amAppointmentFlag && item.pmAppointmentFlag?'color:#999999':''"
@click="selectTime(item.appointmentDate,item)" @click="selectTime(item.appointmentDate,item)"
> >
{{ item.appointmentDate }} {{ item.appointmentDate }}
...@@ -29,7 +30,7 @@ ...@@ -29,7 +30,7 @@
v-show="currentItem.amTimeBegin !='' && currentItem.amTimeEnd !=''" v-show="currentItem.amTimeBegin !='' && currentItem.amTimeEnd !=''"
class="text" class="text"
:class="selectTimeBucket === currentItem.amTimeBegin ?'selected':''" :class="selectTimeBucket === currentItem.amTimeBegin ?'selected':''"
:style="currentItem.amAppointmentFlag?'':'color:#02120F'" :style="currentItem.amAppointmentFlag?'':'color:#212121'"
@click="selectTimeB('am')" @click="selectTimeB('am')"
> >
{{ currentItem.amTimeContent }} {{ currentItem.amTimeContent }}
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
v-if="currentItem.pmTimeBegin !='' && currentItem.pmTimeEnd!=''" v-if="currentItem.pmTimeBegin !='' && currentItem.pmTimeEnd!=''"
class="text" class="text"
:class="selectTimeBucket === currentItem.pmTimeBegin ?'selected':''" :class="selectTimeBucket === currentItem.pmTimeBegin ?'selected':''"
:style="currentItem.amAppointmentFlag?'':'color:#02120F'" :style="currentItem.pmAppointmentFlag?'':'color:#212121'"
@click="selectTimeB('pm')" @click="selectTimeB('pm')"
> >
{{ currentItem.pmTimeContent }} {{ currentItem.pmTimeContent }}
...@@ -119,6 +120,7 @@ export default { ...@@ -119,6 +120,7 @@ export default {
}); });
}, },
selectItem() { selectItem() {
if (this.selectTimes === '') { if (this.selectTimes === '') {
// this.$toast('请选择日期'); // this.$toast('请选择日期');
return; return;
...@@ -157,6 +159,9 @@ export default { ...@@ -157,6 +159,9 @@ export default {
return num > 9 ? num + '' : '0' + num; return num > 9 ? num + '' : '0' + num;
}, },
selectTime(selectTimes, item) { selectTime(selectTimes, item) {
if (item.amAppointmentFlag && item.pmAppointmentFlag) {
return;
}
console.log(item); console.log(item);
this.selectTimes = selectTimes; this.selectTimes = selectTimes;
this.currentItem = item; this.currentItem = item;
...@@ -230,7 +235,7 @@ export default { ...@@ -230,7 +235,7 @@ export default {
font-size: 16px; font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #666666; color: #999999;
line-height: 41px; line-height: 41px;
} }
} }
......
...@@ -811,6 +811,7 @@ export default { ...@@ -811,6 +811,7 @@ export default {
.appoint-form-submit{ .appoint-form-submit{
margin-top: 30px; margin-top: 30px;
height: 40px; height: 40px;
font-weight: 550;
background: #D9D9D9; background: #D9D9D9;
border-radius: 20px; border-radius: 20px;
border: 1px solid #D9D9D9; border: 1px solid #D9D9D9;
......
...@@ -623,7 +623,7 @@ export default { ...@@ -623,7 +623,7 @@ export default {
.tips { .tips {
font-size: 14px; font-size: 14px;
border-radius: 11px; border-radius: 11px;
padding: 20px 0 10px 0; padding: 5px 0 10px 0;
.tip-org { .tip-org {
text-align: center; text-align: center;
height: 21px; height: 21px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册