From e02d6534d2dba4b8adcbb80e37cc77bf8bddd26c Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 09 三月 2022 16:50:48 +0800 Subject: [PATCH] update#136137: [諮詢度表現] 顧問詳細資訊API 前端調整串接 --- PAMapp/components/Interview/InterviewRecordCard.vue | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/PAMapp/components/Interview/InterviewRecordCard.vue b/PAMapp/components/Interview/InterviewRecordCard.vue index 34f1d28..2a8bb4c 100644 --- a/PAMapp/components/Interview/InterviewRecordCard.vue +++ b/PAMapp/components/Interview/InterviewRecordCard.vue @@ -7,12 +7,17 @@ > <div class="record-log-card-date-container"> <div class="record-log-card-date-container-circle"> - <div class="xxsTxt bold line-height">{{item.createdDate | formatYear}}</div> <div> <UiDateFormat class="xxsTxt bold line-height" :date="item.createdDate" - onlyShowSection="DAY" /> + onlyShowSection="YEAR" /> + </div> + <div> + <UiDateFormat + class="xxsTxt bold line-height" + :date="item.createdDate" + onlyShowSection="DATE" /> </div> <div> <UiDateFormat @@ -28,7 +33,7 @@ <span v-else-if="item.email">(Email)</span> <span v-else>(���陛閮�)</span> </div> - <div class="mt-10">���{item.interviewDate | formatDate}}</div> + <div v-if="item.phone" class="mt-10">���{item.interviewDate | formatDate}}</div> </div> </section> <div class="time-line"></div> @@ -40,15 +45,7 @@ import { Component, Prop, Vue } from "nuxt-property-decorator"; import { NoticeLogs } from "~/shared/models/appointment.model"; -@Component({ - filters: { - formatYear(value) { - if (value) { - return new Date(value).getFullYear(); - } - } - } -}) +@Component export default class RecordCard extends Vue { @Prop() noticeLogsList!: NoticeLogs[]; @@ -73,6 +70,8 @@ justify-content: center; align-items: center; align-content: center; + background-color:#1B365D; + color: #fff; } } } @@ -96,4 +95,4 @@ margin-left: 13px; margin-top: 10px; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0