multisendmessage.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  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. {include file="vipcustom/common/servicesublist" /}
  33. <!--发送订阅号end-->
  34. <div class="form-group">
  35. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">*{:__('发送时间')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <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')}">
  38. <div class="s_time_box">
  39. <span stime="600000">10分钟后</span>
  40. <span stime="1800000">30分钟后</span>
  41. <span stime="3600000">1小时后</span>
  42. </div>
  43. <!--<div class="s_time_txt">客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>-->
  44. </div>
  45. </div>
  46. <input type="hidden" id="acc_type" value="{$acc_type}" />
  47. <div class="form-group">
  48. <label for="status" class="control-label col-xs-12 col-sm-2">接收用户:</label>
  49. <div class="col-xs-12 col-sm-8">
  50. <div class="radio">
  51. <label for="type-tag"><input id="type-tag" checked name="row[type]" type="radio" value="tag"> 按标签选择</label>
  52. <label for="type-all"><input id="type-all" name="row[type]" type="radio" value="all"> 全部用户</label></div>
  53. </div>
  54. </div>
  55. <div class="form-group group-tag-type" id="group-tag-type-tag">
  56. <input type="hidden" id="usercondition" name="row[user_json]" class="img_txt_hidde_input_no" />
  57. <label for="c-text-content" class="control-label col-xs-12 col-sm-2"></label>
  58. <div class="col-xs-12 col-sm-8">
  59. <div class="s_tag_box">
  60. <div class="s_tag_li">
  61. <strong>性别:</strong>
  62. <div id="sex" class="s_tag_li_list">
  63. <span data-sex="-1" class="s_s_tag">不限</span>
  64. <span data-sex="1">男</span>
  65. <span data-sex="2">女</span>
  66. <span data-sex="0">保密</span>
  67. </div>
  68. </div>
  69. <div class="s_tag_li">
  70. <strong>手机系统:</strong>
  71. <div id="mobile_system" class="s_tag_li_list">
  72. <span data-mobile_system="0" class="s_s_tag">不限</span>
  73. <span data-mobile_system="1">Android系统</span>
  74. <span data-mobile_system="2">iOS系统</span>
  75. </div>
  76. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">*手机系统筛选条件仅针对老用户生效,新用户暂不支持该筛选条件</span>
  77. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">如客服消息针对新用户的按条件筛选发送,则手机系统筛选条件需选择不限</span>
  78. </div>
  79. <div class="s_tag_li">
  80. <strong>标签:</strong>
  81. <div id="ctag" class="s_tag_li_list">
  82. <span data-cid="-1" class="s_s_tag">不限</span>
  83. </div>
  84. </div>
  85. <div class="s_tag_li">
  86. <strong>消费情况:</strong>
  87. <div id="consume" class="s_tag_li_list">
  88. <span data-fee="-1" class="s_s_tag">不限</span>
  89. <span data-fee="1">未付费</span>
  90. <span data-fee="4">已付费</span>
  91. <span data-fee="2">普通付费</span>
  92. <span data-fee="3">年费会员</span>
  93. </div>
  94. </div>
  95. <div class="s_tag_li">
  96. <strong>书币剩余:</strong>
  97. <div id="kandian" class="s_tag_li_list">
  98. <span data-kandian="-1" class="s_s_tag">不限</span>
  99. <span data-kandian="1">低于500</span>
  100. <span data-kandian="2">低于2000</span>
  101. <span data-kandian="3">2000以上</span>
  102. </div>
  103. </div>
  104. <!-- <div class="s_tag_li" style="overflow: visible;height: 50px;">-->
  105. <!-- <strong>关注时间:</strong>-->
  106. <!-- <div class="col-md-3"><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>-->
  107. <!-- <div style="float: left">~</div>-->
  108. <!-- <div class="col-md-3"><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>-->
  109. <!-- </div>-->
  110. <div class="s_tag_li">
  111. <strong>关注时间:</strong>
  112. <div id="subscribe_time1" class="s_tag_li_list">
  113. <span data-fee="-1" class="s_s_tag">不限</span>
  114. <span data-fee="6">12小时</span>
  115. <span data-fee="7">24小时</span>
  116. <span data-fee="8">48小时</span>
  117. <span data-fee="9">7天</span>
  118. <span data-fee="10">15天</span>
  119. <span data-fee="">自定义时间</span><br>
  120. </div>
  121. <div id="subscribe_time2" class="s_tag_li_list" style="margin-bottom: 10px;display: none;">
  122. <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=""></div>
  123. <div style="display: inline-block;">~</div>
  124. <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=""></div>
  125. </div>
  126. </div>
  127. <!--<div class="s_tag_footer">-->
  128. <!--<strong>符合条件的人数:</strong>-->
  129. <!--<span id="mustbe">约&#45;&#45;人</span>-->
  130. <!--<a href="javascript:;" class="s_tag_fans_num">查看粉丝数</a>-->
  131. <!--<div class="s_tag_fans_allowed">查看粉丝数</div>-->
  132. <!--</div>-->
  133. </div>
  134. </div>
  135. </div>
  136. <!-- 按标签选择 -->
  137. {include file="vipcustom/common/sendfans" /}
  138. <div class="form-group" style="padding-bottom: 80px;">
  139. <div class="col-xs-2"></div>
  140. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  141. <button type="button" class="btn btn-close">取消</button>
  142. <button type="submit" class="btn btn-success btn-info" data-save-val="0">发送</button>
  143. </div>
  144. </div>
  145. </form>
  146. <style type="text/css">
  147. ::-webkit-input-placeholder{
  148. color:#d2d2d2;
  149. }
  150. :-moz-placeholder{
  151. color:#d2d2d2;
  152. }
  153. ::-moz-placeholder{
  154. color:#d2d2d2;
  155. }
  156. :-ms-input-placeholder{
  157. color:#d2d2d2;
  158. }
  159. input::-webkit-outer-spin-button,
  160. input::-webkit-inner-spin-button {
  161. -webkit-appearance: none !important;
  162. margin: 0;
  163. }
  164. .test_fans_input{
  165. float: left;
  166. padding: 6px 10px;
  167. height: 30px;
  168. width: 30%;
  169. border: 1px solid #ddd;
  170. box-sizing: border-box;
  171. }
  172. .test_fans_input input{
  173. display: block;
  174. margin: 0;
  175. padding: 0;
  176. width: 100%;
  177. height: 100%;
  178. border: 0;
  179. color: #666;
  180. font-size: 14px;
  181. outline: none;
  182. }
  183. .test_fans_but{
  184. display: block;
  185. margin: 0 0 10px 32%;
  186. height: 30px;
  187. width: 90px;
  188. background-color: #f0a233;
  189. font-size: 14px;
  190. color: #fff;
  191. text-align: center;
  192. line-height: 30px;
  193. }
  194. .s_time_box{
  195. overflow: hidden;
  196. }
  197. .s_time_box span{
  198. float: left;
  199. margin: 6px 10px 6px 0;
  200. height: 24px;
  201. font-size: 14px;
  202. line-height: 24px;
  203. cursor: pointer;
  204. color: #1581ff;
  205. }
  206. .s_time_txt{
  207. overflow: hidden;
  208. margin: 0 0 10px;
  209. font-size: 14px;
  210. color: #666;
  211. line-height: 24px;
  212. }
  213. .s_tag_box{
  214. padding: 20px 20px 0;
  215. background-color: #f1f1f1;
  216. }
  217. .s_tag_li,
  218. .s_tag_footer{
  219. overflow: hidden;
  220. }
  221. .s_tag_li strong{
  222. float: left;
  223. height: 36px;
  224. width: 90px;
  225. font-size: 14px;
  226. color: #666;
  227. text-align: right;
  228. font-weight: normal;
  229. line-height: 36px;
  230. }
  231. .s_tag_li_list{
  232. margin-left: 100px;
  233. overflow: hidden;
  234. }
  235. .s_tag_li_list span{
  236. overflow: hidden;
  237. float: left;
  238. margin: 6px 10px 6px 0;
  239. padding: 0 6px;
  240. height: 24px;
  241. color: #666;
  242. cursor: pointer;
  243. line-height: 24px;
  244. border-radius: 2px;
  245. }
  246. .s_tag_li_list .s_s_tag{
  247. background-color: #1581ff;
  248. color: #fff;
  249. }
  250. .s_tag_footer{
  251. margin-top: 10px;
  252. padding: 10px 0;
  253. border-top: 1px solid #ddd;
  254. line-height: 24px;
  255. }
  256. .s_tag_footer strong,
  257. .s_tag_footer span{
  258. display: inline;
  259. height: 24px;
  260. width: 90px;
  261. font-size: 14px;
  262. color: #666;
  263. text-align: right;
  264. font-weight: normal;
  265. line-height: 36px;
  266. }
  267. .img_txt_box{
  268. padding: 20px;
  269. width: 380px;
  270. background-color: #f1f1f1;
  271. box-sizing: border-box;
  272. }
  273. .img_txt_list{
  274. padding: 10px 0;
  275. background-color: #fff;
  276. }
  277. .img_txt_list > div:last-child{
  278. border-bottom: 0;
  279. }
  280. .img_txt_one{
  281. padding: 0 20px 10px;
  282. border-bottom: 1px solid #e9e9e9;
  283. }
  284. .img_txt_one_tit{
  285. overflow: hidden;
  286. margin-bottom: 10px;
  287. border-bottom: 1px solid #e9e9e9;
  288. cursor: pointer;
  289. }
  290. .img_txt_one_tit i,
  291. .img_txt_li_txt i{
  292. float: right;
  293. height: 22px;
  294. width: 22px;
  295. background-color: #18bc9c;
  296. text-align: center;
  297. color: #fff;
  298. cursor: pointer;
  299. line-height: 22px;
  300. }
  301. .img_txt_one_h3,
  302. .img_txt_li_h3,
  303. .img_txt_one_url,
  304. .img_txt_li_url{
  305. overflow: hidden;
  306. margin: 0 26px 0 0;
  307. padding: 0 0 4px 0;
  308. font-size: 14px;
  309. color: rgba(0,0,0,0.6);
  310. line-height: 22px;
  311. }
  312. .img_txt_one_url,
  313. .img_txt_li_url{
  314. margin: 0 60px 0 0;
  315. }
  316. .img_txt_edit_url{
  317. margin-left: 6px;
  318. }
  319. .img_txt_li_h3{
  320. margin-bottom: 8px;
  321. height: 44px;
  322. }
  323. .img_txt_one_h3 input,
  324. .img_txt_li_h3 input,
  325. .img_txt_one_url input,
  326. .img_txt_li_url input{
  327. display: block;
  328. margin: 0;
  329. padding: 0;
  330. border: 0;
  331. width: 100%;
  332. height: 22px;
  333. font-size: 14px;
  334. color: rgba(0,0,0,0.6);
  335. outline: none;
  336. }
  337. .img_txt_one_url input,
  338. .img_txt_li_url input{
  339. color: #1581ff;
  340. }
  341. .img_txt_one_img{
  342. overflow: hidden;
  343. cursor: pointer;
  344. }
  345. .img_txt_one_img img{
  346. display: block;
  347. margin: 0;
  348. padding: 0;
  349. border: 0;
  350. width:100%;
  351. }
  352. .img_txt_li{
  353. position: relative;
  354. left: 0;
  355. top: 0;
  356. overflow: hidden;
  357. padding: 10px 20px;
  358. border-bottom: 1px solid #e9e9e9;
  359. }
  360. .img_txt_li_img{
  361. overflow: hidden;
  362. float: right;
  363. height: 78px;
  364. width: 78px;
  365. }
  366. .img_txt_li_img img{
  367. display: block;
  368. width: 78px;
  369. height: 78px;
  370. }
  371. .img_txt_li_txt{
  372. position: relative;
  373. left: 0;
  374. top: 0;
  375. margin: 0 88px 0 0;
  376. overflow: hidden;
  377. }
  378. .img_txt_li_txt a,
  379. .img_txt_one_tit a{
  380. display: block;
  381. overflow: hidden;
  382. padding: 3px 0;
  383. height: 26px;
  384. font-size: 14px;
  385. color: #1581ff;
  386. line-height: 20px;
  387. white-space: normal;
  388. word-break: break-all;
  389. word-wrap: break-word;
  390. box-sizing: border-box;
  391. }
  392. .img_txt_add_but{
  393. display: block;
  394. margin-top: 20px;
  395. height: 40px;
  396. font-size: 16px;
  397. color: #1581ff;
  398. text-align: center;
  399. line-height: 40px;
  400. }
  401. .img_txt_add_but i{
  402. font-size: 16px;
  403. vertical-align: middle;
  404. }
  405. .img_txt_remvoe{
  406. display: none;
  407. position: absolute;
  408. right: 0;
  409. bottom: 0;
  410. height: 36px;
  411. width: 36px;
  412. cursor: pointer;
  413. }
  414. .img_txt_li:hover .img_txt_remvoe{
  415. display: block;
  416. }
  417. .img_txt_remvoe:before {
  418. content: "";
  419. width: 0;
  420. height: 0;
  421. overflow: hidden;
  422. border: 18px solid transparent;
  423. border-bottom-color: #d0021b;
  424. border-right-color: #d0021b;
  425. _border-bottom-style: solid;
  426. _border-right-style: solid;
  427. position: absolute;
  428. left: 0;
  429. top: 0;
  430. }
  431. .img_txt_remvoe:after {
  432. content: "\f1f8";
  433. position: absolute;
  434. right: 2px;
  435. bottom: 2px;
  436. color: #fff;
  437. font-size: 16px;
  438. }
  439. .s_tag_footer span{
  440. margin-right: 20px;
  441. }
  442. a{
  443. opacity: .8;
  444. }
  445. a:hover{
  446. color: #fff;
  447. opacity: 1;
  448. }
  449. .s_tag_fans_num{
  450. display: inline-block;
  451. padding: 0 10px;
  452. height: 24px;
  453. font-size: 12px;
  454. color: #fff;
  455. background-color: #f0a233;
  456. border-radius: 2px;
  457. }
  458. a:active,
  459. a:focus {
  460. outline: none;
  461. text-decoration: none;
  462. color: #fff;
  463. }
  464. .s_tag_fans_show .s_tag_fans_allowed{
  465. display: inline-block;
  466. }
  467. .s_tag_fans_show .s_tag_fans_num{
  468. display: none;
  469. }
  470. .s_tag_fans_allowed{
  471. display: none;
  472. padding: 0 10px;
  473. height: 24px;
  474. font-size: 12px;
  475. color: #fff;
  476. background-color: #ddd;
  477. cursor: not-allowed;
  478. border-radius: 2px;
  479. }
  480. #time_div1, #time_div2 {
  481. position: static !important;
  482. }
  483. </style>
  484. <script>
  485. var datas = {};
  486. </script>