vipguidePersonalAccount.blade.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!--?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: z-yang
  5. * Date: 2019/9/18
  6. * Time: 10:34
  7. */
  8. -->
  9. <!--
  10. * @Author: ZhengXiaowei
  11. * @Date: 2019-08-15 16:39:23
  12. * @LastEditors: ZhengXiaowei
  13. * @LastEditTime: 2019-09-03 14:15:51
  14. * @Description: 弹窗页
  15. -->
  16. <!DOCTYPE html>
  17. <html lang="en">
  18. <head>
  19. <meta charset="UTF-8" />
  20. <meta
  21. name="viewport"
  22. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
  23. />
  24. <link rel=icon type=image/png href="data:image/png;base64,iVBORw0KGgo=">
  25. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  26. <style>
  27. html,
  28. body,
  29. p {
  30. padding: 0;
  31. margin: 0;
  32. }
  33. html {
  34. font-size: 100px;
  35. }
  36. main {
  37. font-size: 0;
  38. position: relative;
  39. }
  40. main img {
  41. width: 100%;
  42. }
  43. main .month {
  44. position: absolute;
  45. top: 2%;
  46. left: 50%;
  47. -webkit-transform: translate(-50%, 0);
  48. transform: translate(-50%, 0);
  49. width: 60%;
  50. }
  51. main .qrcode-wrap {
  52. position: absolute;
  53. top: 51%;
  54. left: 50%;
  55. -webkit-transform: translate(-50%, 0);
  56. transform: translate(-50%, 0);
  57. width: 60%;
  58. font-size: 14px;
  59. font-weight: bold;
  60. color: #666;
  61. text-align: center;
  62. }
  63. main .qrcode-wrap img {
  64. width: 45%;
  65. height: 45%;
  66. }
  67. </style>
  68. <title>畅销小说榜</title>
  69. </head>
  70. <body>
  71. <main>
  72. <img class="month" src="https://cdn-novel.iycdm.com/crm/guide/{{date('n')}}.png" alt="" />
  73. <img class="bg" src="https://cdn-novel.iycdm.com/crm/guide/bg.jpg" alt="" />
  74. <div class="qrcode-wrap">
  75. <img src="{{$img}}" alt="" class="qr-code" />
  76. <p>添加微信阅读管家 {{$name}}</p>
  77. </div>
  78. </main>
  79. </body>
  80. <script>
  81. var doc = document;
  82. doc.body.addEventListener(
  83. "click",
  84. function() {
  85. var qrcodeTop = doc.querySelector(".qrcode-wrap");
  86. window.scrollTo(0, qrcodeTop.offsetTop);
  87. },
  88. false
  89. );
  90. </script>
  91. </html>