ソースを参照

手机端查看公告加载图片失败

临城职教中职
ndbs 2年前
コミット
e0359b4556
1個のファイルの変更30行の追加23行の削除
  1. +30
    -23
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/listdetaile/listdetaile.js

+ 30
- 23
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($('<div></div>').html(content).text());
//下载附件修改的地方,可能会引起其他问题
$(document).unbind("mousedown");
$("body").unbind("tap");
}
};
return page;
})();
$page.find('.lr-listdetaile-page-title').html(title);
$page.find('.lr-listdetaile-page-content').html($('<div></div>').html(content).text());
//下载附件修改的地方,可能会引起其他问题
$(document).unbind("mousedown");
$("body").unbind("tap");
}
};
return page;
})();

読み込み中…
キャンセル
保存