ChannelCustomerV1.blade.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <!--
  2. /**
  3. * Created by PhpStorm.
  4. * User: z-yang
  5. * Date: 2019/4/17
  6. * Time: 19:48
  7. */
  8. -->
  9. <!DOCTYPE html>
  10. <html lang="en">
  11. <head>
  12. <meta charset="UTF-8">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <link rel=icon type=image/png href="data:image/png;base64,iVBORw0KGgo=">
  15. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  16. <title>书币欢乐送</title>
  17. <style>
  18. html,
  19. body {
  20. margin: 0 auto;
  21. padding: 0;
  22. max-width: 450px;
  23. font-size: 100px;
  24. }
  25. html {
  26. background: #ff3432;
  27. }
  28. .main_box {
  29. font-size: 0;
  30. position: relative;
  31. }
  32. .main_box img {
  33. width: 100%;
  34. }
  35. .time {
  36. font-size: .14rem;
  37. font-weight: bold;
  38. text-align: center;
  39. color: #fff;
  40. }
  41. .recharge-item {
  42. font-size: 0;
  43. width: 90%;
  44. margin: .3rem auto;
  45. }
  46. .recharge_box_one {
  47. width: 95%;
  48. margin: 0 auto;
  49. }
  50. .rule-box {
  51. font-size: 0;
  52. width: 90%;
  53. margin: .3rem auto 0;
  54. }
  55. .main_box img,
  56. a {
  57. -webkit-tap-highlight-color: transparent;
  58. }
  59. .d_none {
  60. display: none;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <main class="main_box">
  66. <img src="https://cdn-novel.iycdm.com/h5/activity-chanel-custom/banner.jpg" alt="" />
  67. <p class="time">活动有效期:{{$start_time or '-'}}至{{$end_time or '-'}}</p>
  68. <div class="recharge-item">
  69. <img src="{{$img}}" alt="">
  70. </div>
  71. <div class="recharge_box_one">
  72. @if($code == 0)
  73. <!-- 活动进行中 -->
  74. <a href="{{$url}}" class="beginning">
  75. <img src="https://cdn-novel.iycdm.com/h5/activity-chanel-custom/doing.jpg" alt="">
  76. </a>
  77. @elseif($code == -3)
  78. <!-- 活动未开始 -->
  79. <a href="#" class="un_begin">
  80. <img src="https://cdn-novel.iycdm.com/h5/activity-chanel-custom/undone.jpg" alt="">
  81. </a>
  82. @elseif($code == -1)
  83. <!-- 活动结束 -->
  84. <a href="javascript:void(0)" class="over">
  85. <img src="https://cdn-novel.iycdm.com/h5/activity-chanel-custom/over.jpg" alt="">
  86. </a>
  87. @elseif($code == -2)
  88. <!-- 活动已充值 -->
  89. <a href="javascript:void(0)" class="done">
  90. <img src="https://cdn-novel.iycdm.com/h5/long_done.png" alt="">
  91. </a>
  92. @endif
  93. </div>
  94. <div class="rule-box">
  95. <img src="https://cdn-novel.iycdm.com/h5/activity-chanel-custom/rule68.jpg" alt="">
  96. </div>
  97. </main>
  98. </body>
  99. </html>