editwaitingimgmsg.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. <link rel="stylesheet" href="/assets/css/tuwen.css" />
  2. <style type="text/css">
  3. .img_txt_add_but:hover,.img_txt_add_but:active,.img_txt_add_but:focus,
  4. .textarea_txt_add_but:hover,.textarea_txt_add_but:active,.textarea_txt_add_but:focus{
  5. color: #1581ff
  6. }
  7. .textarea_txt_main,
  8. .textarea_txt_box{
  9. overflow: hidden;
  10. }
  11. .textarea_txt_box{
  12. }
  13. .textarea_txt_box textarea{
  14. display: block;
  15. margin: 0;
  16. padding: 10px;
  17. width: 100%;
  18. height: 200px;
  19. font-size: 14px;
  20. line-height: 1.4;
  21. outline: none;
  22. border: 1px solid #ccc;
  23. resize: none;
  24. }
  25. .textarea_txt_but_box{
  26. overflow: hidden;
  27. padding: 10px 0;
  28. }
  29. .textarea_txt_but_box a{
  30. float: left;
  31. padding: 0 8px;
  32. margin-right: 10px;
  33. height: 30px;
  34. background-color: #f60;
  35. font-size: 14px;
  36. color: #fff;
  37. line-height: 30px;
  38. }
  39. .textarea_txt_error{
  40. overflow: hidden;
  41. padding: 10px 0 0;
  42. }
  43. .textarea_txt_error strong{
  44. float: left;
  45. height: 24px;
  46. color: #f60;
  47. font-size: 14px;
  48. font-weight: normal;
  49. line-height: 24px;
  50. }
  51. .textarea_txt_error span{
  52. float: right;
  53. height: 24px;
  54. color: #f60;
  55. font-size: 14px;
  56. font-weight: normal;
  57. line-height: 24px;
  58. }
  59. .switch_txt_but{
  60. display: block;
  61. height: 40px;
  62. width: 180px;
  63. background-color: #f60;
  64. color: #fff;
  65. font-size: 14px;
  66. text-align: center;
  67. line-height: 40px;
  68. border-radius: 3px;
  69. }
  70. .img_txt_url{
  71. overflow: hidden;
  72. padding: 20px 0;
  73. background-color: #fff;
  74. }
  75. .img_txt_url ul{
  76. display: block;
  77. }
  78. .img_txt_url li{
  79. position: relative;
  80. left: 0;
  81. top: 0;
  82. height: 50px;
  83. }
  84. .img_txt_url p{
  85. overflow: hidden;
  86. padding: 0 20px;
  87. height: 50px;
  88. font-size: 14px;
  89. text-align: left;
  90. color: #3292e0;
  91. line-height: 50px;
  92. display: -webkit-box;
  93. -webkit-box-orient: vertical;
  94. -webkit-line-clamp: 1;
  95. }
  96. .img_txt_tip_box{
  97. visibility: hidden;
  98. position: absolute;
  99. left: 0;
  100. top: 0;
  101. right: 0;
  102. bottom: 0;
  103. padding: 15px 0;
  104. background-color: rgba(0,0,0,.6);
  105. text-align: center;
  106. }
  107. .img_txt_url li:hover .img_txt_tip_box{
  108. visibility: visible;
  109. }
  110. .img_txt_tip_box i{
  111. overflow: hidden;
  112. display: inline-block;
  113. margin: 0 10px;
  114. height: 20px;
  115. width: 20px;
  116. font-size: 14px;
  117. color: #fff;
  118. text-align: center;
  119. line-height: 20px;
  120. border-radius: 20px;
  121. cursor: pointer;
  122. }
  123. .img_txt_tip_box i:hover{
  124. background-color: #1581ff;
  125. }
  126. .anticon_edit_box{
  127. overflow: hidden;
  128. padding: 20px;
  129. width: 520px;
  130. height: 120px;
  131. }
  132. .anticon_edit_select_tit_box,
  133. .anticon_edit_input_tit_box{
  134. margin: 10px 0;
  135. height: 30px;
  136. }
  137. .anticon_edit_select_tit_box strong,
  138. .anticon_edit_input_tit_box strong{
  139. float: left;
  140. height: 30px;
  141. margin-right: 10px;
  142. white-space: nowrap;
  143. font-weight: normal;
  144. font-size: 14px;
  145. color: #666;
  146. line-height: 30px;
  147. }
  148. .anticon_edit_select_tit_box p{
  149. overflow: hidden;
  150. float: left;
  151. margin-right: 20px;
  152. height: 30px;
  153. width: 250px;
  154. font-size: 14px;
  155. color: #666;
  156. line-height: 30px;
  157. display: -webkit-box;
  158. -webkit-box-orient: vertical;
  159. -webkit-line-clamp: 1;
  160. }
  161. .anticon_edit_select_tit_box a{
  162. overflow: hidden;
  163. float: left;
  164. margin-top: 4px;
  165. width: 22px;
  166. height: 22px;
  167. background-color: #f60;
  168. color: #fff;
  169. font-size: 14px;
  170. text-align: center;
  171. line-height: 22px;
  172. border-radius: 2px;
  173. }
  174. .anticon_edit_input_tit{
  175. overflow: hidden;
  176. padding: 4px 10px;
  177. float: left;
  178. height: 30px;
  179. border: 1px solid #ccc;
  180. width: 360px;
  181. box-sizing: border-box;
  182. border-radius: 2px;
  183. }
  184. .anticon_edit_input_tit input{
  185. margin: 0;
  186. padding: 0;
  187. border: 0;
  188. outline: none;
  189. display: block;
  190. height: 20px;
  191. width: 100%;
  192. font-size: 14px;
  193. color: #666;
  194. }
  195. .wxb-card-item{
  196. padding-bottom: 0;
  197. }
  198. .layui-layer-fast .layui-layer-btn .layui-layer-btn0{
  199. background-color: red!important;
  200. border-color: red!important;
  201. }
  202. .layui_txt{
  203. padding:20px;
  204. height:100%;
  205. width:100%;
  206. color:#000;
  207. text-align: left;
  208. line-height: 24px;
  209. }
  210. </style>
  211. <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  212. {eq name="acc_type" value="1"}
  213. <!--发送订阅号-->
  214. {include file="vipcustom/common/sublist" /}
  215. <!--发送订阅号end-->
  216. {/eq}
  217. <div class="form-group">
  218. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">{:__('Sendtime')}:</label>
  219. <div class="col-xs-12 col-sm-8">
  220. <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="row[sendtime]" type="text" value="{:date('Y-m-d H:i:s')}">
  221. <div class="s_time_box">
  222. <span stime="600000">10分钟后</span>
  223. <span stime="1800000">30分钟后</span>
  224. <span stime="3600000">1小时后</span>
  225. </div>
  226. <div class="s_time_txt">客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>
  227. </div>
  228. </div>
  229. {include file="vipcustom/common/sendfans" /}
  230. <input type="hidden" name="row[is_save_media]" class="js_is_save_media">
  231. <input type="hidden" id="admin_id" value="{$admin_id}">
  232. <div class="form-group" style="padding-bottom: 80px;">
  233. <div class="col-xs-2"></div>
  234. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  235. <button type="button" class="btn">取消</button>
  236. <button type="submit" class="btn btn-success btn-info">发送</button>
  237. </div>
  238. </div>
  239. </form>
  240. <div class="form-group layer-footer">
  241. <div class="col-xs-12 col-sm-12">
  242. <button class="btn btn-info pull-right btn-close">我知道了</button>
  243. </div>
  244. </div>
  245. <style type="text/css">
  246. ::-webkit-input-placeholder{
  247. color:#d2d2d2;
  248. }
  249. :-moz-placeholder{
  250. color:#d2d2d2;
  251. }
  252. ::-moz-placeholder{
  253. color:#d2d2d2;
  254. }
  255. :-ms-input-placeholder{
  256. color:#d2d2d2;
  257. }
  258. input::-webkit-outer-spin-button,
  259. input::-webkit-inner-spin-button {
  260. -webkit-appearance: none !important;
  261. margin: 0;
  262. }
  263. .test_fans_input{
  264. float: left;
  265. padding: 6px 10px;
  266. height: 30px;
  267. width: 30%;
  268. border: 1px solid #ddd;
  269. box-sizing: border-box;
  270. }
  271. .test_fans_input input{
  272. display: block;
  273. margin: 0;
  274. padding: 0;
  275. width: 100%;
  276. height: 100%;
  277. border: 0;
  278. color: #666;
  279. font-size: 14px;
  280. outline: none;
  281. }
  282. .test_fans_but{
  283. display: block;
  284. margin: 0 0 10px 32%;
  285. height: 30px;
  286. width: 90px;
  287. background-color: #f0a233;
  288. font-size: 14px;
  289. color: #fff;
  290. text-align: center;
  291. line-height: 30px;
  292. }
  293. .s_time_box{
  294. overflow: hidden;
  295. }
  296. .s_time_box span{
  297. float: left;
  298. margin: 6px 10px 6px 0;
  299. height: 24px;
  300. font-size: 14px;
  301. line-height: 24px;
  302. cursor: pointer;
  303. color: #1581ff;
  304. }
  305. .s_time_txt{
  306. overflow: hidden;
  307. margin: 0 0 10px;
  308. font-size: 14px;
  309. color: #666;
  310. line-height: 24px;
  311. }
  312. .s_tag_box{
  313. overflow: hidden;
  314. padding: 20px 20px 0;
  315. background-color: #f1f1f1;
  316. }
  317. .s_tag_li,
  318. .s_tag_footer{
  319. overflow: hidden;
  320. }
  321. .s_tag_li strong{
  322. float: left;
  323. height: 36px;
  324. width: 90px;
  325. font-size: 14px;
  326. color: #666;
  327. text-align: right;
  328. font-weight: normal;
  329. line-height: 36px;
  330. }
  331. .s_tag_li_list{
  332. margin-left: 100px;
  333. overflow: hidden;
  334. }
  335. .s_tag_li_list span{
  336. overflow: hidden;
  337. float: left;
  338. margin: 6px 10px 6px 0;
  339. padding: 0 6px;
  340. height: 24px;
  341. color: #666;
  342. cursor: pointer;
  343. line-height: 24px;
  344. border-radius: 2px;
  345. }
  346. .s_tag_li_list .s_s_tag{
  347. background-color: #1581ff;
  348. color: #fff;
  349. }
  350. .s_tag_footer{
  351. margin-top: 10px;
  352. padding: 10px 0;
  353. border-top: 1px solid #ddd;
  354. line-height: 24px;
  355. }
  356. .s_tag_footer strong,
  357. .s_tag_footer span{
  358. display: inline;
  359. height: 24px;
  360. width: 90px;
  361. font-size: 14px;
  362. color: #666;
  363. text-align: right;
  364. font-weight: normal;
  365. line-height: 36px;
  366. }
  367. .img_txt_box{
  368. margin-bottom: 20px;
  369. padding: 20px;
  370. width: 320px;
  371. background-color: #f1f1f1;
  372. box-sizing: border-box;
  373. }
  374. .img_txt_box *,
  375. .img_txt_box{
  376. -webkit-touch-callout: none;
  377. -webkit-user-select: none;
  378. -khtml-user-select: none;
  379. -moz-user-select: none;
  380. -ms-user-select: none;
  381. user-select: none;
  382. }
  383. .img_txt_list{
  384. }
  385. .img_txt_one{
  386. padding: 0 20px 10px;
  387. border-bottom: 1px solid #e9e9e9;
  388. }
  389. .img_txt_one_tit{
  390. overflow: hidden;
  391. margin-bottom: 10px;
  392. border-bottom: 1px solid #e9e9e9;
  393. cursor: pointer;
  394. }
  395. .img_txt_one_tit i,
  396. .img_txt_li_txt i{
  397. float: right;
  398. height: 22px;
  399. width: 22px;
  400. background-color: #18bc9c;
  401. text-align: center;
  402. color: #fff;
  403. cursor: pointer;
  404. line-height: 22px;
  405. }
  406. .img_txt_one_h3,
  407. .img_txt_li_h3,
  408. .img_txt_one_url,
  409. .img_txt_li_url{
  410. overflow: hidden;
  411. margin: 0 26px 0 0;
  412. padding: 0 0 4px 0;
  413. font-size: 14px;
  414. color: rgba(0,0,0,0.6);
  415. line-height: 22px;
  416. }
  417. .img_txt_one_url,
  418. .img_txt_li_url{
  419. margin: 0 60px 0 0;
  420. }
  421. .img_txt_edit_url,
  422. .img_txt_edit_book,
  423. .img_txt_edit_card_o,
  424. .img_txt_edit_bookmark_o{
  425. margin-left: 6px;
  426. }
  427. .img_txt_li_h3{
  428. margin-bottom: 8px;
  429. height: 44px;
  430. }
  431. .img_txt_one_h3 input,
  432. .img_txt_li_h3 input,
  433. .img_txt_one_url input,
  434. .img_txt_li_url input{
  435. display: block;
  436. margin: 0;
  437. padding: 0;
  438. border: 0;
  439. width: 100%;
  440. height: 22px;
  441. font-size: 14px;
  442. color: rgba(0,0,0,0.6);
  443. outline: none;
  444. }
  445. .img_txt_one_url input,
  446. .img_txt_li_url input{
  447. color: #1581ff;
  448. }
  449. .img_txt_one_img{
  450. overflow: hidden;
  451. cursor: pointer;
  452. }
  453. .img_txt_one_img img{
  454. display: block;
  455. margin: 0;
  456. padding: 0;
  457. border: 0;
  458. width:100%;
  459. }
  460. .img_txt_li{
  461. position: relative;
  462. left: 0;
  463. top: 0;
  464. overflow: hidden;
  465. padding: 10px 20px;
  466. border-bottom: 1px solid #e9e9e9;
  467. }
  468. .img_txt_li_img{
  469. overflow: hidden;
  470. float: right;
  471. height: 78px;
  472. width: 78px;
  473. }
  474. .img_txt_li_img img{
  475. display: block;
  476. width: 78px;
  477. height: 78px;
  478. }
  479. .img_txt_li_txt{
  480. position: relative;
  481. left: 0;
  482. top: 0;
  483. margin: 0 88px 0 0;
  484. overflow: hidden;
  485. }
  486. .img_txt_li_txt a,
  487. .img_txt_one_tit a{
  488. display: block;
  489. overflow: hidden;
  490. padding: 3px 0;
  491. height: 26px;
  492. font-size: 14px;
  493. color: #1581ff;
  494. line-height: 20px;
  495. white-space: normal;
  496. word-break: break-all;
  497. word-wrap: break-word;
  498. box-sizing: border-box;
  499. }
  500. .img_txt_add_but,
  501. .textarea_txt_add_but{
  502. display: block;
  503. height: 40px;
  504. font-size: 16px;
  505. color: #1581ff;
  506. text-align: center;
  507. line-height: 40px;
  508. }
  509. .img_txt_add_but i,
  510. .textarea_txt_add_but i{
  511. font-size: 16px;
  512. vertical-align: middle;
  513. }
  514. .img_txt_remvoe{
  515. display: none;
  516. position: absolute;
  517. right: 0;
  518. bottom: 0;
  519. height: 36px;
  520. width: 36px;
  521. cursor: pointer;
  522. }
  523. .img_txt_li:hover .img_txt_remvoe{
  524. display: block;
  525. }
  526. .img_txt_remvoe:before {
  527. content: "";
  528. width: 0;
  529. height: 0;
  530. overflow: hidden;
  531. border: 18px solid transparent;
  532. border-bottom-color: #d0021b;
  533. border-right-color: #d0021b;
  534. _border-bottom-style: solid;
  535. _border-right-style: solid;
  536. position: absolute;
  537. left: 0;
  538. top: 0;
  539. }
  540. .img_txt_remvoe:after {
  541. content: "\f1f8";
  542. position: absolute;
  543. right: 2px;
  544. bottom: 2px;
  545. color: #fff;
  546. font-size: 16px;
  547. }
  548. .s_tag_footer span{
  549. margin-right: 20px;
  550. }
  551. a{
  552. opacity: .8;
  553. }
  554. a:hover{
  555. color: #fff;
  556. opacity: 1;
  557. }
  558. .s_tag_fans_num{
  559. display: inline-block;
  560. padding: 0 10px;
  561. height: 24px;
  562. font-size: 12px;
  563. color: #fff;
  564. background-color: #f0a233;
  565. border-radius: 2px;
  566. }
  567. a:active,
  568. a:focus {
  569. outline: none;
  570. text-decoration: none;
  571. color: #fff;
  572. }
  573. .s_tag_fans_show .s_tag_fans_allowed{
  574. display: inline-block;
  575. }
  576. .s_tag_fans_show .s_tag_fans_num{
  577. display: none;
  578. }
  579. .s_tag_fans_allowed{
  580. display: none;
  581. padding: 0 10px;
  582. height: 24px;
  583. font-size: 12px;
  584. color: #fff;
  585. background-color: #ddd;
  586. cursor: not-allowed;
  587. border-radius: 2px;
  588. }
  589. </style>
  590. <script>
  591. var datas = {};
  592. </script>