From c047a3336ff1efc7d21edee6f0c8811264eebae7 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期六, 22 一月 2022 15:25:32 +0800 Subject: [PATCH] update: TODO#134222/134105 通知小鈴鐺/取得待評分的滿意度清單, 串接api --- PAMapp/pages/userReviewsRecord/index.vue | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/PAMapp/pages/userReviewsRecord/index.vue b/PAMapp/pages/userReviewsRecord/index.vue new file mode 100644 index 0000000..a161107 --- /dev/null +++ b/PAMapp/pages/userReviewsRecord/index.vue @@ -0,0 +1,65 @@ +<template> + <div> + <ReviewRecords + :reviewLogList="reviewLogList" + ></ReviewRecords> + </div> +</template> +<script lang="ts"> +import { AppointmentLog } from '~/shared/models/appointment.model'; +import { Vue, Component, Action, State } from 'nuxt-property-decorator'; + +@Component +export default class UserReviewsRecord extends Vue{ + + @State('reviewLogList') + reviewLogList!: AppointmentLog[]; + +} +</script> +<style lang="scss" scoped> +.user-reviews-page{ + margin-bottom:155px; + .user-reviews-header{ + height: 43px; + margin-top: 28px; + display: flex; + justify-content: center; + border-bottom: 2px solid black; + } + .user-reviews-content{ + .user-reviews-card{ + display: flex; + justify-content: space-between; + margin-top: 26px; + border-bottom: 1px solid #707070; + height: 54px; + padding-bottom: 15px; + .user-reviews-card-content{ + width: 242px; + padding-right:50px; + line-height: 1.2; + font-size: 20px; + margin-left: 15px; + } + .user-reviews-card-date{ + font-size: 12px; + display: flex; + flex-direction: column; + align-items: flex-end; + margin-right: 15px; + width:52px; + .date{ + margin-bottom: 2px; + + } + } + } + } +} +@include desktop{ + .user-reviews-card-content{ + flex: 1; + } +} +</style> -- Gitblit v1.8.0