multisendmessage.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. <link rel="stylesheet" href="{:$site['cdnurl']}/assets/css/backend/imgtextmedia.css?v={:$site['version']}">
  2. <style type="text/css">
  3. .img_txt_add_but:hover,.img_txt_add_but:active,.img_txt_add_but:focus{
  4. color: #1581ff
  5. }
  6. .dyhcheck{background:#f2f2f2;padding:10px 0;}
  7. .dyhcheck label{padding:0 20px;}
  8. .dyhcheck label input{margin-right:10px;}
  9. .toptabul{border-bottom:1px solid #333;height:42px;}
  10. .toptabul li{float:left;margin-right:10px;}
  11. .toptabul li a{display:block;padding:0 10px;position:relative;top:1px;height:41px;line-height:41px;}
  12. .toptabul li.cur a{color:#1D81FD;border-bottom:1px solid #1D81FD;}
  13. .queryformdiv{padding:0 0 20px;overflow:hidden;}
  14. .queryformdiv .input1{width:150px;height:30px;border:1px solid #a9a9a9;vertical-align:middle;}
  15. .queryformdiv label{padding-right:35px;float:left;margin-top:20px;}
  16. .queryformdiv span{width:80px;float:left;height:30px;line-height:30px;}
  17. .queryformdiv .sub{width:128px;height:30px;border:none;background:#199ed8;color:#fff;}
  18. .addtuwen li{margin:20px;float:left;width:298px;border:1px solid #e4e4e4;text-align:center;}
  19. .addtuwen li span{font-weight:bold;font-size:34px;display:block;}
  20. .addtuwen li a{display:block;height:128px;padding-top:40px;}
  21. #pubuliu{width:80%;margin:0 auto;}
  22. #pubuliu .column{ float:left;width:280px;margin-right:50px;}
  23. #pubuliu .column:last-child{margin:0;}
  24. .wxb-card-item-inner .article-actions .action-item{position:relative;}
  25. .wxb-card-item-inner .article-actions .action-item em.alt{position:absolute;width: 50px;left: 50%;text-align:center;margin-left: -25px;top: -20px;display:none;font-style:normal;}
  26. .wxb-card-item-inner .article-actions .action-item:hover em.alt{display:block;}
  27. .radio > label > input, .checkbox > label > input{
  28. margin: 4px 0 0;
  29. }
  30. </style>
  31. <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  32. <!-- JS 中需要使用 -->
  33. <input type="hidden" id="acc_type_hid" value="{$acc_type}">
  34. <input type="hidden" id="admin_id" value="{$admin_id}">
  35. {eq name="acc_type" value="1"}
  36. <!--发送订阅号-->
  37. {include file="vipcustom/common/sublist" /}
  38. <!--发送订阅号end-->
  39. {/eq}
  40. <div class="form-group">
  41. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">*{:__('发送时间')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-sendtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="sendtime" type="text" value="{:date('Y-m-d H:i:s')}">
  44. <div class="s_time_box">
  45. <span stime="600000">10分钟后</span>
  46. <span stime="1800000">30分钟后</span>
  47. <span stime="3600000">1小时后</span>
  48. </div>
  49. <!--<div class="s_time_txt">客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>-->
  50. </div>
  51. </div>
  52. {include file="vipcustom/common/sendfans" /}
  53. <div class="form-group" style="padding-bottom: 80px;">
  54. <div class="col-xs-2"></div>
  55. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  56. <button type="button" class="btn btn-close">取消</button>
  57. <button type="submit" class="btn btn-success btn-info" data-save-val="0">发送</button>
  58. </div>
  59. </div>
  60. </form>
  61. <style type="text/css">
  62. ::-webkit-input-placeholder{
  63. color:#d2d2d2;
  64. }
  65. :-moz-placeholder{
  66. color:#d2d2d2;
  67. }
  68. ::-moz-placeholder{
  69. color:#d2d2d2;
  70. }
  71. :-ms-input-placeholder{
  72. color:#d2d2d2;
  73. }
  74. input::-webkit-outer-spin-button,
  75. input::-webkit-inner-spin-button {
  76. -webkit-appearance: none !important;
  77. margin: 0;
  78. }
  79. .test_fans_input{
  80. float: left;
  81. padding: 6px 10px;
  82. height: 30px;
  83. width: 30%;
  84. border: 1px solid #ddd;
  85. box-sizing: border-box;
  86. }
  87. .test_fans_input input{
  88. display: block;
  89. margin: 0;
  90. padding: 0;
  91. width: 100%;
  92. height: 100%;
  93. border: 0;
  94. color: #666;
  95. font-size: 14px;
  96. outline: none;
  97. }
  98. .test_fans_but{
  99. display: block;
  100. margin: 0 0 10px 32%;
  101. height: 30px;
  102. width: 90px;
  103. background-color: #f0a233;
  104. font-size: 14px;
  105. color: #fff;
  106. text-align: center;
  107. line-height: 30px;
  108. }
  109. .s_time_box{
  110. overflow: hidden;
  111. }
  112. .s_time_box span{
  113. float: left;
  114. margin: 6px 10px 6px 0;
  115. height: 24px;
  116. font-size: 14px;
  117. line-height: 24px;
  118. cursor: pointer;
  119. color: #1581ff;
  120. }
  121. .s_time_txt{
  122. overflow: hidden;
  123. margin: 0 0 10px;
  124. font-size: 14px;
  125. color: #666;
  126. line-height: 24px;
  127. }
  128. .s_tag_box{
  129. overflow: hidden;
  130. padding: 20px 20px 0;
  131. background-color: #f1f1f1;
  132. }
  133. .s_tag_li,
  134. .s_tag_footer{
  135. overflow: hidden;
  136. }
  137. .s_tag_li strong{
  138. float: left;
  139. height: 36px;
  140. width: 90px;
  141. font-size: 14px;
  142. color: #666;
  143. text-align: right;
  144. font-weight: normal;
  145. line-height: 36px;
  146. }
  147. .s_tag_li_list{
  148. margin-left: 100px;
  149. overflow: hidden;
  150. }
  151. .s_tag_li_list span{
  152. overflow: hidden;
  153. float: left;
  154. margin: 6px 10px 6px 0;
  155. padding: 0 6px;
  156. height: 24px;
  157. color: #666;
  158. cursor: pointer;
  159. line-height: 24px;
  160. border-radius: 2px;
  161. }
  162. .s_tag_li_list .s_s_tag{
  163. background-color: #1581ff;
  164. color: #fff;
  165. }
  166. .s_tag_footer{
  167. margin-top: 10px;
  168. padding: 10px 0;
  169. border-top: 1px solid #ddd;
  170. line-height: 24px;
  171. }
  172. .s_tag_footer strong,
  173. .s_tag_footer span{
  174. display: inline;
  175. height: 24px;
  176. width: 90px;
  177. font-size: 14px;
  178. color: #666;
  179. text-align: right;
  180. font-weight: normal;
  181. line-height: 36px;
  182. }
  183. .img_txt_box{
  184. padding: 20px;
  185. width: 380px;
  186. background-color: #f1f1f1;
  187. box-sizing: border-box;
  188. }
  189. .img_txt_list{
  190. padding: 10px 0;
  191. background-color: #fff;
  192. }
  193. .img_txt_list > div:last-child{
  194. border-bottom: 0;
  195. }
  196. .img_txt_one{
  197. padding: 0 20px 10px;
  198. border-bottom: 1px solid #e9e9e9;
  199. }
  200. .img_txt_one_tit{
  201. overflow: hidden;
  202. margin-bottom: 10px;
  203. border-bottom: 1px solid #e9e9e9;
  204. cursor: pointer;
  205. }
  206. .img_txt_one_tit i,
  207. .img_txt_li_txt i{
  208. float: right;
  209. height: 22px;
  210. width: 22px;
  211. background-color: #18bc9c;
  212. text-align: center;
  213. color: #fff;
  214. cursor: pointer;
  215. line-height: 22px;
  216. }
  217. .img_txt_one_h3,
  218. .img_txt_li_h3,
  219. .img_txt_one_url,
  220. .img_txt_li_url{
  221. overflow: hidden;
  222. margin: 0 26px 0 0;
  223. padding: 0 0 4px 0;
  224. font-size: 14px;
  225. color: rgba(0,0,0,0.6);
  226. line-height: 22px;
  227. }
  228. .img_txt_one_url,
  229. .img_txt_li_url{
  230. margin: 0 60px 0 0;
  231. }
  232. .img_txt_edit_url{
  233. margin-left: 6px;
  234. }
  235. .img_txt_li_h3{
  236. margin-bottom: 8px;
  237. height: 44px;
  238. }
  239. .img_txt_one_h3 input,
  240. .img_txt_li_h3 input,
  241. .img_txt_one_url input,
  242. .img_txt_li_url input{
  243. display: block;
  244. margin: 0;
  245. padding: 0;
  246. border: 0;
  247. width: 100%;
  248. height: 22px;
  249. font-size: 14px;
  250. color: rgba(0,0,0,0.6);
  251. outline: none;
  252. }
  253. .img_txt_one_url input,
  254. .img_txt_li_url input{
  255. color: #1581ff;
  256. }
  257. .img_txt_one_img{
  258. overflow: hidden;
  259. cursor: pointer;
  260. }
  261. .img_txt_one_img img{
  262. display: block;
  263. margin: 0;
  264. padding: 0;
  265. border: 0;
  266. width:100%;
  267. }
  268. .img_txt_li{
  269. position: relative;
  270. left: 0;
  271. top: 0;
  272. overflow: hidden;
  273. padding: 10px 20px;
  274. border-bottom: 1px solid #e9e9e9;
  275. }
  276. .img_txt_li_img{
  277. overflow: hidden;
  278. float: right;
  279. height: 78px;
  280. width: 78px;
  281. }
  282. .img_txt_li_img img{
  283. display: block;
  284. width: 78px;
  285. height: 78px;
  286. }
  287. .img_txt_li_txt{
  288. position: relative;
  289. left: 0;
  290. top: 0;
  291. margin: 0 88px 0 0;
  292. overflow: hidden;
  293. }
  294. .img_txt_li_txt a,
  295. .img_txt_one_tit a{
  296. display: block;
  297. overflow: hidden;
  298. padding: 3px 0;
  299. height: 26px;
  300. font-size: 14px;
  301. color: #1581ff;
  302. line-height: 20px;
  303. white-space: normal;
  304. word-break: break-all;
  305. word-wrap: break-word;
  306. box-sizing: border-box;
  307. }
  308. .img_txt_add_but{
  309. display: block;
  310. margin-top: 20px;
  311. height: 40px;
  312. font-size: 16px;
  313. color: #1581ff;
  314. text-align: center;
  315. line-height: 40px;
  316. }
  317. .img_txt_add_but i{
  318. font-size: 16px;
  319. vertical-align: middle;
  320. }
  321. .img_txt_remvoe{
  322. display: none;
  323. position: absolute;
  324. right: 0;
  325. bottom: 0;
  326. height: 36px;
  327. width: 36px;
  328. cursor: pointer;
  329. }
  330. .img_txt_li:hover .img_txt_remvoe{
  331. display: block;
  332. }
  333. .img_txt_remvoe:before {
  334. content: "";
  335. width: 0;
  336. height: 0;
  337. overflow: hidden;
  338. border: 18px solid transparent;
  339. border-bottom-color: #d0021b;
  340. border-right-color: #d0021b;
  341. _border-bottom-style: solid;
  342. _border-right-style: solid;
  343. position: absolute;
  344. left: 0;
  345. top: 0;
  346. }
  347. .img_txt_remvoe:after {
  348. content: "\f1f8";
  349. position: absolute;
  350. right: 2px;
  351. bottom: 2px;
  352. color: #fff;
  353. font-size: 16px;
  354. }
  355. .s_tag_footer span{
  356. margin-right: 20px;
  357. }
  358. a{
  359. opacity: .8;
  360. }
  361. a:hover{
  362. color: #fff;
  363. opacity: 1;
  364. }
  365. .s_tag_fans_num{
  366. display: inline-block;
  367. padding: 0 10px;
  368. height: 24px;
  369. font-size: 12px;
  370. color: #fff;
  371. background-color: #f0a233;
  372. border-radius: 2px;
  373. }
  374. a:active,
  375. a:focus {
  376. outline: none;
  377. text-decoration: none;
  378. color: #fff;
  379. }
  380. .s_tag_fans_show .s_tag_fans_allowed{
  381. display: inline-block;
  382. }
  383. .s_tag_fans_show .s_tag_fans_num{
  384. display: none;
  385. }
  386. .s_tag_fans_allowed{
  387. display: none;
  388. padding: 0 10px;
  389. height: 24px;
  390. font-size: 12px;
  391. color: #fff;
  392. background-color: #ddd;
  393. cursor: not-allowed;
  394. border-radius: 2px;
  395. }
  396. </style>
  397. <script>
  398. var datas = {};
  399. </script>