<template> <div> <title-bar title="业务查询" @clickLeft="onClick"> <van-icon slot="left" name="cross" size="24" /> </title-bar> <div class="content"> <div style="padding: 0.5%; background-color: #fffafa"></div> <van-tabs v-model="active"> <van-tab title="营销任务"> <marketing-task></marketing-task> </van-tab> <van-tab title="贷款申请"> <loan-application></loan-application> </van-tab> <van-tab title="合同签订及出账"> <contract-signing-and-billing></contract-signing-and-billing> </van-tab> <van-tab title="定期检查"> <periodic-inspection></periodic-inspection> </van-tab> <van-tab title="风险预警"> <risk-warning></risk-warning> </van-tab> </van-tabs> </div> </div> </template> <script lang="ts"> import { Component, Vue } from "vue-property-decorator"; import TitleBar from "@/components/general/TitleBar.vue"; import MarketingTask from "@/components/workbench/company-common-functions/business-inquiry/MarketingTask.vue"; import LoanApplication from "@/components/workbench/company-common-functions/business-inquiry/LoanApplication.vue"; import ContractSigningAndBilling from "@/components/workbench/company-common-functions/business-inquiry/ContractSigningAndBilling.vue"; import PeriodicInspection from "@/components/workbench/company-common-functions/business-inquiry/PeriodicInspection.vue"; import RiskWarning from "@/components/workbench/company-common-functions/business-inquiry/RiskWarning.vue"; import { Tab, Tabs } from "vant"; Vue.use(Tab); Vue.use(Tabs); /** * @Description 业务查询 * @Author JiangTao * @Date 2021-10-23 下午 06:50 */ @Component({ name: "BusinessInquiry", components: { TitleBar, MarketingTask, LoanApplication, ContractSigningAndBilling, PeriodicInspection, RiskWarning }, }) export default class BusinessInquiry extends Vue { pageTitle = ""; // 页面标题 onClick() { console.log(111111); } mounted() { this.pageTitle = this.$route.meta?.name; } active = 0; } </script> <style scoped> .content { width: 100%; height: calc(100vh - 60px); } ::v-deep .van-tab__text { font-size: 16px; color: #999999; font-family: "Arial Normal", "Arial"; } ::v-deep .van-tab--active span { font-size: 18px; color: #fd5065; font-weight: bold; } ::v-deep .van-tabs__line { width: 20%; } ::v-deep .van-tabs__wrap { width: 100%; padding-right: 39%; padding-left: 1%; background-color: #fffafa; } ::v-deep .van-tab { background-color: #fffafa; } </style>