保誠-保戶業務員媒合平台
Tomas
2021-12-27 176b380f392efab0a84dd79560dca22e8053d0e4
PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
@@ -80,10 +80,10 @@
</template>
<script lang="ts">
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';
import { Consultant } from '~/assets/ts/models/consultant.model';
import { hideReviews } from '~/assets/ts/const/hide-reviews';
@Component
export default class QuickFilterConsultantList extends Vue {
@@ -96,6 +96,7 @@
    endYPosition = 0;
    hideReviews = hideReviews ;
    //////////////////////////////////////////////////////////////////
    moveStart(event: TouchEvent) {
        this.startPosition = event.changedTouches[0].clientX;
        this.startYPosition = event.changedTouches[0].clientY;
@@ -116,14 +117,7 @@
        }
    }
    nextCard() {
        (this.$refs.carouselRef as ElCarousel).next();
    }
    prevCard() {
        (this.$refs.carouselRef as ElCarousel).prev();
    }
    //////////////////////////////////////////////////////////////////
    openPopUp(txt: string) {
        this.popUpTxt = txt;
        this.isVisiblePopUp = true;
@@ -132,6 +126,15 @@
    showAgentDetail(agentNo: string): void {
        this.$router.push(`/agentInfo/${agentNo}`);
    }
    nextCard() {
        (this.$refs.carouselRef as ElCarousel).next();
    }
    prevCard() {
        (this.$refs.carouselRef as ElCarousel).prev();
    }
}
</script>
@@ -218,4 +221,4 @@
        }
    }
</style>
</style>