保誠-保戶業務員媒合平台
HelenHuang
2022-01-07 304a920efe54968615208a580bff15bd013d730e
add: appointmentProgress.vue
修改2個檔案
新增1個檔案
121 ■■■■ 已變更過的檔案
PAMapp/assets/scss/utilities/_heading.scss 4 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Appointment/AppointmentProgress.vue 38 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Client/ClientCard.vue 79 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/assets/scss/utilities/_heading.scss
@@ -67,6 +67,10 @@
  color: $ORANGE;
}
.text--black{
  color: $PRIMARY_BLACK;
}
.text--dark-blue {
  color: $DARK_BLUE;
}
PAMapp/components/Appointment/AppointmentProgress.vue
¤ñ¹ï·sÀÉ®×
@@ -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>
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 @@
                        >(客戶未提供需求項目)</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>