123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <title>公众号欢迎语设置</title>
- <script src="/assets/libs/jquery/dist/jquery.min.js"></script>
- <script src="/assets/libs/clipboard/dist/clipboard.min.js"></script>
- <style type="text/css">
- .user_rt * {
- padding: 0;
- margin: 0;
- box-sizing: content-box;
- }
- input, textarea, button {
- margin: 0;
- padding: 0;
- border: none;
- outline: none;
- }
- .content {
- overflow: auto;
- }
- .user_rt {
- overflow: hidden;
- background-color: #fff;
- margin: 0;
- padding: 0 0 100px 0;
- }
- .user_rt .cur_title {
- height: 59px;
- line-height: 59px;
- border-bottom: 1px solid #f0f0f0;
- font-size: 20px;
- color: #333;
- padding-left: 20px;
- position: relative;
- font-weight: normal;
- }
- .user_rt .cur_title.h100 {
- height: 100px;
- }
- .user_rt .cur_title a.user_data {
- float: left;
- margin-top: 31px;
- font-size: 16px;
- color: #666 !important;
- height: 38px;
- display: inline-block;
- text-align: center;
- background: #fff;
- line-height: 38px;
- margin-right: 10px;
- border: 1px solid #ececec;
- padding: 0px 22px;
- border-radius: 4px;
- }
- .user_rt .cur_title a.user_data_current {
- color: #fff !important;
- background-color: #327ccb;
- }
- .contxt {
- padding: 28px 0 0 28px;
- }
- .contxt h2 {
- color: #333;
- font-size: 16px;
- font-weight: normal;
- height: 36px;
- line-height: 36px;
- margin-bottom: 15px;
- }
- .contxt h3 {
- margin-top: 38px;
- color: #333;
- font-size: 14px;
- font-weight: normal;
- }
- .contxt p {
- line-height: 38px;
- font-size: 14px;
- color: #999;
- }
- .user_rt .form2list {
- padding-left: 0;
- padding-top: 33px;
- }
- .user_rt .form2list .tablebox {
- padding: 5px 0 5px 28px;
- position: relative;
- width: 100%;
- }
- a {
- text-decoration: none;
- cursor: pointer;
- color: #666;
- }
- table {
- border-spacing: 0;
- border-collapse: collapse;
- width: 100%;
- }
- .user_rt tr {
- width: 100%;
- padding: 15px 0;
- line-height: 40px;
- color: #666;
- }
- .user_rt th.w75 {
- width: 75px;
- }
- .user_rt th {
- width: 112px;
- }
- .user_rt textarea.text {
- width: 100%;
- max-width: 418px;
- height: 200px;
- word-break: break-all;
- font-size: 13px;
- line-height: 30px;
- resize: none;
- overflow: auto;
- box-sizing: content-box;
- }
- .user_rt .text {
- padding: 10px 15px;
- width: 250px;
- height: 18px;
- line-height: 18px;
- font-size: 14px;
- border: 1px solid #dadada;
- }
- .user_rt .submit.h50 {
- height: 50px;
- line-height: 50px;
- }
- .user_rt .submit {
- display: inline-block;
- *display: inline;
- *zoom:1;
- padding: 0px 32px;
- height: 46px;
- line-height: 46px;
- background-color: #327ccb;
- color: #fff;
- font-size: 14px;
- border-radius: 2px;
- border: none;
- overflow: hidden;
- cursor: pointer;
- }
- .gzh_cont {
- padding-left: 110px;
- margin-top: 30px;
- }
- .gzh_cont h1 {
- font-weight: normal;
- font-size: 14px;
- color: #333;
- }
- .gzh_cont p {
- font-size: 12px;
- color: #999;
- line-height: 30px;
- }
-
- .form2list{
- float: left;
- padding-right: 100px;
- max-width: 550px;
- }
- .gzh_img_but{
- float: left;
- margin:50px 0 0 103px;
- width: 260px;
- overflow: hidden;
- }
- .gzh_img_but img{
- display: block;
- width: 100%;
- border: 0;
- }
- </style>
- </head>
- <body>
- <div class="user_rt">
- <h1 class="cur_title">公众号欢迎语设置</h1>
- <div class="form2list form3list">
- <div class="tablebox">
- <table border="0" cellpadding="0" cellspacing="0">
- <tbody>
- <tr>
- <th class="w75" valign="top" scope="row">链接:</th>
- <td>
- <textarea id="many_copy_dom" class="text" row="6">欢迎关注 <a href="{$sub_url}">点此继续阅读>></a> 为方便下次阅读,请置顶公众号</textarea>
- </td>
- </tr>
- <tr>
- <th class="w75"> </th>
- <td>
- <a href="javascript:;" class="submit h50 many_copy">复制链接</a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="gzh_cont">
- <h1>欢迎语设置教程</h1>
- <p>1、将框内代码复制放到公众号的“被添加自动回复”中,会生成一个继续阅读链接。可以让关注后的用户方便地继续阅读之前的章节</p>
- </div>
- </div>
- <a href="/assets/img/gzh.png" class="gzh_img_but" target="_blank"><img class="gzh" src="/assets/img/gzh.png" width="260"></a>
- </div>
- <script>
- var clipboard = new Clipboard('.many_copy', {
- target: function (trigger) {
- trigger = document.querySelector('#many_copy_dom');
- Toastr.success('复制成功');
- return trigger;
- }
- });
- clipboard.on('error', function (data) {
- Toastr.error('复制失败');
- })
- </script>
- </body>
- </html>
|