multisendmessage.html 13 KB

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