From 8a8d73f01edceeb4a8bddcda7938b71d5752e56c Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Fri, 5 Mar 2021 10:02:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pmcalendar.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pmcalendar.php b/pmcalendar.php index 507f540..05929e9 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -1044,7 +1044,7 @@ if ($act == 'newevent') { .recording—title img { width: 20px; margin-right: 6px; } .recording—title span{ font-size: 12px; color:#686868; } .recording—name { float: right; } - /* .recording—con-box { margin-top: 16px; } */ + .recording—con-box2 { padding: 20px 14px; } .yanqi { position: absolute; top:0; right:0;} .recording-dot-box { margin-top: 0px; padding: 14px; border-bottom: 1px solid #f2f2f2;} .recording-img { width: 16px; margin-top: 6px; cursor:pointer} @@ -2457,6 +2457,7 @@ if ($act == 'newevent') { // console.log(res.chanpin_remark) if(res.event == '打包' || res.event=="版本更新"){//延期记录只有打包和更新才有 console.log(8888) + $("#recording-content").removeClass('recording—con-box2'); if(res.yanqi_history != null){ var recording = JSON.parse(res.yanqi_history); for(let i in recording){ @@ -2472,11 +2473,13 @@ if ($act == 'newevent') { recording[i]['timetype'] = "延期"; } } - console.log(recording) + // console.log(recording) tmpltxt = doT.template(document.getElementById("recording-dot").innerHTML);//生成模板方法 document.getElementById("recording-content").innerHTML = tmpltxt(recording);//数据渲染 }else { $("#recording-content").empty(); + $("#recording-content").addClass('recording—con-box2'); + $("#recording-content").html('无调整,项目正常推进中'); } }else { $("#recording-box").css('display','none');