<template>
    <div class="applyList">
        <m-header />

        <van-form >
            <van-field readonly name="code" label="准考证号" value="1058720005575">
                <template #button>
                    <span class="codeText" @click="onLookCertificate">查看准考证</span>
                </template>
            </van-field>
            <van-field readonly clickable label="专业,级别,成绩" value="钢琴,十级,通过" />
            <van-field readonly clickable label="考点" value="姜杰城航天桥分部" />
            <van-field readonly label="缴费状态" value="已缴费" />
            <van-field readonly label="考试日期" value="具体考试时间未公布" />
            <m-button class="stepBtn" text="查看资料" />
        </van-form>

    </div>
</template>
<script>
import MHeader from '@/components/MHeader'
import MButton from '@/components/MButton'
// import { browser } from '@/common/common'
export default {
    name: 'applyList',
	components: { MHeader, MButton },
    data () {
        return {
        }
    },
    mounted() {
        // 插入token
        // let params = this.$route.query
        // if(params.Authorization) {
        //     localStorage.setItem('Authorization', decodeURI(params.Authorization))
        //     localStorage.setItem('userInfo', decodeURI(params.Authorization))
        // }
    },
    methods: {
        onSubmit() {
            // console.log('submit', values)
        },
        onLookCertificate() {
            this.$router.push('/applyCertificate')
        }
    }
}
</script>
<style lang="less" scoped>
@import url("../../assets/commonLess/variable.less");

.applyList {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #F3F4F8;
    /deep/.van-form {
        padding-top: .15rem;
    }
    /deep/.van-cell {
        padding: .13rem .16rem;
    }
    /deep/.van-field__label {
        font-size: .17rem;
        color: #333;
        width: 1.15rem;
    }
    /deep/.van-field__body {
        font-size: .16rem;
    }
    /deep/.van-field__control {
        color: #999999;
    }

    .codeText {
        font-size: .16rem;
        color: #2DC7AA;
    }
}

</style>