diyview.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. #diyView .layui-form-label.sm{width: 90px;font-size: 13px;}
  2. #diyView .layui-form-label.sm + .layui-input-block{margin-left: 100px;}
  3. .layui-form-select dl {z-index: 9999;}
  4. .layui-btn:hover {opacity: 1;}
  5. .footer{display:none;}
  6. .top-full-screen .layui-layout-admin .layui-body{top: 0;left: 0;}
  7. .layui-layout-admin .layui-body .body-content {min-height: initial;margin: 0;padding-top: 0;padding-bottom: 0; background: #fff;}
  8. .position-page-btn {position: absolute;left: 50%;margin-left: 140px;border-color: #f7f8fa;box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);z-index: 9;}
  9. /*快捷操作*/
  10. .quick-action{position: absolute;width: 42px;background: #fff;left: 50%;top: 20%;margin-left: 140px;border-radius: 4px;text-align: center;box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);z-index: 9;}
  11. .quick-action li{position: relative;}
  12. .quick-action li i {display: block;text-align: center;font-size: 20px;line-height: 40px;cursor: pointer;}
  13. .quick-action li.disabled i{color: #CECECE;/*cursor: not-allowed;*/}
  14. .quick-action li span {position: absolute;top: 5px;right: -60px;font-size: 14px;height: 30px;line-height: 30px;padding: 0 10px;background: #fff;border-radius: 4px;box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);display: none;}
  15. .quick-action li:not(.disabled):hover span {display: block;}
  16. .quick-action li span:after {content: "";position: absolute;left: -3px;top: 50%;margin-top: -3px;background: #fff;width: 6px;height: 6px;transform: rotate(45deg);}
  17. @keyframes spin {
  18. from {
  19. transform: rotate(0deg);
  20. }
  21. to {
  22. transform: rotate(360deg);
  23. }
  24. }
  25. .loading-layer {width: 400px;height: 525px;position: absolute;z-index: 997;background: #f8f8f8;left: 50%;top: 84px;margin-left: -270px;}
  26. .loading-anim {position: absolute;left: 50%;top: 40%;transform: translate(-50%, -50%);width: 35px;height: 35px;perspective: 800px;transform-style: preserve-3d;transition: all 0.2s ease-out;}
  27. .loading-anim > .item {position: relative;width: 35px;height: 35px;perspective: 800px;transform-style: preserve-3d;transition: all 0.2s ease-out;}
  28. .loading-anim .out {position: absolute;border-radius: 50%;
  29. border: 3px solid;top: 15%;left: 15%;width: 70%;height: 70%;
  30. border-left-color: var(--base-color);
  31. border-right-color: #C5C5C5;
  32. border-top-color: var(--base-color);
  33. border-bottom-color: #C5C5C5;
  34. animation: spin 0.6s linear normal infinite;
  35. perspective: 800px;
  36. transform-style: preserve-3d;
  37. transition: all 0.2s ease-out;}
  38. /* 顶部风格 */
  39. .nav-style {display: flex;flex-wrap: wrap;}
  40. .nav-style .text-title {margin-right: 2%;margin-bottom: 15px;width: 32%;height: 100px;line-height: 100px;border: 1px solid #cccc;background-color: #eee;display: inline-block;box-sizing: border-box;}
  41. .nav-style .text-title:nth-child(3n+3) {margin-right: 0;}
  42. .nav-style .text-title img {width: 100%}
  43. .template-edit-title {border-bottom: 5px solid #f6f7f9;}
  44. .template-edit-title:last-of-type{border-bottom: none;}
  45. .template-edit-title h3 {font-size: 14px;padding: 10px;color: #303133;}
  46. /*颜色选择器*/
  47. .colorSelector {display: inline-block;vertical-align: middle;cursor: pointer;border-radius: 2px;width: 38px;}
  48. .colorSelector:nth-of-type(2){margin-left: 5px;}
  49. .colorSelector div{border-radius: 2px;width: 34px;margin-left: -17px;background-position: initial;}
  50. .color-selector-reset {display: inline-block;line-height: 34px;cursor: pointer;margin-left: 10px;}
  51. .flexbox-fix-btn {justify-content: center;}
  52. .flexbox-fix-btn .btn {width: 40px;line-height: 22px;font-size: 12px;margin: 0;box-sizing: border-box;border-radius: 3px;}
  53. .flex {justify-content: space-between;display: flex;align-items: center;}
  54. .flex .flex_fill {flex: 1;text-align: right;margin-left: 5px;}
  55. .flex .flex_left {display: flex;align-items: center;}
  56. .flex .flex_left .curr-color {color: #303133;margin-left: 7px;}
  57. .flex .flex_left .curr-color span:first-child{margin-right: 10px;}
  58. .selected-style {cursor: pointer;float: right;color: #909399;}
  59. .selected-style i {font-size: 12px;line-height: 34px;color: #818181;margin-left: 5px;}
  60. /* 链接地址 */
  61. .layui-input-block span.sm {display: flex;line-height: 34px;cursor: pointer;}
  62. .layui-input-block span.sm span {display: inline-block;max-width: 130px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
  63. .layui-input-block span.sm i {margin-left: 5px;font-size: 12px;color: #818181;}
  64. .component-links .layui-input-block .sm {float: right;}
  65. /* 选择icon */
  66. .component-icon .layui-input-block .sm {width: 50px;height: 50px;justify-content: space-around;align-items: center;border: 1px solid #CCC;}
  67. .component-icon .layui-input-block .sm i{margin: 0;font-size: 16px;}
  68. .component-icon .layui-input-block .sm i.js-icon{font-size: 20px;}
  69. /* 进度条样式 */
  70. .layui-input-block {line-height: 34px;min-height: 34px;}
  71. .side-process {display: inline-block;margin-right: 15px;margin-left: 5px;width: 260px;vertical-align: middle;}
  72. .slide-prompt-text {color: #909399;}
  73. .layui-slider-wrap {top: -17px;}
  74. .layui-slider {height: 3px;}
  75. #diyView {position: relative;background: #f7f8fa;padding: 20px 0 0;visibility: hidden;/*min-width: 1300px;*/}
  76. .custom-save {text-align: center;background: #fff;padding: 15px 400px 15px 290px;}
  77. .preview-wrap {overflow: hidden;margin-left: 255px;margin-right: 392px;}
  78. .preview-wrap .preview-restore-wrap { /*width: 102%;*/margin-right: -12px;visibility: hidden;}
  79. .preview-wrap .preview-restore-wrap .div-wrap {overflow: auto;height: 525px;}
  80. .preview-wrap .preview-restore-wrap .diy-view-wrap {width: 375px;background-repeat: no-repeat;background-position-y: 64px;background-size: 100%;margin: 0 auto 20px;border:2px solid #f0f1f3;padding-top: 64px;margin-top: -64px;}
  81. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head {height: 64px;width: 375px;}
  82. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > span {background: #fff url(../img/preview_head.png) no-repeat 50%/cover;font-size: 14px;display: block;text-align: center;height: 64px;line-height: 82px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;cursor: pointer;margin: 0 auto;}
  83. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-block {min-height: 400px;}
  84. /*组件列表*/
  85. .component-list {width: 235px;padding: 0 10px;background: #ffffff;float: left;position: absolute;top: 0;overflow: hidden;user-select: none;z-index: 9999;}
  86. .component-list .tab{display: flex;margin: 10px 0 5px -10px;}
  87. .component-list .tab span{font-weight: normal;font-size: 14px;cursor: pointer;line-height: 40px;flex: 1;text-align: center;position: relative;background: #fff;border-top: 1px solid #f1f1f1;border-bottom: 1px solid #f1f1f1;border-left: 1px solid #f1f1f1;}
  88. .component-list .tab span:last-child{border-right: 1px solid #f1f1f1;}
  89. .component-list .tab span.selected{background-color: #f1f1f1;}
  90. /*.component-list .tab span.selected:after{content: '';border-bottom: 2px solid;position: absolute;left: 50%;bottom: 0;width: 65%;transform: translate(-50%, -50%);}*/
  91. .component-list nav {height: 610px;overflow-y: auto;width: 257px;}
  92. .component-list h3 {font-size: 14px;/*margin-top: 10px;*/cursor: pointer;line-height: 40px;}
  93. .component-list h3 img {width: 16px;margin-right: 5px;}
  94. .component-list ul {overflow: hidden;margin: 0;padding: 0;transition: all .3s;opacity: 1;}
  95. .component-list ul li {float: left;font-size: 12px;width: 78px;height: 75px;text-align: center;cursor: pointer;position: relative;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  96. .component-list ul li.hot:after {content: '';background: url(../img/hot_component.png) no-repeat center/100%;position: absolute;width: 16px;height: 20px;right: 20%;top: 0;}
  97. .component-list ul li.disabled { /*cursor: not-allowed;*/color: #bbb;}
  98. .component-list ul li img {width: 42px;margin-top: 11px;}
  99. .component-list ul li span:last-child {font-size: 12px;/*color: #909399;*/display: block;margin-top: 5px;}
  100. .component-list ul li i{font-size: 23px;margin-bottom: 4px;/*color: #909399;*/margin-top: 14px;display: inline-block;}
  101. /*预览*/
  102. .draggable-element {border: 2px dotted transparent; /*background: #ffffff;position: relative;*/}
  103. .draggable-element .preview-draggable { cursor: move;position: relative;}
  104. .draggable-element .preview-draggable .preview-box {padding: 0;}
  105. .draggable-element.selected {border: 2px solid;}
  106. .del {background: #999;color: #FFFFFF;position: absolute;border-radius: 50%;width: 20px;height: 20px;font-size: 12px;font-style: normal;line-height: 18px;text-align: center;right: -10px;top: -10px;cursor: pointer;z-index: 1;display: none;}
  107. /*ul li .content-block + .del {right: unset;left: 68px;top: 0;}*/
  108. .draggable-element .preview-draggable:hover .del {display: block;}
  109. .draggable-element .comp-title{position: absolute;left: -90px;min-width: 70px;min-height: 20px;padding: 4px 7px;box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);box-sizing: border-box;text-align: center;line-height: 20px;font-size: 12px;background: #fff;border-radius: 2px;top:0;/*top: 50%;margin-top: -14px;*/}
  110. /*右侧编辑栏*/
  111. .edit-attribute {position: absolute;top: 0;right: 0;background: #ffffff;border-top: 1px solid #f7f8fa;width: 370px;padding: 10px;z-index: 1;overflow: hidden;display: none;}
  112. .draggable-element.selected .edit-attribute{display: block;}
  113. /* 选中页面设置 */
  114. .page-set-wrap.selected .edit-attribute{display: block;}
  115. /* 选中弹窗广告组件 */
  116. .pop-window-wrap.selected .edit-attribute{display: block;}
  117. .edit-attribute .attr-wrap {width: 392px;overflow-x: hidden;overflow-y: auto;height: 600px;}
  118. .edit-attribute .attr-wrap .restore-wrap {width: 360px;}
  119. .edit-attribute .attr-wrap .restore-wrap .layui-form-label {color: #666 !important;}
  120. .edit-attribute .attr-wrap .restore-wrap .attr-title {padding: 10px 0 15px 10px;border-bottom: 2px solid #f2f4f6;margin-bottom: 10px;color: #303133;display: flex;justify-content: space-between;align-items: center;}
  121. .edit-attribute .attr-wrap .restore-wrap .attr-title .title{font-size: 18px;}
  122. .edit-attribute .attr-wrap .restore-wrap .attr-title .tab-wrap{background-color: #f5f5f5;border-radius: 50px;font-size: 14px;display: flex;}
  123. .edit-attribute .attr-wrap .restore-wrap .attr-title .tab-wrap span{cursor: pointer;padding: 5px 15px;border-radius: 50px;}
  124. .edit-attribute .attr-wrap .restore-wrap .attr-title .tab-wrap span.active{color: #fff;}
  125. .edit-attribute .attr-wrap .restore-wrap .layui-form input[type=radio] {display: inline-block;opacity: 0;position: absolute;top: 10px;width: 60px;height: 20px;cursor: pointer;}
  126. .edit-attribute .attr-wrap .restore-wrap .img-block {display: inline-block;margin-right: 10px;cursor: pointer;vertical-align: top;text-align: center;border: 1px solid #CCCCCC;width: 66px;height: 66px;line-height: 66px;}
  127. .edit-attribute .attr-wrap .restore-wrap .img-block > div {position: relative}
  128. .edit-attribute .attr-wrap .restore-wrap .img-block > div.del {display: inline-block;margin-right: 10px;cursor: pointer;vertical-align: top;text-align: center;border: 1px solid #CCCCCC;width: 66px;height: 66px;line-height: 66px;}
  129. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block {display: inline-block;width: calc(100% - 78px);font-size: 14px;}
  130. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-form-label.sm {width: 68px !important;}
  131. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-input-block {margin-left: 78px;}
  132. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-input-block span.sm {float: right;}
  133. .edit-attribute .attr-wrap .restore-wrap .img-block i.add {display: block;font-style: normal;text-align: center;font-size: 26px;min-width: 26px;}
  134. .edit-attribute .attr-wrap .restore-wrap .img-block i.del {display: none;}
  135. .edit-attribute .attr-wrap .restore-wrap .img-block:hover i.del {display: block;}
  136. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image {width: 66px;height: 64px;border: 1px dashed #e5e5e5;display: inline-block;vertical-align: top;position: relative;line-height: 64px;margin-right: 10px;text-align: center;padding: 0;overflow: hidden}
  137. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image > div {width: 66px;height: 64px;}
  138. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {width: auto;height: auto;max-width: 100%;max-height: 100%;}
  139. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image span {position: absolute;bottom: 0;left: 0;width: 100%;text-align: center;font-size: 12px;background: rgba(0, 0, 0, .6);color: #ffffff;line-height: initial;cursor: pointer;}
  140. .edit-attribute .attr-wrap .restore-wrap .img-block span {font-size: 12px;line-height: 23px;}
  141. .layui-btn.layui-btn-primary.sm {margin-top: 5px;padding: 5px 10px !important;height: auto;font-size: 12px;border-radius: 0;vertical-align: baseline;line-height: 1}
  142. /*.edit-attribute .attr-wrap .restore-wrap .layui-form-radio {margin-top: 0;line-height: 34px;}*/
  143. /*.edit-attribute .attr-wrap .restore-wrap .layui-form-radio:last-child{margin-right: 0;}*/
  144. /* 单选 */
  145. .icon-radio .icon-wrap {float: right;}
  146. .icon-radio .icon-wrap li {display: inline-block;width: 50px;height: 32px;line-height: 30px;text-align: center;border: 1px solid #EEEEEE;border-right: 1px solid transparent;cursor: pointer;float: left;box-sizing: border-box;color: #909399;}
  147. .icon-radio .icon-wrap li .iconfont.angle{font-size: 14px;}
  148. .icon-radio .icon-wrap li:last-child {border-right: 1px solid #EEEEEE;}
  149. /* 复选 */
  150. .checkbox-wrap .layui-form-checkbox, .checkbox-wrap .layui-input-inline-checkbox .layui-form-checkbox {float: right;}
  151. .checkbox-wrap .layui-form-checkbox[lay-skin=primary] {margin-top: 4px;padding-left: 20px;}
  152. .checkbox-wrap .layui-input-inline-checkbox span {color: #666;}
  153. .checkbox-wrap .layui-input-block {margin-left: 35px;}
  154. .checkbox-wrap .layui-input-inline-checkbox .layui-form-checkbox[lay-skin=primary] {margin-top: 8px;}
  155. /* 图片上传 */
  156. .edit-attribute .attr-wrap .restore-wrap .img-upload .img-block {padding: 4px;margin-right: 0;float: right;}
  157. .edit-attribute .attr-wrap .restore-wrap .img-block .operation{position: absolute;width: 100%;height: 100%;background: rgba(0,0,0,.6);flex-direction: column;display: none;top:0;}
  158. .edit-attribute .attr-wrap .restore-wrap .img-block:hover .operation {display: flex;}
  159. .edit-attribute .attr-wrap .restore-wrap .img-block .operation-warp {flex: 1;height: 0;display: flex;align-items: center;justify-content: center;color: #fff;}
  160. .edit-attribute .attr-wrap .restore-wrap .img-block .iconfont {margin: 0 3px;font-size: 16px!important;}
  161. .edit-attribute .attr-wrap .restore-wrap .img-block .operation .js-replace{line-height: 1;color: #fff;text-align: center;padding: 5px 0;background: rgba(0,0,0,.7);font-size: 12px;}
  162. .edit-attribute .attr-wrap .restore-wrap .img-block .icon-wrap:hover .operation{display: block;}
  163. .edit-attribute .attr-wrap .restore-wrap .img-block .upload-img-box:hover .operation{display: block;}
  164. .img-upload + .diy-word-aux {margin-left: 15px;}
  165. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-1{}
  166. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-1 .preview-head-div {background: url(../img/preview_head.png) no-repeat 50%/cover;font-size: 16px;height: 64px;line-height: 90px;cursor: pointer;}
  167. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-1 .preview-head-div span {display: inline-block;padding: 0 15px 0 15px;}
  168. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-1.center .preview-head-div span{padding-right:20px;width: 160px;margin: 0 auto;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
  169. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-2{}
  170. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-2 .preview-head-div {background: url(../img/preview_head.png) no-repeat 50%/cover;height: 64px;cursor: pointer;padding: 0 15px;line-height: 90px;}
  171. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-2 .preview-head-div span{font-size: 16px;}
  172. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-2 img{margin-right: 15px;max-width:150px;height: 28px;}
  173. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3{}
  174. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3 .preview-head-div {background: url(../img/preview_head.png) no-repeat 50%/cover;height: 64px;cursor: pointer;padding: 0 15px;line-height: 90px;}
  175. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3 .preview-head-div .img-text-search{padding-right: 100px;display: flex;align-items: center;padding-top: 28px;}
  176. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3 .preview-head-div .img-text-search img {margin-right: 10px;height: 30px;max-width: 85px;}
  177. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3 .preview-head-div .img-text-search .top-search-box {flex:1;width: 80%;height: 30px;display: flex;align-items:center;border-radius:30px;background: rgb(255, 255, 255);color:#909399;line-height: 2.1;border:1px solid #E6E6E6;}
  178. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-3 .preview-head-div .img-text-search .top-search-box i {margin-right: 5px;margin-left: 10px;}
  179. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4{}
  180. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 .preview-head-div {background: url(../img/preview_head.png) no-repeat 50%/cover;height: 64px;cursor: pointer;padding: 0 15px;line-height: 90px;display: flex;}
  181. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 span.store-name{margin: 0 5px;font-size: 16px;}
  182. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 .nearby-store-name{display: inline-block;margin: -1px 5px 0;}
  183. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 .nearby-store-name span{background: rgba(0,0,0,.3);font-size: 12px;border-radius: 20px;padding: 5px 10px;}
  184. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 i:first-child{font-size: 18px;}
  185. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head .nav-tabbar.style-4 i:last-child{font-size: 14px;}
  186. .diy-word-aux {margin-left: 95px;display: block;margin-top: 5px;color: #B2B2B2;font-size: 12px;line-height: 1.6;}
  187. .layui-layer-page .layui-layer-content {overflow: auto !important;}
  188. .top-full-screen .layui-layout-admin .layui-body{padding-right: 0 !important;width: 100% !important;margin-left: 0 !important;}
  189. .top-full-screen .layui-layout-admin .layui-body .body-wrap{margin-top: 0 !important;}
  190. .top-full-screen .custom-save{display: flex;justify-content: space-between;align-items: center;padding: 10px 0;border-bottom: 1px solid #ececec;}
  191. /*.top-full-screen .custom-save .layui-btn{background-color: #fff;}*/
  192. /*.top-full-screen .cancel-btn{border-color: #ececec;color: #333;}*/
  193. /*.top-full-screen .cancel-btn:hover{color: #333;}*/
  194. .bg-select .bg-select-ul{text-align:right}
  195. .bg-select .bg-select-ul li{display:inline-block;width:20px;height:20px;border-radius:3px;border:1px solid #d7d7d7;vertical-align:middle;cursor:pointer;padding:2px;box-sizing:border-box;margin-left:5px}
  196. .bg-select .bg-select-ul li div{width:100%;height:100%;border-radius:3px}
  197. /* 超出单行影藏 */
  198. .using-hidden {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
  199. /* 超出两行影藏 */
  200. .multi-hidden {overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
  201. /* 商品来源选择 */
  202. .source-selected {display: flex;flex-wrap: wrap;}
  203. .source-selected .source {flex: 1;}
  204. .source-selected .source-item,.template-selected .source-item {width: 46px;height: 32px;text-align: center;border: 1px solid #e5e5e5;padding: 5px;cursor: pointer;background: #ffffff;box-sizing: border-box;border-right: 1px transparent solid;display: flex;align-items: center;justify-content: center;color: #909399;}
  205. .source-selected .source-item:last-child,.template-selected .source-item:last-child{border-right: 1px solid #e5e5e5;}
  206. /* 列表样式 */
  207. .list-style .layui-input-block{margin-left: 40px !important;}
  208. .template-selected {display: flex;flex-wrap: wrap;margin-left: 50px;}
  209. .style-selected{display: flex;flex-wrap: wrap;margin-top: 10px;margin-left: 50px;}
  210. .style-selected .layui-form-radio:nth-child(3n){margin-right: 0;}
  211. /* 图片和图标选择 */
  212. .icon-img-upload {width: 66px;height: 66px;font-size: 66px;display: flex;align-items: center;justify-items: center;border: 1px solid #CCCCCC;text-align: center;margin-right: 10px;position: relative;}
  213. .icon-img-upload .add {color: var(--base-color);font-size: 26px;margin: 0 auto;width: 66px;height: 66px;line-height: 66px;text-align: center;cursor: pointer;}
  214. .icon-img-upload img {max-width: 100%;max-height: 100%;width: 100%;}
  215. .icon-img-upload .operation {position: absolute;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.5);color: #fff;display: none;flex-direction: column;z-index: 5;}
  216. .icon-img-upload:hover .operation {display: flex;}
  217. .icon-img-upload .operation .operation-warp {flex: 1;height: 0;display: flex;align-items: center;justify-content: center;}
  218. .icon-img-upload .operation-warp i {margin: 0 2px;cursor: pointer;}
  219. .icon-img-upload .operation .js-replace {height: 24px;color: #fff;background: rgba(0, 0, 0, 0.5);font-size: 12px;line-height: 24px;cursor: pointer;}
  220. .common-set .word-aux{margin: 0 0 0 100px;padding: 0;}
  221. /* 选择图标风格 */
  222. .select-icon-style {position: fixed;width: 100vw;height: 100vh;left: 0;top: 0;z-index: 9999;}
  223. .select-icon-style .icon-style-wrap {position: absolute;background: #fff;border: 1px solid #ddd;right: 40px;margin-top: 15px;}
  224. .select-icon-style .icon-style-wrap iframe {width: 100%;height: 100%;}