From 47431e32e426d14736415ac0cc9cdcd88f7c07e5 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 22 四月 2024 18:02:20 +0800 Subject: [PATCH] 优化检验任务计算 --- src/view/notice.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/view/notice.vue b/src/view/notice.vue index b8657b1..44aabd0 100644 --- a/src/view/notice.vue +++ b/src/view/notice.vue @@ -69,14 +69,14 @@ <div class="content"> <img :src="`../../static/img/notice-${m.type}.svg`" alt="" style="width: 50px;margin-right: 18px;"> <div class="content-info"> - <h4 style="font-weight: normal;margin-bottom: 6px;display: flex;align-items: center;justify-content: space-between;"> + <h4 style="font-weight: normal;margin-bottom: 4px;display: flex;align-items: center;justify-content: space-between;"> <span>{{ m.title }}</span> - <span class="time" style="color: #999999;font-size: 14px;">{{ m.time }}</span> + <span class="time" style="color: #999999;font-size: 12px;">{{ m.time }}</span> </h4> - <p style="color: #999999;font-size: 14px;margin-bottom: 8px;" class="ellipsis-multiline">{{ m.content }}</p> - <el-tag type="danger" v-if="m.status==0">宸叉嫆缁�</el-tag> - <el-tag type="success" v-if="m.status==1">宸叉帴鏀�</el-tag> - <p style="font-size: 14px;color: #999999;display: flex;align-items: center;justify-content: space-between;"> + <p style="color: #999999;font-size: 14px;margin-bottom: 6px;" class="ellipsis-multiline">{{ m.content }}</p> + <el-tag type="danger" size="small" v-if="m.status==0" style="margin-bottom: 4px;">宸叉嫆缁�</el-tag> + <el-tag type="success" size="small" v-if="m.status==1" style="margin-bottom: 4px;">宸叉帴鏀�</el-tag> + <p style="font-size: 12px;color: #999999;display: flex;align-items: center;justify-content: space-between;"> <span>鍙戦�佷汉锛歿{m.sendUser}}</span> <span>鏀朵欢浜猴細{{ m.getUser }}</span> </p> @@ -95,7 +95,7 @@ export default { data(){ return{ - drawer:true, + drawer:false, direction:'rtl', options:[], type:'0', @@ -105,7 +105,7 @@ title:'鏍囬', content:'鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭鍐呭', time:'2019-08-07 15:34:26', - status:1,//娑堟伅鐘舵�侊細鎷掔粷銆佹帴鏀� + status:0,//娑堟伅鐘舵�侊細鎷掔粷銆佹帴鏀� isRead:0,//鏄惁宸茶 sendUser:'灏忔槑', getUser:'鏉庡崕', -- Gitblit v1.9.3