2023-10-20
This commit is contained in:
@@ -5,6 +5,7 @@ body,
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
overflow: hidden;
|
||||
}
|
||||
input {
|
||||
outline: none;
|
||||
@@ -97,7 +98,7 @@ li {
|
||||
padding: 0.5rem 2rem;
|
||||
display: inline-block;
|
||||
border-radius: 2rem;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
color: #fff;
|
||||
background-color: #39215b;
|
||||
cursor: pointer;
|
||||
@@ -209,12 +210,14 @@ li {
|
||||
}
|
||||
.collection_modal .ant-modal-body,
|
||||
.design_detail_modal_component .ant-modal-body,
|
||||
.designOpenrtion_modal .ant-modal-body {
|
||||
.designOpenrtion_modal .ant-modal-body,
|
||||
.library_page .ant-modal-body {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
.collection_modal .design_title_text,
|
||||
.design_detail_modal_component .design_title_text,
|
||||
.designOpenrtion_modal .design_title_text {
|
||||
.designOpenrtion_modal .design_title_text,
|
||||
.library_page .design_title_text {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 900;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
@@ -223,41 +226,47 @@ li {
|
||||
}
|
||||
.collection_modal .design_title_text .design_title_text_intro,
|
||||
.design_detail_modal_component .design_title_text .design_title_text_intro,
|
||||
.designOpenrtion_modal .design_title_text .design_title_text_intro {
|
||||
.designOpenrtion_modal .design_title_text .design_title_text_intro,
|
||||
.library_page .design_title_text .design_title_text_intro {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.collection_modal .ant-upload.ant-upload-select-picture-card,
|
||||
.design_detail_modal_component .ant-upload.ant-upload-select-picture-card,
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card {
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card,
|
||||
.library_page .ant-upload.ant-upload-select-picture-card {
|
||||
background: #FFFFFF;
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
border: 0.3rem solid #ededed;
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao,
|
||||
.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao,
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao {
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao,
|
||||
.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao {
|
||||
font-size: 3.2rem;
|
||||
color: #B7B7B7;
|
||||
}
|
||||
.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text,
|
||||
.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text,
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text {
|
||||
.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text,
|
||||
.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text {
|
||||
font-size: 1.6rem;
|
||||
color: #B7B7B7;
|
||||
}
|
||||
.collection_modal .ant-upload-list-picture-card-container,
|
||||
.design_detail_modal_component .ant-upload-list-picture-card-container,
|
||||
.designOpenrtion_modal .ant-upload-list-picture-card-container {
|
||||
.designOpenrtion_modal .ant-upload-list-picture-card-container,
|
||||
.library_page .ant-upload-list-picture-card-container {
|
||||
display: none !important;
|
||||
}
|
||||
.collection_modal .ant-upload-picture-card-wrapper,
|
||||
.design_detail_modal_component .ant-upload-picture-card-wrapper,
|
||||
.designOpenrtion_modal .ant-upload-picture-card-wrapper {
|
||||
.designOpenrtion_modal .ant-upload-picture-card-wrapper,
|
||||
.library_page .ant-upload-picture-card-wrapper {
|
||||
width: auto;
|
||||
vertical-align: top;
|
||||
}
|
||||
@@ -305,11 +314,18 @@ li {
|
||||
transform: translateX(-50%);
|
||||
padding: 0.5rem 2rem;
|
||||
border-radius: 2rem;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
display: inline-block;
|
||||
}
|
||||
.ant-upload {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
i {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.collection_modal_body .input_box,
|
||||
.design_detail_modal_component .input_box {
|
||||
.design_detail_modal_component .input_box,
|
||||
.library_page .input_box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: sticky;
|
||||
@@ -320,8 +336,8 @@ li {
|
||||
z-index: 2;
|
||||
}
|
||||
.collection_modal_body .input_box input,
|
||||
.design_detail_modal_component .input_box input {
|
||||
font-size: 12px;
|
||||
.design_detail_modal_component .input_box input,
|
||||
.library_page .input_box input {
|
||||
border-radius: 0.5rem;
|
||||
width: 70%;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
@@ -331,28 +347,56 @@ li {
|
||||
font-weight: 400;
|
||||
}
|
||||
.collection_modal_body .input_box inputinput:-moz-placeholder,
|
||||
.design_detail_modal_component .input_box inputinput:-moz-placeholder {
|
||||
.design_detail_modal_component .input_box inputinput:-moz-placeholder,
|
||||
.library_page .input_box inputinput:-moz-placeholder {
|
||||
color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
.collection_modal_body .input_box inputinput:-ms-input-placeholder,
|
||||
.design_detail_modal_component .input_box inputinput:-ms-input-placeholder {
|
||||
.design_detail_modal_component .input_box inputinput:-ms-input-placeholder,
|
||||
.library_page .input_box inputinput:-ms-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
.collection_modal_body .input_box inputinput::-webkit-input-placeholder,
|
||||
.design_detail_modal_component .input_box inputinput::-webkit-input-placeholder {
|
||||
.design_detail_modal_component .input_box inputinput::-webkit-input-placeholder,
|
||||
.library_page .input_box inputinput::-webkit-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
.collection_modal_body .input_box span,
|
||||
.design_detail_modal_component .input_box span,
|
||||
.library_page .input_box span {
|
||||
position: absolute;
|
||||
bottom: 0rem;
|
||||
font-size: 1.2rem;
|
||||
color: red;
|
||||
opacity: 0;
|
||||
transform: scale(0.7);
|
||||
transform-origin: left bottom;
|
||||
}
|
||||
.collection_modal_body .input_box.active input,
|
||||
.design_detail_modal_component .input_box.active input,
|
||||
.library_page .input_box.active input {
|
||||
border: 1px solid #ff0001;
|
||||
box-shadow: 0px 0px 3px 1px rgba(255, 0, 0, 0.2);
|
||||
}
|
||||
.collection_modal_body .input_box.active span,
|
||||
.design_detail_modal_component .input_box.active span,
|
||||
.library_page .input_box.active span {
|
||||
opacity: 1;
|
||||
}
|
||||
.collection_modal_body .input_box .generage_btn,
|
||||
.design_detail_modal_component .input_box .generage_btn {
|
||||
.design_detail_modal_component .input_box .generage_btn,
|
||||
.library_page .input_box .generage_btn {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.collection_modal_body .upload_item,
|
||||
.design_detail_modal_component .upload_item {
|
||||
.design_detail_modal_component .upload_item,
|
||||
.library_page .upload_item {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item,
|
||||
.design_detail_modal_component .upload_item .upload_file_item {
|
||||
.design_detail_modal_component .upload_item .upload_file_item,
|
||||
.library_page .upload_item .upload_file_item {
|
||||
margin: 0 2rem 2rem 0;
|
||||
display: inline-block;
|
||||
width: 10rem;
|
||||
@@ -360,31 +404,53 @@ li {
|
||||
border: 1px solid #f5f5f5;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item.active,
|
||||
.design_detail_modal_component .upload_item .upload_file_item.active,
|
||||
.library_page .upload_item .upload_file_item.active {
|
||||
opacity: 0.5;
|
||||
border-radius: 1rem;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item.active .delete_file_block,
|
||||
.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block,
|
||||
.library_page .upload_item .upload_file_item.active .delete_file_block {
|
||||
pointer-events: none;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item.active .operate_file_block,
|
||||
.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block,
|
||||
.library_page .upload_item .upload_file_item.active .operate_file_block {
|
||||
pointer-events: none;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item.upload_component,
|
||||
.design_detail_modal_component .upload_item .upload_file_item.upload_component {
|
||||
.design_detail_modal_component .upload_item .upload_file_item.upload_component,
|
||||
.library_page .upload_item .upload_file_item.upload_component {
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item :deep(.ant-upload-picture-card-wrapper),
|
||||
.design_detail_modal_component .upload_item .upload_file_item :deep(.ant-upload-picture-card-wrapper) {
|
||||
.design_detail_modal_component .upload_item .upload_file_item :deep(.ant-upload-picture-card-wrapper),
|
||||
.library_page .upload_item .upload_file_item :deep(.ant-upload-picture-card-wrapper) {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item :deep(.ant-upload-select-picture-card),
|
||||
.design_detail_modal_component .upload_item .upload_file_item :deep(.ant-upload-select-picture-card) {
|
||||
.design_detail_modal_component .upload_item .upload_file_item :deep(.ant-upload-select-picture-card),
|
||||
.library_page .upload_item .upload_file_item :deep(.ant-upload-select-picture-card) {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
border: 0.3rem solid #ededed;
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content {
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -393,17 +459,22 @@ li {
|
||||
position: relative;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block {
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block {
|
||||
display: block;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img {
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block {
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block {
|
||||
display: none;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
@@ -417,12 +488,33 @@ li {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop {
|
||||
width: 3.2rem;
|
||||
height: 3.2rem;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
border-radius: 0.4rem;
|
||||
position: absolute;
|
||||
top: 0.9rem;
|
||||
right: 0.9rem;
|
||||
text-align: center;
|
||||
line-height: 3.2rem;
|
||||
left: auto;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu,
|
||||
.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu {
|
||||
font-size: 1.6rem;
|
||||
color: #fff;
|
||||
}
|
||||
.collection_modal_body .upload_item .upload_file_item .upload_img_icon,
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon {
|
||||
.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon,
|
||||
.library_page .upload_item .upload_file_item .upload_img_icon {
|
||||
width: 4.6rem;
|
||||
}
|
||||
.cut_pricture_modal .ant-modal-content {
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
.cut_pricture_modal .ant-modal-body {
|
||||
height: 65rem;
|
||||
|
||||
@@ -4,6 +4,7 @@ html,body,#app{
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
overflow: hidden;
|
||||
// --antd-wave-shadow-color: #341e57;
|
||||
}
|
||||
input{
|
||||
@@ -107,7 +108,7 @@ ul,li{
|
||||
padding: .5rem 2rem;
|
||||
display: inline-block;
|
||||
border-radius: 2rem;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
color: #fff;
|
||||
background-color: #39215b;
|
||||
cursor: pointer;
|
||||
@@ -254,7 +255,7 @@ ul,li{
|
||||
margin-top:.5rem;
|
||||
}
|
||||
//collection 弹窗
|
||||
.collection_modal,.design_detail_modal_component,.designOpenrtion_modal{
|
||||
.collection_modal,.design_detail_modal_component,.designOpenrtion_modal,.library_page{
|
||||
|
||||
.ant-modal-body{
|
||||
overflow-y: hidden;
|
||||
@@ -276,7 +277,7 @@ ul,li{
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
border: 0.3rem solid #ededed;
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
margin: 0;
|
||||
.upload_tip_block{
|
||||
.icon-jiahao{
|
||||
@@ -340,13 +341,19 @@ ul,li{
|
||||
transform: translateX(-50%);
|
||||
padding: .5rem 2rem;
|
||||
border-radius: 2rem;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-upload{
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
i{
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
//设计input和上传按钮样式
|
||||
.collection_modal_body,.design_detail_modal_component{
|
||||
.collection_modal_body,.design_detail_modal_component,.library_page{
|
||||
.input_box{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -357,7 +364,7 @@ ul,li{
|
||||
padding-bottom: 2rem;
|
||||
z-index: 2;
|
||||
input{
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
border-radius: .5rem;
|
||||
width: 70%;
|
||||
border: 1px solid rgba(0,0,0,.15);
|
||||
@@ -377,6 +384,25 @@ ul,li{
|
||||
color: rgba(0,0,0,.15);
|
||||
}
|
||||
}
|
||||
span{
|
||||
position: absolute;
|
||||
bottom: 0rem;
|
||||
font-size: 1.2rem;
|
||||
color: red;
|
||||
opacity: 0;
|
||||
transform: scale(.7);
|
||||
transform-origin: left bottom;
|
||||
}
|
||||
&.active{
|
||||
input{
|
||||
// color: rgb(255, 0, .7);
|
||||
border: 1px solid rgb(255, 0, .7);
|
||||
box-shadow: 0px 0px 3px 1px rgba(255, 0, 0, 0.2);
|
||||
}
|
||||
span{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.generage_btn{
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -396,6 +422,22 @@ ul,li{
|
||||
border: 1px solid #f5f5f5;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
&.active {
|
||||
opacity: 0.5;
|
||||
// border: 2px solid;
|
||||
border-radius: 1rem;
|
||||
transform: scale(0.9);
|
||||
.delete_file_block{
|
||||
pointer-events:none;
|
||||
}
|
||||
.operate_file_block{
|
||||
pointer-events:none;
|
||||
}
|
||||
img {
|
||||
}
|
||||
}
|
||||
&.upload_component {
|
||||
border: none;
|
||||
display: flex;
|
||||
@@ -412,7 +454,7 @@ ul,li{
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
border: 0.3rem solid #ededed;
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
.upload_file_item_content {
|
||||
@@ -430,7 +472,9 @@ ul,li{
|
||||
.upload_img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.delete_file_block {
|
||||
@@ -446,6 +490,22 @@ ul,li{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
&.rightTop {
|
||||
width: 3.2rem;
|
||||
height: 3.2rem;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
border-radius: 0.4rem;
|
||||
position: absolute;
|
||||
top: 0.9rem;
|
||||
right: 0.9rem;
|
||||
text-align: center;
|
||||
line-height: 3.2rem;
|
||||
left: auto;
|
||||
.icon-shanchu {
|
||||
font-size: 1.6rem;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -459,7 +519,7 @@ ul,li{
|
||||
//剪裁弹窗
|
||||
.cut_pricture_modal{
|
||||
.ant-modal-content{
|
||||
border-radius: 10px;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
.ant-modal-body{
|
||||
height: 65rem;
|
||||
|
||||
Reference in New Issue
Block a user