|
@@ -315,20 +315,19 @@ async function clearAllNotifications() {
|
|
|
<view class="flex items-center">
|
|
|
<image
|
|
|
:src="getNoticeIcon(item.noticeType)" class="h-36rpx w-36rpx"
|
|
|
- :class="{ 'opacity-60': item.readFlag }"
|
|
|
/>
|
|
|
- <text class="ml-8rpx text-24rpx font-bold" :class="item.readFlag ? 'text-#999999' : 'text-#333333'">
|
|
|
+ <text class="ml-8rpx text-24rpx font-bold">
|
|
|
{{ getNoticeTitle(item) }}
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="flex items-center">
|
|
|
- <text class="text-22rpx" :class="item.readFlag ? 'text-#CCCCCC' : 'text-#3A444C'">
|
|
|
+ <text class="text-22rpx">
|
|
|
{{ formatNoticeTime(item.createTime) }}
|
|
|
</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="flex items-center justify-between text-22rpx">
|
|
|
- <view class="line-clamp-2 flex-1 break-all" :class="item.readFlag ? 'text-#BBBBBB' : 'text-#3A444C'">
|
|
|
+ <view class="line-clamp-2 flex-1 break-all">
|
|
|
{{ getNoticeContent(item) }}
|
|
|
</view>
|
|
|
<view v-if="!item.readFlag" class="ml-8rpx h-12rpx w-12rpx flex-shrink-0 rounded-full bg-#FF0000" />
|
|
@@ -361,7 +360,6 @@ async function clearAllNotifications() {
|
|
|
|
|
|
// 已读通知样式
|
|
|
.notification-read {
|
|
|
- background-color: #fafafa !important;
|
|
|
- opacity: 0.95;
|
|
|
+ opacity: 0.8;
|
|
|
}
|
|
|
</style>
|