diy.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .xcx-module-container {
  2. width: 100%;
  3. /* height: 667px; */
  4. display: flex;
  5. flex-direction: column;
  6. /* top: 100px; */
  7. /* left: 530px; */
  8. /* position: absolute; */
  9. /* background: #fff; */
  10. box-shadow: #eee 0 0 12px;
  11. border-radius: 5px;
  12. /***页面标题***/
  13. /**模块大框架***/
  14. /**无模块***/
  15. /***模块项***/
  16. /**空白提示***/
  17. /***右侧操作按钮***/
  18. /***模块标题***/
  19. /***标题模块2***/
  20. /***导航模块***/
  21. /***多功能模块***/
  22. /***图文模块***/
  23. /***商品模块***/
  24. /***推荐模块***/
  25. /***顶部头图模块***/
  26. }
  27. .xcx-module-container .xcx-module {
  28. flex: 1;
  29. background: #f5f5f5;
  30. position: relative;
  31. height: 100%;
  32. overflow-y: auto;
  33. }
  34. .xcx-module-container .xcx-module::-webkit-scrollbar {
  35. width: 0;
  36. }
  37. .xcx-module-container .xcx-nomodule {
  38. width: 100%;
  39. height: 100%;
  40. display: flex;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .xcx-module-container .xcx-nomodule h2 {
  45. font-size: 15px;
  46. }
  47. .xcx-module-container .xcx-module-item {
  48. position: relative;
  49. }
  50. .xcx-module-container .xcx-module-item .xline {
  51. z-index: 2;
  52. position: absolute;
  53. display: none;
  54. }
  55. /* .xcx-module-container .xcx-module-item .xline:nth-child(1) {
  56. left: 0;
  57. border-left: 1px dashed #29c8a1;
  58. top: 0;
  59. height: 100%;
  60. }
  61. .xcx-module-container .xcx-module-item .xline:nth-child(2) {
  62. left: 0;
  63. border-top: 1px dashed #29c8a1;
  64. top: 0;
  65. width: 100%;
  66. }
  67. .xcx-module-container .xcx-module-item .xline:nth-child(3) {
  68. right: 0;
  69. border-right: 1px dashed #29c8a1;
  70. top: 0;
  71. height: 100%;
  72. }
  73. .xcx-module-container .xcx-module-item .xline:nth-child(4) {
  74. left: 0;
  75. border-bottom: 1px dashed #29c8a1;
  76. bottom: 0;
  77. width: 100%;
  78. } */
  79. .xcx-module-container .xcx-module-item.on .xline {
  80. display: block;
  81. }
  82. .xcx-module-container .placeholder {
  83. height: 80px;
  84. margin: 10px 0;
  85. display: flex;
  86. justify-content: center;
  87. background: #eee;
  88. color: #eee;
  89. align-items: center;
  90. border: 1px dashed #eee;
  91. }
  92. .xcx-module-container .placeholder.on {
  93. color: #29c8a1;
  94. border-color: #29c8a1;
  95. background: #e4fff1;
  96. }
  97. .xcx-module-container .xcx-module-option {
  98. position: absolute;
  99. top: 0;
  100. right: -25px;
  101. width: 25px;
  102. background: rgba(0, 0, 0, 0.6);
  103. z-index: 20;
  104. }
  105. .xcx-module-container .xcx-module-option li {
  106. cursor: pointer;
  107. }
  108. .xcx-module-container .xcx-module-option li span {
  109. height: 25px;
  110. transform: scale(1);
  111. display: block;
  112. font-size: 12px;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. color: #fff;
  117. }
  118. .xcx-module-container .xcx-module-option li:hover {
  119. background: #29c8a1;
  120. }
  121. .xcx-module-container .module-common {
  122. margin-top: 10px;
  123. position: relative;
  124. }
  125. .xcx-module-container .module-common .mg0 {
  126. margin-top: 0;
  127. }
  128. /**预览***/
  129. .xcx-preview {
  130. position: fixed;
  131. left: 0;
  132. right: 0;
  133. margin: auto;
  134. top: 50%;
  135. width: 375px;
  136. margin-top: -333px;
  137. z-index: 1000;
  138. }
  139. .xcx-preview .el-icon-close {
  140. position: absolute;
  141. width: 25px;
  142. height: 25px;
  143. right: -30px;
  144. top: 0;
  145. cursor: pointer;
  146. color: #fff;
  147. border: 1px solid #fff;
  148. border-radius: 50%;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. font-size: 16px;
  153. cursor: pointer;
  154. }
  155. .xcx-preview .xcx-module-container {
  156. position: static;
  157. top: 0;
  158. left: 0;
  159. box-shadow: none;
  160. border-radius: 0;
  161. }