editwaitingimgmsg.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  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. #time_div1, #time_div2 {
  211. position: static !important;
  212. }
  213. </style>
  214. <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  215. {include file="vipcustom/common/servicesublist" /}
  216. <input type="hidden" name="row[ids]" value="{$ids}"/>
  217. <div class="form-group">
  218. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">{:__('发送时间')}:</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="{$row.sendtime|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. <div class="form-group">
  230. <label for="status" class="control-label col-xs-12 col-sm-2">接收用户:</label>
  231. <div class="col-xs-12 col-sm-8">
  232. <div class="radio">
  233. <label for="type-tag"><input id="type-tag" checked name="row[type]" type="radio" value="tag"> 按标签选择</label>
  234. <label for="type-all"><input id="type-all" name="row[type]" type="radio" value="all"> 全部用户</label></div>
  235. </div>
  236. </div>
  237. <div class="form-group group-tag-type" id="group-tag-type-tag">
  238. <input id="usercondition" type="hidden" name='row[user_json]' class="img_txt_hidde_input_no" value='{$row.user_json}' />
  239. <label for="c-text-content" class="control-label col-xs-12 col-sm-2"></label>
  240. <div class="col-xs-12 col-sm-8">
  241. <div class="s_tag_box">
  242. <div class="s_tag_li">
  243. <strong>性别:</strong>
  244. <div id="sex" class="s_tag_li_list">
  245. <span data-sex="-1" class="s_s_tag">不限</span>
  246. <span data-sex="1">男</span>
  247. <span data-sex="2">女</span>
  248. <span data-sex="0">未知</span>
  249. </div>
  250. </div>
  251. <div class="s_tag_li">
  252. <strong>手机系统:</strong>
  253. <div id="mobile_system" class="s_tag_li_list">
  254. <span data-mobile_system="0" class="s_s_tag">不限</span>
  255. <span data-mobile_system="1">Android系统</span>
  256. <span data-mobile_system="2">iOS系统</span>
  257. </div>
  258. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">*手机系统筛选条件仅针对老用户生效,新用户暂不支持该筛选条件</span>
  259. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">如客服消息针对新用户的按条件筛选发送,则手机系统筛选条件需选择不限</span>
  260. </div>
  261. <div class="s_tag_li">
  262. <strong>标签:</strong>
  263. <div id="ctag" class="s_tag_li_list">
  264. <span data-cid="-1" class="s_s_tag">不限</span>
  265. </div>
  266. </div>
  267. <div class="s_tag_li">
  268. <strong>消费情况:</strong>
  269. <div id="consume" class="s_tag_li_list">
  270. <span data-fee="-1" class="s_s_tag">不限</span>
  271. <span data-fee="1">未付费</span>
  272. <span data-fee="4">已付费</span>
  273. <span data-fee="2">普通付费</span>
  274. <span data-fee="3">年费会员</span>
  275. </div>
  276. </div>
  277. <div class="s_tag_li">
  278. <strong>书币剩余:</strong>
  279. <div id="kandian" class="s_tag_li_list">
  280. <span data-kandian="-1" class="s_s_tag">不限</span>
  281. <span data-kandian="1">低于500</span>
  282. <span data-kandian="2">低于2000</span>
  283. <span data-kandian="3">2000以上</span>
  284. </div>
  285. </div>
  286. <!-- <div class="s_tag_li" style="overflow: visible;height: 50px;">-->
  287. <!-- <strong>关注时间:</strong>-->
  288. <!-- <div class="col-md-4"><input data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sub_from]" type="text"></div>-->
  289. <!-- <div style="float: left">~</div>-->
  290. <!-- <div class="col-md-4"><input data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sub_to]" type="text"></div>-->
  291. <!-- </div>-->
  292. <div class="s_tag_li">
  293. <strong>关注时间:</strong>
  294. <div id="subscribe_time1" class="s_tag_li_list">
  295. <span data-fee="-1" class="s_s_tag">不限</span>
  296. <span data-fee="6">12小时</span>
  297. <span data-fee="7">24小时</span>
  298. <span data-fee="8">48小时</span>
  299. <span data-fee="9">7天</span>
  300. <span data-fee="10">15天</span>
  301. <span data-fee="">自定义时间</span><br>
  302. </div>
  303. <div id="subscribe_time2" class="s_tag_li_list" style="margin-bottom: 10px;">
  304. <div id="time_div1" style="width: 200px;display: inline-block;"><input data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sub_from]" type="text" value="{$from}"></div>
  305. <div style="display: inline-block;">~</div>
  306. <div id="time_div2" style="width: 200px;display: inline-block;position: static !important"><input data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[sub_to]" type="text" value="{$to}"></div>
  307. </div>
  308. </div>
  309. <!--<div class="s_tag_footer">-->
  310. <!--<strong>符合条件的人数:</strong>-->
  311. <!--<span id="mustbe">约&#45;&#45;人</span>-->
  312. <!--<a href="javascript:;" class="s_tag_fans_num">查看粉丝数</a>-->
  313. <!--<div class="s_tag_fans_allowed">查看粉丝数</div>-->
  314. <!--</div>-->
  315. </div>
  316. </div>
  317. </div>
  318. <!-- 按标签选择 -->
  319. {include file="vipcustom/common/sendfans" /}
  320. <input type="hidden" name="row[is_save_media]" class="js_is_save_media">
  321. <div class="form-group" style="padding-bottom: 80px;">
  322. <div class="col-xs-2"></div>
  323. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  324. <button type="button" class="btn">取消</button>
  325. <button type="submit" class="btn btn-success btn-info">发送</button>
  326. </div>
  327. </div>
  328. </form>
  329. <style type="text/css">
  330. ::-webkit-input-placeholder{
  331. color:#d2d2d2;
  332. }
  333. :-moz-placeholder{
  334. color:#d2d2d2;
  335. }
  336. ::-moz-placeholder{
  337. color:#d2d2d2;
  338. }
  339. :-ms-input-placeholder{
  340. color:#d2d2d2;
  341. }
  342. input::-webkit-outer-spin-button,
  343. input::-webkit-inner-spin-button {
  344. -webkit-appearance: none !important;
  345. margin: 0;
  346. }
  347. .test_fans_input{
  348. float: left;
  349. padding: 6px 10px;
  350. height: 30px;
  351. width: 30%;
  352. border: 1px solid #ddd;
  353. box-sizing: border-box;
  354. }
  355. .test_fans_input input{
  356. display: block;
  357. margin: 0;
  358. padding: 0;
  359. width: 100%;
  360. height: 100%;
  361. border: 0;
  362. color: #666;
  363. font-size: 14px;
  364. outline: none;
  365. }
  366. .test_fans_but{
  367. display: block;
  368. margin: 0 0 10px 32%;
  369. height: 30px;
  370. width: 90px;
  371. background-color: #f0a233;
  372. font-size: 14px;
  373. color: #fff;
  374. text-align: center;
  375. line-height: 30px;
  376. }
  377. .s_time_box{
  378. overflow: hidden;
  379. }
  380. .s_time_box span{
  381. float: left;
  382. margin: 6px 10px 6px 0;
  383. height: 24px;
  384. font-size: 14px;
  385. line-height: 24px;
  386. cursor: pointer;
  387. color: #1581ff;
  388. }
  389. .s_time_txt{
  390. overflow: hidden;
  391. margin: 0 0 10px;
  392. font-size: 14px;
  393. color: #666;
  394. line-height: 24px;
  395. }
  396. .s_tag_box{
  397. /*overflow: hidden;*/
  398. padding: 20px 20px 0;
  399. background-color: #f1f1f1;
  400. }
  401. .s_tag_li,
  402. .s_tag_footer{
  403. overflow: hidden;
  404. }
  405. .s_tag_li strong{
  406. float: left;
  407. height: 36px;
  408. width: 90px;
  409. font-size: 14px;
  410. color: #666;
  411. text-align: right;
  412. font-weight: normal;
  413. line-height: 36px;
  414. }
  415. .s_tag_li_list{
  416. margin-left: 100px;
  417. overflow: hidden;
  418. }
  419. .s_tag_li_list span{
  420. overflow: hidden;
  421. float: left;
  422. margin: 6px 10px 6px 0;
  423. padding: 0 6px;
  424. height: 24px;
  425. color: #666;
  426. cursor: pointer;
  427. line-height: 24px;
  428. border-radius: 2px;
  429. }
  430. .s_tag_li_list .s_s_tag{
  431. background-color: #1581ff;
  432. color: #fff;
  433. }
  434. .s_tag_footer{
  435. margin-top: 10px;
  436. padding: 10px 0;
  437. border-top: 1px solid #ddd;
  438. line-height: 24px;
  439. }
  440. .s_tag_footer strong,
  441. .s_tag_footer span{
  442. display: inline;
  443. height: 24px;
  444. width: 90px;
  445. font-size: 14px;
  446. color: #666;
  447. text-align: right;
  448. font-weight: normal;
  449. line-height: 36px;
  450. }
  451. .img_txt_box{
  452. margin-bottom: 20px;
  453. padding: 20px;
  454. width: 320px;
  455. background-color: #f1f1f1;
  456. box-sizing: border-box;
  457. }
  458. .img_txt_box *,
  459. .img_txt_box{
  460. -webkit-touch-callout: none;
  461. -webkit-user-select: none;
  462. -khtml-user-select: none;
  463. -moz-user-select: none;
  464. -ms-user-select: none;
  465. user-select: none;
  466. }
  467. .img_txt_list{
  468. }
  469. .img_txt_one{
  470. padding: 0 20px 10px;
  471. border-bottom: 1px solid #e9e9e9;
  472. }
  473. .img_txt_one_tit{
  474. overflow: hidden;
  475. margin-bottom: 10px;
  476. border-bottom: 1px solid #e9e9e9;
  477. cursor: pointer;
  478. }
  479. .img_txt_one_tit i,
  480. .img_txt_li_txt i{
  481. float: right;
  482. height: 22px;
  483. width: 22px;
  484. background-color: #18bc9c;
  485. text-align: center;
  486. color: #fff;
  487. cursor: pointer;
  488. line-height: 22px;
  489. }
  490. .img_txt_one_h3,
  491. .img_txt_li_h3,
  492. .img_txt_one_url,
  493. .img_txt_li_url{
  494. overflow: hidden;
  495. margin: 0 26px 0 0;
  496. padding: 0 0 4px 0;
  497. font-size: 14px;
  498. color: rgba(0,0,0,0.6);
  499. line-height: 22px;
  500. }
  501. .img_txt_one_url,
  502. .img_txt_li_url{
  503. margin: 0 60px 0 0;
  504. }
  505. .img_txt_edit_url,
  506. .img_txt_edit_book,
  507. .img_txt_edit_card_o,
  508. .img_txt_edit_bookmark_o{
  509. margin-left: 6px;
  510. }
  511. .img_txt_li_h3{
  512. margin-bottom: 8px;
  513. height: 44px;
  514. }
  515. .img_txt_one_h3 input,
  516. .img_txt_li_h3 input,
  517. .img_txt_one_url input,
  518. .img_txt_li_url input{
  519. display: block;
  520. margin: 0;
  521. padding: 0;
  522. border: 0;
  523. width: 100%;
  524. height: 22px;
  525. font-size: 14px;
  526. color: rgba(0,0,0,0.6);
  527. outline: none;
  528. }
  529. .img_txt_one_url input,
  530. .img_txt_li_url input{
  531. color: #1581ff;
  532. }
  533. .img_txt_one_img{
  534. overflow: hidden;
  535. cursor: pointer;
  536. }
  537. .img_txt_one_img img{
  538. display: block;
  539. margin: 0;
  540. padding: 0;
  541. border: 0;
  542. width:100%;
  543. }
  544. .img_txt_li{
  545. position: relative;
  546. left: 0;
  547. top: 0;
  548. overflow: hidden;
  549. padding: 10px 20px;
  550. border-bottom: 1px solid #e9e9e9;
  551. }
  552. .img_txt_li_img{
  553. overflow: hidden;
  554. float: right;
  555. height: 78px;
  556. width: 78px;
  557. }
  558. .img_txt_li_img img{
  559. display: block;
  560. width: 78px;
  561. height: 78px;
  562. }
  563. .img_txt_li_txt{
  564. position: relative;
  565. left: 0;
  566. top: 0;
  567. margin: 0 88px 0 0;
  568. overflow: hidden;
  569. }
  570. .img_txt_li_txt a,
  571. .img_txt_one_tit a{
  572. display: block;
  573. overflow: hidden;
  574. padding: 3px 0;
  575. height: 26px;
  576. font-size: 14px;
  577. color: #1581ff;
  578. line-height: 20px;
  579. white-space: normal;
  580. word-break: break-all;
  581. word-wrap: break-word;
  582. box-sizing: border-box;
  583. }
  584. .img_txt_add_but,
  585. .textarea_txt_add_but{
  586. display: block;
  587. height: 40px;
  588. font-size: 16px;
  589. color: #1581ff;
  590. text-align: center;
  591. line-height: 40px;
  592. }
  593. .img_txt_add_but i,
  594. .textarea_txt_add_but i{
  595. font-size: 16px;
  596. vertical-align: middle;
  597. }
  598. .img_txt_remvoe{
  599. display: none;
  600. position: absolute;
  601. right: 0;
  602. bottom: 0;
  603. height: 36px;
  604. width: 36px;
  605. cursor: pointer;
  606. }
  607. .img_txt_li:hover .img_txt_remvoe{
  608. display: block;
  609. }
  610. .img_txt_remvoe:before {
  611. content: "";
  612. width: 0;
  613. height: 0;
  614. overflow: hidden;
  615. border: 18px solid transparent;
  616. border-bottom-color: #d0021b;
  617. border-right-color: #d0021b;
  618. _border-bottom-style: solid;
  619. _border-right-style: solid;
  620. position: absolute;
  621. left: 0;
  622. top: 0;
  623. }
  624. .img_txt_remvoe:after {
  625. content: "\f1f8";
  626. position: absolute;
  627. right: 2px;
  628. bottom: 2px;
  629. color: #fff;
  630. font-size: 16px;
  631. }
  632. .s_tag_footer span{
  633. margin-right: 20px;
  634. }
  635. a{
  636. opacity: .8;
  637. }
  638. a:hover{
  639. color: #fff;
  640. opacity: 1;
  641. }
  642. .s_tag_fans_num{
  643. display: inline-block;
  644. padding: 0 10px;
  645. height: 24px;
  646. font-size: 12px;
  647. color: #fff;
  648. background-color: #f0a233;
  649. border-radius: 2px;
  650. }
  651. a:active,
  652. a:focus {
  653. outline: none;
  654. text-decoration: none;
  655. color: #fff;
  656. }
  657. .s_tag_fans_show .s_tag_fans_allowed{
  658. display: inline-block;
  659. }
  660. .s_tag_fans_show .s_tag_fans_num{
  661. display: none;
  662. }
  663. .s_tag_fans_allowed{
  664. display: none;
  665. padding: 0 10px;
  666. height: 24px;
  667. font-size: 12px;
  668. color: #fff;
  669. background-color: #ddd;
  670. cursor: not-allowed;
  671. border-radius: 2px;
  672. }
  673. </style>
  674. <script>
  675. var datas = {};
  676. </script>