|
|
@@ -169,7 +169,8 @@
|
|
|
</div>
|
|
|
<div class="pane-body">
|
|
|
<ul class="list-unstyled detail details">
|
|
|
- <li ng-repeat="notice in notices" ng-class="isCurrentTime(dateTime, notice.date) && notice.readStatus == 1 ? day-read : nonday">
|
|
|
+ <li ng-repeat="notice in notices"
|
|
|
+ ng-class="isCurrentTime(dateTime, notice.date) && notice.readStatus == 1 ? 'day-read' : isCurrentTime(dateTime, notice.date) && notice.readStatus == 0 ? 'day-unread' : 'nonday'">
|
|
|
<a ng-click="setReadStatus(notice.id)" href="public#/notice/{{notice.id}}" class="" ng-bind="::notice.title" target="_blank"></a><img src="static/img/home/new.png" ng-show="isCurrentTime(dateTime, notice.date)">
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -182,11 +183,11 @@
|
|
|
</div>
|
|
|
<div class="pane-body">
|
|
|
<ul class="list-unstyled detail">
|
|
|
- <li ng-repeat="msg in message | orderBy : '- inid'" class="day-unread">
|
|
|
+ <li ng-repeat="msg in message | orderBy : '- inid'" class="day-unread" ng-class="msg.lastest?'nonday':'day-read'">
|
|
|
<!--<span ng-show="tender.isNew"><img src="static/img/home/newTender.png"></span>-->
|
|
|
<a ng-click="setReadStatus(msg)" ui-sref="baseInfo.inquiryListDetail({id:msg.inid})" class="text-light">
|
|
|
<em style="font-style: normal;">{{msg.pordName}}</em>
|
|
|
- <img src="static/img/home/new.png" ng-if="msg.isToday"/>
|
|
|
+ <img src="static/img/home/new.png" ng-if="msg.lastest"/>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li ng-show="message == null || message == ''" class="grey">
|