|
@@ -127,12 +127,21 @@
|
|
<div class="" style="text-align: center;border-radius: 50%;">
|
|
<div class="" style="text-align: center;border-radius: 50%;">
|
|
<div class="weui-cells__title"><h4 style="font-weight: 100;">预订<span id="currentDate" style="color:#666;"></span>工作餐</h4></div>
|
|
<div class="weui-cells__title"><h4 style="font-weight: 100;">预订<span id="currentDate" style="color:#666;"></span>工作餐</h4></div>
|
|
<c:if test="${theOrder.exits == '1'}">
|
|
<c:if test="${theOrder.exits == '1'}">
|
|
- <div class="button-2 blue" id="buttonPlan" onclick="plan()">
|
|
|
|
- <div class="btn_div_list" id="inDate" style="line-height: 90px;height:90px;padding-top: 55px;">
|
|
|
|
- <span class="btn_span_list" id="plan">预订</span><br><span class="btn_span_list" id="spantime"></span>
|
|
|
|
|
|
+ <c:if test="${theOrder.dateStart == '1'}">
|
|
|
|
+ <div class="button-2 blue" id="buttonPlan" onclick="plan()">
|
|
|
|
+ <div class="btn_div_list" id="inDate" style="line-height: 90px;height:90px;padding-top: 55px;">
|
|
|
|
+ <span class="btn_span_list" id="plan">预订</span><br><span class="btn_span_list" id="spantime"></span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </c:if>
|
|
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${theOrder.dateStart == '0'}">
|
|
|
|
+ <div class="button-2 blue notclick" id="buttonPlanNo" style="background:#dcdbdb;">
|
|
|
|
+ <div style="line-height: 130px;height:130px;padding-top: 65px">
|
|
|
|
+ <span class="btn_span_list" style="color: #0b61a4">未订餐</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </c:if>
|
|
|
|
+ </c:if>
|
|
<c:if test="${theOrder.exits == '0'}">
|
|
<c:if test="${theOrder.exits == '0'}">
|
|
<div class="button-2 blue notclick" id="buttonPlan" style="background:#dcdbdb;">
|
|
<div class="button-2 blue notclick" id="buttonPlan" style="background:#dcdbdb;">
|
|
<div style="line-height: 130px;height:130px;padding-top: 65px">
|
|
<div style="line-height: 130px;height:130px;padding-top: 65px">
|
|
@@ -170,10 +179,10 @@
|
|
--maxtime;
|
|
--maxtime;
|
|
} else{
|
|
} else{
|
|
clearInterval(timer);
|
|
clearInterval(timer);
|
|
- $("#plan").text("未预订");
|
|
|
|
- $("#plan").attr("style","color: #0b61a4");
|
|
|
|
- $("#inDate").attr("style","padding-top: 65px");
|
|
|
|
- changeStatus();
|
|
|
|
|
|
+ // $("#plan").text("未预订");
|
|
|
|
+ // $("#plan").attr("style","color: #0b61a4");
|
|
|
|
+ // $("#inDate").attr("style","padding-top: 65px");
|
|
|
|
+ // changeStatus();
|
|
$.toast("订餐时间已结束!", "text");
|
|
$.toast("订餐时间已结束!", "text");
|
|
}
|
|
}
|
|
}
|
|
}
|