多媒体信息发布平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

616 lines
11 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. // start
  2. /**修改全局的滚动条*/
  3. /**滚动条的宽度*/
  4. ::-webkit-scrollbar {
  5. width: 8px;
  6. }
  7. //滚动条的滑块
  8. ::-webkit-scrollbar-thumb {
  9. background-color: #c1c1c1;
  10. border-radius: 3px;
  11. }
  12. .home_item {
  13. height: 248px;
  14. padding: 0 18px;
  15. background: #fff;
  16. border-radius: 4px;
  17. overflow: hidden;
  18. .home_item_title {
  19. display: flex;
  20. padding: 18px 0;
  21. border-bottom: 1px solid #eee;
  22. h4 {
  23. margin-left: 6px;
  24. font-size: 16px;
  25. color: #333333;
  26. }
  27. .iconfont {
  28. font-size: 16px;
  29. color: #3a8aeb;
  30. }
  31. }
  32. }
  33. // 获取验证码
  34. .auth_code {
  35. position: relative;
  36. .login-code {
  37. position: absolute;
  38. right: 0;
  39. top: 0;
  40. width: 33%;
  41. display: inline-block;
  42. height: 40px;
  43. img {
  44. cursor: pointer;
  45. vertical-align: middle;
  46. }
  47. span {
  48. position: relative;
  49. display: block;
  50. width: 100%;
  51. font-size: 12px;
  52. text-align: center;
  53. line-height: 40px;
  54. color: #33a1fa;
  55. cursor: pointer;
  56. &:before {
  57. content: "";
  58. position: absolute;
  59. left: 2px;
  60. top: 50%;
  61. width: 1px;
  62. height: 18px;
  63. margin-top: -9px;
  64. background-color: #e2e6ee;
  65. }
  66. }
  67. }
  68. }
  69. // table新增按钮
  70. .page_add {
  71. text-align: right;
  72. .table_add {
  73. padding: 0 24px;
  74. height: 28px;
  75. border-radius: 14px;
  76. margin-top: 2px;
  77. }
  78. }
  79. .form_item {
  80. display: flex;
  81. margin: 0 10px;
  82. span {
  83. display: block;
  84. line-height: 32px;
  85. font-size: 14px;
  86. margin-right: 10px;
  87. color: #333;
  88. }
  89. }
  90. .list_table {
  91. margin-top: 20px;
  92. }
  93. .col_flex {
  94. display: flex;
  95. }
  96. // table内不同的btn
  97. .el-table {
  98. color: #333;
  99. font-size: 14px;
  100. .el-button {
  101. padding: 5px 8px;
  102. border: none !important;
  103. }
  104. .delt_btn {
  105. background-color: #ee5747 !important;
  106. }
  107. .start_btn {
  108. background-color: #3a8aeb !important;
  109. }
  110. .stop_btn {
  111. background-color: #faaf45 !important;
  112. }
  113. .record_btn {
  114. background: linear-gradient(to right, #fc8c6f, #fa544e) !important;
  115. }
  116. .top_btn {
  117. background-color: #2cca8c !important;
  118. }
  119. .top_btn_active {
  120. background-color: #a7acae !important;
  121. }
  122. }
  123. // 弹框定位居中
  124. .el-dialog {
  125. margin-top: 0 !important;
  126. top: 50%;
  127. transform: translateY(-50%);
  128. -webkit-transform: translateY(-50%);
  129. -moz-transform: translateY(-50%);
  130. -ms-transform: translateY(-50%);
  131. -o-transform: translateY(-50%);
  132. }
  133. // 弹框内表单统一操作
  134. .el-dialog__body {
  135. max-height: 70vh !important;
  136. overflow-y: auto;
  137. .el-form-item {
  138. margin-bottom: 24px;
  139. }
  140. .el-form-item__label {
  141. line-height: 40px;
  142. color: #333;
  143. }
  144. .el-input__inner {
  145. // width: 336px;
  146. height: 40px;
  147. line-height: 40px;
  148. }
  149. .el-range-separator {
  150. line-height: 34px;
  151. }
  152. .el-date-editor {
  153. width: 336px;
  154. }
  155. }
  156. // 弹框header样式
  157. .el-dialog__header {
  158. position: relative;
  159. padding: 20px 0;
  160. margin: 0 24px;
  161. border-bottom: 1px solid #eee;
  162. &::before {
  163. content: "";
  164. position: absolute;
  165. left: -18px;
  166. top: 50%;
  167. width: 44px;
  168. height: 47px;
  169. margin-top: -24px;
  170. background: url(../images/t-zs.png) no-repeat left center;
  171. background-size: 100% 100%;
  172. }
  173. .el-dialog__title {
  174. color: #000;
  175. }
  176. // .el-dialog__headerbtn {
  177. // font-size: 20px;
  178. // top: 50%;
  179. // right: 0;
  180. // transform: translateY(-50%);
  181. // }
  182. }
  183. // 弹框底部-居中-btn样式
  184. .el-dialog__footer {
  185. padding: 10px 0 40px 0;
  186. text-align: center;
  187. .dialog-footer {
  188. .el-button {
  189. font-size: 14px;
  190. padding: 10px 36px;
  191. }
  192. .el-button--default {
  193. color: #3a8aeb;
  194. border-color: #3a8aeb;
  195. margin-left: 40px;
  196. }
  197. }
  198. }
  199. // 记录弹框
  200. .record_layer {
  201. .el-dialog__body {
  202. padding: 0 20px 30px 20px;
  203. color: #333;
  204. }
  205. }
  206. .item_list {
  207. display: flex;
  208. flex-wrap: wrap;
  209. }
  210. .item_cont {
  211. position: relative;
  212. width: 166px;
  213. height: 174px;
  214. overflow: hidden;
  215. background-color: #fff;
  216. border: 1px solid #f0f0f0;
  217. border-radius: 6px;
  218. margin: 0 10px 10px 0;
  219. img {
  220. display: block;
  221. width: 164px;
  222. height: 140px;
  223. }
  224. .radio_img {
  225. width: 164px;
  226. height: 140px;
  227. background: url(../../assets/images/t-yp.png) no-repeat #b3e8fa center;
  228. background-size: 98px 98px;
  229. }
  230. .item_player {
  231. position: absolute;
  232. top: 50%;
  233. left: 50%;
  234. width: 50px;
  235. height: 50px;
  236. background: rgba(255, 255, 255, 0.5);
  237. border-radius: 50%;
  238. margin: -25px 0 0 -25px;
  239. z-index: 999;
  240. }
  241. }
  242. .content_warp {
  243. i {
  244. font-style: normal;
  245. color: #999;
  246. }
  247. .el-tabs__header {
  248. padding: 0 24px;
  249. }
  250. .el-tabs__item {
  251. height: 48px;
  252. line-height: 48px;
  253. }
  254. .el-tabs__active-bar {
  255. background-color: transparent !important;
  256. }
  257. .el-tabs__nav-wrap::after {
  258. height: 1px;
  259. }
  260. }
  261. .el-range-editor--small {
  262. .el-range-separator {
  263. width: 24px;
  264. }
  265. }
  266. // 选择设备
  267. .step_form,
  268. .publish_layer {
  269. .el-radio-group {
  270. display: block;
  271. .el-radio {
  272. position: relative;
  273. line-height: 40px;
  274. .radio_tip {
  275. position: absolute;
  276. right: -45px;
  277. top: 0;
  278. display: block;
  279. width: 42px;
  280. height: 21px;
  281. line-height: 21px;
  282. font-size: 12px;
  283. text-align: center;
  284. color: #fff;
  285. background: url(~@/assets/images/an-tj.png) no-repeat;
  286. background-size: 42px 21px;
  287. }
  288. }
  289. }
  290. .select_all_tip {
  291. width: 336px;
  292. height: 32px;
  293. line-height: 32px;
  294. margin: -20px 0 0 100px;
  295. padding: 0 14px;
  296. font-size: 12px;
  297. color: #999;
  298. background: #fff;
  299. box-shadow: 0 0 5px rgba(0, 0, 0, 0.14);
  300. }
  301. .select_other {
  302. width: 600px;
  303. margin: -20px 0 0 100px;
  304. padding: 18px 23px;
  305. background: #f8f8f8;
  306. border: 1px solid #dcdde3;
  307. border-radius: 4px;
  308. font-size: 14px;
  309. .other_tip {
  310. line-height: 34px;
  311. span {
  312. display: inline-block;
  313. margin-left: 20px;
  314. }
  315. }
  316. .el-button {
  317. padding: 5px 8px;
  318. border: none !important;
  319. }
  320. .delt_btn {
  321. color: #fff;
  322. background-color: #ee5747 !important;
  323. }
  324. }
  325. }
  326. .step_form,
  327. .publish_layer,
  328. .add_device_layer {
  329. .el-tag--small {
  330. height: 28px;
  331. line-height: 26px;
  332. padding: 0 24px;
  333. margin: 18px 16px 0 0;
  334. font-size: 14px;
  335. cursor: pointer;
  336. // color: #3a8aeb;
  337. ::v-deep .el-icon-close {
  338. font-size: 16px;
  339. }
  340. }
  341. }
  342. .add_device_layer {
  343. .el-dialog__body {
  344. padding: 0 20px 30px 20px;
  345. }
  346. }
  347. // 弹框右上角多按钮
  348. .upload_layer {
  349. .upload_list_right {
  350. position: absolute;
  351. right: 24px;
  352. top: 24px;
  353. display: flex;
  354. font-size: 14px;
  355. font-weight: bold;
  356. color: #3a8aeb;
  357. cursor: pointer;
  358. .upload_return {
  359. margin-left: 16px;
  360. }
  361. }
  362. }
  363. // 主题库list
  364. .theme_img {
  365. display: flex;
  366. flex-wrap: wrap;
  367. .theme_item {
  368. position: relative;
  369. width: 160px;
  370. height: 284px;
  371. border: 1px solid #f0f0f0;
  372. border-radius: 4px;
  373. overflow: hidden;
  374. margin: 0 24px 24px 0;
  375. }
  376. img {
  377. display: block;
  378. width: 100%;
  379. height: 100%;
  380. }
  381. }
  382. .cont_upload {
  383. display: flex;
  384. flex-wrap: wrap;
  385. justify-content: center;
  386. align-content: center;
  387. border: 1px dashed #dcdde3;
  388. background: #f2f7ff;
  389. .el-button {
  390. display: block;
  391. width: 114px;
  392. height: 34px;
  393. padding: 0;
  394. font-size: 14px;
  395. border: none;
  396. }
  397. .cont_upload_btn {
  398. background: linear-gradient(to right, #fc8c6f, #fa544e) !important;
  399. }
  400. .mkdir_btn,
  401. .return_btn {
  402. margin-left: 0;
  403. margin-top: 16px;
  404. }
  405. .return_btn {
  406. span,
  407. a {
  408. display: block;
  409. height: 34px;
  410. line-height: 34px;
  411. }
  412. }
  413. }
  414. .folder {
  415. border: 1px solid #dcdde3;
  416. .icon_bg {
  417. display: flex;
  418. align-items: center;
  419. justify-content: center;
  420. height: 148px;
  421. background: #fff5dd;
  422. overflow: hidden;
  423. .icon {
  424. width: 104px;
  425. height: 89px;
  426. }
  427. img {
  428. width: 100%;
  429. height: 148px;
  430. }
  431. }
  432. }
  433. // 素材库/主题库选中
  434. .checked_btn {
  435. position: absolute;
  436. top: 10px;
  437. right: 10px;
  438. display: block;
  439. width: 24px;
  440. height: 24px;
  441. background: url(~@/assets/images/un_selected.png) no-repeat;
  442. background-size: 24px 24px;
  443. cursor: pointer;
  444. }
  445. .item_multi {
  446. border-color: #3a8aeb !important;
  447. .checked_btn {
  448. background: url(~@/assets/images/selected.png) no-repeat;
  449. }
  450. }
  451. // 主题-素材-资源格式样式
  452. .item_format {
  453. display: flex;
  454. position: absolute;
  455. left: 0;
  456. bottom: 38px;
  457. span {
  458. display: block;
  459. width: 47px;
  460. height: 18px;
  461. margin-left: 6px;
  462. text-align: center;
  463. background: #3a8aeb;
  464. color: #fff;
  465. font-size: 12px;
  466. line-height: 18px;
  467. border-radius: 9px;
  468. &.item_time {
  469. width: auto;
  470. padding: 0 5px;
  471. }
  472. }
  473. }
  474. // 主题-素材-文件名样式
  475. .file_name {
  476. height: 32px;
  477. line-height: 32px;
  478. padding: 0 10px;
  479. font-size: 14px;
  480. color: #333;
  481. display: -webkit-box;
  482. -webkit-box-orient: vertical;
  483. -webkit-line-clamp: 1;
  484. overflow: hidden;
  485. text-overflow: ellipsis;
  486. -moz-user-select: none; /*火狐*/
  487. -webkit-user-select: none; /*webkit浏览器*/
  488. -ms-user-select: none; /*IE10*/
  489. -khtml-user-select: none; /*早期浏览器*/
  490. user-select: none;
  491. }
  492. // 首页-主题库-按钮
  493. .home_publish_btn {
  494. position: absolute;
  495. top: 14px;
  496. right: 26px;
  497. z-index: 999;
  498. .el-button {
  499. padding: 8px 20px;
  500. margin-left: 20px;
  501. font-size: 14px;
  502. color: #fff;
  503. border: none;
  504. &.el_button_red {
  505. background: linear-gradient(to right, #fc8c6f, #fa544e);
  506. }
  507. &.el_button_green {
  508. background: linear-gradient(to right, #43c7b8, #3dd3ae);
  509. }
  510. }
  511. }
  512. // 素材-主题库-list-上传历史/多选btn
  513. .material_btn {
  514. position: absolute;
  515. right: 24px;
  516. top: 13px;
  517. .el-button {
  518. padding: 0 20px;
  519. height: 28px;
  520. border-color: #3a8aeb;
  521. &:last-child {
  522. padding: 0 25px;
  523. color: #3a8aeb;
  524. }
  525. }
  526. }
  527. // 素材-主题库-list- 多选之后操作
  528. .multi_handle {
  529. display: flex;
  530. position: fixed;
  531. bottom: 60px;
  532. left: 50%;
  533. // width: 1100px;
  534. padding: 25px 150px;
  535. background: rgba(0, 0, 0, 0.5);
  536. border-radius: 4px;
  537. transform: translateX(-40%);
  538. .mulit_btn {
  539. padding: 0 24px;
  540. height: 34px;
  541. font-size: 14px;
  542. color: #333;
  543. border: none;
  544. margin: 0 24px;
  545. background-color: #fff;
  546. }
  547. .mulit_delt_btn {
  548. background-color: #ec414d;
  549. color: #fff;
  550. }
  551. }
  552. // 移动至 - 文件夹弹框
  553. .wjj_layer {
  554. ::v-deep .el-dialog__body {
  555. padding: 30px 24px;
  556. }
  557. .wjj_list {
  558. display: flex;
  559. flex-wrap: wrap;
  560. .wjj_item {
  561. display: flex;
  562. flex-wrap: wrap;
  563. align-content: center;
  564. justify-content: center;
  565. width: 96px;
  566. height: 104px;
  567. cursor: pointer;
  568. &.wjj_item_active {
  569. background: #e8f3ff;
  570. border: 1px solid #428fec;
  571. }
  572. .font-icon {
  573. width: 64px;
  574. height: 55px;
  575. }
  576. .wjj_name {
  577. width: 100%;
  578. font-size: 14px;
  579. color: #333;
  580. margin-top: 8px;
  581. text-align: center;
  582. }
  583. }
  584. }
  585. }
  586. // end