edit.html 24 KB

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