qimall.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  1. * {
  2. box-sizing: border-box;
  3. }
  4. :root {
  5. --primary: #409eff;
  6. --success: #48c978;
  7. --danger: #F56C6C;
  8. --textGray: #999999;
  9. }
  10. .text-color-primary {
  11. color: var(--primary, #409eff);
  12. }
  13. .text-color-success {
  14. color: var(--success, #67C23A)
  15. }
  16. .text-color-danger {
  17. color: var(--danger, #F56C6C)
  18. }
  19. /* 滚动条背景 */
  20. ::-webkit-scrollbar {
  21. width: 8px;
  22. height: 8px;
  23. background: rgba(0, 0, 0, 0.05);
  24. box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.15);
  25. padding: 0;
  26. border: none;
  27. overflow-x: visible;
  28. }
  29. /* 滚动条滑块 */
  30. ::-webkit-scrollbar-thumb {
  31. background: rgba(0, 0, 0, 0.25);
  32. padding: 0;
  33. border: none;
  34. width: 20px;
  35. }
  36. @font-face {
  37. font-family: "HarmonyOS";
  38. src: url("ttf/HarmonyOS_Sans_Regular.TTF") format("truetype");
  39. }
  40. body {
  41. font-size: 13px;
  42. font-family: 'HarmonyOS', sans-serif;
  43. }
  44. [text-sm] {
  45. font-size: 12px;
  46. }
  47. [text-success] {
  48. color: #67C23A;
  49. }
  50. [text-warning] {
  51. color: #E6A23C;
  52. }
  53. [text-danger] {
  54. color: #F56C6C;
  55. }
  56. [text-info] {
  57. color: #909399;
  58. }
  59. .el-pagination[center] {
  60. text-align: center;
  61. padding: 15px 0;
  62. }
  63. .table-body, .form-body{
  64. padding: 20px;
  65. background-color: #FFFFFF;
  66. }
  67. #_header {
  68. /* background-color: #313131; */
  69. /* height: 64px; */
  70. background: #FFFFFF;
  71. box-shadow: 3px 5px 20px rgba(0, 0, 0, 0.16);
  72. opacity: 1;
  73. }
  74. .el-input .el-input__count .el-input__count-inner {
  75. background: #FFF;
  76. display: inline-block;
  77. padding: 0 5px;
  78. line-height: normal;
  79. }
  80. .el-form--label-top .el-form-item__label {
  81. float: none;
  82. display: inline-block;
  83. text-align: left;
  84. padding: 0;
  85. font-size:13px;
  86. }
  87. .el-form-item__content {
  88. font-size: 13px;
  89. }
  90. .el-switch__label * {
  91. font-size: 13px;
  92. }
  93. .el-dialog__body {
  94. padding: 10px 10px;
  95. }
  96. .el-dialog__title {
  97. line-height: 24px;
  98. font-size: 14px;
  99. font-weight: 700;
  100. color: #303133;
  101. }
  102. .el-table td, .el-table th {
  103. padding: 5px 0;
  104. }
  105. html,
  106. body {
  107. min-height: 100%;
  108. padding: 0;
  109. margin: 0;
  110. }
  111. p,
  112. ul,
  113. ol,
  114. li {
  115. padding: 0;
  116. margin: 0;
  117. border: 0;
  118. }
  119. ul {
  120. list-style: none;
  121. }
  122. a {
  123. color: #419EFB;
  124. text-decoration: none;
  125. }
  126. #app {
  127. height: 100%;
  128. }
  129. .el-header {
  130. padding: 0;
  131. }
  132. .el-container {
  133. height: 100%;
  134. }
  135. [v-cloak] {
  136. display: none !important;
  137. }
  138. input,
  139. textarea,
  140. select {
  141. appearance: none;
  142. outline: none !important;
  143. box-shadow: none;
  144. }
  145. .el-dialog {
  146. min-width: 600px;
  147. }
  148. /*新左侧菜单 start*/
  149. #_aside {
  150. position: relative;
  151. }
  152. .is-show-menu-2 {
  153. position: absolute;
  154. width: 30px;
  155. background: #F3F3F3;
  156. color: #A1A4A9;
  157. border-radius: 0 10px 10px 0;
  158. padding: 2px 8px;
  159. right: -30px;
  160. top: 17px;
  161. cursor: pointer;
  162. z-index: 10;
  163. }
  164. .menu-item {
  165. height: 60px;
  166. padding: 10px;
  167. }
  168. .left-menu {
  169. position: relative;
  170. width: 130px;
  171. /* height: 100%; */
  172. overflow-y: auto;
  173. -webkit-user-select: none;
  174. -moz-user-select: none;
  175. -ms-user-select: none;
  176. user-select: none;
  177. }
  178. .menu-item-box.active {
  179. width: 100%;
  180. /* height: 100%; */
  181. border-radius: 4px;
  182. background: #ebedf0;
  183. cursor: pointer;
  184. }
  185. /*一级菜单 start*/
  186. .aside-logo {
  187. height: 60px;
  188. width: 100%;
  189. /*background: #24303c;*/
  190. color: #f2f2f2;
  191. cursor: pointer;
  192. font-weight: bold;
  193. text-align: center;
  194. padding: 0 15px;
  195. }
  196. .aside-logo:hover {
  197. /*background: #30353a;*/
  198. /*color: #fff;*/
  199. /*background: #ffffff;*/
  200. /*color: #f2f2f2;*/
  201. }
  202. .aside-logo div {
  203. background: rgba(0, 0, 0, 0.5);
  204. padding: 6px 6px;
  205. width: 100%;
  206. border-radius: 3px;
  207. }
  208. .left-menu-1 {
  209. /*background: #24303c;*/
  210. background-color: #313131;
  211. cursor: pointer;
  212. width: 120px;
  213. }
  214. .menu-item-1 {
  215. color: #ffffff;
  216. }
  217. .menu-item-1.active {
  218. /* color: #000000; */
  219. background: #1C2536;
  220. }
  221. .menu-item-1.hover {
  222. color: #FFFFFF;
  223. background: #666666;
  224. cursor: pointer;
  225. }
  226. .menu-item-1 .icon {
  227. margin-right: 5px;
  228. }
  229. /*一级菜单 end*/
  230. /*二级菜单 start*/
  231. .left-menu-2 .is-show-menu-1 {
  232. position: absolute;
  233. width: 30px;
  234. background: #F3F3F3;
  235. color: #A1A4A9;
  236. border-radius: 10px 0 0 10px;
  237. padding: 2px 8px;
  238. right: 0;
  239. top: 17px;
  240. cursor: pointer;
  241. }
  242. .menu-item-2 {
  243. cursor: pointer;
  244. }
  245. .menu-item-2.active {
  246. background: #edf6ff;
  247. color: #409eff;
  248. }
  249. .menu-item-2-title {
  250. color: #909399;
  251. border-bottom: 1px solid #E6E6E6;
  252. padding-left: 28px;
  253. }
  254. .menu-item-2:hover {
  255. color: #5DA8FC;
  256. }
  257. .menu-item-2 .icon-box {
  258. width: 14px;
  259. margin-right: 5px;
  260. }
  261. /*二级菜单 end*/
  262. /*三级菜单 start*/
  263. .menu-item-3 {
  264. cursor: pointer;
  265. margin-left: 12px !important;
  266. }
  267. .menu-item-3.active {
  268. background: #edf6ff;
  269. color: #409eff;
  270. }
  271. .menu-item-3:hover {
  272. color: #409eff;
  273. }
  274. .menu-item-3 .icon-box {
  275. width: 14px;
  276. margin-right: 5px;
  277. }
  278. /*三级菜单 end*/
  279. /*定义元素最终移动到的位置,以及移动到此位置需要的时间*/
  280. .slide-enter-active,
  281. .slide-leave-active {
  282. transition: all .5s ease;
  283. }
  284. .slide-enter,
  285. .slide-leave-active {
  286. width: 0px !important;
  287. }
  288. .slide-leave,
  289. .slide-enter-active {
  290. width: 130px;
  291. }
  292. .tips-text{
  293. color:#999;
  294. font-size:12px;
  295. }
  296. .el-table th>.cell{
  297. color: #333;
  298. font-weight: bold;
  299. font-size: 14px;
  300. }
  301. .el-table {
  302. font-size: 13px;
  303. }
  304. .form-body {
  305. padding: 20px 60% 0 10px;
  306. background-color: #fff;
  307. margin-bottom: 20px;
  308. }
  309. .text {
  310. cursor: pointer;
  311. color: #419EFB;
  312. }
  313. /* 上传图片组件样式 */
  314. .card-coverimg {
  315. position: relative;
  316. width: 100px;
  317. height: 90px;
  318. }
  319. .card-upload {
  320. width: 80px;
  321. height: 80px;
  322. line-height: 80px;
  323. border: 1px dashed #ededed;
  324. text-align: center;
  325. color: #dad9d9;
  326. font-size: 30px;
  327. }
  328. .icon-close {
  329. position: absolute;
  330. top: -10px;
  331. left: 66px;
  332. }
  333. /* 上传图片组件样式 */
  334. /* diy组件公共样式 */
  335. .diy-model-cop{
  336. padding: 20px 19px 24px;
  337. /* margin: 9px 0; */
  338. border-bottom: 9px solid #F4F6F8;
  339. background: #FFF;
  340. }
  341. .diy-title{
  342. font-size: 14px;
  343. font-weight: bold;
  344. color: #333333;
  345. }
  346. .diy-name{
  347. margin-right: 26px;
  348. min-width: 60px;
  349. text-align: end;
  350. }
  351. .diy-text-btn{
  352. background: #F4F3F7;
  353. border-radius: 3px;
  354. font-size: 14px;
  355. color: #666666;
  356. padding: 5px 9px;
  357. min-width: 86px;
  358. max-width: 86px;
  359. }
  360. .diy-text-btn .el-input__inner{
  361. background: none;
  362. border: none;
  363. height: 100%;
  364. padding: 0;
  365. color: #666666;
  366. }
  367. .over1{
  368. white-space:nowrap;
  369. text-overflow:ellipsis;
  370. overflow:hidden;
  371. }
  372. .over2 {
  373. text-overflow: -o-ellipsis-lastline;
  374. overflow: hidden;
  375. text-overflow: ellipsis;
  376. display: -webkit-box;
  377. -webkit-line-clamp: 2;
  378. -webkit-box-orient: vertical;
  379. }
  380. /* 带标题的card */
  381. .edit-card {
  382. margin-bottom: 20px;
  383. }
  384. .card-title {
  385. display: inline-block;
  386. width: auto;
  387. line-height: 28px;
  388. font-size: 14px;
  389. color: #333;
  390. overflow: hidden;
  391. text-overflow: ellipsis;
  392. white-space: nowrap;
  393. font-weight: 700;
  394. }
  395. .card-sub-title {
  396. color: #999;
  397. font-size: 12px;
  398. font-weight: 400;
  399. padding-left: 5px;
  400. }
  401. /* 公共宽度css */
  402. .width-150 {
  403. width: 150px;
  404. }
  405. .width-200 {
  406. width: 200px;
  407. }
  408. .width-350 {
  409. width: 350px;
  410. }
  411. .width-560 {
  412. width: 560px;
  413. }
  414. .table-info-img-text{
  415. display: flex;
  416. align-items: center;
  417. justify-content: flex-start;
  418. flex: 1
  419. }
  420. .table-info-img-text .table-info-img{
  421. width: 50px;
  422. height: 50px;
  423. min-width: 50px;
  424. }
  425. .circle{
  426. border-radius: 50%;
  427. }
  428. .table-info-img-text .table-info-text{
  429. margin-left: 5px;
  430. }