editwaitingimgmsg.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  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. <input type="hidden" name="row[ids]" value="{$ids}"/>
  213. <input type="hidden" id="admin_id" value="{$admin_id}">
  214. {eq name="acc_type" value="1"}
  215. <!--发送订阅号-->
  216. {include file="vipcustom/common/sublist" /}
  217. <!--发送订阅号end-->
  218. {/eq}
  219. <div class="form-group">
  220. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">{:__('Sendtime')}:</label>
  221. <div class="col-xs-12 col-sm-8">
  222. <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')}">
  223. <div class="s_time_box">
  224. <span stime="600000">10分钟后</span>
  225. <span stime="1800000">30分钟后</span>
  226. <span stime="3600000">1小时后</span>
  227. </div>
  228. <div class="s_time_txt">客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>
  229. </div>
  230. </div>
  231. {include file="vipcustom/common/sendfans" /}
  232. <input type="hidden" name="row[is_save_media]" class="js_is_save_media">
  233. <div class="form-group" style="padding-bottom: 80px;">
  234. <div class="col-xs-2"></div>
  235. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  236. <button type="button" class="btn">取消</button>
  237. <button type="submit" class="btn btn-success btn-info">发送</button>
  238. </div>
  239. </div>
  240. </form>
  241. <div class="form-group layer-footer">
  242. <div class="col-xs-12 col-sm-12">
  243. <button class="btn btn-info pull-right btn-close">我知道了</button>
  244. </div>
  245. </div>
  246. <style type="text/css">
  247. ::-webkit-input-placeholder{
  248. color:#d2d2d2;
  249. }
  250. :-moz-placeholder{
  251. color:#d2d2d2;
  252. }
  253. ::-moz-placeholder{
  254. color:#d2d2d2;
  255. }
  256. :-ms-input-placeholder{
  257. color:#d2d2d2;
  258. }
  259. input::-webkit-outer-spin-button,
  260. input::-webkit-inner-spin-button {
  261. -webkit-appearance: none !important;
  262. margin: 0;
  263. }
  264. .test_fans_input{
  265. float: left;
  266. padding: 6px 10px;
  267. height: 30px;
  268. width: 30%;
  269. border: 1px solid #ddd;
  270. box-sizing: border-box;
  271. }
  272. .test_fans_input input{
  273. display: block;
  274. margin: 0;
  275. padding: 0;
  276. width: 100%;
  277. height: 100%;
  278. border: 0;
  279. color: #666;
  280. font-size: 14px;
  281. outline: none;
  282. }
  283. .test_fans_but{
  284. display: block;
  285. margin: 0 0 10px 32%;
  286. height: 30px;
  287. width: 90px;
  288. background-color: #f0a233;
  289. font-size: 14px;
  290. color: #fff;
  291. text-align: center;
  292. line-height: 30px;
  293. }
  294. .s_time_box{
  295. overflow: hidden;
  296. }
  297. .s_time_box span{
  298. float: left;
  299. margin: 6px 10px 6px 0;
  300. height: 24px;
  301. font-size: 14px;
  302. line-height: 24px;
  303. cursor: pointer;
  304. color: #1581ff;
  305. }
  306. .s_time_txt{
  307. overflow: hidden;
  308. margin: 0 0 10px;
  309. font-size: 14px;
  310. color: #666;
  311. line-height: 24px;
  312. }
  313. .s_tag_box{
  314. overflow: hidden;
  315. padding: 20px 20px 0;
  316. background-color: #f1f1f1;
  317. }
  318. .s_tag_li,
  319. .s_tag_footer{
  320. overflow: hidden;
  321. }
  322. .s_tag_li strong{
  323. float: left;
  324. height: 36px;
  325. width: 90px;
  326. font-size: 14px;
  327. color: #666;
  328. text-align: right;
  329. font-weight: normal;
  330. line-height: 36px;
  331. }
  332. .s_tag_li_list{
  333. margin-left: 100px;
  334. overflow: hidden;
  335. }
  336. .s_tag_li_list span{
  337. overflow: hidden;
  338. float: left;
  339. margin: 6px 10px 6px 0;
  340. padding: 0 6px;
  341. height: 24px;
  342. color: #666;
  343. cursor: pointer;
  344. line-height: 24px;
  345. border-radius: 2px;
  346. }
  347. .s_tag_li_list .s_s_tag{
  348. background-color: #1581ff;
  349. color: #fff;
  350. }
  351. .s_tag_footer{
  352. margin-top: 10px;
  353. padding: 10px 0;
  354. border-top: 1px solid #ddd;
  355. line-height: 24px;
  356. }
  357. .s_tag_footer strong,
  358. .s_tag_footer span{
  359. display: inline;
  360. height: 24px;
  361. width: 90px;
  362. font-size: 14px;
  363. color: #666;
  364. text-align: right;
  365. font-weight: normal;
  366. line-height: 36px;
  367. }
  368. .img_txt_box{
  369. margin-bottom: 20px;
  370. padding: 20px;
  371. width: 320px;
  372. background-color: #f1f1f1;
  373. box-sizing: border-box;
  374. }
  375. .img_txt_box *,
  376. .img_txt_box{
  377. -webkit-touch-callout: none;
  378. -webkit-user-select: none;
  379. -khtml-user-select: none;
  380. -moz-user-select: none;
  381. -ms-user-select: none;
  382. user-select: none;
  383. }
  384. .img_txt_list{
  385. }
  386. .img_txt_one{
  387. padding: 0 20px 10px;
  388. border-bottom: 1px solid #e9e9e9;
  389. }
  390. .img_txt_one_tit{
  391. overflow: hidden;
  392. margin-bottom: 10px;
  393. border-bottom: 1px solid #e9e9e9;
  394. cursor: pointer;
  395. }
  396. .img_txt_one_tit i,
  397. .img_txt_li_txt i{
  398. float: right;
  399. height: 22px;
  400. width: 22px;
  401. background-color: #18bc9c;
  402. text-align: center;
  403. color: #fff;
  404. cursor: pointer;
  405. line-height: 22px;
  406. }
  407. .img_txt_one_h3,
  408. .img_txt_li_h3,
  409. .img_txt_one_url,
  410. .img_txt_li_url{
  411. overflow: hidden;
  412. margin: 0 26px 0 0;
  413. padding: 0 0 4px 0;
  414. font-size: 14px;
  415. color: rgba(0,0,0,0.6);
  416. line-height: 22px;
  417. }
  418. .img_txt_one_url,
  419. .img_txt_li_url{
  420. margin: 0 60px 0 0;
  421. }
  422. .img_txt_edit_url,
  423. .img_txt_edit_book,
  424. .img_txt_edit_card_o,
  425. .img_txt_edit_bookmark_o{
  426. margin-left: 6px;
  427. }
  428. .img_txt_li_h3{
  429. margin-bottom: 8px;
  430. height: 44px;
  431. }
  432. .img_txt_one_h3 input,
  433. .img_txt_li_h3 input,
  434. .img_txt_one_url input,
  435. .img_txt_li_url input{
  436. display: block;
  437. margin: 0;
  438. padding: 0;
  439. border: 0;
  440. width: 100%;
  441. height: 22px;
  442. font-size: 14px;
  443. color: rgba(0,0,0,0.6);
  444. outline: none;
  445. }
  446. .img_txt_one_url input,
  447. .img_txt_li_url input{
  448. color: #1581ff;
  449. }
  450. .img_txt_one_img{
  451. overflow: hidden;
  452. cursor: pointer;
  453. }
  454. .img_txt_one_img img{
  455. display: block;
  456. margin: 0;
  457. padding: 0;
  458. border: 0;
  459. width:100%;
  460. }
  461. .img_txt_li{
  462. position: relative;
  463. left: 0;
  464. top: 0;
  465. overflow: hidden;
  466. padding: 10px 20px;
  467. border-bottom: 1px solid #e9e9e9;
  468. }
  469. .img_txt_li_img{
  470. overflow: hidden;
  471. float: right;
  472. height: 78px;
  473. width: 78px;
  474. }
  475. .img_txt_li_img img{
  476. display: block;
  477. width: 78px;
  478. height: 78px;
  479. }
  480. .img_txt_li_txt{
  481. position: relative;
  482. left: 0;
  483. top: 0;
  484. margin: 0 88px 0 0;
  485. overflow: hidden;
  486. }
  487. .img_txt_li_txt a,
  488. .img_txt_one_tit a{
  489. display: block;
  490. overflow: hidden;
  491. padding: 3px 0;
  492. height: 26px;
  493. font-size: 14px;
  494. color: #1581ff;
  495. line-height: 20px;
  496. white-space: normal;
  497. word-break: break-all;
  498. word-wrap: break-word;
  499. box-sizing: border-box;
  500. }
  501. .img_txt_add_but,
  502. .textarea_txt_add_but{
  503. display: block;
  504. height: 40px;
  505. font-size: 16px;
  506. color: #1581ff;
  507. text-align: center;
  508. line-height: 40px;
  509. }
  510. .img_txt_add_but i,
  511. .textarea_txt_add_but i{
  512. font-size: 16px;
  513. vertical-align: middle;
  514. }
  515. .img_txt_remvoe{
  516. display: none;
  517. position: absolute;
  518. right: 0;
  519. bottom: 0;
  520. height: 36px;
  521. width: 36px;
  522. cursor: pointer;
  523. }
  524. .img_txt_li:hover .img_txt_remvoe{
  525. display: block;
  526. }
  527. .img_txt_remvoe:before {
  528. content: "";
  529. width: 0;
  530. height: 0;
  531. overflow: hidden;
  532. border: 18px solid transparent;
  533. border-bottom-color: #d0021b;
  534. border-right-color: #d0021b;
  535. _border-bottom-style: solid;
  536. _border-right-style: solid;
  537. position: absolute;
  538. left: 0;
  539. top: 0;
  540. }
  541. .img_txt_remvoe:after {
  542. content: "\f1f8";
  543. position: absolute;
  544. right: 2px;
  545. bottom: 2px;
  546. color: #fff;
  547. font-size: 16px;
  548. }
  549. .s_tag_footer span{
  550. margin-right: 20px;
  551. }
  552. a{
  553. opacity: .8;
  554. }
  555. a:hover{
  556. color: #fff;
  557. opacity: 1;
  558. }
  559. .s_tag_fans_num{
  560. display: inline-block;
  561. padding: 0 10px;
  562. height: 24px;
  563. font-size: 12px;
  564. color: #fff;
  565. background-color: #f0a233;
  566. border-radius: 2px;
  567. }
  568. a:active,
  569. a:focus {
  570. outline: none;
  571. text-decoration: none;
  572. color: #fff;
  573. }
  574. .s_tag_fans_show .s_tag_fans_allowed{
  575. display: inline-block;
  576. }
  577. .s_tag_fans_show .s_tag_fans_num{
  578. display: none;
  579. }
  580. .s_tag_fans_allowed{
  581. display: none;
  582. padding: 0 10px;
  583. height: 24px;
  584. font-size: 12px;
  585. color: #fff;
  586. background-color: #ddd;
  587. cursor: not-allowed;
  588. border-radius: 2px;
  589. }
  590. </style>
  591. <script>
  592. var datas = {};
  593. </script>