<template>
    <div class="van-list">
        <div class="pass-info" v-for="i in 5" :key="i">
            <div class="pass-title">
                <div class="title">支付宝购买</div>
                <div class="time">2022-7-5</div>
            </div>
            <div class="pass-box">
                <van-image width="136" height="64" :src="require('@assets/qingtong.png')" fit="cover" />
                <div class="pass-content">
                    <div class="text1">青铜通行证</div>
                    <div class="flex1"></div>
                    <div class="text2">编号:78738373788</div>
                    <div class="text2">到期时间:2022-7-20</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {};
</script>
<style lang="less" scoped>
.van-list {
    padding: 16px;
}
.pass-info {
    background-color: @bg2;
    border-radius: 4px;
    padding: 10px 12px 12px;

    .pass-title {
        .flex();
        justify-content: space-between;
        .title {
            font-size: 12px;
            font-weight: bold;
            color: #ffe3a3;
            line-height: 18px;
        }

        .time {
            font-size: 12px;
            color: #ffffff;
            line-height: 18px;
        }
    }
}
.pass-box {
    padding-top: 22px;
    .flex();
    .pass-content {
        margin-left: 10px;
        .text1 {
            font-size: 14px;
            color: #ffffff;
            line-height: 24px;
        }

        .text2 {
            font-size: 12px;
            color: #6a6d83;
            line-height: 17px;
        }
        .text2 + .text2 {
            margin-top: 2px;
        }
    }
}
.pass-info + .pass-info {
    margin-top: 16px;
}
</style>
