<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>节日特惠</title>
    <style>
        html,
        body {
            margin: 0 auto;
            padding: 0;
            height: 100%;
            max-width: 450px;
        }

        .main_box {
            height: inherit;
            font-size: 0;
            position: relative;
        }

        .main_box img {
            height: inherit;
            width: 100%;
        }

        .recharge_box_one a {
            position: absolute;
            width: 80%;
            height: 60px;
            top: 74%;
            left: 50%;
            transform: translateX(-50%);
        }

        .d_none {
            display: none;
        }
    </style>
</head>

<body>
<main class="main_box">
    <img src="https://yueduyun.oss-cn-hangzhou.aliyuncs.com/h5/women-activity-bg.jpg" alt="">
    <div class="recharge_box_one">
        @if($code == 0)
            <!-- 活动进行中 -->
            <a href="{{$url}}" class="beginning">
                <img src="https://yueduyun.oss-cn-hangzhou.aliyuncs.com/h5/women-activity-doing.png" alt="">
            </a>
        @elseif($code == 1)
            <!-- 活动未开始 -->
            <a href="javascript:void(0)" class="un_begin">
                <img src="https://yueduyun.oss-cn-hangzhou.aliyuncs.com/h5/women-activity-undone.png" alt="">
            </a>
        @elseif($code == 2)
            <!-- 活动已结束 -->
            <a href="javascript:void(0)" class="over">
                <img src="https://yueduyun.oss-cn-hangzhou.aliyuncs.com/h5/women-activity-over.png" alt="">
            </a>
        @else
        @endif
    </div>
</main>
</body>

</html>