subscribe.blade.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  6. <meta content="telephone=no" name="format-detection"/>
  7. <meta content="yes" name="apple-mobile-web-app-capable"/>
  8. <link rel=icon type=image/png href="data:image/png;base64,iVBORw0KGgo=">
  9. <title>【支持正版】</title>
  10. <style>
  11. body {
  12. background-color: #fff;
  13. font-size: 12px;
  14. }
  15. .mainbody {
  16. text-align: center;
  17. display: inline-block;
  18. width: 100%;
  19. }
  20. .q_title {
  21. margin-top: 30px;
  22. }
  23. .q_title h3 {
  24. font-size: 2em;
  25. padding: 5px 0;
  26. color: #b3282f;
  27. }
  28. .q_title p {
  29. padding: 5px 0;
  30. font-size: 1.4em;
  31. color: #999;
  32. }
  33. .img_qr img {
  34. width: 64%;
  35. margin-top: 10px;
  36. /*pointer-events: none;*/
  37. }
  38. .q_bottom h3 {
  39. font-size: 1.8em;
  40. margin: 10px;
  41. color: #b3282f;
  42. }
  43. .q_bottom p {
  44. font-size: 1.6em;
  45. color: #999;
  46. }
  47. .icon_area {
  48. width: 8em;
  49. height: 8em;
  50. background-color: #10aeff;
  51. border-radius: 4em;
  52. color: #fff;
  53. margin: 5em auto;
  54. }
  55. .icon_msg {
  56. font-size: 8em;
  57. font-family: -webkit-body;
  58. line-height: 1em;
  59. }
  60. .msg_title {
  61. font-family: 'Helvetica Neue';
  62. font-size: 2em;
  63. }
  64. </style>
  65. </head>
  66. <body>
  67. <div class="mainbody">
  68. <div class="q_title">
  69. <h3>关注作者授权公众号继续阅读</h3>
  70. <p>由于版权问题,请关注后继续阅读,每日免费领书币</p>
  71. <p>每日免费领书币,最高月送<b style="color: #b3282f;">20元</b>书币!</p>
  72. </div>
  73. <div class="img_qr">
  74. <!-- <img v-if="$route.query.head_img" class="head-img" :src="$route.query.head_img"> -->
  75. {{--@if($head_img)
  76. <img class="head-img" src="{{$head_img}}">
  77. @endif--}}
  78. <img src="{{$img}}">
  79. </div>
  80. <div class="q_bottom">
  81. <h3>长按上图识别二维码关注</h3>
  82. </div>
  83. </div>
  84. </body>
  85. <script>
  86. /*function refreshRem() {
  87. document.documentElement.style.fontSize = ( Math.min(window.innerWidth, screen.width, document.body.offsetWidth) / 750) * 100 + 'px';
  88. }
  89. window.addEventListener('resize', function () {
  90. clearTimeout(tid);
  91. tid = setTimeout(refreshRem, 300);
  92. }, false);
  93. window.addEventListener('pageshow', function (e) {
  94. if (e.persisted) {
  95. clearTimeout(tid);
  96. tid = setTimeout(refreshRem, 300);
  97. }
  98. }, false);
  99. var tid;
  100. refreshRem();*/
  101. if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
  102. handleFontSize();
  103. } else {
  104. if (document.addEventListener) {
  105. document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
  106. } else if (document.attachEvent) {
  107. document.attachEvent("WeixinJSBridgeReady", handleFontSize);
  108. document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
  109. }
  110. }
  111. function handleFontSize() {
  112. // 设置网页字体为默认大小
  113. WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
  114. // 重写设置网页字体大小的事件
  115. WeixinJSBridge.on('menu:setfont', function () {
  116. WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
  117. });
  118. }
  119. </script>
  120. </html>