add.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <link rel="stylesheet" href="/assets/libs/element-ui/index.css">
  2. <link rel="stylesheet" href="/assets/dist/component/main.css">
  3. <link rel="stylesheet" href="/assets/css/tuwen.css" />
  4. <style type="text/css">
  5. .img_txt_add_but:hover,.img_txt_add_but:active,.img_txt_add_but:focus,
  6. .textarea_txt_add_but:hover,.textarea_txt_add_but:active,.textarea_txt_add_but:focus{
  7. color: #1581ff
  8. }
  9. .textarea_txt_main,
  10. .textarea_txt_box{
  11. overflow: hidden;
  12. }
  13. .textarea_txt_box{
  14. }
  15. .textarea_txt_box textarea{
  16. display: block;
  17. margin: 0;
  18. padding: 10px;
  19. width: 100%;
  20. height: 200px;
  21. font-size: 14px;
  22. line-height: 1.4;
  23. outline: none;
  24. border: 1px solid #ccc;
  25. resize: none;
  26. }
  27. .textarea_txt_but_box{
  28. overflow: hidden;
  29. padding: 10px 0;
  30. }
  31. .textarea_txt_but_box a{
  32. float: left;
  33. padding: 0 8px;
  34. margin-right: 10px;
  35. height: 30px;
  36. background-color: #f60;
  37. font-size: 14px;
  38. color: #fff;
  39. line-height: 30px;
  40. }
  41. .textarea_txt_error{
  42. overflow: hidden;
  43. padding: 10px 0 0;
  44. }
  45. .textarea_txt_error strong{
  46. float: left;
  47. height: 24px;
  48. color: #f60;
  49. font-size: 14px;
  50. font-weight: normal;
  51. line-height: 24px;
  52. }
  53. .textarea_txt_error span{
  54. float: right;
  55. height: 24px;
  56. color: #f60;
  57. font-size: 14px;
  58. font-weight: normal;
  59. line-height: 24px;
  60. }
  61. .switch_txt_but{
  62. display: block;
  63. height: 40px;
  64. width: 180px;
  65. background-color: #f60;
  66. color: #fff;
  67. font-size: 14px;
  68. text-align: center;
  69. line-height: 40px;
  70. border-radius: 3px;
  71. }
  72. .img_txt_url{
  73. overflow: hidden;
  74. padding: 20px 0;
  75. background-color: #fff;
  76. }
  77. .img_txt_url ul{
  78. display: block;
  79. }
  80. .img_txt_url li{
  81. position: relative;
  82. left: 0;
  83. top: 0;
  84. height: 50px;
  85. }
  86. .img_txt_url p{
  87. overflow: hidden;
  88. padding: 0 20px;
  89. height: 50px;
  90. font-size: 14px;
  91. text-align: left;
  92. color: #3292e0;
  93. line-height: 50px;
  94. display: -webkit-box;
  95. -webkit-box-orient: vertical;
  96. -webkit-line-clamp: 1;
  97. }
  98. .img_txt_tip_box{
  99. visibility: hidden;
  100. position: absolute;
  101. left: 0;
  102. top: 0;
  103. right: 0;
  104. bottom: 0;
  105. padding: 15px 0;
  106. background-color: rgba(0,0,0,.6);
  107. text-align: center;
  108. }
  109. .img_txt_url li:hover .img_txt_tip_box{
  110. visibility: visible;
  111. }
  112. .img_txt_tip_box i{
  113. overflow: hidden;
  114. display: inline-block;
  115. margin: 0 10px;
  116. height: 20px;
  117. width: 20px;
  118. font-size: 14px;
  119. color: #fff;
  120. text-align: center;
  121. line-height: 20px;
  122. border-radius: 20px;
  123. cursor: pointer;
  124. }
  125. .img_txt_tip_box i:hover{
  126. background-color: #1581ff;
  127. }
  128. .anticon_edit_box{
  129. overflow: hidden;
  130. padding: 20px;
  131. width: 520px;
  132. height: 120px;
  133. }
  134. .anticon_edit_select_tit_box,
  135. .anticon_edit_input_tit_box{
  136. margin: 10px 0;
  137. height: 30px;
  138. }
  139. .anticon_edit_select_tit_box strong,
  140. .anticon_edit_input_tit_box strong{
  141. float: left;
  142. height: 30px;
  143. margin-right: 10px;
  144. white-space: nowrap;
  145. font-weight: normal;
  146. font-size: 14px;
  147. color: #666;
  148. line-height: 30px;
  149. }
  150. .anticon_edit_select_tit_box p{
  151. overflow: hidden;
  152. float: left;
  153. margin-right: 20px;
  154. height: 30px;
  155. width: 250px;
  156. font-size: 14px;
  157. color: #666;
  158. line-height: 30px;
  159. display: -webkit-box;
  160. -webkit-box-orient: vertical;
  161. -webkit-line-clamp: 1;
  162. }
  163. .anticon_edit_select_tit_box a{
  164. overflow: hidden;
  165. float: left;
  166. margin-top: 4px;
  167. width: 22px;
  168. height: 22px;
  169. background-color: #f60;
  170. color: #fff;
  171. font-size: 14px;
  172. text-align: center;
  173. line-height: 22px;
  174. border-radius: 2px;
  175. }
  176. .anticon_edit_input_tit{
  177. overflow: hidden;
  178. padding: 4px 10px;
  179. float: left;
  180. height: 30px;
  181. border: 1px solid #ccc;
  182. width: 360px;
  183. box-sizing: border-box;
  184. border-radius: 2px;
  185. }
  186. .anticon_edit_input_tit input{
  187. margin: 0;
  188. padding: 0;
  189. border: 0;
  190. outline: none;
  191. display: block;
  192. height: 20px;
  193. width: 100%;
  194. font-size: 14px;
  195. color: #666;
  196. }
  197. .wxb-card-item{
  198. padding-bottom: 0;
  199. }
  200. .layui-layer-fast .layui-layer-btn .layui-layer-btn0{
  201. background-color: red!important;
  202. border-color: red!important;
  203. }
  204. .layui_txt{
  205. padding:20px;
  206. height:100%;
  207. width:100%;
  208. color:#000;
  209. text-align: left;
  210. line-height: 24px;
  211. }
  212. #time_div1, #time_div2 {
  213. position: static !important;
  214. }
  215. </style>
  216. <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  217. <div class="form-group">
  218. <label for="module" class="control-label col-xs-12 col-sm-2">标题:</label>
  219. <div class="col-xs-12 col-sm-8">
  220. <input type="text" class="form-control" id="title" name="row[title]" maxlength="20" value="" data-rule="required" />
  221. </div>
  222. </div>
  223. <div class="form-group group-type" id="group-type-news" {if condition="$addtype != 'typeimg' "}style="display: none"{/if}>
  224. <label class="control-label col-xs-12 col-sm-2">消息内容:</label>
  225. <div class="col-sm-5 new-template-wrap">
  226. <div class="img_txt_box">
  227. <div class="img_txt_list">
  228. <div class="wxb-card-list-scroll"></div>
  229. </div>
  230. <a href="javascript:;" class="img_txt_add_but"><i class="fa fa-plus-square-o"></i> 添加图文</a>
  231. <input type="hidden" name="row[message_json]" class="img_txt_hidden_input">
  232. </div>
  233. </div>
  234. </div>
  235. <!--图文消息列表 end-->
  236. <div class="form-group group-type" id="group-type-news_txt" {if condition="$addtype == 'typeimg' "}style="display: none"{/if}>
  237. <label class="control-label col-xs-12 col-sm-2">消息内容:</label>
  238. <div class="col-sm-5 new-template-wrap">
  239. <div class="img_txt_box">
  240. <div class="img_txt_list">
  241. </div>
  242. <a href="javascript:;" class="textarea_txt_add_but"><i class="fa fa-plus-square-o"></i> 添加消息</a>
  243. <input type="hidden" name="row[message_text]" class="textarea_txt_hidden_input">
  244. </div>
  245. </div>
  246. </div>
  247. <input type="hidden" name="row[message_type]" class="msg_type" {if condition="$addtype == 'typeimg' "} value="0" {else} value="1" {/if}>
  248. <!--文本消息框 end-->
  249. <div class="form-group">
  250. <label for="c-sendtime" class="control-label col-xs-12 col-sm-2">{:__('Sendtime')}:</label>
  251. <div class="col-xs-12 col-sm-8">
  252. <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')}">
  253. <div class="s_time_box">
  254. <span stime="600000">10分钟后</span>
  255. <span stime="1800000">30分钟后</span>
  256. <span stime="3600000">1小时后</span>
  257. </div>
  258. <div class="s_time_txt">客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大</div>
  259. </div>
  260. </div>
  261. <div class="form-group">
  262. <label for="status" class="control-label col-xs-12 col-sm-2">接收用户:</label>
  263. <div class="col-xs-12 col-sm-8">
  264. <div class="radio">
  265. <label for="type-tag"><input id="type-tag" checked name="row[type]" type="radio" value="tag"> 按标签选择</label>
  266. <label for="type-all"><input id="type-all" name="row[type]" type="radio" value="all"> 全部用户</label></div>
  267. </div>
  268. </div>
  269. <div class="form-group group-tag-type" id="group-tag-type-tag">
  270. <input type="hidden" id="usercondition" name="row[user_json]" class="img_txt_hidde_input_no" />
  271. <label for="c-text-content" class="control-label col-xs-12 col-sm-2"></label>
  272. <div class="col-xs-12 col-sm-8">
  273. <div class="s_tag_box">
  274. <div class="s_tag_li">
  275. <strong>性别:</strong>
  276. <div id="sex" class="s_tag_li_list">
  277. <span data-sex="-1" class="s_s_tag">不限</span>
  278. <span data-sex="1">男</span>
  279. <span data-sex="2">女</span>
  280. <span data-sex="0">保密</span>
  281. </div>
  282. </div>
  283. <div class="s_tag_li">
  284. <strong>手机系统:</strong>
  285. <div id="mobile_system" class="s_tag_li_list">
  286. <span data-mobile_system="0" class="s_s_tag">不限</span>
  287. <span data-mobile_system="1">Android系统</span>
  288. <span data-mobile_system="2">iOS系统</span>
  289. </div>
  290. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">*手机系统筛选条件仅针对老用户生效,新用户暂不支持该筛选条件</span>
  291. <span style="margin-left: 100px;display: block;color: grey;font-size: 12px;">如客服消息针对新用户的按条件筛选发送,则手机系统筛选条件需选择不限</span>
  292. </div>
  293. <div class="s_tag_li">
  294. <strong>标签:</strong>
  295. <div id="ctag" class="s_tag_li_list">
  296. <span data-cid="-1" class="s_s_tag">不限</span>
  297. </div>
  298. </div>
  299. <div class="s_tag_li">
  300. <strong>消费情况:</strong>
  301. <div id="consume" class="s_tag_li_list">
  302. <span data-fee="-1" class="s_s_tag">不限</span>
  303. <span data-fee="1">未付费</span>
  304. <span data-fee="4">已付费</span>
  305. <span data-fee="2">普通付费</span>
  306. <span data-fee="3">年费会员</span>
  307. </div>
  308. </div>
  309. <div class="s_tag_li">
  310. <strong>书币剩余:</strong>
  311. <div id="kandian" class="s_tag_li_list">
  312. <span data-kandian="-1" class="s_s_tag">不限</span>
  313. <span data-kandian="1">低于500</span>
  314. <span data-kandian="2">低于2000</span>
  315. <span data-kandian="3">2000以上</span>
  316. </div>
  317. </div>
  318. <div class="s_tag_li">
  319. <strong>关注时间:</strong>
  320. <div id="subscribe_time1" class="s_tag_li_list" style="overflow: visible;height: 50px;">
  321. <span data-fee="-1" class="s_s_tag">不限</span>
  322. <span data-fee="6">12小时</span>
  323. <span data-fee="7">24小时</span>
  324. <span data-fee="8">48小时</span>
  325. <span data-fee="9">7天</span>
  326. <span data-fee="10">15天</span>
  327. <span data-fee="">自定义时间</span><br>
  328. </div>
  329. <div id="subscribe_time2" class="" style="margin-bottom: 10px;display: none;">
  330. <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>
  331. <div style="display: inline-block;">~</div>
  332. <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>
  333. </div>
  334. </div>
  335. <!--<div class="s_tag_footer">-->
  336. <!--<strong>符合条件的人数:</strong>-->
  337. <!--<span id="mustbe">约&#45;&#45;人</span>-->
  338. <!--<a href="javascript:;" class="s_tag_fans_num">查看粉丝数</a>-->
  339. <!--<div class="s_tag_fans_allowed">查看粉丝数</div>-->
  340. <!--</div>-->
  341. </div>
  342. </div>
  343. </div>
  344. <!-- 按标签选择 -->
  345. <div class="form-group">
  346. <label for="module" class="control-label col-xs-12 col-sm-2">测试粉丝ID:</label>
  347. <div class="col-xs-12 col-sm-8">
  348. <input id="admin_id" type="hidden" name="row[admin_id]" value="{$admin_id}" />
  349. <div class="test_fans_input"><input type="text" id="userId" placeholder="请输入粉丝id" /></div>
  350. <a href="javascript:;" class="test_fans_but">测试粉丝</a>
  351. <div class="s_time_txt">设置完后,建议您先测试发送,确认ok后再保存<br>用测试粉丝账号进入服务号菜单中的用户中心-个人中心,填写完整粉丝数字ID<br>测试ID,需与本服务号有过48小时互动</div>
  352. </div>
  353. </div>
  354. <input type="hidden" name="row[is_save_media]" class="js_is_save_media">
  355. <div class="form-group" style="padding-bottom: 80px;">
  356. <div class="col-xs-2"></div>
  357. <div class="col-xs-12 col-sm-8 btn_save_media_but">
  358. <button type="button" class="btn" onclick="window.history.go(-1)">取消</button>
  359. <button type="submit" class="btn btn-success btn-info" data-save-val="0">仅发送</button>
  360. <!--<button type="submit" class="btn btn-success btn-danger" data-save-val="1">发送且保存至素材库</button>-->
  361. </div>
  362. </div>
  363. </form>
  364. <div id="title-select">
  365. <title-select :select="select" title="选择标题" bind=".anticon_edit_select_tit_box_in"></title-select>
  366. </div>
  367. <style type="text/css">
  368. ::-webkit-input-placeholder{
  369. color:#d2d2d2;
  370. }
  371. :-moz-placeholder{
  372. color:#d2d2d2;
  373. }
  374. ::-moz-placeholder{
  375. color:#d2d2d2;
  376. }
  377. :-ms-input-placeholder{
  378. color:#d2d2d2;
  379. }
  380. input::-webkit-outer-spin-button,
  381. input::-webkit-inner-spin-button {
  382. -webkit-appearance: none !important;
  383. margin: 0;
  384. }
  385. .test_fans_input{
  386. float: left;
  387. padding: 6px 10px;
  388. height: 30px;
  389. width: 30%;
  390. border: 1px solid #ddd;
  391. box-sizing: border-box;
  392. }
  393. .test_fans_input input{
  394. display: block;
  395. margin: 0;
  396. padding: 0;
  397. width: 100%;
  398. height: 100%;
  399. border: 0;
  400. color: #666;
  401. font-size: 14px;
  402. outline: none;
  403. }
  404. .test_fans_but{
  405. display: block;
  406. margin: 0 0 10px 32%;
  407. height: 30px;
  408. width: 90px;
  409. background-color: #f0a233;
  410. font-size: 14px;
  411. color: #fff;
  412. text-align: center;
  413. line-height: 30px;
  414. }
  415. .s_time_box{
  416. overflow: hidden;
  417. }
  418. .s_time_box span{
  419. float: left;
  420. margin: 6px 10px 6px 0;
  421. height: 24px;
  422. font-size: 14px;
  423. line-height: 24px;
  424. cursor: pointer;
  425. color: #1581ff;
  426. }
  427. .s_time_txt{
  428. overflow: hidden;
  429. margin: 0 0 10px;
  430. font-size: 14px;
  431. color: #666;
  432. line-height: 24px;
  433. }
  434. .s_tag_box{
  435. padding: 20px 20px 0;
  436. background-color: #f1f1f1;
  437. }
  438. .s_tag_li,
  439. .s_tag_footer{
  440. overflow: hidden;
  441. }
  442. .s_tag_li strong{
  443. float: left;
  444. height: 36px;
  445. width: 90px;
  446. font-size: 14px;
  447. color: #666;
  448. text-align: right;
  449. font-weight: normal;
  450. line-height: 36px;
  451. }
  452. .s_tag_li_list{
  453. margin-left: 100px;
  454. overflow: hidden;
  455. }
  456. .s_tag_li_list span{
  457. overflow: hidden;
  458. float: left;
  459. margin: 6px 10px 6px 0;
  460. padding: 0 6px;
  461. height: 24px;
  462. color: #666;
  463. cursor: pointer;
  464. line-height: 24px;
  465. border-radius: 2px;
  466. }
  467. .s_tag_li_list .s_s_tag{
  468. background-color: #1581ff;
  469. color: #fff;
  470. }
  471. .s_tag_footer{
  472. margin-top: 10px;
  473. padding: 10px 0;
  474. border-top: 1px solid #ddd;
  475. line-height: 24px;
  476. }
  477. .s_tag_footer strong,
  478. .s_tag_footer span{
  479. display: inline;
  480. height: 24px;
  481. width: 90px;
  482. font-size: 14px;
  483. color: #666;
  484. text-align: right;
  485. font-weight: normal;
  486. line-height: 36px;
  487. }
  488. .img_txt_box{
  489. margin-bottom: 20px;
  490. padding: 20px;
  491. width: 320px;
  492. background-color: #f1f1f1;
  493. box-sizing: border-box;
  494. }
  495. .img_txt_box *,
  496. .img_txt_box{
  497. -webkit-touch-callout: none;
  498. -webkit-user-select: none;
  499. -khtml-user-select: none;
  500. -moz-user-select: none;
  501. -ms-user-select: none;
  502. user-select: none;
  503. }
  504. .img_txt_list{
  505. }
  506. .img_txt_one{
  507. padding: 0 20px 10px;
  508. border-bottom: 1px solid #e9e9e9;
  509. }
  510. .img_txt_one_tit{
  511. overflow: hidden;
  512. margin-bottom: 10px;
  513. border-bottom: 1px solid #e9e9e9;
  514. cursor: pointer;
  515. }
  516. .img_txt_one_tit i,
  517. .img_txt_li_txt i{
  518. float: right;
  519. height: 22px;
  520. width: 22px;
  521. background-color: #3292e0;
  522. text-align: center;
  523. color: #fff;
  524. cursor: pointer;
  525. line-height: 22px;
  526. }
  527. .img_txt_one_h3,
  528. .img_txt_li_h3,
  529. .img_txt_one_url,
  530. .img_txt_li_url{
  531. overflow: hidden;
  532. margin: 0 26px 0 0;
  533. padding: 0 0 4px 0;
  534. font-size: 14px;
  535. color: rgba(0,0,0,0.6);
  536. line-height: 22px;
  537. }
  538. .img_txt_one_url,
  539. .img_txt_li_url{
  540. margin: 0 60px 0 0;
  541. }
  542. .img_txt_edit_url,
  543. .img_txt_edit_book,
  544. .img_txt_edit_card_o,
  545. .img_txt_edit_bookmark_o{
  546. margin-left: 6px;
  547. }
  548. .img_txt_li_h3{
  549. margin-bottom: 8px;
  550. height: 44px;
  551. }
  552. .img_txt_one_h3 input,
  553. .img_txt_li_h3 input,
  554. .img_txt_one_url input,
  555. .img_txt_li_url input{
  556. display: block;
  557. margin: 0;
  558. padding: 0;
  559. border: 0;
  560. width: 100%;
  561. height: 22px;
  562. font-size: 14px;
  563. color: rgba(0,0,0,0.6);
  564. outline: none;
  565. }
  566. .img_txt_one_url input,
  567. .img_txt_li_url input{
  568. color: #1581ff;
  569. }
  570. .img_txt_one_img{
  571. overflow: hidden;
  572. cursor: pointer;
  573. }
  574. .img_txt_one_img img{
  575. display: block;
  576. margin: 0;
  577. padding: 0;
  578. border: 0;
  579. width:100%;
  580. }
  581. .img_txt_li{
  582. position: relative;
  583. left: 0;
  584. top: 0;
  585. overflow: hidden;
  586. padding: 10px 20px;
  587. border-bottom: 1px solid #e9e9e9;
  588. }
  589. .img_txt_li_img{
  590. overflow: hidden;
  591. float: right;
  592. height: 78px;
  593. width: 78px;
  594. }
  595. .img_txt_li_img img{
  596. display: block;
  597. width: 78px;
  598. height: 78px;
  599. }
  600. .img_txt_li_txt{
  601. position: relative;
  602. left: 0;
  603. top: 0;
  604. margin: 0 88px 0 0;
  605. overflow: hidden;
  606. }
  607. .img_txt_li_txt a,
  608. .img_txt_one_tit a{
  609. display: block;
  610. overflow: hidden;
  611. padding: 3px 0;
  612. height: 26px;
  613. font-size: 14px;
  614. color: #1581ff;
  615. line-height: 20px;
  616. white-space: normal;
  617. word-break: break-all;
  618. word-wrap: break-word;
  619. box-sizing: border-box;
  620. }
  621. .img_txt_add_but,
  622. .textarea_txt_add_but{
  623. display: block;
  624. height: 40px;
  625. font-size: 16px;
  626. color: #1581ff;
  627. text-align: center;
  628. line-height: 40px;
  629. }
  630. .img_txt_add_but i,
  631. .textarea_txt_add_but i{
  632. font-size: 16px;
  633. vertical-align: middle;
  634. }
  635. .img_txt_remvoe{
  636. display: none;
  637. position: absolute;
  638. right: 0;
  639. bottom: 0;
  640. height: 36px;
  641. width: 36px;
  642. cursor: pointer;
  643. }
  644. .img_txt_li:hover .img_txt_remvoe{
  645. display: block;
  646. }
  647. .img_txt_remvoe:before {
  648. content: "";
  649. width: 0;
  650. height: 0;
  651. overflow: hidden;
  652. border: 18px solid transparent;
  653. border-bottom-color: #d0021b;
  654. border-right-color: #d0021b;
  655. _border-bottom-style: solid;
  656. _border-right-style: solid;
  657. position: absolute;
  658. left: 0;
  659. top: 0;
  660. }
  661. .img_txt_remvoe:after {
  662. content: "\f1f8";
  663. position: absolute;
  664. right: 2px;
  665. bottom: 2px;
  666. color: #fff;
  667. font-size: 16px;
  668. }
  669. .s_tag_footer span{
  670. margin-right: 20px;
  671. }
  672. a{
  673. opacity: .8;
  674. }
  675. a:hover{
  676. color: #fff;
  677. opacity: 1;
  678. }
  679. .s_tag_fans_num{
  680. display: inline-block;
  681. padding: 0 10px;
  682. height: 24px;
  683. font-size: 12px;
  684. color: #fff;
  685. background-color: #f0a233;
  686. border-radius: 2px;
  687. }
  688. a:active,
  689. a:focus {
  690. outline: none;
  691. text-decoration: none;
  692. color: #fff;
  693. }
  694. .s_tag_fans_show .s_tag_fans_allowed{
  695. display: inline-block;
  696. }
  697. .s_tag_fans_show .s_tag_fans_num{
  698. display: none;
  699. }
  700. .s_tag_fans_allowed{
  701. display: none;
  702. padding: 0 10px;
  703. height: 24px;
  704. font-size: 12px;
  705. color: #fff;
  706. background-color: #ddd;
  707. cursor: not-allowed;
  708. border-radius: 2px;
  709. }
  710. </style>
  711. <script>
  712. var canedit = false;
  713. var datas = {};
  714. </script>