| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- em {
- font-style: normal;
- }
- .headpic{
- width: 45px;
- height: 45px;
- border-radius: 50%;
- margin-right: 8px;
- }
- /*会话样式*/
- .service {
- width: 100%;
- height: 100%;
- display: none;
- color: #333;
- overflow: hidden;
- position: relative;
- margin: 0;
- }
- .roll {
- height: 100%;
- width: 180px;
- overflow-x: hidden;
- }
- /*客服列表*/
- .serviceList {
- overflow-y: auto;
- position: absolute;
- left: 0px;
- top: 0;
- height: 100%;
- width: 197px;
- background-color: #e2e2e2;
- }
- .serviceList li {
- display: block;
- }
- .serviceList li:hover {
- background-color: #f0f0f0;
- }
- .serviceList li * {
- vertical-align: top;
- }
- .serviceList li i {
- margin-right: 8px;
- font-size: 25px;
- color: #007DDB;
- }
- .service .layui-tab-title .layui-this {
- background-color: #fff;
- color: #000;
- }
- /*会话窗体*/
- .chatFrame {
- position: absolute;
- right: 0px;
- top: 0;
- height: 100%;
- width: 602px;
- box-sizing: border-box;
- }
- .chatFrame>.layui-tab-item {
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- /*聊天信息显示*/
- .chatFrame>div>.layim-chat-main {
- height: calc(100% - 160px);
- overflow-x: hidden;
- overflow-y: auto;
- width: calc(100% + 17px)
- }
- .chatFrame>div>.layim-chat-main ul li {
- position: relative;
- font-size: 0;
- margin-bottom: 10px;
- padding-left: 60px;
- min-height: 68px;
- }
- .chatFrame>div>.layim-chat-main ul .layim-chat-mine {
- text-align: right;
- padding-left: 0;
- padding-right: 60px;
- }
- .chatFrame>div>.layim-chat-main ul .layim-chat-mine span {
- color: #007DDB;
- }
- .chatFrame .layim-chat-user {
- position: absolute;
- }
- .chatFrame .layim-chat-mine .layim-chat-user {
- left: auto;
- right: 3px;
- }
- .chatFrame .layim-chat-text,
- .chatFrame .layim-chat-user {
- display: inline-block;
- vertical-align: top;
- font-size: 14px;
- }
- .chatFrame .layim-chat-user span {
- width: 40px;
- height: 40px;
- border-radius: 100%;
- font-size: 40px
- }
- .chatFrame .layim-chat-user cite {
- position: absolute;
- left: 60px;
- top: -2px;
- width: 500px;
- line-height: 24px;
- font-size: 12px;
- white-space: nowrap;
- color: #999;
- text-align: left;
- font-style: normal;
- }
- .chatFrame .layim-chat-mine .layim-chat-user cite {
- left: auto;
- right: 60px;
- text-align: right;
- }
- .chatFrame .layim-chat-mine .layim-chat-user cite i {
- padding-left: 0;
- padding-right: 15px;
- }
- .chatFrame .layim-chat-user cite i {
- padding-left: 15px;
- font-style: normal;
- }
- .chatFrame .layim-chat-user {
- position: absolute;
- left: 3px;
- }
- .chatFrame .layim-chat-mine .layim-chat-text {
- margin-left: 0;
- text-align: left;
- background-color: #5FB878;
- color: #fff;
- }
- .chatFrame .layim-chat-text {
- position: relative;
- line-height: 22px;
- margin-top: 25px;
- padding: 8px 15px;
- background-color: #e2e2e2;
- border-radius: 3px;
- color: #333;
- word-break: break-all;
- }
- .chatFrame .layim-chat-text:after {
- content: '';
- position: absolute;
- left: -10px;
- top: 13px;
- width: 0;
- height: 0;
- border-style: solid dashed dashed;
- border-color: #e2e2e2 transparent transparent;
- overflow: hidden;
- border-width: 10px;
- }
- .chatFrame .layim-chat-mine .layim-chat-text:after {
- left: auto;
- right: -10px;
- border-top-color: #5FB878;
- }
- /*底部区域*/
- .chatFrame .layim-chat-footer {
- height: 158px;
- border-top: 1px solid #e6e6e6;
- }
- .chatFrame .layim-chat-footer .tools {
- height: 38px;
- line-height: 38px;
- }
- .chatFrame .layim-chat-footer .tools li {
- float: left;
- font-size: 26px;
- color: #333;
- cursor: pointer;
- padding: 0 8px;
- }
- .chatFrame .layim-chat-footer .tools li:hover {
- background-color: #f0f0f0;
- }
- .chatFrame .layim-chat-footer .tools li i {
- font-size: inherit !important;
- color: inherit;
- }
- .chatFrame .layim-chat-footer .tools .chatHistory {
- font-size: 14px;
- float: right;
- }
- /*输入框*/
- .chatFrame .layim-chat-footer .layim-chat-textarea textarea {
- display: block;
- width: 100%;
- padding: 5px 0 0;
- height: 83px;
- line-height: 20px;
- border: none;
- overflow: auto;
- resize: none;
- background: 0 0;
- }
- /*底部按钮*/
- .chatFrame .layim-chat-footer .layim-chat-bottom span {
- background-color: #5FB878;
- display: inline-block;
- padding: 0 20px;
- font-size: 14px;
- color: #fff;
- line-height: 32px;
- border-radius: 5px;
- float: right;
- margin-right: 8px;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- .chatFrame .layim-chat-footer .layim-chat-bottom span:hover {
- opacity: .8;
- }
- /*通知部分*/
- .newsTips {
- width: 100%;
- height: 100%;
- padding: 0 10px;
- box-sizing: border-box;
- overflow: hidden;
- }
- /*隐藏滚动条的滚动容器*/
- .newsTips .newsBox {
- /*width: calc(100% + 27px);*/
- height: 100%;
- overflow-x: hidden;
- overflow-y: auto;
- }
- .newsTips ul li {
- padding: 15px 0;
- text-indent: 2rem;
- cursor: pointer;
- border-bottom: 1px solid #e6e6e6;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- .newsTips ul li:hover {
- background-color: #f9f9f9;
- }
- .newsTips ul li p {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- overflow: hidden;
- }
|