提交 3036cf43 编写于 作者: L luojing

应用市场评论-添加评论主题链接,点击链接直接打开论坛实际主题帖

上级 d0f2457b
......@@ -421,6 +421,13 @@
line-height:26px;
}
.o2_appmarket_application_comment_content_title_a{
font-size:20px;
font-family:MicrosoftYaHei;
color:rgba(51,51,51,1);
line-height:26px;
text-decoration: none;
}
.o2_appmarket_application_comment_content_text{
width:90%;
height:58%;
......
......@@ -395,7 +395,15 @@ MWF.xApplication.AppMarketV2.Application.Comment.ViewPage= new Class({
var content = percomment.content;
var percommentConent = content.replace("<p>","").replace("</p>","");
new Element("div",{"class":"o2_appmarket_application_comment_content_title","text":percomment.title}).inject(commentcontentright);
var subjectUrl = this.bbsUrlPath;
if(subjectUrl.indexOf(":",8)>0){
subjectUrl = subjectUrl.slice(0,subjectUrl.indexOf(":",8));
}
subjectUrl = subjectUrl+"/x_desktop/forum.html?app=ForumDocument&id="+percomment.id;
debugger
var subjectDiv= new Element("div",{"class":"o2_appmarket_application_comment_content_title"}).inject(commentcontentright);
var subjectA = new Element("a",{"class":"o2_appmarket_application_comment_content_title_a","text":percomment.title,"href":subjectUrl,"target":"_blank"}).inject(subjectDiv);
//subjectA.setStyle("text-decoration","none");
var conentDiv = new Element("div",{"class":"o2_appmarket_application_comment_content_text"}).inject(commentcontentright);
var conentHtml = percomment.content;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册