licp
2024-12-20 d975fc4756806f5b51f006c19c33571b9b8c0b3b
src/view/notice.vue
@@ -16,7 +16,10 @@
        @click="goNoticeDetail(m)">
          <img :src="`../../static/img/notice-${m.viewStatus?1:0}-${m.messageType}.svg`" alt="" style="margin-right: 6px;">
          <div class="notice-content-item-left">
            <p>{{ m.theme }}</p>
            <p style="display: flex;justify-content: space-between;">
              <span>{{ m.theme }}</span>
              <i class="el-icon-delete" style="cursor: pointer;font-size: 16px;margin-right: 20px;" @click.stop="handleDel(m)"></i>
            </p>
            <p style="width: 100%;display: flex;align-items: center;justify-content: space-between;">
              <span>发送人:{{ m.createUser }}</span>
              <span>{{ m.createTime }}</span>
@@ -287,4 +290,10 @@
.readStyle .notice-content-item-left p:nth-child(2){
  color: #90CBCD;
}
.el-icon-delete{
  display: none;
}
.notice-content-item:hover .el-icon-delete{
  display: inline-block;
}
</style>