Explorar o código

通知样式调整

shanbinzhang hai 2 meses
pai
achega
9884dbc9c7
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/components/notificationMsg.vue

+ 5 - 2
src/components/notificationMsg.vue

@@ -22,11 +22,11 @@
                         </span>
                         <div class="info">
                             <div class="head">
-                                <span class="title">{{item.Content}}</span>
+                                <span class="title" v-if="activeName!=='first'">{{item.Content}}</span>
                                 <span class="time">{{item.CreateTime}}</span>
                             </div>
                             <!-- 审批内容 -->
-                            <div class="content" v-if="activeName==='first'">{{item.Remark||''}}&nbsp;</div>
+                            <div class="content" v-if="activeName==='first'">{{item.Content||''}}&nbsp;</div>
                             <!-- 看板审批 内容部分-->
                             <div class="content" v-else-if="activeName==='second'">{{item.Remark||''}}&nbsp;</div>
                             <!-- 权限内容 -->
@@ -430,6 +430,9 @@ export default {
                 .head{
                     display: flex;
                     justify-content: space-between;
+                    .time {
+                        flex-shrink: 0;
+                    }
                 }
 
             }