index.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. html,body{
  6. background-color: #f1f4f6;
  7. }
  8. .img_txt_add_but:hover,.img_txt_add_but:active,.img_txt_add_but:focus,
  9. .textarea_txt_add_but:hover,.textarea_txt_add_but:active,.textarea_txt_add_but:focus{
  10. color: #1581ff
  11. }
  12. .textarea_txt_main,
  13. .textarea_txt_box{
  14. overflow: hidden;
  15. }
  16. .textarea_txt_box{
  17. }
  18. .textarea_txt_box textarea{
  19. display: block;
  20. margin: 0;
  21. padding: 10px;
  22. width: 100%;
  23. height: 200px;
  24. font-size: 14px;
  25. line-height: 1.4;
  26. outline: none;
  27. border: 1px solid #ccc;
  28. resize: none;
  29. }
  30. .textarea_txt_but_box{
  31. overflow: hidden;
  32. padding: 10px 0;
  33. }
  34. .textarea_txt_but_box a{
  35. float: left;
  36. padding: 0 8px;
  37. margin-right: 10px;
  38. height: 30px;
  39. background-color: #f60;
  40. font-size: 14px;
  41. color: #fff;
  42. line-height: 30px;
  43. }
  44. .textarea_txt_error{
  45. overflow: hidden;
  46. padding: 10px 0 0;
  47. }
  48. .textarea_txt_error strong{
  49. float: left;
  50. height: 24px;
  51. color: #f60;
  52. font-size: 14px;
  53. font-weight: normal;
  54. line-height: 24px;
  55. }
  56. .textarea_txt_error span{
  57. float: right;
  58. height: 24px;
  59. color: #f60;
  60. font-size: 14px;
  61. font-weight: normal;
  62. line-height: 24px;
  63. }
  64. .switch_txt_but{
  65. display: block;
  66. height: 40px;
  67. width: 180px;
  68. background-color: #f60;
  69. color: #fff;
  70. font-size: 14px;
  71. text-align: center;
  72. line-height: 40px;
  73. border-radius: 3px;
  74. }
  75. .img_txt_url{
  76. overflow: hidden;
  77. padding: 20px 0;
  78. background-color: #fff;
  79. }
  80. .img_txt_url ul{
  81. display: block;
  82. }
  83. .img_txt_url li{
  84. position: relative;
  85. left: 0;
  86. top: 0;
  87. height: 50px;
  88. }
  89. .img_txt_url p{
  90. overflow: hidden;
  91. padding: 0 20px;
  92. height: 50px;
  93. font-size: 14px;
  94. text-align: left;
  95. color: #3292e0;
  96. line-height: 50px;
  97. display: -webkit-box;
  98. -webkit-box-orient: vertical;
  99. -webkit-line-clamp: 1;
  100. }
  101. .img_txt_tip_box{
  102. visibility: hidden;
  103. position: absolute;
  104. left: 0;
  105. top: 0;
  106. right: 0;
  107. bottom: 0;
  108. padding: 15px 0;
  109. background-color: rgba(0,0,0,.6);
  110. text-align: center;
  111. }
  112. .img_txt_url li:hover .img_txt_tip_box{
  113. visibility: visible;
  114. }
  115. .img_txt_tip_box i{
  116. overflow: hidden;
  117. display: inline-block;
  118. margin: 0 10px;
  119. height: 20px;
  120. width: 20px;
  121. font-size: 14px;
  122. color: #fff;
  123. text-align: center;
  124. line-height: 20px;
  125. border-radius: 20px;
  126. cursor: pointer;
  127. }
  128. .img_txt_tip_box i:hover{
  129. background-color: #1581ff;
  130. }
  131. .anticon_edit_box{
  132. overflow: hidden;
  133. padding: 20px;
  134. width: 520px;
  135. height: 120px;
  136. }
  137. .anticon_edit_select_tit_box,
  138. .anticon_edit_input_tit_box{
  139. margin: 10px 0;
  140. height: 30px;
  141. }
  142. .anticon_edit_select_tit_box strong,
  143. .anticon_edit_input_tit_box strong{
  144. float: left;
  145. height: 30px;
  146. margin-right: 10px;
  147. white-space: nowrap;
  148. font-weight: normal;
  149. font-size: 14px;
  150. color: #666;
  151. line-height: 30px;
  152. }
  153. .anticon_edit_select_tit_box p{
  154. overflow: hidden;
  155. float: left;
  156. margin-right: 20px;
  157. height: 30px;
  158. width: 250px;
  159. font-size: 14px;
  160. color: #666;
  161. line-height: 30px;
  162. display: -webkit-box;
  163. -webkit-box-orient: vertical;
  164. -webkit-line-clamp: 1;
  165. }
  166. .anticon_edit_select_tit_box a{
  167. overflow: hidden;
  168. float: left;
  169. margin-top: 4px;
  170. width: 22px;
  171. height: 22px;
  172. background-color: #f60;
  173. color: #fff;
  174. font-size: 14px;
  175. text-align: center;
  176. line-height: 22px;
  177. border-radius: 2px;
  178. }
  179. .anticon_edit_input_tit{
  180. overflow: hidden;
  181. padding: 4px 10px;
  182. float: left;
  183. height: 30px;
  184. border: 1px solid #ccc;
  185. width: 360px;
  186. box-sizing: border-box;
  187. border-radius: 2px;
  188. }
  189. .anticon_edit_input_tit input{
  190. margin: 0;
  191. padding: 0;
  192. border: 0;
  193. outline: none;
  194. display: block;
  195. height: 20px;
  196. width: 100%;
  197. font-size: 14px;
  198. color: #666;
  199. }
  200. .wxb-card-item{
  201. padding-bottom: 0;
  202. }
  203. table td,
  204. table tr{
  205. float: left;
  206. border: none !important;
  207. }
  208. .table-striped > tbody > tr:nth-of-type(odd),
  209. .table-striped > tbody > tr:hover{
  210. background:none;
  211. }
  212. .table-striped > tbody > tr:hover{
  213. position: relative;
  214. left: 0;
  215. top: 0;
  216. z-index: 1;
  217. }
  218. .table-striped >thead{
  219. display: none !important;
  220. }
  221. .fixed-table-body{
  222. padding: 10px;
  223. overflow: inherit;
  224. border: 0;
  225. }
  226. .bootstrap-table .table{
  227. border: 0;
  228. }
  229. .fixed-table-body .card-view .title{
  230. display: none;
  231. }
  232. .tweets-card-title p{
  233. overflow: hidden;
  234. font-size: 12px;
  235. color: #999;
  236. line-height: 24px;
  237. text-align: left;
  238. display: -webkit-box;
  239. -webkit-box-orient: vertical;
  240. -webkit-line-clamp: 1;
  241. }
  242. .fixed-table-toolbar{
  243. display: none;
  244. }
  245. .assignment_but_box{
  246. overflow: hidden;
  247. padding: 10px 0;
  248. margin-bottom: 20px;
  249. }
  250. .assignment_but_box a{
  251. float: left;
  252. margin: 10px;
  253. height: 50px;
  254. width: 190px;
  255. font-size: 18px;
  256. color: #000;
  257. text-align: center;
  258. line-height: 50px;
  259. }
  260. .assignment_but_box .hover{
  261. color: #fff;
  262. background-color: #09c;
  263. }
  264. .assignment_but_box a:hover,.assignment_but_box a:active,.assignment_but_box a:focus{
  265. color: #000;
  266. -webkit-transition: color 0s ease;
  267. transition: color 0s ease
  268. }
  269. .assignment_but_box a.hover:hover,.assignment_but_box a.hover:active,.assignment_but_box a.hover:focus{
  270. color: #fff;
  271. -webkit-transition: color 0s ease;
  272. transition: color 0s ease
  273. }
  274. .wxb-card-item-inner ul.footer-btns>li>a{
  275. font-size: 14px;
  276. color: #333;
  277. }
  278. .wxb-card-item-inner ul.article-list>li:first-child .article-item-title{
  279. text-align: left;
  280. }
  281. .popover{
  282. background-color: rgba(0,0,0,.9);
  283. }
  284. .popover.top > .arrow:after {
  285. border-top-color: rgba(0,0,0,.9);
  286. }
  287. .msg_popover_but_box{
  288. display: block;
  289. }
  290. .msg_popover_but_box a{
  291. display: block;
  292. margin: 4px 0;
  293. font-size: 12px;
  294. color: #fff;
  295. line-height: 20px;
  296. }
  297. .msg_popover_html{
  298. display: none;
  299. }
  300. a.btn.btn-success.btn-add.btn-new {
  301. position: absolute;
  302. left: 75%;
  303. }
  304. </style>
  305. <div class="panel panel-default panel-intro">
  306. {:build_heading()}
  307. <div class="panel-body">
  308. <div id="myTabContent" class="tab-content">
  309. <div class="assignment_but_box">
  310. <a href="/admin/vipcustom/vipimagetextmedia/index?addtabs=1" class="hover" data-but="-1">图文客服消息素材库</a>
  311. <a href="/admin/vipcustom/vipimagetextmediapush/index?addtabs=1&status=0" data-but="1">待群发</a>
  312. <a href="/admin/vipcustom/vipimagetextmediapush/index?addtabs=1&status=1" data-but="2">群发中</a>
  313. <a href="/admin/vipcustom/vipimagetextmediapush/index?addtabs=1&status=2" data-but="3">已群发</a>
  314. </div>
  315. <div class="tab-pane fade active in" id="one">
  316. <div class="widget-body no-padding">
  317. <div id="toolbar" class="toolbar">
  318. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  319. <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('message/media/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
  320. <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('message/media/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  321. <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('message/media/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
  322. <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('message/media/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
  323. <div class="dropdown btn-group {:$auth->check('message/media/multi')?'':'hide'}">
  324. <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
  325. <ul class="dropdown-menu text-left" role="menu">
  326. <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
  327. <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
  328. </ul>
  329. </div>
  330. </div>
  331. <div id="myTabContent" class="tab-content">
  332. <div class="tab-pane fade active in" id="one">
  333. <div><a href="/admin/vipcustom/createcustom/addimagetext" class="btn btn-success btn-add btn-new {:$auth->check('vipcustom/createcustom/addimagetext')?'':'hide'}" title="{:__('Add')}" >{:__('添加图文客服消息')}</a></div>
  334. <div class="widget-body no-padding">
  335. <table id="table" class="table table-striped table-bordered table-hover"
  336. data-operate-edit="{:$auth->check('book/book/edit')}"
  337. width="100%">
  338. </table>
  339. </div>
  340. </div>
  341. </div>
  342. </div>
  343. </div>
  344. </div>
  345. </div>
  346. </div>
  347. <div id="title-select">
  348. <title-select :select="select" title="选择标题" bind=".anticon_edit_select_tit_box_a"></title-select>
  349. </div>