diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/listdetaile/listdetaile.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/listdetaile/listdetaile.js index 7b17d14ff..fbf722d2e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/listdetaile/listdetaile.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/listdetaile/listdetaile.js @@ -1,24 +1,31 @@ -(function () { - var page = { - isScroll: true, - init: function ($page, param) { - var content = ''; - var title = ''; - if (param.f_content) { - content = param.f_content.replace(/\/ueditor\/upload/g, config.web + "\/ueditor\/upload"); - title = param.f_title; - } else { - content = param.F_NewsContent.replace(/\/ueditor\/upload/g, config.web + "\/ueditor\/upload") - title = param.F_FullHead; - } +(function() { + var page = { + isScroll: true, + init: function($page, param) { + var content = ''; + var title = ''; + // if (param.f_content) { + // content = param.f_content.replace(/\/ueditor\/upload/g, config.web + "\/ueditor\/upload"); + // title = param.f_title; + // } else { + // content = param.F_NewsContent.replace(/\/ueditor\/upload/g, config.web + "\/ueditor\/upload") + // title = param.F_FullHead; + // } + if (param.f_content) { + content = param.f_content.replace(/\/ueditor\/upload/g, "\/ueditor\/upload"); + title = param.f_title; + } else { + content = param.F_NewsContent.replace(/\/ueditor\/upload/g, "\/ueditor\/upload") + title = param.F_FullHead; + } - $page.find('.lr-listdetaile-page-title').html(title); - $page.find('.lr-listdetaile-page-content').html($('
').html(content).text()); - //下载附件修改的地方,可能会引起其他问题 - $(document).unbind("mousedown"); - $("body").unbind("tap"); - } - - }; - return page; -})(); \ No newline at end of file + $page.find('.lr-listdetaile-page-title').html(title); + $page.find('.lr-listdetaile-page-content').html($('').html(content).text()); + //下载附件修改的地方,可能会引起其他问题 + $(document).unbind("mousedown"); + $("body").unbind("tap"); + } + + }; + return page; +})();