From 41d136b3684fff531ca443c1795a802c30fcf5f7 Mon Sep 17 00:00:00 2001 From: zongzhimin Date: Fri, 29 Jun 2018 14:18:35 +0800 Subject: [PATCH] =?UTF-8?q?YOUFANG1.0.7=20=E8=AF=84=E8=AE=BA=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/news/newsDetail.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/fangija-zsyf/views/news/newsDetail.html b/fangija-zsyf/views/news/newsDetail.html index df25d89..7789fb1 100644 --- a/fangija-zsyf/views/news/newsDetail.html +++ b/fangija-zsyf/views/news/newsDetail.html @@ -355,13 +355,20 @@ function addItems(number, lastIndex) { content = content.substr(0,250)+"..."; } } - + var reply = ""; + if(vo.replyStatus==1){//对回复已回复 + reply = "
"+ + "
作者
"+ + "
"+ + "
"+vo.commentReply+"
"; + } html = html + "
"+timeString+"
"+ ""+ "
"+content+"
"+ + reply+ ""+ ""+ - ""; + ""; } // 添加新条目