html,body,#app{ margin: 0; padding: 0; height: 100%; font-family: 'Roboto', sans-serif; } input{ outline:none } .page_content{ width: 1440px; max-width: 100%; height: 100%; margin: 0 auto; } .button_first{ width: 9.85rem; text-align: center; background: #E0E0F6; height: 4rem; line-height: 4rem; font-size: 1.3rem; font-weight: 400; color: #343579; cursor: pointer; } .button_second{ width: 9.85rem; text-align: center; // background: #343579; height: 4rem; line-height: 4rem; font-size: 1.4rem; font-weight: 400; color: #000; cursor: pointer; border-radius: 1.5rem; border: 2px solid; } .system_silder{ width: 100%; .ant-slider{ margin: 0; width: 12rem; .ant-slider-rail{ height: 0.6rem; border-radius: 0.3rem; background: #F2F0FD; } .ant-slider-track{ height: 0.6rem; border-radius: 0.3rem; background: #343579; } .ant-slider-handle{ margin-top: -0.4rem; border: solid 0.2rem #343579; } } } .ant-tooltip{ // top: 74px !important; z-index: 2; .ant-tooltip-inner{ background: #343579; border-radius: 5px; padding: 0.6rem 0.5rem; } } .select_block{ .ant-select:not(.ant-select-customize-input) .ant-select-selector{ background: transparent; height: 4rem; border: 0.1rem solid #000 !important; border-radius: 0; box-shadow: none !important; } .ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder{ line-height: 3.8rem; color: #1A1A1A; font-size: 1.3rem; font-weight: bold; } } //started公共按钮样式 .started_btn{ padding: .5rem 2rem; display: inline-block; border-radius: 2rem; font-size: 12px; color: #fff; background-color: #39215b; cursor: pointer; zoom: .9; } //弹窗公共样式 .modal_component{ &.ant-modal{ top: 0; } .ant-modal-content{ overflow: hidden; .ant-modal-header{ padding: 2.4rem 2.6rem; background: #F7F7F7; .ant-modal-title{ font-size: 1.8rem; line-height: 1.8rem; color: #030303; } } .ant-modal-body{ padding: 0; } } } //collection 弹窗 .collection_modal{ .ant-modal-body{ height: calc(80vh - 6.4rem); overflow-y: hidden; } .ant-upload.ant-upload-select-picture-card{ background: #FFFFFF; width: 6rem; height: 6rem; border: 0.3rem solid #ededed; border-radius: 10px; margin: 0; .upload_tip_block{ .icon-jiahao{ font-size: 3.2rem; color: #B7B7B7; } } .ant-upload-text{ font-size: 1.6rem; color: #B7B7B7; } } .ant-upload-list-picture-card-container{ display: none !important; } .ant-upload-picture-card-wrapper{ width: auto; vertical-align: top; } } //设计input和上传按钮样式 .collection_modal_body{ .input_box{ display: flex; align-items: center; position: sticky; top: 0; background: #fff; padding-top: 2.5rem; padding-bottom: 2rem; input{ font-size: 12px; border-radius: .5rem; width: 70%; border: 1px solid rgba(0,0,0,.15); padding-left: 1.5rem; border: 0.1rem solid #F1F1F1; font-size: 1.2rem; font-weight: 400; &input:-moz-placeholder{ color: rgba(0,0,0,.15); } &input:-ms-input-placeholder { color: rgba(0,0,0,.15); } &input::-webkit-input-placeholder { color: rgba(0,0,0,.15); } } .generage_btn{ margin: 0 auto; } } .upload_item{ display: flex; flex-wrap: wrap; .upload_file_item { margin: 0 2rem 2rem 0; display: inline-block; // width: 16.5rem; // height: 16.5rem; width: 10rem; height: 10rem; border: 1px solid #f5f5f5; vertical-align: top; position: relative; &.upload_component { border: none; display: flex; align-items: center; justify-content: center; } :deep(.ant-upload-picture-card-wrapper) { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } :deep(.ant-upload-select-picture-card) { width: 6rem; height: 6rem; border: 0.3rem solid #ededed; border-radius: 10px; margin: 0; } .upload_file_item_content { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; position: relative; &:hover .delete_file_block { display: block; } .upload_img { display: block; height: 100%; width: 100%; } .delete_file_block { display: none; width: 100%; cursor: pointer; height: 3rem; background: rgba(0, 0, 0, 0.2); font-size: 1.6rem; color: #ffffff; line-height: 3rem; text-align: center; position: absolute; left: 0; bottom: 0; } } .upload_img_icon { width: 4.6rem; } } } } //剪裁弹窗 .cut_pricture_modal{ .ant-modal-body{ height: 65.4rem; overflow-y: hidden; } } .scroll_style{ &::-webkit-scrollbar-button:single-button { // background-color: #ffffff; display: block; border-style: solid; height: 1.3rem; width: 1.4rem; } &::-webkit-scrollbar-button:single-button:vertical:decrement { border-width: 0 0.8rem 0.8rem 0.8rem; border-color: transparent transparent #555555 transparent; } &::-webkit-scrollbar-button:single-button:vertical:decrement:hover { border-color: transparent transparent #777777 transparent; } &::-webkit-scrollbar-button:single-button:vertical:increment { border-width: 0.8rem 0.8rem 0 0.8rem; border-color: #555555 transparent transparent transparent; } &::-webkit-scrollbar-button:vertical:single-button:increment:hover { border-color: #777777 transparent transparent transparent; } &::-webkit-scrollbar { /*滚动条整体样式*/ width: 1.4rem; /*高宽分别对应横竖滚动条的尺寸*/ } &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ background: #c2c2c2; opacity: 0.8; border-radius: 0.7rem; } &::-webkit-scrollbar-track { // background: #ffffff; } } //蒙层样式 .mark_loading{ position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); left: 0; top: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }