| | |
| | | </section> |
| | | <div class="user-reviews-page"> |
| | | |
| | | <template v-if="myAppointmentReviewLogList.length"> |
| | | <section class="user-reviews-content"> |
| | | <div |
| | | class="user-reviews-card" |
| | |
| | | </div> |
| | | </div> |
| | | </section> |
| | | </template> |
| | | <template v-else> |
| | | <section class="user-reviews-content"> |
| | | <div |
| | | class="user-reviews-card empty"> |
| | | <div class="user-reviews-card-content"> |
| | | 暫無資料 |
| | | </div> |
| | | </div> |
| | | </section> |
| | | </template> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | | <script lang="ts"> |
| | | import { Vue, Component, Prop } from 'nuxt-property-decorator'; |
| | | |
| | | import authService from '~/shared/services/auth.service'; |
| | | import { AppointmentLog } from '~/shared/models/appointment.model'; |
| | | import { Vue, Component, Prop } from 'nuxt-property-decorator'; |
| | | import authService from '~/shared/services/auth.service'; |
| | | |
| | | @Component |
| | | export default class ReviewRecords extends Vue{ |
| | | |
| | | @Prop() |
| | | myAppointmentReviewLogList!: AppointmentLog[]; |
| | | |
| | | isUserLogin = false; |
| | | |
| | | ////////////////////////////////////////////////////////////////////// |
| | | mounted() { |
| | | this.isUserLogin = authService.isUserLogin(); |
| | | } |
| | |
| | | |
| | | } |
| | | } |
| | | &.empty { |
| | | border-color: transparent; |
| | | } |
| | | } |
| | | } |
| | | } |