保誠-保戶業務員媒合平台
Mila
2022-01-20 f90c94f20b5f11d3b3ce0164d619c0112d5158c9
PAMapp/components/ReviewRecords/ReviewRecords.vue
@@ -11,6 +11,7 @@
    </section>
    <div class="user-reviews-page">
      <template v-if="myAppointmentReviewLogList.length">
        <section class="user-reviews-content">
            <div
                class="user-reviews-card"
@@ -36,25 +37,35 @@
                </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();
    }
@@ -99,6 +110,9 @@
                }
            }
            &.empty {
              border-color: transparent;
            }
        }
    }
}