|
...
|
...
|
@@ -34,9 +34,9 @@ Component({ |
|
|
|
//每个时段的开始时间、结束时间
|
|
|
|
let starttime=Number(arr[0].split(':')[0]);
|
|
|
|
let endtime=Number(arr[1].split(':')[0]);
|
|
|
|
if(currenttimemark<endtime){
|
|
|
|
if(currenttimemark>starttime){
|
|
|
|
starttime=Math.round(currenttimemark)
|
|
|
|
if(currenttimemark+0.5<endtime){
|
|
|
|
if(currenttimemark+0.5>starttime){
|
|
|
|
starttime=Math.round(currenttimemark)+0.5;
|
|
|
|
}
|
|
|
|
for(let i=starttime;i<=endtime;i+=0.5){
|
|
|
|
let obj={};
|
...
|
...
|
|