diy_member.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. .layui-layout-admin .layui-body {
  2. display: flex;
  3. flex-direction: column;
  4. }
  5. .layui-layout-admin .layui-body .footer {
  6. display: none;
  7. }
  8. .layui-layout-admin .layui-body .body-content {
  9. background: none;
  10. flex: 1;
  11. height: 0;
  12. padding: 0;
  13. margin: 0;
  14. }
  15. .layui-layout-admin .layui-body .diy-view {
  16. width: 100%;
  17. height: 100%;
  18. display: flex;
  19. flex-direction: column;
  20. }
  21. .body-content .footer-wrap {
  22. background: #fff;
  23. text-align: center;
  24. padding: 15px 400px 15px 15px;
  25. }
  26. .body-content .diy-wrap {
  27. flex: 1;
  28. height: 0;
  29. display: flex;
  30. }
  31. .body-content .diy-wrap .preview-wrap {
  32. flex: 1;
  33. width: 0;
  34. display: flex;
  35. justify-content: center;
  36. padding: 40px 20px;
  37. }
  38. .body-content .phone-wrap {
  39. width: 375px;
  40. height: 100%;
  41. background: #f3f3f3;
  42. overflow-y: auto;
  43. overflow-x: hidden;
  44. position: relative;
  45. border: 1px solid #ddd;
  46. }
  47. .body-content .preview-head{
  48. position: fixed;
  49. width: 375px;
  50. height: 64px;
  51. z-index: 5;
  52. }
  53. .body-content .preview-head img {
  54. width: 375px;
  55. height: 64px;
  56. }
  57. .body-content .phone-wrap::-webkit-scrollbar{
  58. display: none;
  59. }
  60. .body-content .component-wrap {
  61. position: relative;
  62. }
  63. .body-content .component-wrap .selected-area {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. width: 100%;
  68. height: 100%;
  69. display: none;
  70. box-sizing: border-box;
  71. cursor: pointer;
  72. pointer-events: none;
  73. }
  74. .body-content .component-wrap:hover .selected-area {
  75. display: block;
  76. border: 2px dashed var(--base-color);
  77. }
  78. .body-content .component-wrap.curr .selected-area {
  79. display: block;
  80. border: 2px solid var(--base-color);
  81. }
  82. .body-content .diy-wrap .edit-wrap {
  83. width: 380px;
  84. background: #fff;
  85. padding: 10px;
  86. overflow-y: scroll;
  87. }
  88. .body-content .diy-wrap .edit-wrap::-webkit-scrollbar {
  89. width: 3px;
  90. height: 3px;
  91. background-color: rgba(0, 0, 0, 0);
  92. }
  93. .body-content .diy-wrap .edit-wrap::-webkit-scrollbar-button {
  94. display: none;
  95. }
  96. .body-content .diy-wrap .edit-wrap::-webkit-scrollbar-thumb {
  97. border-radius: 3px;
  98. box-shadow: inset 0 0 3px rgba(45, 43, 43, 0.45);
  99. background-color: #ddd;
  100. }
  101. .body-content .diy-wrap .edit-wrap::-webkit-scrollbar-track {
  102. background-color: transparent;
  103. }
  104. .body-content .edit-wrap .edit-title{
  105. padding: 10px 12px 15px;
  106. border-bottom: 2px solid #f2f4f6;
  107. margin-bottom: 10px;
  108. color: #303133;
  109. display: flex;
  110. justify-content: space-between;
  111. align-items: center;
  112. }
  113. .edit-wrap .edit-title > span:first-child {
  114. font-size: 18px;
  115. flex: 1;
  116. width: 0;
  117. }
  118. .edit-wrap .edit-title .tab-wrap {
  119. display: flex;
  120. background-color: #f5f5f5;
  121. border-radius: 50px;
  122. font-size: 14px;
  123. }
  124. .edit-wrap .tab-wrap .tab-item {
  125. cursor: pointer;
  126. padding: 5px 15px;
  127. border-radius: 50px;
  128. }
  129. .edit-wrap .tab-wrap .active {
  130. background: var(--base-color);
  131. color: #fff;
  132. }
  133. .body-content .edit-wrap .group-title {
  134. padding: 10px;
  135. }
  136. .body-content .edit-wrap .slide-wrap {
  137. display: flex;
  138. align-items: center;
  139. padding-left: 10px;
  140. }
  141. .body-content .slide-wrap > div {
  142. flex: 1;
  143. }
  144. .body-content .edit-wrap .color-wrap {
  145. display: flex;
  146. align-items: center;
  147. }
  148. .body-content .color-wrap .color-text {
  149. flex: 1;
  150. width: 0;
  151. }
  152. .body-content .color-text span {
  153. margin-right: 5px;
  154. }
  155. .body-content .color-wrap .color-box {
  156. border: 1px solid #d7d7d7;
  157. cursor: pointer;
  158. margin-left: 10px;
  159. padding: 2px;
  160. border-radius: 2px;
  161. }
  162. .body-content .color-wrap .reset {
  163. margin-left: 10px;
  164. }
  165. .body-content .color-box > div {
  166. height: 16px;
  167. width: 34px;
  168. }
  169. .flexbox-fix-btn .btn {
  170. margin: 0px;
  171. line-height: 18px;
  172. font-size: 12px;
  173. }
  174. /* 选择图标风格 */
  175. .select-icon-style {
  176. position: fixed;
  177. width: 100vw;
  178. height: 100vh;
  179. left: 0;
  180. top: 0;
  181. z-index: 9999;
  182. }
  183. .select-icon-style .icon-style-wrap {
  184. position: absolute;
  185. background: #fff;
  186. border: 1px solid #ddd;
  187. right: 40px;
  188. margin-top: 15px;
  189. }
  190. .select-icon-style .icon-style-wrap iframe {
  191. width: 100%;
  192. height: 100%;
  193. }
  194. .img-upload, .upload-img-block {
  195. width: 60px;
  196. height: 60px;
  197. padding: 0;
  198. }
  199. .upload-img-block .upload-img-box .add {
  200. font-size: 26px;
  201. color: var(--base-color);
  202. }
  203. .upload-img-block .operation i {
  204. font-size: 16px!important;
  205. margin: 0 2px!important;
  206. line-height: 1;
  207. }
  208. .upload-img-block .operation > div:first-child {
  209. display: flex;
  210. align-items: center;
  211. justify-content: center;
  212. height: calc(100% - 20px);
  213. }
  214. .select-url {
  215. background: #fff;
  216. height: 32px;
  217. cursor: pointer;
  218. display: flex;
  219. align-items: end;
  220. color: #666;
  221. }
  222. .select-url .text {
  223. flex: 1;
  224. width: 0;
  225. white-space: nowrap;
  226. overflow: hidden;
  227. text-overflow:ellipsis;
  228. text-align: right;
  229. color: #000;
  230. }
  231. .select-url .layui-icon {
  232. font-size: 12px;
  233. margin-top: 1px;
  234. }