From 304a920efe54968615208a580bff15bd013d730e Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期五, 07 一月 2022 09:59:44 +0800
Subject: [PATCH] add: appointmentProgress.vue

---
 PAMapp/components/Client/ClientCard.vue               |   79 ++++++++++++++++++--------
 PAMapp/components/Appointment/AppointmentProgress.vue |   38 ++++++++++++
 PAMapp/assets/scss/utilities/_heading.scss            |    4 +
 3 files changed, 96 insertions(+), 25 deletions(-)

diff --git a/PAMapp/assets/scss/utilities/_heading.scss b/PAMapp/assets/scss/utilities/_heading.scss
index 80f3b16..ab51c54 100644
--- a/PAMapp/assets/scss/utilities/_heading.scss
+++ b/PAMapp/assets/scss/utilities/_heading.scss
@@ -67,6 +67,10 @@
   color: $ORANGE;
 }
 
+.text--black{
+  color: $PRIMARY_BLACK;
+}
+
 .text--dark-blue {
   color: $DARK_BLUE;
 }
diff --git a/PAMapp/components/Appointment/AppointmentProgress.vue b/PAMapp/components/Appointment/AppointmentProgress.vue
new file mode 100644
index 0000000..2a9e8e5
--- /dev/null
+++ b/PAMapp/components/Appointment/AppointmentProgress.vue
@@ -0,0 +1,38 @@
+<template>
+    <div class="appointment-progress">
+        <div class="unread" style="display:flex">
+                    <div class="circle"></div>
+                    <div class="line"></div>
+                    <div class="circle"></div>
+                    <div class="line"></div>
+                    <div class="circle"></div>
+                </div>
+    </div>
+</template>
+
+<script lang="ts">
+import { Vue, Component, Prop } from 'nuxt-property-decorator';
+
+@Component
+export default class AppointmentProgress extends Vue {
+    @Prop()
+    size!: number;
+
+    @Prop()
+    agentNo!: string;
+
+}
+</script>
+<style lang="scss" scoped>
+.appointment-progress{
+    display: flex;
+    .circle {
+                width: 10px;
+                height: 10px;
+                border-radius: 50px;
+                background-color: $PRIMARY_BLACK;
+                margin: auto;
+            }
+
+}
+</style>
\ No newline at end of file
diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue
index 25c5423..c140e28 100644
--- a/PAMapp/components/Client/ClientCard.vue
+++ b/PAMapp/components/Client/ClientCard.vue
@@ -8,27 +8,14 @@
             :class="{'new': newAppointment }"
             @click.native="openDetail"
         >
-            <el-col :xs="1" :sm="1" class="unread" align="middle" v-if="isReserved">
+        <div class="test">
+            <div class="unread" v-if="isReserved">
                 <div class="circle" v-if="!isRead"></div>
-            </el-col>
-            <el-col :xs="5" :sm="3" align="middle">
-                <el-avatar
-                    :size="50"
-                ></el-avatar>
-                <div class="satisfaction" v-if="!hideReviews">
-                    <template v-if="client.satisfactionScore">
-                        TODO:���遛��漲
-                        <i class="icon-star pam-icon icon--yellow satisfaction"></i>
-                        <span>{{client.satisfactionScore}}</span>
-                    </template>
-                    <template v-else>
-                        <div class="unfilled">�憛急遛��漲</div>
-                    </template>
-                </div>
-            </el-col>
-            <el-col :xs="14" :sm="14" class="pl-10">
+            </div>
+
+            <div class="pl-10">
                 <div class="smTxt_bold name">{{ client.name }}</div>
-                <div class="my-10">������</div>
+                <div class="my-10 xsTxt">������</div>
                 <div class="professionals">
                     <template v-if="client.requirement">
                         <span
@@ -42,19 +29,46 @@
                         >(摰X�����瘙�)</span>
                     </template>
                 </div>
-            </el-col>
-            <el-col class="flex-column contactInfo" :xs="4" :sm="6">
-                <div
+                <div class="unread" style="display:flex">
+                    <div class="circle"></div>
+                    <div class="line"></div>
+                    <div class="circle"></div>
+                    <div class="line"></div>
+                    <div class="circle"></div>
+                </div>
+            </div>
+        </div>
+            <!-- <el-col :xs="5" :sm="3" align="middle">
+                <el-avatar
+                    :size="50"
+                ></el-avatar>
+                <div class="satisfaction" v-if="!hideReviews">
+                    <template v-if="client.satisfactionScore">
+                        TODO:���遛��漲
+                        <i class="icon-star pam-icon icon--yellow satisfaction"></i>
+                        <span>{{client.satisfactionScore}}</span>
+                    </template>
+                    <template v-else>
+                        <div class="unfilled">�憛急遛��漲</div>
+                    </template>
+                </div>
+            </el-col> -->
+            
+            <div class="flex-column contactInfo" :xs="4" :sm="6">
+                <!-- <div
                     class="smTxt_bold fix-chrome-click--issue"
                     :class="{'unread-txt': reservedTxt === '�霈�', 'read-txt': reservedTxt !== '�霈�'}"
-                >{{ reservedTxt }}</div>
+                >{{ reservedTxt }}</div> -->
+                <div class="invite-msg smTxt_bold">
+                    ���赤�
+                </div>
                 <div
-                    class="date xsTxt text--mid_grey"
+                    class="date xsTxt text--black"
                 >{{ date }}</div>
                 <div
                     class="xsTxt text--mid_grey"
                 >{{ time }}</div>
-            </el-col>
+            </div>
         </el-row>
 
         <Ui-Dialog
@@ -339,6 +353,7 @@
         margin-bottom: 10px;
         display: flex;
         justify-content: space-between;
+        
         transition: background-color 0.5s;
         &.new {
             border-left: solid 4px $YELLOW;
@@ -418,4 +433,18 @@
     .fixed-Height {
         height: 16px;
     }
+    .test{
+        display: flex;
+    }
+    .invite-msg{
+        color: #ED1B2E;
+        border-bottom: 1px solid #ED1B2E;
+        width: 97px;
+    }
+    .line{
+        height: 4px;
+        width: 10px;
+        background-color: $PRUDENTIAL_GREY;
+        
+    }
 </style>

--
Gitblit v1.8.0