Explorar el Código

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

临城职教中职
ndbs hace 2 años
padre
commit
e0359b4556
Se han modificado 1 ficheros con 30 adiciones y 23 borrados
  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 Ver fichero

@@ -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;
})();

Cargando…
Cancelar
Guardar