<template>
    <div style="height: 100vh; width: 100vw">
        <van-nav-bar title="我的" @click-left="toMain">
            <template #left>
                <van-icon name="arrow-left" />
            </template>
        </van-nav-bar>
        <van-row style="margin-top: 10%; z-index: 99">
            <van-col :span="22" :offset="1" style="border-radius: 10px; overflow: hidden">
                <van-cell title="企业名称：" :value="companyInfo.qymc"></van-cell>
                <van-cell title="企业联系人：" :value="companyInfo.qylxr"></van-cell>
                <div
                    style="height: 20px; width: 100%; background-color: white; z-index: 9999"
                ></div>
            </van-col>
        </van-row>
    </div>
</template>
<script>
import { Toast } from 'vant'

export default {
    data() {
        return {
            companyInfo: {
                qymc: '',
                qylxr: ''
            }
        }
    },
    created() {
        let currUser = this.$common.currUser()
        if (currUser) {
            this.companyInfo.qymc = currUser.qymc
            this.companyInfo.qylxr = currUser.qylxr
        }
    },
    mounted() {},
    methods: {
        toMain() {
            this.$router.push('/mobile-main')
        }
    }
}
</script>
<style scoped>
::v-deep .van-cell {
    height: 60px;
    line-height: 60px;
}
::v-deep .van-cell__title {
    height: 60px;
    line-height: 60px;
}
::v-deep .van-cell__right-icon {
    height: 60px;
    line-height: 60px;
}
</style>
