.feedback-wrapper { background: rgba(0, 0, 0, 0.7); width: 100vw; height: 100vh; position: fixed; top: 0; z-index: 12; display: none; } .feedback-content { background: #ffffff; padding: 3rem 5rem; width: 45%; margin: auto; position: relative; top: 15rem; border-radius: 0.4rem; min-height: 50rem; } .feedback-content .title { display: flex; align-items: center; justify-content: space-between; border-bottom: #eaeaea 1px dashed; padding-bottom: 2rem; margin-bottom: 2rem; } .feedback-content .title span { font-size: 1.8rem; font-weight: 600; } .feedback-content .title i { font-size: 1.8rem; font-weight: 600; cursor: pointer; } .feedback-content > div { margin-bottom: 2rem; } .feedback-textarea p, .feedback-img p, .feedback-img p span, .feedback-info p { font-size: 1.4rem; margin-bottom: 2rem; } .feedback-textarea p:before, .feedback-name p:before, .feedback-phone p:before { content: "*"; color: #FF7200; margin-right: 0.5rem; } .feedback-textarea textarea { font-size: 1.4rem; width: calc(100% - 1rem); resize: none; outline: none; padding: 1.5rem; border: #c1c1c1 1px solid; border-radius: 0.2rem; height: 10rem; margin-left: 1rem; } .feedback-textarea textarea::placeholder, .feedback-info input::placeholder { color: #c1c1c1; } .feedback-textarea textarea:hover, .feedback-info input:hover { border: #0147a6 1px solid; } .feedback-img i { font-size: 6rem; } .upload-btn { border: #c1c1c1 1px dashed; width: 10rem; height: 10rem; border-radius: 0.2rem; line-height: 9.5rem; text-align: center; position: relative; } .upload-btn span { font-size: 4rem; color: #c1c1c1; } #file { position: absolute; left: 0; width: 10rem; height: 10rem; opacity: 0; cursor: pointer; filter: alpha(opacity=0); font-size: 0 } .upload-wrapper { display: flex; } .upload-wrapper ul { display: flex; } .upload-wrapper ul li { width: 10rem; height: 10rem; margin-right: 3rem; position: relative; } .upload-wrapper ul li i { position: absolute; left: calc(calc(10rem - 4.4rem) / 2); top: calc(calc(10rem - 4.4rem) / 2); font-size: 2.4rem; background: rgba(0, 0, 0, 0.8); color: #ffffff; padding: 1rem; border-radius: 50%; cursor: pointer; display: none; } .upload-wrapper ul li:hover i { display: block; } .upload-wrapper ul img { width: 100%; height: 100%; } .upload-wrapper ul img:last-of-type { margin-right: 0; } .feedback-content > button { background: #0147a6; font-size: 1.4rem; color: #ffffff; border: none; border-radius: 0.4rem; outline: none; cursor: pointer; width: 20rem; height: 4rem; margin: 3rem auto 1rem auto; display: block; } .feedback-info { display: flex; flex-wrap: wrap; justify-content: space-between; } .feedback-info > div { width: 45%; margin-bottom: 2rem; } .feedback-info > div:last-of-type, .feedback-info > div:nth-last-child(2) { margin-bottom: 0; } .feedback-info > div input { width: calc(100% - 1rem); height: 3.6rem; line-height: 3.6rem; font-size: 1.4rem; resize: none; outline: none; padding: 1.5rem; border: #c1c1c1 1px solid; border-radius: 0.2rem; margin-left: 1rem; } .feedback-name span, .feedback-phone span, .feedback-textarea span { color: #FF7200; font-size: 1.2rem; margin-left: 1rem; margin-top: 0.5rem; display: none; } .submit-success { text-align: center; margin-top: 9rem; } .submit-success i { color: #0147a6; font-size: 6rem; margin-bottom: 2.5rem; display: inline-block; } .submit-success p:first-of-type { font-size: 2.4rem; letter-spacing: 0.3rem; margin-bottom: 1rem; } .submit-success p:last-of-type { font-size: 1.6rem; letter-spacing: 0.3rem; margin-top: 3rem; } /* 兼容不同分辨率样式 */ @media screen and (max-width: 1679px) and (min-width: 1600px) { .feedback-content { top: 11rem; } } @media screen and (max-width: 1599px) and (min-width: 1440px) { .feedback-content { top: 10rem; } .feedback-content { width: 55%; } } @media screen and (max-width: 1439px) and (min-width: 1280px) { .feedback-content { top: 10rem; } .feedback-content { width: 55%; } .feedback-content { padding: 3rem; } }