From 60dc6e178e4ab05ea8f62f7baa1dd72a5c20f93c Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 13 十二月 2021 16:10:13 +0800 Subject: [PATCH] fixed#132096: 查看完聯絡清單(或登出後再登入),顧問清單的黃點並不會消失 --- PAMapp/components/Consultant/ConsultantCard.vue | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index 5c773f3..2f161fb 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -1,8 +1,8 @@ <template> <div> - <el-row type="flex" class="rowStyle"> + <el-row type="flex" class="rowStyle" :class="{'new': !agentInfo.customerViewTime }"> - <el-col :xs="2" :sm="1" :class="{'state': agentInfo.new}"></el-col> + <el-col :xs="2" :sm="1"></el-col> <el-col :xs="22" :sm="23"> <el-row type="flex"> <el-col class="flex_column" :xs="5" :sm="3"> @@ -11,7 +11,7 @@ :fileName="avatarFileName" @click.native="showAgentDetail(agentInfo.agentNo)" ></UiAvatar> - <!-- TODO:���遛��漲 --> + <!-- TODO:���遛��漲 --> <div v-if="!hideReviews"> <i class="icon-star pam-icon icon--yellow satisfaction" v-if="!(latestContactedAppointment && !latestContactedAppointment.satisfactionScore)"></i> <span v-if="agentInfo.contactStatus === 'contacted' && latestContactedAppointment && latestContactedAppointment.satisfactionScore"> @@ -322,13 +322,10 @@ margin-bottom: 10px; display: flex; justify-content: space-between; + border-left: 4px solid transparent; - .state { - width: 10px; - height: 10px; - border-radius: 50px; - background-color: $YELLOW; - margin: auto 0; + &.new { + border-color: $YELLOW; } .satisfaction { -- Gitblit v1.8.0