Bläddra i källkod

调整首页失物招领样式

金隅分支
zhangli 3 år sedan
förälder
incheckning
cd0e574d7e
3 ändrade filer med 11 tillägg och 20 borttagningar
  1. +1
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js
  2. +6
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndexLost.cshtml
  3. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndexLost.js

+ 1
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js Visa fil

@@ -22,13 +22,7 @@ var bootstrap = function ($, learun) {
$("#F_NewsContent").html($('<div></div>').html(item.f_content).text());
} else {
$.lrSetForm(top.$.rootUrl + '/LR_OAModule/Notice/GetEntity?keyValue=' + id, function (data) {
if (data.F_Category == "失物招领") {
data.F_NewsContent = decodeURI(data.F_NewsContent);
$('.inSec1T').attr("hidden","hidden");
$('#readlist').attr("hidden","hidden");
$('#msgSource').attr("hidden","hidden");
$('#newType').attr("hidden","hidden");
}
$("#F_FullHead").text(data.F_FullHead);
$("#F_CreateDate").text(data.F_CreateDate);
$("#F_CreateUserName").text(data.F_SourceName == null ? "" : data.F_SourceName);


+ 6
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndexLost.cshtml Visa fil

@@ -20,8 +20,8 @@
<div class="listDotT" id="F_FullHead"></div>
<div class="listDotTime">
<span>发布时间:<span id="F_CreateDate"></span></span>
<span id="msgSource">信息来源:<span id="F_CreateUserName"></span></span>
<span id="newType">公告类别:<span id="F_Category"></span></span>
@*<span id="msgSource">信息来源:<span id="F_CreateUserName"></span></span>
<span id="newType">公告类别:<span id="F_Category"></span></span>*@
</div>
<div class="listDotBox" id="F_NewsContent">
@@ -29,18 +29,15 @@
<div id="F_NewsImage"></div>
</div>
</div>
<div class="list_sec2s list_sec">
@*<div class="list_sec2s list_sec">
<div class="index_box">
<!-- <div class="listSec2sTitle">已读人员</div> -->
<div class="listSec2sTitle">已读人员</div>
<div class="inSec1T"><span>已读人员</span></div>
<ul class="listSec2sList" id="readlist">
@*<li>
<span class="listSec2sT">一个的</span>
<span class="listSec2sTime">2018-09-02</span>
</li>*@
</ul>
</div>
</div>
</div>*@
<!-- / list_sec1 -->
</div>
<!-- / warpper -->


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndexLost.js Visa fil

@@ -23,10 +23,10 @@ var bootstrap = function ($, learun) {
} else {
$.lrSetForm(top.$.rootUrl + '/LR_OAModule/LostArticleInfo/GetEntity?keyValue=' + id, function (data) {
data.F_NewsContent = decodeURI(data.F_Content);
$('.inSec1T').attr("hidden", "hidden");
$('#readlist').attr("hidden", "hidden");
$('#msgSource').attr("hidden", "hidden");
$('#newType').attr("hidden", "hidden");
//$('.inSec1T').attr("hidden", "hidden");
//$('#readlist').attr("hidden", "hidden");
//$('#msgSource').attr("hidden", "hidden");
//$('#newType').attr("hidden", "hidden");

$("#F_FullHead").text(data.F_FullHead);
$("#F_CreateDate").text(data.F_CreateTime);


Laddar…
Avbryt
Spara