From ac594e4efb30ba28776d74b0fb08ab34d7c32023 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 30 十二月 2021 15:20:08 +0800
Subject: [PATCH] Merge branch 'Phase2'

---
 PAMapp/components/QuickFilter/QuickFilterConsultantList.vue |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
index a5c407d..71555ba 100644
--- a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
+++ b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
@@ -80,14 +80,16 @@
 </template>
 
 <script lang="ts">
-import { ElCarousel } from 'element-ui/types/carousel';
-import { Vue, Component, Prop } from 'vue-property-decorator';
 import { Consultant } from '~/shared/models/consultant.model';
+import { ElCarousel } from 'element-ui/types/carousel';
 import { hideReviews } from '~/shared/const/hide-reviews';
+import { Vue, Component, Prop } from 'vue-property-decorator';
 
 @Component
 export default class QuickFilterConsultantList extends Vue {
-    @Prop() consultantList!: Consultant[];
+    @Prop()
+    consultantList!: Consultant[];
+
     isVisiblePopUp = false;
     popUpTxt = '����憿批��';
     startPosition = 0;
@@ -96,14 +98,7 @@
     endYPosition = 0;
     hideReviews = hideReviews ;
 
-    openPopUp(txt: string) {
-        this.popUpTxt = txt;
-        this.isVisiblePopUp = true;
-    }
-
-    showAgentDetail(agentNo: string): void {
-        this.$router.push(`/agentInfo/${agentNo}`);
-    }
+    //////////////////////////////////////////////////////////////////
 
     moveStart(event: TouchEvent) {
         this.startPosition = event.changedTouches[0].clientX;
@@ -125,6 +120,17 @@
         }
     }
 
+    //////////////////////////////////////////////////////////////////
+
+    openPopUp(txt: string) {
+        this.popUpTxt = txt;
+        this.isVisiblePopUp = true;
+    }
+
+    showAgentDetail(agentNo: string): void {
+        this.$router.push(`/agentInfo/${agentNo}`);
+    }
+
     nextCard() {
         (this.$refs.carouselRef as ElCarousel).next();
     }

--
Gitblit v1.8.0