* { margin: 0; padding: 0; list-style: none; text-decoration: none; box-sizing: border-box; } body { background-image: url(../images/bg.png); background-size: cover; } .header { display: flex; justify-content: right; align-items: center; padding: 20px; } .header .icon { width: 25px; height: 25px; cursor: pointer; } .header .messageBtn { margin-left: 40px; margin-right: 30px; color: #ccc; } .header .userContent { display: flex; align-items: center; cursor: pointer; } .header .userContent .userIcon { margin-left: 10px; } .contentWrapper { width: 100%; padding: 20px 80px; display: flex; /* border: 1px solid red; */ } .contentWrapper .leftWrapper { width: 45%; /* border: 1px solid red; */ } .slectWrapper { margin-top: 40px; } .contentWrapper .rightWrapper { width: 55%; /* border: 1px solid red; */ } .contentWrapper .leftWrapper .title { color: rgb(57, 79, 129); font-size: 50px; } .contentWrapper .leftWrapper .selectFile { max-width: 300px; color: rgb(24, 126, 224); display: flex; align-items: center; } .selectBtn { width: 150px; height: 50px; display: inline-block; text-align: center; line-height: 50px; border: 2px solid rgb(24, 126, 224); color: rgb(24, 126, 224); cursor: pointer; font-size: 20px; margin-right: 20px; } .submitBtn { font-size: 26px; /* font-weight: bold; */ color: rgb(38, 129, 255); cursor: pointer; } .leftWrapper .form1 { width: 100%; display: flex; align-items: center; /* border: 1px solid red; */ } .leftWrapper .form1 .submit { margin-left: 60px; } .leftWrapper .imgWrapper { width: 90%; height: 550px; margin-top: 30px; /* border: 1px solid #ccc; */ border-radius: 10px; /* background-color: #fff; */ } .imgShow { width: 100%; height: 100%; border-radius: 10px; /* object-fit: fill; */ /* object-fit: cover; */ object-fit: contain; /* object-fit: scale-down; */ } .rightWrapper .title { display: flex; align-items: center; } .rightWrapper .title .bigModelIcon { width: 80px; height: 80px; } .rightWrapper .title .modelTitle { margin-left: 20px; color: rgb(14, 140, 232); font-size: 30px; } .rightWrapper .messageWrapper { width: 100%; height: 70%; /* border: 1px solid red; */ margin-top: 30px; /* display: flex; */ /* justify-content: space-between; */ } .rightWrapper .messageWrapper .avator { width: 40px; height: 40px; } .rightWrapper .messageWrapper .userMsg { /* border: 1px solid red; */ display: flex; } .rightWrapper .messageWrapper .userMsg .userMegContent { /* background: #fff; */ margin-right: 10px; margin-left: 10px; font-size: 18px; padding: 10px; color: rgb(16, 141, 232); background: #fff; border-radius: 10px; /* font-weight: 600; */ box-shadow: 2px 2px 20px rgba(175, 243, 251, 0.9); } .rightWrapper .messageWrapper .modelMsg { /* border: 1px solid green; */ display: flex; justify-content: right; margin-top: 20px; } .rightWrapper .messageWrapper .modelMsg .modelMegContent { width: 90%; max-height: 420px; border-radius: 10px; margin-right: 10px; background: #fff; padding: 20px; overflow: auto; line-height: 1.5; box-shadow: 2px 2px 20px rgba(175, 243, 251, 0.9); } .rightWrapper .inputWrapper { width: 100%; height: 12%; background-color: #fff; border-radius: 10px; /* border: 1px solid red; */ display: flex; justify-content: space-between; align-items: center; padding-right: 20px; margin-top: 20px; box-shadow: 2px 2px 20px rgba(175, 243, 251, 0.9); } .rightWrapper .inputWrapper #speechInput { width: 80%; height: 100%; border: none; outline: none; /* border: 1px solid red; */ padding: 10px; font-size: 18px; border-radius: 10px; resize: none; /* 禁用缩放 */ } .rightWrapper .sayWrapper { display: flex; align-items: center; } .rightWrapper #sendMsgBtn { width: 90px; height: 40px; border-radius: 6px; border: none; color: #fff; font-size: 16px; background-image: linear-gradient(to right, rgb(73, 220, 253), rgb(98, 134, 254)); cursor: pointer; } .rightWrapper .mkf { width: 22px; height: 32px; margin: 0 20px; cursor: pointer; } #loadding_wrapper { display: none; /* 默认隐藏 */ } .loading-container { /*width: 500px; */ /* height: 500px; */ margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; /* height: 100vh; */ } .loading-spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; animation: spin 1s linear infinite; } .loading-text { margin-top: 10px; font-size: 16px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }