123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <!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 {
- background: #3d96e6;
- /*
- background: linear-gradient(left, #103f91,#1461bb);
- background: -webkit-linear-gradient(left, #103f91,#1461bb);
- background: -o-linear-gradient(left, #103f91,#1461bb);
- background: -moz-linear-gradient(left, #103f91,#1461bb);*/
- }
- html,
- body {
- margin: 0 auto;
- padding: 0;
- max-width: 450px;
- font-size: 100px;
- }
- .main_box {
- font-size: 0;
- position: relative;
- }
- .main_box img {
- width: 100%;
- }
- .recharge_box_one a {
- position: absolute;
- width: 80%;
- height: 0.75rem;
- top: 71%;
- left: 50%;
- transform: translateX(-50%);
- z-index: 999;
- }
- </style>
- </head>
- <body>
- <main class="main_box">
- <img src="{{$img['page_bd_img']}}" alt="">
- <div class="recharge_box_one">
- @if($code == 1)
- <!-- 活动未开始 -->
- <a href="#" class="un_begin">
- <img src="{{$img['page_btn_pre_img']}}" alt="">
- </a>
- @elseif($code == 0)
- <!-- 活动进行中 -->
- <a href="{{$url}}" class="beginning">
- <img src="{{$img['page_btn_doing_img']}}" alt="">
- </a>
- @elseif($code == 2)
- <!-- 活动结束 -->
- <a href="javascript:void(0)" class="over">
- <img src="{{$img['page_btn_end_img']}}" alt="">
- </a>
- @endif
- </div>
- </main>
- </body>
- </html>
|