<template>
    <view class="item">
        <view class="top">
            <view class="pic">
                <text>￥</text>
                <text>12</text>
            </view>
            <view class="man">
                <text></text>
                <text></text>
            </view>
            <text class="button">
                立即<br />领取
            </text>
        </view>
        <view class="time">
            使用时间：2020.01.24-2020.05.08
        </view>
    </view>
</template>
<script>
export default {
    name:"item"
}
</script>
<style lang="scss" scoped>
.item{
    padding: 10rpx;

    width: 254rpx;
    height: 94rpx;
    border: 2rpx solid #FDD360;
    border-radius: 20rpx;
    flex-shrink: 0;
    margin-right: 16rpx;
    .top{
        display: flex;
        align-items: center;
        justify-content: space-between;
        .pic{
            display: flex;
            align-items: flex-end;
            color:#FDD360;
            >text:first-child{
                font-size: 24rpx;
            }
            >text:last-child{
                font-size: 48rpx;
            }
        }
        .man{
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #FDD360;
            >text:first-child{
                font-size: 14rpx;
                
            }
            >text:last-child{
                font-size: 18rpx;
                font-weight: bold;
            }
        }
        .button{
             width: 61rpx;
             height: 61rpx;
             border-radius: 50%;
             font-size: 18rpx;
             background-color: #FDD360;
             color: #fff;
             display: flex;
             align-items: center;
             justify-content: center;
        }
    }
    .time{
        font-size: 12rpx;
        color: #FDD360;
        font-weight: bold;
    }
}
</style>