text.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <style>
  2. .page-content {
  3. background-color: #fff;
  4. position: relative;
  5. margin: 0;
  6. padding: 8px 20px 24px;
  7. }
  8. .panel-heading {
  9. padding: 10px 15px;
  10. border-bottom: 1px solid transparent;
  11. border-top-left-radius: 3px;
  12. border-top-right-radius: 3px;
  13. }
  14. .panel-heading span {
  15. font-size: 16px;
  16. }
  17. input[type=checkbox].ace, input[type=radio].ace {
  18. opacity: 0;
  19. position: absolute;
  20. z-index: 1;
  21. width: 18px;
  22. height: 18px;
  23. cursor: pointer;
  24. }
  25. input[type=checkbox].ace.ace-switch+.lbl {
  26. margin: 0 4px;
  27. min-height: 24px;
  28. }
  29. input[type=checkbox].ace+.lbl, input[type=radio].ace+.lbl {
  30. position: relative;
  31. display: inline-block;
  32. margin: 0;
  33. line-height: 20px;
  34. min-height: 18px;
  35. min-width: 18px;
  36. font-weight: 400;
  37. cursor: pointer;
  38. }
  39. input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before {
  40. text-indent: 7px;
  41. }
  42. input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before {
  43. background-color: #468fcc;
  44. border-color: #468FCC;
  45. }
  46. input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before {
  47. text-indent: -33px;
  48. }
  49. input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before {
  50. content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
  51. font-size: 12px;
  52. line-height: 21px;
  53. height: 24px;
  54. overflow: hidden;
  55. border-radius: 12px;
  56. background-color: #8b9aa3;
  57. border: 1px solid #8b9aa3;
  58. color: #FFF;
  59. width: 56px;
  60. text-shadow: 0 0 0 #FFF;
  61. display: inline-block;
  62. position: relative;
  63. box-shadow: none;
  64. -webkit-transition: all .3s ease;
  65. -o-transition: all .3s ease;
  66. transition: all .3s ease;
  67. }
  68. input[type=checkbox].ace.ace-switch:checked+.lbl::before {
  69. text-indent: 8px;
  70. color: #FFF;
  71. text-shadow: 0 0 0 #FFF;
  72. background-color: #8ab2c9;
  73. border-color: #6a8ca8;
  74. }
  75. input[type=checkbox].ace.ace-switch+.lbl::before {
  76. font-family: 'Open Sans';
  77. content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
  78. color: #999;
  79. text-shadow: 0 0 0 #999;
  80. font-weight: 400;
  81. font-size: 11px;
  82. line-height: 17px;
  83. height: 20px;
  84. overflow: hidden;
  85. border-radius: 12px;
  86. background-color: #F5F5F5;
  87. -webkit-box-shadow: inset 0 1px 1px 0 rgba(0,0,0,.15);
  88. box-shadow: inset 0 1px 1px 0 rgba(0,0,0,.15);
  89. border: 1px solid #CCC;
  90. text-align: left;
  91. float: left;
  92. padding: 0;
  93. width: 52px;
  94. text-indent: -21px;
  95. margin-right: 0;
  96. -webkit-transition: text-indent .3s ease;
  97. -o-transition: text-indent .3s ease;
  98. transition: text-indent .3s ease;
  99. top: auto;
  100. }
  101. input[type=checkbox].ace:checked+.lbl::before, input[type=radio].ace:checked+.lbl::before {
  102. display: inline-block;
  103. content: '\f00c';
  104. background-color: #F5F8FC;
  105. border-color: #adb8c0;
  106. box-shadow: 0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05),inset 15px 10px -12px rgba(255,255,255,.1);
  107. }
  108. input[type=checkbox].ace+.lbl::before, input[type=radio].ace+.lbl::before {
  109. cursor: pointer;
  110. font-family: fontAwesome;
  111. font-weight: 400;
  112. font-size: 12px;
  113. color: #32a3ce;
  114. content: "\a0";
  115. background-color: #FAFAFA;
  116. border: 1px solid #c8c8c8;
  117. box-shadow: 0 1px 2px rgba(0,0,0,.05);
  118. border-radius: 0;
  119. display: inline-block;
  120. text-align: center;
  121. height: 16px;
  122. line-height: 14px;
  123. min-width: 16px;
  124. margin-right: 1px;
  125. position: relative;
  126. top: -1px;
  127. }
  128. input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::after, input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::after {
  129. left: 34px;
  130. background-color: #FFF;
  131. color: #848484;
  132. }
  133. input[type=checkbox].ace.ace-switch.btn-empty+.lbl::after {
  134. content: "";
  135. }
  136. input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::after, input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::after {
  137. font-size: 11px;
  138. position: absolute;
  139. top: 2px;
  140. left: 2px;
  141. letter-spacing: 0;
  142. width: 20px;
  143. height: 20px;
  144. line-height: 19px;
  145. text-shadow: none!important;
  146. color: #939393;
  147. background-color: #FFF;
  148. -webkit-transition: all .3s ease;
  149. -o-transition: all .3s ease;
  150. transition: all .3s ease;
  151. }
  152. input[type=checkbox].ace.ace-switch:checked+.lbl::after {
  153. left: 34px;
  154. background-color: #FFF;
  155. color: #98A0A5;
  156. }
  157. input[type=checkbox].ace.ace-switch+.lbl::after {
  158. font-family: 'Open Sans';
  159. font-size: 12px;
  160. font-weight: 400;
  161. letter-spacing: 0;
  162. color: #AAA;
  163. text-shadow: none;
  164. background-color: #FFF;
  165. border-radius: 100%;
  166. width: 22px;
  167. height: 22px;
  168. line-height: 22px;
  169. text-align: center;
  170. position: absolute;
  171. top: -2px;
  172. left: -3px;
  173. -webkit-box-shadow: 0 1px 1px 1px rgba(0,0,0,.3);
  174. box-shadow: 0 1px 1px 1px rgba(0,0,0,.3);
  175. -webkit-transition: left .3s ease;
  176. -o-transition: left .3s ease;
  177. transition: left .3s ease;
  178. }
  179. .btn-primary, .btn-primary:focus {
  180. background-color: #2E78E2 !important;
  181. border-color: #2E78E2;
  182. }
  183. .modal-body {
  184. position: relative;
  185. padding: 15px;
  186. }
  187. .modal-footer {
  188. padding-top: 12px;
  189. padding-bottom: 14px;
  190. border-top-color: #e4e9ee;
  191. -webkit-box-shadow: none;
  192. box-shadow: none;
  193. background-color: #eff3f8;
  194. }
  195. .modal-footer {
  196. padding: 15px;
  197. text-align: right;
  198. border-top: 1px solid #e5e5e5;
  199. }
  200. </style>
  201. <div class="page-content">
  202. <div class="page-content-area">
  203. <div class="row">
  204. <div class="col-xs-12">
  205. <div class="panel panel-default">
  206. <div class="panel-heading">
  207. <span>启用自动回复</span>
  208. <div class="pull-left">
  209. <label>
  210. <input name="setting_enabled" class="ace ace-switch ace-switch-4 btn-empty" type="checkbox" {$status=='normal'?'checked=""':''}>
  211. <span class="lbl"></span>
  212. </label>
  213. </div>
  214. </div>
  215. <div class="panel-body" style="{$status=='normal' ? 'display:block' : 'display:none'}">
  216. <div class="form-group">
  217. <div class="col-sm-12" style="margin: 10px 0;">
  218. <label style="margin-right: 10px;">
  219. <input type="radio" name="reply_type" value="default">
  220. <span>系统默认</span>
  221. </label>
  222. <label style="margin-right: 10px;">
  223. <input type="radio" name="reply_type" value="text" checked="checked">
  224. <span>文字模式</span>
  225. </label>
  226. <label style="margin-right: 10px;">
  227. <input type="radio" name="reply_type" value="news">
  228. <span>图文模式</span>
  229. </label>
  230. </div>
  231. </div>
  232. <div class="setting-panel setting-1">
  233. <div id="content-main">
  234. <div style="margin-top: 10px; color: red;font-size: small;" class="col-xs-12">
  235. <span>点击+号,在弹出的窗口中,即可设置跳转的小说及章节</span>
  236. </div>
  237. <div style="margin-top: 15px;" class="col-xs-12">
  238. <div class="col-xs-6" style="border-style: solid;border-color: #DBDBDB;">
  239. <div style="font-size: 3em; margin-top: 50px;" class="col-xs-2">
  240. <i class="fa fa-user-circle-o" aria-hidden="true"></i>
  241. </div>
  242. <div class="col-xs-10 well" style="margin-top:20px;border-radius:10px;">
  243. <div>
  244. <span>欢迎关注「{$gzhName}」,点击下方继续阅读</span>
  245. </div>
  246. <div class="set-reply-info">
  247. <div style="margin-top:10px;cursor: pointer; overflow: hidden; text-overflow:ellipsis; white-space:nowrap;" class="list-num js-continue-read-item">
  248. <span style="color: blue;" class="setting-novel">
  249. 《我的女孩》主角慕千菡、牧逸风 </span>
  250. <i style="margin-left: 5px;" title="" class="fa fa-trash-o text-danger js-tooltip delete_novel" aria-hidden="true" data-original-title="删除"></i>
  251. </div>
  252. <div style="margin-top:10px;cursor: pointer; overflow: hidden; text-overflow:ellipsis; white-space:nowrap;" class="list-num js-continue-read-item">
  253. <span style="color: blue;" class="setting-novel">
  254. 《冷总心系俏佳人》第4章 正义的小小敏 </span>
  255. <i style="margin-left: 5px;" title="" class="fa fa-trash-o text-danger js-tooltip delete_novel" aria-hidden="true" data-original-title="删除"></i>
  256. </div>
  257. </div>
  258. <div style="font-size:2em;margin-left:5px;margin-top:5px;cursor: pointer;">
  259. <i data-toggle="add-novel" class="fa fa-plus-square-o fa-4 js-tooltip" title="" aria-hidden="true" data-original-title="添加"></i>
  260. </div>
  261. <div style="margin-top: 10px">
  262. <span>为了方便下次阅读,请置顶公众号</span>
  263. </div>
  264. <div style="margin-top: 10px">
  265. <span>回复“签到”,最高可获得65书币!</span>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <div style="margin-top: 20px;" class="col-xs-6">
  271. <button type="button" class="save-text-reply btn btn-primary">保存</button>
  272. </div>
  273. </div>
  274. </div>
  275. </div>
  276. </div>
  277. <!-- PAGE CONTENT ENDS -->
  278. </div><!-- /.col -->
  279. </div><!-- /.row -->
  280. </div><!-- /.page-content-area -->
  281. </div>
  282. <div class="modal-body" id="edit-apply-info" style="display: none">
  283. <form class="form-horizontal" id="url-setting">
  284. <div class="form-group">
  285. <label class="control-label col-sm-2">链接地址</label>
  286. <div class="col-sm-7">
  287. <input id="c-referral_url" class="form-control selectpage" name="referral_url" type="text" value="">
  288. </div>
  289. <div class="dropdown" style="display: inline-block">
  290. <button type="button" class="btn btn-primary " data-toggle="dropdown">
  291. <i class="fa fa-plus"></i>
  292. </button>
  293. <ul class="dropdown-menu">
  294. <li><a href="#" data-toggle="create-referral-link" data-type="1">首页推广</a></li>
  295. <li><a href="#" data-toggle="create-referral-link" data-type="0">小说推广</a></li>
  296. </ul>
  297. </div>
  298. </div>
  299. <div class="form-group">
  300. <label class="control-label col-sm-2">显示格式</label>
  301. <div class="col-sm-7">
  302. <select data-bind="value: display_type">
  303. <option value="1">《小说名称》第X章 章节标题</option>
  304. </select>
  305. </div>
  306. </div>
  307. <div class="modal-footer">
  308. <button type="button" class="btn btn-primary btn-url-save" data-bind="click: submit">保存</button>
  309. </div>
  310. </form>
  311. </div>
  312. <style>
  313. .sp_result_area {
  314. width: 500px;
  315. }
  316. </style>