diff --git a/o2web/source/x_component_AppMarketV2_Application/$Main/default/style.css b/o2web/source/x_component_AppMarketV2_Application/$Main/default/style.css index c45bcaf8a1962a33ce75e0354e069b1e79d02fa8..191080fbd4b2a513801af42aef089437dfb6529c 100644 --- a/o2web/source/x_component_AppMarketV2_Application/$Main/default/style.css +++ b/o2web/source/x_component_AppMarketV2_Application/$Main/default/style.css @@ -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%; diff --git a/o2web/source/x_component_AppMarketV2_Application/Comment.js b/o2web/source/x_component_AppMarketV2_Application/Comment.js index e04233f4ba5b83ad51719654bafe36dc0169f142..9d3c196412a7c3dd6f6fadc07dd9f88c953589f6 100644 --- a/o2web/source/x_component_AppMarketV2_Application/Comment.js +++ b/o2web/source/x_component_AppMarketV2_Application/Comment.js @@ -395,7 +395,15 @@ MWF.xApplication.AppMarketV2.Application.Comment.ViewPage= new Class({ var content = percomment.content; var percommentConent = content.replace("

","").replace("

",""); - 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;