foreverActivity.blade.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>终身免费看小说</title>
  8. <style>
  9. html,
  10. body {
  11. margin: 0 auto;
  12. padding: 0;
  13. max-width: 450px;
  14. font-size: 100px;
  15. background: #ff572a;
  16. }
  17. p {
  18. margin: 0;
  19. padding: 0;
  20. text-align: center;
  21. }
  22. .main_box {
  23. font-size: 0;
  24. position: relative;
  25. }
  26. .main_box img {
  27. width: 100%;
  28. }
  29. .main_box .box {
  30. position: relative;
  31. background: #fef7e9;
  32. margin: 0 .1rem;
  33. padding: .2rem .1rem;
  34. top: -.35rem;
  35. border-radius: .2rem;
  36. }
  37. .main_box .intro {
  38. font-size: 0.16rem;
  39. font-weight: bold;
  40. color: #c9391c;
  41. padding: 0.06rem;
  42. text-align: center;
  43. }
  44. .main_box .weight {
  45. font-size: .18rem;
  46. color: #ff572a;
  47. font-weight: bold;
  48. }
  49. .to-buy {
  50. display: block;
  51. width: 90%;
  52. margin: 0.1rem auto;
  53. background: #ff572a;
  54. color: #fff;
  55. font-size: .18rem;
  56. font-weight: bolder;
  57. text-align: center;
  58. text-decoration: none;
  59. border-radius: .3rem;
  60. padding: .1rem 0;
  61. }
  62. .over{
  63. background:#CCCCCC;
  64. }
  65. .intro span {
  66. font-size: 0.16rem;
  67. display: block;
  68. }
  69. .intro span.weight {
  70. font-weight: bolder;
  71. margin-top: 0.05rem;
  72. }
  73. .main_box .coupon {
  74. width: 90%;
  75. margin: 0 auto;
  76. }
  77. .main_box .gray {
  78. color: #b4b4b4;
  79. font-size: 0.14rem;
  80. }
  81. .main_box .gray span {
  82. color: #ff3728;
  83. font-weight: bolder;
  84. }
  85. .main_box .strong {
  86. font-size: 0.16rem;
  87. font-weight: 800;
  88. color: #fe7b27;
  89. margin: 0.1rem;
  90. }
  91. .book-list {
  92. padding: 0 .2rem;
  93. display: flex;
  94. justify-content: space-between;
  95. align-items: center;
  96. }
  97. .book-list .book-item {
  98. width: 30%;
  99. font-size: .14rem;
  100. }
  101. .book-item p {
  102. text-overflow: ellipsis;
  103. overflow: hidden;
  104. white-space: nowrap;
  105. color: #999;
  106. }
  107. .count-down {
  108. font-size: .14rem;
  109. text-align: center;
  110. background: #ffece2;
  111. padding: .1rem 0;
  112. margin: 0 .2rem .2rem;
  113. color: #c9391c;
  114. }
  115. .count-down .time {
  116. display: inline-block;
  117. background: #ff572a;
  118. color: #fff;
  119. width: .2rem;
  120. height: .2rem;
  121. border-radius: 3px;
  122. margin-right: .05rem;
  123. }
  124. .banner-box {
  125. width: 80%;
  126. margin: .2rem auto;
  127. }
  128. .d-none {
  129. display: none;
  130. }
  131. </style>
  132. </head>
  133. <body>
  134. <main class="main_box">
  135. <div class="banner">
  136. <img src="https://cdn-novel.iycdm.com//h5/activity-forever/banner.jpg" alt="">
  137. </div>
  138. <div class="box">
  139. <div class="count-down">
  140. 活动倒计时:<span class="time">{{$time['day']}}</span>天
  141. <span class="time">{{$time['hour']}}</span>时
  142. <span class="time">{{$time['minute']}}</span>分
  143. <span class="time">{{$time['second']}}</span>秒
  144. </div>
  145. <div class="coupon-box">
  146. <p class="intro">看一辈子的小说需要多少钱?</p>
  147. <p class="intro">普通人花费上千上万元,而你</p>
  148. <p class="weight">只要68元!</p>
  149. <p class="intro">即可承包你下半辈子的小说!!!</p>
  150. </div>
  151. @if($code == 0)
  152. <a href="{{$url}}" class="to-buy">立即订购</a>
  153. @else
  154. <a href="#" class="to-buy over">活动过期</a>
  155. @endif
  156. <div class="banner-box">
  157. <img src="https://cdn-novel.iycdm.com/h5/activity-forever/1.png" alt="">
  158. </div>
  159. <div class="book-list">
  160. @foreach($books as $v)
  161. <div class="book-item">
  162. <img src="{{$v['cover_url']}}" alt="">
  163. <p>{{$v['book_name']}}</p>
  164. </div>
  165. @endforeach
  166. </div>
  167. <div class="banner-box" style="width:100%;margin-bottom:0">
  168. <img src="https://cdn-novel.iycdm.com/h5/activity-forever/2.png" alt="">
  169. </div>
  170. </div>
  171. </main>
  172. </body>
  173. </html>