add.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. <style type="text/css">
  2. #toast-container{
  3. z-index: 999999999999;
  4. }
  5. .ntmw_head_box{
  6. height: 32px;
  7. margin: 0 0 10px;
  8. }
  9. .ntmw_head_select{
  10. float: left;
  11. position: relative;
  12. left: 0;
  13. top: 0;
  14. z-index: 100;
  15. padding: 0 10px;
  16. margin: 0 5px 0 0;
  17. height: 32px;
  18. border: 1px solid #d9d9d9;
  19. box-sizing: border-box;
  20. border-radius: 3px;
  21. }
  22. .ntmw_head_select strong{
  23. display: block;
  24. height: 100%;
  25. padding: 0 10px;
  26. overflow: hidden;
  27. font-weight: normal;
  28. font-size: 14px;
  29. color: #666;
  30. line-height: 30px;
  31. cursor: pointer;
  32. }
  33. .ntmw_head_select:hover ul{
  34. display: block;
  35. }
  36. .ntmw_head_select ul{
  37. display: none;
  38. overflow: hidden;
  39. position: absolute;
  40. left: 0;
  41. top: 31px;
  42. z-index: 10;
  43. list-style: none;
  44. margin: 0;
  45. padding: 0;
  46. width: 100%;
  47. background-color: #fff;
  48. box-shadow: 0 1px 6px rgba(0,0,0,.2);
  49. border-radius: 3px;
  50. }
  51. .ntmw_head_select ul li{
  52. overflow:hidden;
  53. padding: 7px 8px;
  54. height: 30px;
  55. border-bottom: 1px solid #f7f7f7;
  56. font-size: 14px;
  57. color: #666;
  58. line-height: 16px;
  59. cursor: pointer;
  60. white-space:nowrap;
  61. }
  62. .ntmw_head_select ul li:hover,
  63. .ntmw_head_select ul li.hover{
  64. font-weight: bold;
  65. background-color: #f7f7f7;
  66. }
  67. .ntmw_head_select i{
  68. position: absolute;
  69. right: 10px;
  70. top: 10px;
  71. width: 10px;
  72. color: #666;
  73. }
  74. .ntmw_but{
  75. float: left;
  76. padding: 0 10px;
  77. height: 32px;
  78. background-color: #f5a623;
  79. font-size: 14px;
  80. color: #fff;
  81. cursor: pointer;
  82. text-align: center;
  83. line-height: 32px;
  84. border-radius: 3px;
  85. }
  86. .ntmw_main_box{
  87. overflow: hidden;
  88. padding: 20px 10px 20px 20px;
  89. background-color: #f7f7f7;
  90. border: 1px dashed #ddd;
  91. border-radius: 6px;
  92. }
  93. .ntmw_main_box h3{
  94. margin: 0;
  95. padding: 0;
  96. height: 32px;
  97. font-size: 16px;
  98. color: #666;
  99. line-height: 32px;
  100. }
  101. .ntmw_main_box ul{
  102. overflow: hidden;
  103. margin: 0;
  104. padding: 0;
  105. list-style: none;
  106. }
  107. .ntmw_main_box ul li{
  108. margin: 5px 0;
  109. overflow: hidden;
  110. }
  111. .ntmw_main_box ul i,
  112. .ntmw_main_box ul span{
  113. display: inline;
  114. vertical-align: middle;
  115. }
  116. .ntmw_main_box ul span{
  117. line-height: 30px;
  118. }
  119. .ntmw_main_box ul i{
  120. margin: 0 5px 0 0;
  121. font-size: 16px;
  122. color: #1581ff;
  123. cursor: pointer;
  124. }
  125. .ntmw_main_box ul strong,
  126. .ntmw_edit_textarea strong,
  127. .ntmw_edit_word_box strong,
  128. .ntmw_question_li span{
  129. padding: 2px 3px;
  130. font-size: 12px;
  131. font-weight: normal;
  132. border-radius: 2px;
  133. border: 1px solid #ffe9a7;
  134. background: #fffaeb;
  135. vertical-align: middle;
  136. font-family: 'PingFangSC-Regular','Microsoft YaHei',sans-serif;
  137. }
  138. .ntmw_pop_box,
  139. .ntmw_question_box{
  140. overflow: hidden;
  141. padding: 20px 20px 0;
  142. }
  143. .ntmw_edit_textarea_box{
  144. position: relative;
  145. overflow: hidden;
  146. max-width: 510px;
  147. height: 100px;
  148. border-bottom: 1px solid #e9e9e9;
  149. margin-bottom: 10px;
  150. }
  151. .ntmw_edit_textarea{
  152. height: 100px;
  153. line-height: 30px;
  154. resize: none;
  155. outline: none;
  156. border: none;
  157. overflow-x: hidden;
  158. overflow-y: auto;
  159. cursor: auto;
  160. -webkit-user-select: text;
  161. -moz-user-select: text;
  162. -ms-user-select: text;
  163. user-select: text;
  164. white-space: normal;
  165. }
  166. .nice-validator [contenteditable]{
  167. display: inline;
  168. }
  169. ::-webkit-scrollbar {
  170. width: 5px;
  171. background-color: transparent
  172. }
  173. ::-webkit-scrollbar-thumb {
  174. border-radius: 2px;
  175. background-color: #e1e3e4
  176. }
  177. ::-webkit-scrollbar-thumb:hover {
  178. background-color: #e1e3e4
  179. }
  180. ::-webkit-scrollbar-buttond {
  181. display: none
  182. }
  183. .ntmw_edit_color_box,
  184. .ntmw_edit_word_box{
  185. overflow: hidden;
  186. margin: 10px 0;
  187. }
  188. .ntmw_edit_color_box strong{
  189. font-size: 14px;
  190. color: #666;
  191. font-weight: normal;
  192. vertical-align:middle;
  193. line-height: 20px;
  194. }
  195. .ntmw_edit_color_box span{
  196. position: relative;
  197. display: inline-block;
  198. vertical-align: middle;
  199. width: 16px;
  200. height: 16px;
  201. border-radius: 4px;
  202. margin-right: 10px;
  203. cursor: pointer;
  204. text-align: center;
  205. overflow: hidden;
  206. }
  207. .ntmw_edit_word_box{
  208. line-height: 26px;
  209. }
  210. .ntmw_edit_word_box span,
  211. .ntmw_edit_word_box strong{
  212. font-weight: normal;
  213. vertical-align: middle;
  214. color: #666;
  215. }
  216. .ntmw_edit_word_box strong{
  217. margin-left: 6px;
  218. cursor: pointer;
  219. }
  220. .ntmw_edit_word_box i{
  221. margin-left: 4px;
  222. color: #bbb;
  223. font-size: 16px;
  224. cursor: pointer;
  225. }
  226. .ntmw_question_li{
  227. overflow: hidden;
  228. font-size: 12px;
  229. color: #666;
  230. line-height: 26px;
  231. }
  232. .ntmw_question_box{
  233. border-bottom: 1px solid #e9e9e9;
  234. }
  235. .ntmw_edit_color_box .active:before{
  236. display: inline-block;
  237. font: normal normal normal 14px/1 FontAwesome;
  238. font-size: inherit;
  239. text-rendering: auto;
  240. -webkit-font-smoothing: antialiased;
  241. -moz-osx-font-smoothing: grayscale;
  242. content: "\f00c";
  243. font-size: 12px;
  244. color: #fff;
  245. text-align: center;
  246. line-height: 16px;
  247. }
  248. #f_url{
  249. width: 60%;
  250. display: inline-block;
  251. color: #1581ff;
  252. }
  253. .f_url_i_but{
  254. margin-left: 6px;
  255. display: inline-block;
  256. vertical-align: middle;
  257. }
  258. .f_url_i_but i{
  259. display: inline-block;
  260. height: 22px;
  261. width: 22px;
  262. background-color: #3292e0;
  263. text-align: center;
  264. color: #fff;
  265. cursor: pointer;
  266. line-height: 22px;
  267. }
  268. .img_txt_edit_url {
  269. margin-left: 6px;
  270. }
  271. .n-default .f_url .n-right{
  272. margin-top: 0;
  273. vertical-align:middle;
  274. }
  275. .n-default .f_url .msg-wrap{
  276. position: static;
  277. }
  278. .s_tag_footer span{
  279. margin-right: 20px;
  280. }
  281. a{
  282. opacity: .8;
  283. }
  284. a:hover{
  285. color: #fff;
  286. opacity: 1;
  287. }
  288. .s_tag_fans_num{
  289. display: inline-block;
  290. padding: 0 10px;
  291. height: 24px;
  292. font-size: 12px;
  293. color: #fff;
  294. background-color: #f0a233;
  295. border-radius: 2px;
  296. }
  297. a:active,
  298. a:focus {
  299. outline: none;
  300. text-decoration: none;
  301. color: #fff;
  302. }
  303. .s_tag_fans_show .s_tag_fans_allowed{
  304. display: inline-block;
  305. }
  306. .s_tag_fans_show .s_tag_fans_num{
  307. display: none;
  308. }
  309. .s_tag_fans_allowed{
  310. display: none;
  311. padding: 0 10px;
  312. height: 24px;
  313. font-size: 12px;
  314. color: #fff;
  315. background-color: #ddd;
  316. cursor: not-allowed;
  317. border-radius: 2px;
  318. }
  319. #time_div1, #time_div2 {
  320. position: static !important;
  321. }
  322. </style>
  323. <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  324. <input type="hidden" name="row[id]" class="img_txt_hidde_input" value="" id="select_msg_id" />
  325. <div class="form-group">
  326. <label for="module" class="control-label col-xs-12 col-sm-2">任务名称:</label>
  327. <div class="col-xs-12 col-sm-8">
  328. <input type="text" class="form-control" id="title" name="row[title]" maxlength="20" value="" data-rule="required" />
  329. </div>
  330. </div>
  331. <div class="form-group group-type">
  332. <input type="hidden" name="row[message_html]" class="img_txt_hidde_input" value="" id="select_ntmw" />
  333. <input type="hidden" name="row[tpid]" class="img_txt_hidde_input" value="" id="select_ntmw_id" />
  334. <input type="hidden" name="row[template_id]" class="img_txt_hidde_input" value="" id="select_template_id" />
  335. <input type="hidden" name="row[tpname]" class="img_txt_hidde_input" value="" id="select_tpname" />
  336. <label class="control-label col-xs-12 col-sm-2">选择模板:</label>
  337. <div class="col-xs-12 col-sm-8 ">
  338. <div class="ntmw_head_box">
  339. <div class="ntmw_head_select">
  340. <i class="fa fa-angle-down"></i>
  341. <strong data-value="0"></strong>
  342. <ul>
  343. </ul>
  344. </div>
  345. <div class="ntmw_but">刷新模板列表</div>
  346. </div>
  347. <div class="s_time_txt" style="color: red">提示:模板消息同步成功后,请确保模板id和微信公众平台的模板id一致,如果不一致,请再次同步或联系商务!</div>
  348. <!--ntmw_head_box-->
  349. <div class="ntmw_main_box">
  350. <h3></h3>
  351. <ul>
  352. </ul>
  353. </div>
  354. </div>
  355. </div>
  356. <!--消息内容 end-->
  357. <div class="form-group">
  358. <label for="module" class="control-label col-xs-12 col-sm-2">*跳转链接:</label>
  359. <div class="col-xs-12 col-sm-8 f_url">
  360. <input type="text" class="form-control" id="f_url" name="row[url]" maxlength="250" value="" data-rule="required" />
  361. <div class="f_url_i_but">
  362. <i class="fa fa-book img_txt_edit_book"></i>
  363. <i class="fa fa-chain img_txt_edit_url"></i>
  364. </div>
  365. </div>
  366. </div>
  367. <div class="form-group">
  368. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">{:__('Sendtime')}:</label>
  369. <div class="col-xs-12 col-sm-8">
  370. <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')}">
  371. <div class="s_time_box">
  372. <span stime="600000">10分钟后</span>
  373. <span stime="1800000">30分钟后</span>
  374. <span stime="3600000">1小时后</span>
  375. </div>
  376. <div class="s_time_txt">模板消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>
  377. </div>
  378. </div>
  379. <div class="form-group">
  380. <label for="status" class="control-label col-xs-12 col-sm-2">接收用户:</label>
  381. <div class="col-xs-12 col-sm-8">
  382. <div class="radio">
  383. <label for="type-tag"><input id="type-tag" checked name="row[type]" type="radio" value="tag"> 按标签选择</label>
  384. <label for="type-all"><input id="type-all" name="row[type]" type="radio" value="all"> 全部用户</label></div>
  385. </div>
  386. </div>
  387. <div class="form-group group-tag-type" id="group-tag-type-tag">
  388. <input type="hidden" id="usercondition" name="row[user_json]" class="img_txt_hidde_input_no" />
  389. <label for="c-text-content" class="control-label col-xs-12 col-sm-2"></label>
  390. <div class="col-xs-12 col-sm-8">
  391. <div class="s_tag_box">
  392. <div class="s_tag_li">
  393. <strong>性别:</strong>
  394. <div id="sex" class="s_tag_li_list">
  395. <span data-sex="-1" class="s_s_tag">不限</span>
  396. <span data-sex="1">男</span>
  397. <span data-sex="2">女</span>
  398. <span data-sex="0">保密</span>
  399. </div>
  400. </div>
  401. <div class="s_tag_li">
  402. <strong>手机系统:</strong>
  403. <div id="mobile_system" class="s_tag_li_list">
  404. <span data-mobile_system="0" class="s_s_tag">不限</span>
  405. <span data-mobile_system="1">Android系统</span>
  406. <span data-mobile_system="2">iOS系统</span>
  407. </div>
  408. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">*手机系统筛选条件仅针对老用户生效,新用户暂不支持该筛选条件</span>
  409. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">如客服消息针对新用户的按条件筛选发送,则手机系统筛选条件需选择不限</span>
  410. </div>
  411. <div class="s_tag_li">
  412. <strong>标签:</strong>
  413. <div id="ctag" class="s_tag_li_list">
  414. <span data-cid="-1" class="s_s_tag">不限</span>
  415. </div>
  416. </div>
  417. <div class="s_tag_li">
  418. <strong>消费情况:</strong>
  419. <div id="consume" class="s_tag_li_list">
  420. <span data-fee="-1" class="s_s_tag">不限</span>
  421. <span data-fee="1">未付费</span>
  422. <span data-fee="4">已付费</span>
  423. <span data-fee="2">普通付费</span>
  424. <span data-fee="3">年费会员</span>
  425. </div>
  426. </div>
  427. <div class="s_tag_li">
  428. <strong>书币剩余:</strong>
  429. <div id="kandian" class="s_tag_li_list">
  430. <span data-kandian="-1" class="s_s_tag">不限</span>
  431. <span data-kandian="1">低于500</span>
  432. <span data-kandian="2">低于2000</span>
  433. <span data-kandian="3">2000以上</span>
  434. </div>
  435. </div>
  436. <div class="s_tag_li">
  437. <strong>关注时间:</strong>
  438. <!-- <div id="subTime" class="s_tag_li_list">-->
  439. <!-- <span data-week="-1" class="s_s_tag">不限</span>-->
  440. <!-- <span data-week="1">1周内</span>-->
  441. <!-- <span data-week="2">2周内</span>-->
  442. <!-- <span data-week="3">1月内</span>-->
  443. <!-- <span data-week="4">2月内</span>-->
  444. <!-- <span data-week="5">更早</span>-->
  445. <!-- </div>-->
  446. <div id="subscribe_time1" class="s_tag_li_list" style="overflow: visible;height: 50px;">
  447. <span data-fee="-1" class="s_s_tag">不限</span>
  448. <span data-fee="6">12小时</span>
  449. <span data-fee="7">24小时</span>
  450. <span data-fee="8">48小时</span>
  451. <span data-fee="9">7天</span>
  452. <span data-fee="10">15天</span>
  453. <span data-fee="">自定义时间</span><br>
  454. </div>
  455. <div id="subscribe_time2" class="" style="margin-bottom: 10px;display: none;">
  456. <div id="time_div1" style="width: 200px;display: inline-block;"><input id="cdstarttime" 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>
  457. <div style="display: inline-block;">~</div>
  458. <div id="time_div2" style="width: 200px;display: inline-block;position: static !important"><input id="cdendtime" 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>
  459. </div>
  460. </div>
  461. <!--<div class="s_tag_footer">-->
  462. <!--<strong>符合条件的人数:</strong>-->
  463. <!--<span id="mustbe">约&#45;&#45;人</span>-->
  464. <!--<a href="javascript:;" class="s_tag_fans_num">查看粉丝数</a>-->
  465. <!--<div class="s_tag_fans_allowed">查看粉丝数</div>-->
  466. <!--</div>-->
  467. </div>
  468. </div>
  469. </div>
  470. <!-- 按标签选择 -->
  471. <div class="form-group">
  472. <label for="module" class="control-label col-xs-12 col-sm-2">测试粉丝ID:</label>
  473. <div class="col-xs-12 col-sm-8">
  474. <input id="admin_id" type="hidden" name="row[admin_id]" value="{$admin_id}" />
  475. <div class="test_fans_input"><input type="text" id="userId" placeholder="请输入粉丝id" /></div>
  476. <a href="javascript:;" class="test_fans_but">测试粉丝</a>
  477. <div class="s_time_txt">设置完后,您必须先测试发送,确认ok后才能保存<br>用测试粉丝账号进入服务号菜单中的用户中心-个人中心,填写完整粉丝数字ID
  478. <!--<br>测试ID,需与本服务号有过48小时互动-->
  479. </div>
  480. </div>
  481. </div>
  482. <div class="form-group {:input('get.callback')?'':'hidden layer-footer'}">
  483. <div class="col-xs-2"></div>
  484. <div class="col-xs-12 col-sm-8">
  485. <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
  486. <span class="s_time_txt" style="color: red">提示:必须先测试粉丝,才能够保存模板消息</span>
  487. </div>
  488. </div>
  489. </form>
  490. <style type="text/css">
  491. ::-webkit-input-placeholder{
  492. color:#d2d2d2;
  493. }
  494. :-moz-placeholder{
  495. color:#d2d2d2;
  496. }
  497. ::-moz-placeholder{
  498. color:#d2d2d2;
  499. }
  500. :-ms-input-placeholder{
  501. color:#d2d2d2;
  502. }
  503. input::-webkit-outer-spin-button,
  504. input::-webkit-inner-spin-button {
  505. -webkit-appearance: none !important;
  506. margin: 0;
  507. }
  508. .test_fans_input{
  509. float: left;
  510. padding: 6px 10px;
  511. height: 30px;
  512. width: 30%;
  513. border: 1px solid #ddd;
  514. box-sizing: border-box;
  515. }
  516. .test_fans_input input{
  517. display: block;
  518. margin: 0;
  519. padding: 0;
  520. width: 100%;
  521. height: 100%;
  522. border: 0;
  523. color: #666;
  524. font-size: 14px;
  525. outline: none;
  526. }
  527. .test_fans_but{
  528. display: block;
  529. margin: 0 0 10px 32%;
  530. height: 30px;
  531. width: 90px;
  532. background-color: #f0a233;
  533. font-size: 14px;
  534. color: #fff;
  535. text-align: center;
  536. line-height: 30px;
  537. }
  538. .s_time_box{
  539. overflow: hidden;
  540. }
  541. .s_time_box span{
  542. float: left;
  543. margin: 6px 10px 6px 0;
  544. height: 24px;
  545. font-size: 14px;
  546. line-height: 24px;
  547. cursor: pointer;
  548. color: #1581ff;
  549. }
  550. .s_time_txt{
  551. overflow: hidden;
  552. margin: 0 0 10px;
  553. font-size: 14px;
  554. color: #666;
  555. line-height: 24px;
  556. }
  557. .s_tag_box{
  558. overflow: hidden;
  559. padding: 20px 20px 0;
  560. background-color: #f1f1f1;
  561. }
  562. .s_tag_li,
  563. .s_tag_footer{
  564. overflow: hidden;
  565. }
  566. .s_tag_li strong{
  567. float: left;
  568. height: 36px;
  569. width: 90px;
  570. font-size: 14px;
  571. color: #666;
  572. text-align: right;
  573. font-weight: normal;
  574. line-height: 36px;
  575. }
  576. .s_tag_li_list{
  577. margin-left: 100px;
  578. overflow: hidden;
  579. }
  580. .s_tag_li_list span{
  581. overflow: hidden;
  582. float: left;
  583. margin: 6px 10px 6px 0;
  584. padding: 0 6px;
  585. height: 24px;
  586. color: #666;
  587. cursor: pointer;
  588. line-height: 24px;
  589. border-radius: 2px;
  590. }
  591. .s_tag_li_list .s_s_tag{
  592. background-color: #1581ff;
  593. color: #fff;
  594. }
  595. .s_tag_footer{
  596. margin-top: 10px;
  597. padding: 10px 0;
  598. border-top: 1px solid #ddd;
  599. line-height: 24px;
  600. }
  601. .s_tag_footer strong,
  602. .s_tag_footer span{
  603. display: inline;
  604. height: 24px;
  605. width: 90px;
  606. font-size: 14px;
  607. color: #666;
  608. text-align: right;
  609. font-weight: normal;
  610. line-height: 36px;
  611. }
  612. .img_txt_box{
  613. padding: 20px;
  614. width: 380px;
  615. background-color: #f1f1f1;
  616. box-sizing: border-box;
  617. }
  618. .img_txt_list{
  619. padding: 10px 0;
  620. background-color: #fff;
  621. }
  622. .img_txt_list > div:last-child{
  623. border-bottom: 0;
  624. }
  625. .img_txt_one{
  626. padding: 0 20px 10px;
  627. border-bottom: 1px solid #e9e9e9;
  628. }
  629. .img_txt_one_tit{
  630. overflow: hidden;
  631. margin-bottom: 10px;
  632. border-bottom: 1px solid #e9e9e9;
  633. cursor: pointer;
  634. }
  635. .img_txt_one_tit i,
  636. .img_txt_li_txt i{
  637. float: right;
  638. height: 22px;
  639. width: 22px;
  640. background-color: #3292e0;
  641. text-align: center;
  642. color: #fff;
  643. cursor: pointer;
  644. line-height: 22px;
  645. }
  646. .img_txt_one_h3,
  647. .img_txt_li_h3,
  648. .img_txt_one_url,
  649. .img_txt_li_url{
  650. overflow: hidden;
  651. margin: 0 26px 0 0;
  652. padding: 0 0 4px 0;
  653. font-size: 14px;
  654. color: rgba(0,0,0,0.6);
  655. line-height: 22px;
  656. }
  657. .img_txt_one_url,
  658. .img_txt_li_url{
  659. margin: 0 60px 0 0;
  660. }
  661. .img_txt_edit_url{
  662. margin-left: 6px;
  663. }
  664. .img_txt_li_h3{
  665. margin-bottom: 8px;
  666. height: 44px;
  667. }
  668. .img_txt_one_h3 input,
  669. .img_txt_li_h3 input,
  670. .img_txt_one_url input,
  671. .img_txt_li_url input{
  672. display: block;
  673. margin: 0;
  674. padding: 0;
  675. border: 0;
  676. width: 100%;
  677. height: 22px;
  678. font-size: 14px;
  679. color: rgba(0,0,0,0.6);
  680. outline: none;
  681. }
  682. .img_txt_one_url input,
  683. .img_txt_li_url input{
  684. color: #1581ff;
  685. }
  686. .img_txt_one_img{
  687. overflow: hidden;
  688. cursor: pointer;
  689. }
  690. .img_txt_one_img img{
  691. display: block;
  692. margin: 0;
  693. padding: 0;
  694. border: 0;
  695. width:100%;
  696. }
  697. .img_txt_li{
  698. position: relative;
  699. left: 0;
  700. top: 0;
  701. overflow: hidden;
  702. padding: 10px 20px;
  703. border-bottom: 1px solid #e9e9e9;
  704. }
  705. .img_txt_li_img{
  706. overflow: hidden;
  707. float: right;
  708. height: 78px;
  709. width: 78px;
  710. }
  711. .img_txt_li_img img{
  712. display: block;
  713. width: 78px;
  714. height: 78px;
  715. }
  716. .img_txt_li_txt{
  717. position: relative;
  718. left: 0;
  719. top: 0;
  720. margin: 0 88px 0 0;
  721. overflow: hidden;
  722. }
  723. .img_txt_li_txt a,
  724. .img_txt_one_tit a{
  725. display: block;
  726. overflow: hidden;
  727. padding: 3px 0;
  728. height: 26px;
  729. font-size: 14px;
  730. color: #1581ff;
  731. line-height: 20px;
  732. white-space: normal;
  733. word-break: break-all;
  734. word-wrap: break-word;
  735. box-sizing: border-box;
  736. }
  737. .img_txt_add_but{
  738. display: block;
  739. margin-top: 20px;
  740. height: 40px;
  741. font-size: 16px;
  742. color: #1581ff;
  743. text-align: center;
  744. line-height: 40px;
  745. }
  746. .img_txt_add_but i{
  747. font-size: 16px;
  748. vertical-align: middle;
  749. }
  750. .img_txt_remvoe{
  751. display: none;
  752. position: absolute;
  753. right: 0;
  754. bottom: 0;
  755. height: 36px;
  756. width: 36px;
  757. cursor: pointer;
  758. }
  759. .img_txt_li:hover .img_txt_remvoe{
  760. display: block;
  761. }
  762. .img_txt_remvoe:before {
  763. content: "";
  764. width: 0;
  765. height: 0;
  766. overflow: hidden;
  767. border: 18px solid transparent;
  768. border-bottom-color: #d0021b;
  769. border-right-color: #d0021b;
  770. _border-bottom-style: solid;
  771. _border-right-style: solid;
  772. position: absolute;
  773. left: 0;
  774. top: 0;
  775. }
  776. .img_txt_remvoe:after {
  777. content: "\f1f8";
  778. position: absolute;
  779. right: 2px;
  780. bottom: 2px;
  781. color: #fff;
  782. font-size: 16px;
  783. }
  784. </style>
  785. <script>
  786. var datas = {};
  787. var canedit = false;
  788. </script>