From 3dd41875f8a623bda069ab4f9c1e2fd6c757c44e Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期六, 22 一月 2022 17:06:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/Phase3' into Phase3 --- PAMapp/components/Interview/InterviewRecordCard.vue | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/PAMapp/components/Interview/InterviewRecordCard.vue b/PAMapp/components/Interview/InterviewRecordCard.vue index 34f1d28..9baae4b 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 @@ -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