123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel=icon type=image/png href="data:image/png;base64,iVBORw0KGgo=">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>{{$title}}</title>
- <style>
- /*
- html5doctor.com Reset Stylesheet
- v1.4.1
- 2010-03-01
- Author: Richard Clark - http://richclarkdesign.com
- */
- html,
- body,
- div,
- span,
- object,
- iframe,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- p,
- blockquote,
- pre,
- abbr,
- address,
- cite,
- code,
- del,
- dfn,
- em,
- img,
- ins,
- kbd,
- q,
- samp,
- small,
- strong,
- sub,
- sup,
- var,
- b,
- i,
- dl,
- dt,
- dd,
- ol,
- ul,
- li,
- fieldset,
- form,
- label,
- legend,
- table,
- caption,
- tbody,
- tfoot,
- thead,
- tr,
- th,
- td,
- article,
- aside,
- canvas,
- details,
- figcaption,
- figure,
- footer,
- header,
- hgroup,
- menu,
- nav,
- section,
- summary,
- time,
- mark,
- audio,
- video {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent;
- }
- html {
- background: #fff;
- }
- body {
- line-height: 1.5;
- font-size: 0.24rem;
- font-family: "Microsoft YaHei";
- margin: auto;
- max-width: 750px;
- }
- :focus {
- outline: 1;
- }
- article,
- aside,
- canvas,
- details,
- figcaption,
- figure,
- footer,
- header,
- hgroup,
- menu,
- nav,
- section,
- summary {
- display: block;
- }
- ul {
- list-style: none;
- }
- blockquote,
- q {
- quotes: none;
- }
- blockquote:before,
- blockquote:after,
- q:before,
- q:after {
- content: "";
- content: none;
- }
- a {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent;
- text-decoration: none;
- }
- ins {
- background-color: #ff9;
- color: #000;
- text-decoration: none;
- }
- mark {
- background-color: #ff9;
- color: #000;
- font-style: italic;
- font-weight: bold;
- }
- del {
- text-decoration: line-through;
- }
- abbr[title],
- dfn[title] {
- border-bottom: 1px dotted #000;
- cursor: help;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- hr {
- display: block;
- height: 1px;
- border: 0;
- border-top: 1px solid #cccccc;
- margin: 0;
- padding: 0;
- }
- input,
- select {
- vertical-align: middle;
- padding: 0;
- margin: 0;
- }
- input[type="button"],
- input[type="submit"],
- input[type="reset"] {
- -webkit-appearance: none;
- }
- img {
- -webkit-tap-highlight-color: transparent;
- }
- html {
- background: #f2f2f2;
- }
- html, body {
- max-width: 500px;
- /*font-size: 100px;*/
- }
- .main {
- position: relative;
- }
- .container {
- position: fixed;
- /*top: 1.2rem;*/
- top: 120px;
- bottom: 0;
- /*left: 0.125rem;
- right: 0.125rem;*/
- left: 12.5px;
- right: 12.5px;
- background: #fff;
- color: #333;
- }
- .head-box {
- position: absolute;
- /*top: -0.6rem;*/
- top: -36px;
- left: 50%;
- transform: translateX(-50%);
- line-height: 1;
- text-align: center
- }
- .head-box .head {
- /*width: 0.65rem;
- height: 0.65rem;*/
- width: 65px;
- height: 65px;
- }
- .head-box .shadow {
- position: absolute;
- /*width: 0.75rem;
- top: 0.9rem;*/
- width: 75px;
- top: 65px;
- left: 50%;
- height: auto;
- transform: translateX(-50%);
- }
- .wrapper {
- position: absolute;
- bottom: 0;
- /*top: 0.45re*/m;
- top: 45px;
- overflow: scroll;
- }
- .notice-text {
- /*margin-top: .05rem;
- font-size: 0.14rem;
- padding: 0 0.2rem;*/
- margin-top: 5px;
- font-size: 14px;
- padding: 0 20px;
- }
- .notice-text .title {
- /*margin-bottom: 0.1rem;
- font-size: 0.17rem;*/
- margin-bottom: 10px;
- font-size: 17px;
- font-weight: 500;
- color: #420A1E;;
- }
- .notice-text .text {
- /*text-indent: 2em;*/
- text-indent: 2em;
- font-weight: 500;
- color: #420A1E;
- line-height: 1.65;
- word-break: break-all;
- }
- .notice-text .text i {
- font-style: normal;
- font-weight: bold;
- color: #f14747;
- }
- .qrcode {
- text-align: center;
- line-height: 1;
- /*margin-top: 0.15rem;
- padding-bottom: 0.5rem;*/
- margin-top: 15px;
- padding-bottom: 50px;
- font-size: 0;
- }
- .qrcode img {
- /*width: 2.4rem;
- height: 2.4rem;*/
- width: 240px;
- height: 240px;
- }
- .friend {
- /*font-size: 0.13rem;*/
- font-size: 13px;
- color: #333;
- margin-top: 0;
- text-align: center;
- }
- .friend i {
- font-style: normal;
- color: #f14747;
- }
- .qrcode .read-qr {
- /*font-size: 0.17rem;*/
- font-size: 17px;
- color: #f14747;
- font-weight: bold;
- }
- @media screen and (min-width: 414px) {
- .head-box {
- /*top: -.5rem;*/
- top: -36px;
- }
- .head-box .head {
- /*width: 0.7rem;
- height: 0.7rem;*/
- width: 70px;
- height: 70px;
- }
- .wrapper {
- /*top: 0.5rem;*/
- top: 50px;
- }
- .notice-text {
- /* font-size: .2rem;*/
- font-size: 20px;
- }
- .notice-text .title {
- /*font-size: .22rem;*/
- font-size: 22px;
- }
- .qrcode {
- /* margin-top: .2rem;*/
- margin-top: 20px;
- }
- .friend {
- /*margin-bottom: .1rem;
- font-size: .15rem;*/
- margin-bottom: 10px;
- font-size: 15px;
- }
- .qrcode .read-qr {
- /*font-size: .2rem;*/
- font-size: 20px;
- }
- }
- @media screen and (max-width: 320px) {
- .notice-text {
- /* padding: 0 .15rem;*/
- padding: 0 15px;
- }
- .qrcode {
- /* margin-top: .2rem;*/
- margin-top: 20px;
- }
- .qrcode img {
- /*width: 2.4rem;
- height: 2.4rem;*/
- width: 240px;
- height: 240px;
- }
- }
- ul,
- li {
- padding: 0;
- margin: 0;
- list-style: none;
- }
- .wrapper1 {
- width: 85%;
- height: 35px;
- overflow: hidden;
- margin: .2rem auto 0;
- background: #e6e6e6;
- /*font-size: 0.12rem;*/
- font-size: 12px;
- color: #666;
- border-radius: 50px;
- padding: 2px;
- }
- ul::after {
- content: "";
- display: block;
- clear: both;
- }
- ul {
- position: relative;
- transform: translate3d(0, 0, 0);
- }
- li {
- width: 100%;
- height: 37px;
- line-height: 37px;
- text-align: center;
- }
- li .item {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- .item img {
- width: 35px;
- height: 35px;
- border-radius: 50%;
- }
- .item span {
- font-weight: bold;
- /*margin-left: 0.06rem;*/
- margin-left: 6px;
- }
- .item i {
- font-style: normal;
- }
- .top {
- /*top: 0.8rem;*/
- top: 80px;
- }
- </style>
- </head>
- <body>
- <section class="main">
- @if($template == 3)
- <div class="wrapper1">
- <ul>
- <li>
- <p class="item">
- <img
- src="https://cdn-novel.iycdm.com/h5/subscribe/headimg/1.png"
- alt=""
- />
- <span>梅子:</span><i>这本小说超好看的,点赞</i>
- </p>
- </li>
- <li>
- <p class="item">
- <img
- src="https://cdn-novel.iycdm.com/h5/subscribe/headimg/2.png"
- alt=""
- />
- <span>柒柒:</span><i>关注了真有大礼包,领了2000书币</i>
- </p>
- </li>
- <li>
- <p class="item">
- <img
- src="https://cdn-novel.iycdm.com/h5/subscribe/headimg/3.png"
- alt=""
- />
- <span>月月:</span><i>好看的小说真多,每天都能领书币</i>
- </p>
- </li>
- <li>
- <p class="item">
- <img
- src="https://cdn-novel.iycdm.com/h5/subscribe/headimg/1.png"
- alt=""
- />
- <span>梅子:</span><i>这本小说超好看的,点赞</i>
- </p>
- </li>
- </ul>
- </div>
- @endif
- @if($template == 3)
- <div class="container">
- @else
- <div class="container top">
- @endif
- <div class="head-box">
- <img src="{{$head_img}}" alt="" class="head">
- <img src="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABkAAD/4QMqaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzE0MiA3OS4xNjA5MjQsIDIwMTcvMDcvMTMtMDE6MDY6MzkgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paW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xjrA3l8jF10Z6QOiXvouz0pA6Je7jCnFv3gBvL3Ed1G5Aarmxs2bwNVzI53G/KAF+ObTlcBdTrPRsAuAAAAAAAAAOlNWgZOR5qQKtNVgZOSx6wMZuU4xg46IrADCfkTON9eVAHLP20z31Q1gcs/aTuKWev+AOSfsZ236rTmA5Z/Hcx5mnmsA55vGcx5nHXHcBlN4vmVtPFeyQFP1fMsy/IC68XzK0ni/Zgay+M5izPTV/aA6ZPH8yqm+uAHVJ2M8c9IHXJ2kyoeaoDqk7aZZnT66KYAdMvJdHpDKlgdEvLapg46ttYGqkteoDSEagLqRuugDRKCgBIAAAAAAAAAAAiCsWoCOCWzECOBX4bgK9JXakBD5KyitjAr0JbJcdwEfXluy/yBT6snxxQD6snxxQD6snxxQD6snxxQD6snxh6r2Av9eW7L/IE9CX4y4gWXJWUX7gT0ldqQFuBX4bgJ4JdOVwEwSqSAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/9k="
- alt="" class="shadow">
- {{-- <p class="friend"><i>{{$num}}</i>位好友正在读</p>--}}
- </div>
- <div class="wrapper">
- <div class="notice-text">
- <p class="title">亲爱的读者:</p>
- <p class="text">因版权问题,请关注作者授权公众号,方便<i>继续阅读</i>。关注后可看海量精品小说,更有签到双重礼包</p>
- </div>
- <div class="qrcode">
- <div class="now-see" style="
- font-size: .12rem;
- text-align: center;
- "><span style="
- color: #F14747;
- font-weight: bold;
- ">{{$num}}</span>位好友正在看
- </div>
- <img src="{{$img}}" alt="">
- <p class="read-qr">长按上图识别二维码关注</p>
- </div>
- </div>
- </div>
- </section>
- @if($template == 3)
- <script>
- var itemHeight = 38;
- var wrapperLen = document.querySelectorAll("li").length;
- var scrollWrapper = document.querySelector("ul");
- var initTop = 0;
- var current = -1;
- var timer = null;
- function initAnimate() {
- cancelAnimationFrame(timer);
- timer = requestAnimationFrame(function s() {
- var currentTop = itemHeight * (current + 1);
- if (initTop < currentTop) {
- initTop++;
- scrollWrapper.style.top = -initTop + "px";
- timer = requestAnimationFrame(s);
- } else cancelAnimationFrame(timer);
- });
- }
- function initAutoplay() {
- // initAnimate();
- setInterval(function () {
- if (current < wrapperLen - 2) current++;
- else {
- current = 0;
- initTop = 0;
- }
- initAnimate();
- }, 3000);
- }
- initAutoplay();
- </script>
- @endif
- </body>
- </html>
|