| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- .chat-container {
- font-family: Arial, sans-serif;
- width: 100%;
- background-repeat: no-repeat;
- background-position: center 42%;
- background-size: 40% auto;
- /*padding: 20px;*/
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- border-radius: 10px;
- overflow-y: auto;
- border:#666666;
- position: relative;
- height: 815px;
- }
- .chat-container-phone {
- font-family: Arial, sans-serif;
- width: 96%;
- background-repeat: no-repeat;
- background-position: center 42%;
- background-size: 60% auto;
- /*padding: 20px;*/
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- border-radius: 10px;
- overflow-y: auto;
- border: 2px dashed #666666;
- position: relative;
- height: 815px;
- left: 2%;
- }
- .tips {
- position: sticky;
- top: 0px;
- left: 0px;
- width: 100%;
- display: block;
- line-height: 2rem;
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- color: #A3A3A3;
- font-size: 1rem;
- background: #eff6ff;
- z-index: 10;
- }
- .tips-phone {
- position: sticky;
- top: 0px;
- left: 0px;
- width: 100%;
- display: block;
- line-height: 1.4rem;
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
- color: #A3A3A3;
- font-size: 0.8rem;
- background: #eff6ff;
- z-index: 10;
- }
- .message {
- display: flex;
- margin-bottom: 15px;
- }
- .avatar {
- width: 45px;
- height: 45px;
- border-radius: 50%;
- padding: 10px;
- }
- .message-content {
- background-color: rgba(239,246,255,0.95);
- padding: 10px 10px;
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- max-width: 70%;
- color: #8495a3;
- z-index: 9;
- }
- .nickname {
- font-weight: bold;
- margin-bottom: 1rem;
- color: #999999;
- }
- .nickname-phone {
- font-weight: bold;
- margin-bottom: 0.5rem;
- color: #999999;
- }
- .info{
- font-size: 1rem;
- }
- .info-phone{
- font-size: 0.9rem;
- margin-bottom: 0.5rem;
- line-height: 25px;
- }
- .time {
- font-size: 0.8em;
- color: #999999;
- }
- .time-phone {
- font-size: 0.8em;
- color: #999999;
- }
- .chatBoxOutside{
- position: sticky;
- bottom: 0px;
- width: 97.8%;
- margin: auto;
- left: 0;
- right: 5px;
- background-color: #F3F4F6;
- padding: 10px 20px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- border-radius: 0 0 10px 10px;
- height: 100px;
- z-index: 10;
- }
- .chatBoxExample{
- width: 80%;
- height: 30px;
- margin-bottom: 0.5rem;
- white-space: nowrap;
- overflow-y: hidden;
- display: flex;
- scroll-behavior: smooth;
- overflow-x: scroll;
- -webkit-overflow-scrolling: touch;
- scrollbar-width: none;
- -ms-overflow-style: none;
- scroll-snap-type: x mandatory;
- scrollbar-width: none;
- float: left;
- }
- .chatBoxExample::-webkit-scrollbar {
- display: none; /* WebKit 浏览器 */
- }
- .chatBoxStop{
- position: relative;
- float: right;
- /*padding: 0px 10px;*/
- text-align: center;
- border-radius: 5px;
- height: 30px;
- line-height: 30px;
- color: #404040;
- background: #F3F4F6;
- font-size: 0.8rem;
- cursor: pointer;
- width: 20%;
- border-radius: 0 20px 20px 0;
- }
- .chatBoxExample-list{
- flex: 0 0 auto; /* 禁止伸缩 */
- height: 30px;
- line-height: 30px;
- text-align: center;
- padding: 0 1rem;
- margin-right: 1rem;
- font-size: 0.8rem;
- float: left;
- background: #D3D3D3;
- border-radius: 20px;
- color: #404040;
- /*max-width: 10rem;*/
- white-space: nowrap; /* 防止文本换行 */
- overflow: hidden; /* 隐藏溢出的文本 */
- text-overflow: ellipsis; /* 显示省略号 */
- cursor: pointer;
- display: inline-block;
- /*禁止选中文本*/
- -webkit-user-select: none; /* Chrome, Safari, Opera */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* Internet Explorer/Edge */
- user-select: none;
- width: 33%;
- scroll-snap-align: start;
- display: inline-block;
- }
- .chatBoxExample-list:hover{
- background: #ffffff !important;;
- }
-
- .chatBoxInside{
- position: absolute;
- bottom: 10px;
- width: 98%;
- height: 40px;
- display: block;
- }
-
- input[type="text"]{
- outline: none;
- position: relative;
- width: 80%;
- left: 0%;
- height: 100%;
- line-height: 100%;
- border-radius: 10px 0 0 10px;
- border: none;
- padding-left: 20px;
- padding-right: 20px;
- padding-top: 0px;
- font-size: 1rem;
- color: #404040;
- float: left;
- background: #FFFFFF;
- box-sizing: border-box;
- }
-
- input[type="text"]:focus {
- outline: none;
- position: relative;
- width: 80%;
- left: 0%;
- height: 100%;
- line-height: 100%;
- border-radius: 10px 0 0 10px;
- border: none;
- padding-left: 20px;
- padding-right: 20px;
- padding-top: 0px;
- font-size: 1rem;
- color: #404040;
- float: left;
- background: #FFFFFF;
- box-sizing: border-box;
- }
-
- .button-send {
- background: #6c757d;
- border: none;
- border-radius: 0 10px 10px 0;
- outline: none;
- color: #ffffff;
- text-align: center;
- height: 100%;
- line-height: 40px;
- width: 20%;
- float: left;
- font-size: 1rem;
- z-index: 99999;
- pointer-events: none;
- cursor: not-allowed;
- }
- /*文本排版样式*/
- .para-break {
- height: 0; /* 保持结构但隐藏元素 */
- margin-bottom: 0.4em;
- display: block;
- }
- .semi-break {
- margin-bottom: 0.2em;
- display: block;
- }
- .colon-break {
- margin-bottom: 0.1em;
- display: block;
- }
- /* 中文标点挤压优化 */
- :lang(zh) {
- text-spacing: ideograph-alpha ideograph-numeric;
- }
- /* 基础分割线样式 */
- .think-divider {
- border: 3px;
- height: 2px;
- background: linear-gradient(90deg, transparent, #ddd, transparent);
- margin: 1.5em 0;
- }
- .chat-br{
- height: 0.1em;
- }
- .chat-think{
- color: #007bff;
- margin-bottom: 1rem;
- text-align: right;
- }
- .chat-answer{
- color: #007bff;
- margin-bottom: 1rem;
- text-align: right;
- }
- /*质控采纳与否*/
- .quality{
- width: 100%;
- height: 40px;
- line-height: 40px;
- margin-top: 10px;
- }
- .accept{
- color: #007bff;
- float: left;
- cursor: pointer;
- }
- .refuse{
- color: #c7254e;
- float: right;
- cursor: pointer;
- }
- .color-flash {
- animation: colorPulse 2s infinite;
- }
- @keyframes colorPulse {
- 0% { background-color: #ffffff; }
- 50% { background-color: #d3d3d3; }
- 100% { background-color: #ffffff; }
- }
- /*不采纳质控的弹窗*/
- .alertBox{
- width: 100%;
- height: 100%;
- z-index: 999;
- background: rgba(0,0,0,0.8);
- position: fixed;
- left: 0px;
- top: 0px;
- display: none;
- }
- .alertBoxBackground{
- width: 100%;
- height: 100%;
- cursor: pointer;
- }
- .alertBoxChild{
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 70%;
- }
- .alertBoxInput{
- height: 40px;
- line-height: 40px;
- width: 80%
- }
- .alertBoxButton{
- background: #6c757d;
- border: none;
- border-radius: 0 10px 10px 0;
- outline: none;
- color: #ffffff;
- text-align: center;
- height: 40px;
- line-height: 40px;
- width: 20%;
- float: left;
- font-size: 1rem;
- z-index: 99999;
- cursor: pointer;
- }
- /*ajax预加载遮罩层*/
- .alertBoxAjax{
- width: 100%;
- height: 100%;
- z-index: 999;
- background: rgba(0,0,0,0.8);
- position: fixed;
- left: 0px;
- top: 0px;
- display: none;
- }
- .alertBoxBackgroundAjax{
- width: 100%;
- height: 100%;
- cursor: pointer;
- }
- .alertBoxChildAjax{
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 70%;
- }
- .alertBoxButtonAjax{
- background: #d3d3d3;
- border: none;
- border-radius: 10px 10px 10px 10px;
- outline: none;
- color: #404040;
- text-align: center;
- height: 40px;
- line-height: 40px;
- width: 100%;
- float: left;
- font-size: 1rem;
- z-index: 99999;
- }
|