jquery+css实现自适应聊天窗口效果代码
代码语言:html
所属分类:布局界面
代码描述:jquery+css实现自适应聊天窗口效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> <style> html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent } article,aside,figcaption,figure,footer,header,hgroup,main,nav,section { display: block } body { margin: 0; font-family: Microsoft Yahei,PingFang SC,Avenir,Segoe UI,Hiragino Sans GB,STHeiti,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif; font-size: 14px; line-height: 1.4; font-weight: 400 } hr { box-sizing: content-box; height: 0; overflow: visible } h1,h2,h3,h4,h5,h6,p { margin: 0; font-size: 1em } code,kbd,pre,samp { font-family: inherit; font-size: 1em } pre { white-space: pre-wrap; word-wrap: break-word; margin: 0 } dd,dl,li,ol,ul { margin: 0; padding: 0 } ol,ul { list-style: none outside none } a { background-color: transparent; text-decoration: none } a:active { outline: 0 } abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted } b,strong { font-weight: bolder } small { font-size: 80% } sub,sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline } sub { bottom: -.25em } sup { top: -.5em } img { border-style: none; vertical-align: middle; max-width: 100% } button,input,optgroup,select,textarea { font-size: 100%; margin: 0 } button,input { overflow: visible } button,select { text-transform: none } [type=button],[type=reset],[type=submit],button { -webkit-appearance: button } [type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner { border-style: none; padding: 0 } [type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring { outline: 1px dotted ButtonText } fieldset { min-width: 0; padding: 0; margin: 0; border: 0 } legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal } progress { vertical-align: baseline } textarea { vertical-align: top; overflow: auto; resize: none } [type=checkbox],[type=radio] { box-sizing: border-box; padding: 0 } [type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button { height: auto } [type=search] { -webkit-appearance: textfield; outline-offset: -2px } [type=search]::-webkit-search-decoration { -webkit-appearance: none } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit } details { display: block } summary { display: list-item } [hidden],template { display: none } *,:after,:before { box-sizing: border-box } @font-face { font-family: iconfont; src: url(data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTYd/4ykAAA4YAAAAHEdERUYAKQAWAAAN+AAAAB5PUy8yPHVKkQAAAVgAAABWY21hcNPiz/wAAAHYAAABWmdhc3D//wADAAAN8AAAAAhnbHlmg3MarAAAA1gAAAdoaGVhZBT7AB0AAADcAAAANmhoZWEH3gOFAAABFAAAACRobXR4DhsCuAAAAbAAAAAobG9jYQ3GC/AAAAM0AAAAIm1heHABIQC5AAABOAAAACBuYW1lKeYRVQAACsAAAAKIcG9zdPJdyEsAAA1IAAAApQABAAAAAQAAzYU31V8PPPUACwQAAAAAANjt3hAAAAAA2O3eEAAA/4AEAAOAAAAACAACAAAAAAAAAAEAAAOA/4AAXAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAQAK0ABwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gfonwOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAAAAAAEAAAABAAAMwAzADMApgAlABkAAABVAYgAgAAlAFQAgAAAAAMAAAADAAAAHAABAAAAAABUAAMAAQAAABwABAA4AAAACgAIAAIAAuYH6JPoluif//8AAOYH6JHoleiZ//8Z/BdzF3IXcAABAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAA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YAbwBuAHQAAGljb25mb250AABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABpAGMAbwBuAGYAbwBuAHQAAGljb25mb250AABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAABHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuAABoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAABodHRwOi8vZm9udGVsbG8uY29tAAACAAAAAAAAAAoAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABAAAAABAAIBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgdjb250YWN0C3ZvaWNlLWNsb3NlCnZvaWNlLW9wZW4FcmVib3QDZXhwBHN0YXIFZXJyb3IGcGFpc2hlC2Fycm93LXJpZ2h0BmF2YXRlcgNhZGQKYXJyb3ctZG93bgVwaG90bwAAAAAAAAH//wACAAEAAAAMAAAAFgAAAAIAAQADAA8AAQAEAAAAAgAAAAAAAAABAAAAANWkJwgAAAAA2O3eEAAAAADY7d4Q) format("truetype"); font-weight: 400; font-style: normal } .iconfont { font-family: iconfont!important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1 } .icon-voice-close:before { content: "\e891" } .icon-voice-open:before { content: "\e892" } .icon-rebot:before { content: "\e893" } .icon-exp:before { content: "\e895" } .icon-star:before { content: "\e896" } .icon-error:before { content: "\e899" } .icon-paishe:before { content: "\e89a" } .icon-arrow-right:before { content: "\e89b" } .icon-avater:before { content: "\e89c" } .icon-add:before { content: "\e89d" } .icon-arrow-down:before { content: "\e89e" } .icon-photo:before { content: "\e89f" } .icon-contact:before { content: "\e607" } .m-chat { position: relative; overflow: hidden; height: 100% } .m-chat .inner { padding: 15px 15px 0 } .chat-hd { position: fixed; width: 100%; font-size: 0; text-align: left; padding: 15px 100px 15px 20px; border-bottom: 1px solid #eaeaea; background: #fff; vertical-align: top; z-index: 999; min-height: 56px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline } .chat-hd .title { font-size: 18px; color: #333; max-width: calc(100vw - 120px) } .chat-hd .desc,.chat-hd .title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all; word-wrap: normal } .chat-hd .desc { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; font-size: 14px; color: #999; margin-left: 10px } .chat-hd .iconbox { display: block; opacity: 1; position: absolute; right: 20px; top: 18px; cursor: pointer } .chat-hd .iconbox .iconfont { font-size: 20px; color: #666; margin-left: 10px } .chat-hd .iconbox .iconfont:first-child { margin-left: 0 } .chat-hd .iconbox .iconfont:active { color: #4979ff } .chat-hd~.chat-scroll { padding-top: 56px } .chat-scroll { padding-bottom: 50px; transition: height .3s ease-in-out; -webkit-overflow-scrolling: touch } .chat-scroll .copyright { font-size: 12px; color: #ccc; text-align: center; padding-bottom: 10px } .no-ft .chat-scroll { padding-bottom: 0 } .no-ft .chat-ft { display: none } .chat-item { width: 100%; padding-bottom: 15px } .chat-item .msg { position: relative } .chat-item .name { padding: 0 10px; margin-bottom: 2px; word-wrap: break-word; word-break: break-all; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical } .chat-item .remind { margin: 0 auto; padding: 7px 10px; font-size: 12px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.12); line-height: 18px; max-width: 275px } .chat-item .remind .remind-link { color: #4979ff } .chat-item .remind2 { padding: 7px 10px; font-size: 12px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.12); line-height: 18px; max-width: 275px; margin: 0 auto 5px } .chat-item .tips { font-size: 12px; color: #999; text-align: center; padding: 10px 0 15px } .chat-item .tips.is-tipsdot { position: relative } .chat-item .tips.is-tipsdot:before { content: ""; width: 6px; height: 6px; background: #20e283; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: 1px } .chat-item .avatar { width: 40px; height: 40px; position: absolute; top: 0; border: 1px solid #e6e6e6; border-radius: 2px } .chat-item .content { position: relative; display: inline-block; vertical-align: top } .chat-item .content.is-fail { font-family: iconfont } .chat-item .content.is-fail:after { content: "\e899"; position: absolute; top: 50%; margin-top: -10px; line-height: 1; font-size: 20px; color: #ed4343 } .chat-item .commodity { position: relative; width: 100%; height: 104px; padding: 10px; background: #fff; display: -webkit-box; display: -ms-flexbox; display: flex; border-radius: 4px } .chat-item .commodity .commodity-img { width: 84px; height: 84px; overflow: hidden; margin-right: 10px } .chat-item .commodity .commodity-img img { max-width: 100% } .chat-item .commodity .commodity-info { -webkit-box-flex: 1; -ms-flex: 1; flex: 1 } .chat-item .commodity .commodity-title { font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: left; color: #000; padding: 1px 0 } .chat-item .commodity .commodity-price { margin-top: 5px } .chat-item .commodity .commodity-price .now { font-size: 14px; color: #4979ff; font-weight: 500; display: block; padding-top: 1px } .chat-item .commodity .commodity-price .sale { display: block; font-size: 13px; color: #ccc; text-decoration: line-through; margin-top: 1px } .chat-item .commodity .commodity-price .sale.no-price { text-decoration: none } .chat-item .commodity .commodity-link { position: absolute; right: 10px; bottom: 10px; color: #fff; display: inline-block; background: #4979ff; border-radius: 4px; font-size: 13px; padding: 10px 15px; line-height: 1 } .chat-item .picture img { display: block; cursor: pointer; max-width: 140px; max-height: 140px } .chat-item .bubble { position: relative; display: inline-block; background: #fff; word-wrap: break-word; word-break: break-all; border-radius: 4px; text-align: left } .chat-item .bubble:before { position: absolute; top: 8px; border: 6px solid transparent; content: " " } .chat-item .bubble pre { padding: 9.5px 10px; text-align: justify; font-size: 15px } .chat-item.is-left .msg { text-align: left } .chat-item.is-left .avatar { left: 0 } .chat-item.is-left .bubble { margin-left: 10px } .chat-item.is-left .bubble:before { border-right-color: #fff; border-right-width: 8px; right: 100% } .chat-item.is-left .content { padding-right: 20.5px } .chat-item.is-left .content.is-fail:after { right: -5px } .chat-item.is-left .avatar~.content { padding-left: 40px } .chat-item.is-right .msg { text-align: right } .chat-item.is-right .avatar { right: 0 } .chat-item.is-right .content { padding-left: 20.5px } .chat-item.is-right .content.is-fail:after { left: -5px } .chat-item.is-right .avatar~.content { padding-right: 40px } .chat-item.is-right .commodity { width: 275px } .chat-item.is-right .bubble { background: #4979ff; margin-right: 10px; color: #fff } .chat-item.is-right .bubble:before { left: 100%; border-left-color: #4979ff; border-left-width: 8px } .chat-item.is-right .bubble.is-whitearrow:before { border-left-color: #fff } .chat-item.is-commodity { padding-bottom: 25px } .chat-item.is-commodity .bubble,.chat-item.is-commodity .content { width: 100% } .chat-appraise { padding: 10px } .chat-appraise .title { font-size: 15px; color: #333; font-weight: 400 } .chat-appraise .star { font-size: 0; position: relative; padding: 15px 0 21.5px } .chat-appraise .icon-star { display: inline-block; margin: 0 10.5px; font-size: 30px; color: #d8d8d8 } .chat-appraise .icon-star.is-current { color: #4979ff } .chat-appraise .desc { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center } .chat-appraise .desc span { text-align: center; font-size: 12px; color: #666 } .chat-issues { padding: 0 10px; border-top: 1px solid #e6e6e6 } .chat-issues .title { font-size: 15px; padding: 10px 0; font-weight: 400; border-bottom: 1px solid #e6e6e6 } .chat-issues .item { font-size: 15px; padding: 10px 20px 0; margin-bottom: 10px; line-height: 20px; position: relative; border-top: 1px solid #e6e6e6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical } .chat-issues .item:first-child { border-top: none } .chat-issues .item:active { color: #4979ff } .chat-issues .item:before { content: ""; position: absolute; display: inline-block; width: 5px; height: 5px; top: 20px; margin-top: -2.5px; left: 5px; border-radius: 50%; background: #4979ff } .chat-issues .item.is-arrow { font-family: iconfont } .chat-issues .item.is-arrow:after { content: "\e89b"; font-size: 20px; right: 0; position: absolute; top: 50%; margin-top: 5px; -webkit-transform: translateY(-50%); transform: translateY(-50%) } .chat-ft { position: fixed; bottom: 0; left: 0; right: 0; background: #f6f6f6; border-top: 1px solid #e5e5e6; height: 50px; transition: height .3s ease-in-out } .chat-ft .tool-view { font-size: 0; height: 210px; position: relative } .chat-ft .tool-view .item { width: 25%; padding: 15px 0; display: inline-block; text-align: center } .chat-ft .tool-view .iconfont { font-size: 36px; color: #979797 } .chat-ft .tool-view .desc { font-size: 12px; color: #666; margin-top: 7.5px } .chat-ft .tool-view .list { width: 100%; background: #f6f6f6 } .chat-ft .tool-view .emoticon,.chat-ft .tool-view .list { height: 210px; position: absolute; left: 0; top: 210px; opacity: 0; transition: top .2s ease-in-out } .chat-ft .tool-view .emoticon.is-show { z-index: 10; opacity: 1; top: 0 } .m-expression { position: relative; height: 210px } .m-expression .exp-cont .exp-slide { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; overflow: hidden; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -ms-flex-line-pack: start; align-content: flex-start; padding: 23.5px 27.5px } .m-expression .exp-cont .face-item { text-align: center; display: block; height: 48px; -webkit-box-flex: 0; -ms-flex: 0 0 12.5%; flex: 0 0 12.5% } .m-expression .exp-cont .face-item img { width: 25px; height: 25px } .m-expression .exp-page { position: absolute; bottom: 15px; width: 100%; text-align: center } .m-expression .exp-page .list-item { display: inline-block; width: 9px; height: 9px; background: #dadada; border-radius: 50%; margin: 0 5px } .m-expression .exp-page .list-item.current { background: #666 } .chat-toolbar { position: relative } .chat-toolbar .inputone { padding: 7px 91px 7px 15px; transition: padding-right .3s ease-in-out } .chat-toolbar .inputone input { height: 36px } .chat-toolbar .inputtwo { display: none } .chat-toolbar .operat { position: absolute; right: 16px; top: 0; font-size: 0; padding: 12px 0; transition: right .3s ease-in-out } .chat-toolbar .operat .iconfont { display: inline-block; font-size: 26px; vertical-align: top; margin-left: 12px; cursor: pointer; color: #666; vertical-align: middle; opacity: 1; transition: opacity .1s ease-in-out } .chat-toolbar .operat .iconfont.chosen,.chat-toolbar .operat .iconfont:active,.chat-toolbar .operat .iconfont:hover { color: #265bed } .chat-toolbar .chat-btn { opacity: 0; position: absolute; right: -50px; top: 7px; height: 36px; line-height: 36px; padding: 0 10px; transition: right .3s ease-in-out; transition: opacity .3s ease-in-out } .chat-toolbar.is-inputing .inputone { padding-right: 111px } .chat-toolbar.is-inputing .operat { right: 36px } .chat-toolbar.is-inputing .icon-add { opacity: 0 } .chat-toolbar.is-inputing .chat-btn { opacity: 1; right: 15px } .chat-input { display: inline-block; width: 100%; line-height: 1.5; padding: 4px 10px; font-size: 15px; border: none; border-radius: 2px; color: #000; background-color: #fff; background-image: none; position: relative; cursor: text; box-sizing: border-box } .chat-input:focus { outline: 0 } .chat-input::-webkit-input-placeholder { color: #ccc } .chat-input:-moz-placeholder,.chat-input::-moz-placeholder { color: #ccc } .chat-input:-ms-input-placeholder { color: #ccc } .chat-btn { display: inline-block; margin-bottom: 0; font-weight: 400; text-align: center; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: none; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; min-width: 50px; padding: 7px 10px; font-size: 15px; color: #fff; background-color: #4979ff; box-sizing: border-box; vertical-align: middle } .chat-btn.btn-long { width: 100% } .chat-btn[disabled] { background: red; background: #ccdaff } .modal-mask { top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(55,55,55,.6); height: 100%; transition: all .4s ease; opacity: 1 } .modal-mask,.modal-wrap { position: fixed; z-index: 10000 } .modal-wrap { outline: 0; left: 50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%); top: 50%; box-shadow: 0 2px 8px 0 rgba(0,0,0,.14); background: #fff; border-radius: 4px } .modal-wrap .modal-content .modal-hd { height: 24px; font-size: 16px; line-height: 24px; padding: 0 10px; border-bottom: 1px solid #e5e5e6; font-weight: bolder; overflow: hidden; box-sizing: border-box } .modal-wrap .modal-content .modal-ft { font-size: 0; padding: 0 10px 10px 0; text-align: right; position: relative } .prompt-alert--modal { width: 280px } .prompt-alert--modal .prompt-alert__ft { border-top: 1px solid #e5e5e6 } .prompt-alert--modal .prompt-alert__btnWrap { display: -webkit-box; display: -ms-flexbox; display: flex; height: 50px } .prompt-alert--modal .prompt-alert__content { font-size: 18px; color: #000; text-align: center; padding: 32px 30px 25px } .prompt-alert--modal .prompt-alert__btnItem { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; line-height: 50px; font-size: 18px; text-align: center } .prompt-alert--modal .confirm { color: #265cf0 } .m-chat .chat-scroll.-prompt { background: #fff; padding-bottom: 0 } .m-chat .chat-hd~.chat-scroll.-prompt .minscroll { min-height: calc(100vh - 82px) } .m-chat .chat-hd~.chat-scroll.-prompt .chat-ft { display: none } .m-chat .chat-scroll.-prompt .m-prompt { min-height: inherit } .m-chat .chat-scroll.-prompt .m-prompt .m-prompt__bd { position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%) } .m-prompt { position: relative } .m-prompt .m-prompt__bd { width: 100% } .m-prompt .m-prompt__image { width: 105px; height: 105px; margin: 0 auto } .m-prompt .prompt-image { display: block; width: 100%; height: 100% } .m-prompt .m-prompt__txt { color: #000 } .m-prompt .m-prompt__desc,.m-prompt .m-prompt__txt { font-size: 14px; text-align: center; max-width: 295px; margin: 8px auto 0 } .m-prompt .m-prompt__desc { color: #999; line-height: 21px } .m-prompt .m-prompt__btnWrap { margin-top: 30px; text-align: center } .m-prompt__btn { display: inline-block; margin-bottom: 0; font-weight: 400; text-align: center; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: none; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; min-width: 165px; padding: 0 10px; line-height: 45px; font-size: 16px; border-radius: 4px; color: #fff; background-color: #265cf0; box-sizing: border-box; vertical-align: middle } body,html { height: 100% } .main { min-height: 600px; padding-top: 30px; transition: padding .3s linear; -webkit-backface-visibility: hidden; backface-visibility: hidden } .main .main-inner { max-width: 800px; min-width: 800px; margin: 0 auto; overflow: hidden; background: #ededed; height: 100% } @media (max-height: 600px),(max-width:1000px) { .main { padding-top:0; height: 100%; min-height: auto } .main .main-inner { min-width: 100% } .m-chat.is-ftool .chat-ft { height: 260px } .m-chat.is-ftool .chat-scroll { padding-bottom: 260px } .m-chat.is-ftool .copyright { display: none } .m-chat.is-ftool .chat-scroll .minscroll { min-height: calc(100vh - 336px) } .m-chat.is-ftool .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 392px) } .m-chat .chat-hd~.chat-scroll { height: 100vh; overflow: auto } .m-chat .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 132px) } .m-chat .chat-scroll { height: 100vh; overflow: auto } .m-chat .chat-scroll .minscroll { min-height: calc(100vh - 76px) } .js-pc-chat .m-chat.is-ftool .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 282px) } .chat-ft .list.is-show { z-index: 10; opacity: 1; top: 0 } .chat-ft .tool-view .emoticon { width: 100% } .chat-ft .chat-toolbar .operat .icon-photo { display: none } .chat-appraise .star { min-width: 255px; padding: 15px 20px 21.5px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between } .chat-appraise .icon-star { margin: 0 } .js-pc-chat .m-chat .chat-scroll { height: calc(100vh - 200px) } .js-pc-chat .m-chat .chat-scroll.-prompt,.js-pc-chat .m-chat.no-ft .chat-scroll { height: 100vh } .js-pc-chat .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 282px) } .js-pc-chat .chat-scroll .minscroll { min-height: calc(100vh - 226px) } } @media (max-width: 320px) { .chat-appraise .star { min-width:219px; padding: 15px 0 21.5px } } @media (min-height: 600px) and (min-width:1000px) { .chat-hd { position:relative; display: block; white-space: nowrap } .chat-hd .title { max-width: 400px; overflow: hidden; text-overflow: ellipsis; word-break: break-all; word-wrap: normal } .chat-hd .desc,.chat-hd .title { display: inline-block; white-space: nowrap } .chat-hd .desc { max-width: 500px; vertical-align: 1px } .chat-hd .iconbox .iconfont:hover,.chat-issues .item:hover { color: #4979ff } .main-inner { box-shadow: 0 2px 8px 0 rgba(0,0,0,.14) } .m-chat .chat-scroll { background: #f7f7fb; height: calc(100vh - 260px); overflow-x: hidden; overflow-y: overlay; padding-bottom: 0; display: block } .m-chat .chat-scroll .minscroll { min-height: calc(100vh - 286px) } .m-chat .chat-scroll .copyright { font-size: 12px } .m-chat .chat-ft { background: #f7f7fb } .m-chat .chat-hd~.chat-scroll { padding-top: 0; height: calc(100vh - 316px) } .m-chat .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 342px) } .m-chat.no-ft .chat-hd~.chat-scroll { height: calc(100vh - 116px) } .m-chat.no-ft .chat-hd~.chat-scroll .minscroll { min-height: calc(100vh - 142px) } .m-chat .chat-hd~.chat-scroll.-prompt { background: #f7f7fb; overflow-x: hidden; overflow-y: overlay; height: calc(100vh - 116px) } .m-chat .chat-hd~.chat-scroll.-prompt .minscroll { min-height: calc(100vh - 142px) } .m-chat .chat-hd~.chat-scroll.-prompt .m-prompt__image { width: 140px; height: 140px } .m-chat .chat-hd~.chat-scroll.-prompt .m-prompt__txt { color: #666; font-size: 16px; margin-top: 16px; max-width: 420px } .m-chat .chat-hd~.chat-scroll.-prompt .m-prompt__desc { margin-top: 12px; max-width: 420px } .m-chat .chat-hd~.chat-scroll.-prompt .m-prompt__btnWrap { margin-top: 40px } .m-chat .chat-hd~.chat-scroll.-prompt .m-prompt__btn { min-width: 120px; line-height: 40px; font-size: 14px; border-radius: 0 } .chat-item .picture img { max-width: 500px; max-height: 350px } .chat-ft { position: relative; background: #fff; height: 200px } .chat-ft .tool-view { height: auto } .chat-ft .tool-view .emoticon { height: auto; top: -200px; opacity: 0; transition: top .3s ease; display: none } .chat-ft .tool-view .emoticon.is-show { display: inline-block; left: 10px; top: -236px; background: #fafafb; box-shadow: 0 2px 8px 0 rgba(0,0,0,.14) } .m-expression { height: auto } .m-expression .exp-cont { overflow: hidden } .m-expression .exp-cont .exp-slide { max-width: 460px; height: 226px; display: inline-block; overflow-x: hidden; overflow-y: overlay; padding: 15px 20px } .m-expression .exp-cont .exp-slide .face-item { float: left; width: 28px; height: 28px; font-size: 0; position: relative } .m-expression .exp-cont .exp-slide .face-item img { position: absolute; left: 50%; margin-left: -12.5px; top: 50%; margin-top: -12.5px } .m-expression .exp-page { display: none } .chat-item .bubble { border-radius: 1px } .chat-toolbar { border-color: hsla(0,0%,92%,.5); height: 200px } .chat-toolbar .operat { left: 0; right: 0; padding: 10px 0 } .chat-toolbar .operat .iconfont { margin-left: 20px } .chat-toolbar .operat .icon-add { display: none } .chat-toolbar .operat .icon-photo { display: inline-block } .chat-toolbar .operat .iconfont { font-size: 20px } .chat-toolbar .inputone { display: none } .chat-toolbar .inputtwo { display: block; position: absolute; top: 40px; width: 100%; padding: 0; z-index: 99 } .chat-toolbar .inputtwo .chat-input { padding: 4px 20px; height: 90px; font-size: 14px; background: #f7f7fb } .chat-toolbar .chat-btn { opacity: 1; right: 20px; bottom: 20px; width: 92px; top: auto; font-size: 14px; border-radius: 4px } .chat-item .commodity { height: 132px; padding: 20px; border-radius: 1px } .chat-item .commodity .commodity-title { font-size: 14px } .chat-item .commodity .commodity-price { margin-top: 10px } .chat-item .commodity .commodity-price .now { font-size: 16px } .chat-item .commodity .commodity-price .sale { font-size: 14px } .chat-item .commodity .commodity-img { width: 92px; height: 92px; margin-right: 14px } .chat-item .commodity .commodity-link { font-size: 14px; padding: 9px 16px; bottom: 20px; right: 20px; border-radius: 4px } .chat-item.is-right .commodity { width: 380px } ::-webkit-scrollbar { position: absolute; right: 0; top: 0; width: 6px; height: 6px; opacity: 0; display: none } ::-webkit-scrollbar-thumb:vertical { background: rgba(0,0,0,.4); border-radius: 0 } ::-webkit-scrollbar-track { display: none } :hover::-webkit-scrollbar { opacity: 1; display: block } } .js-mobile-chat .m-chat,.js-mobile-chat .main-inner { height: 100% } .js-pc-chat .m-chat .chat-scroll { overflow-x: hidden; overflow-y: overlay; padding-bottom: 0 } .js-pc-chat .chat-hd .iconbox .iconfont:hover { color: #4979ff } .js-pc-chat .chat-ft .chat-toolbar .inputone { display: none } .js-pc-chat .chat-ft .chat-toolbar .inputtwo { display: block; position: absolute; top: 40px; width: 100%; padding: 0; z-index: 99 } .js-pc-chat .chat-ft .chat-toolbar .operat { left: 0; right: 0; padding: 10px 0 } .js-pc-chat .chat-ft .chat-toolbar .iconfont { font-size: 20px; margin-left: 20px; display: inline-block } .js-pc-chat .chat-ft .chat-toolbar .inputtwo { padding: 0 20px } .js-pc-chat .chat-ft .chat-input { padding: 0; height: 90px } .js-pc-chat .chat-ft .chat-toolbar { height: 200px } .js-pc-chat .chat-ft .tool-view { height: auto } .js-pc-chat .chat-toolbar .chat-btn { opacity: 1; right: 20px; bottom: 20px; width: 92px; top: auto; font-size: 14px; z-index: 99999 } .js-pc-chat .chat-ft .tool-view .emoticon { width: auto; padding: 10px } .js-pc-chat .m-expression .exp-cont .exp-slide { height: 173px; overflow-x: hidden; overflow-y: overlay; padding: 0 } .js-pc-chat .m-expression .exp-cont .face-item { height: auto; padding: 5px 0 } .js-pc-chat .m-expression { height: auto } .js-pc-chat .chat-ft .list.is-show,.js-pc-chat .m-expression .exp-page { display: none } .js-pc-chat .chat-ft .tool-view .emoticon.is-show { left: 13.5px; right: 13.5px; top: -205px; display: inline-block; height: auto; background: #fafafb; box-shadow: 0 2px 8px 0 rgba(0,0,0,.14) } .js-pc-chat .chat-ft { height: 200px; background: #f6f6f6 } .js-pc-chat .chat-ft .chat-input { background: #f7f7fb } .js-pc-chat .m-chat.is-ftool .chat-ft { height: 200px } .js-pc-chat .chat-item .remind2 { background: none; color: #999; max-width: 470px; padding: 0 33px 25px; text-align: center } .js-pc-chat ::-webkit-scrollbar { position: absolute; right: 0; top: 0; width: 6px; height: 6px; opacity: 0; display: none } .js-pc-chat ::-webkit-scrollbar-thumb:vertical { background: rgba(0,0,0,.4); border-radius: 0 } .js-pc-chat ::-webkit-scrollbar-track { display: none } .js-pc-chat :hover::-webkit-scrollbar { opacity: 1; display: block } .swiper-container { margin: 0 auto; position: relative; overflow: hidden; list-style: none; padding: 0; z-index: 1 } .swiper-container-no-flexbox .swiper-slide { float: left } .swiper-container-vertical>.swiper-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-transition-property: -webkit-transform; transition-property: -webkit-transform; -o-transition-property: transform; transition-property: transform; transition-property: transform,-webkit-transform; -webkit-box-sizing: content-box; box-sizing: content-box } .swiper-container-android .swiper-slide,.swiper-wrapper { -webkit-transform: translateZ(0); transform: translateZ(0) } .swiper-container-multirow>.swiper-wrapper { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap } .swiper-container-free-mode>.swiper-wrapper { -webkit-transition-timing-function: ease-out; -o-transition-timing-function: ease-out; transition-timing-function: ease-out; margin: 0 auto } .swiper-slide { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; width: 100%; height: 100%; position: relative; -webkit-transition-property: -webkit-transform; transition-property: -webkit-transform; -o-transition-property: transform; transition-property: transform; transition-property: transform,-webkit-transform } .swiper-slide-invisible-blank { visibility: hidden } .swiper-container-autoheight,.swiper-container-autoheight .swiper-slide { height: auto } .swiper-container-autoheight .swiper-wrapper { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; -webkit-transition-property: height,-webkit-transform; transition-property: height,-webkit-transform; -o-transition-property: transform,height; transition-property: transform,height; transition-property: transform,height,-webkit-transform } .swiper-container-3d { -webkit-perspective: 1200px; perspective: 1200px } .swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper { -webkit-transform-style: preserve-3d; transform-style: preserve-3d } .swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10 } .swiper-container-3d .swiper-slide-shadow-left { background-image: -webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent)); background-image: -webkit-linear-gradient(right,rgba(0,0,0,.5),transparent); background-image: -o-linear-gradient(right,rgba(0,0,0,.5),transparent); background-image: linear-gradient(270deg,rgba(0,0,0,.5),transparent) } .swiper-container-3d .swiper-slide-shadow-right { background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent)); background-image: -webkit-linear-gradient(left,rgba(0,0,0,.5),transparent); background-image: -o-linear-gradient(left,rgba(0,0,0,.5),transparent); background-image: linear-gradient(90deg,rgba(0,0,0,.5),transparent) } .swiper-container-3d .swiper-slide-shadow-top { background-image: -webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent)); background-image: -webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent); background-image: -o-linear-gradient(bottom,rgba(0,0,0,.5),transparent); background-image: linear-gradient(0deg,rgba(0,0,0,.5),transparent) } .swiper-container-3d .swiper-slide-shadow-bottom { background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent)); background-image: -webkit-linear-gradient(top,rgba(0,0,0,.5),transparent); background-image: -o-linear-gradient(top,rgba(0,0,0,.5),transparent); background-image: linear-gradient(180deg,rgba(0,0,0,.5),transparent) } .swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper { -ms-touch-action: pan-y; touch-action: pan-y } .swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper { -ms-touch-action: pan-x; touch-action: pan-x } .swiper-button-next,.swiper-button-prev { position: absolute; top: 50%; width: 27px; height: 44px; margin-top: -22px; z-index: 10; cursor: pointer; background-size: 27px 44px; background-position: 50%; background-repeat: no-repeat } .swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled { opacity: .35; cursor: auto; pointer-events: none } .swiper-button-prev,.swiper-container-rtl .swiper-button-next { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E"); left: 10px; right: auto } .swiper-button-next,.swiper-container-rtl .swiper-button-prev { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E"); right: 10px; left: auto } .swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E") } .swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E") } .swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E") } .swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E") } .swiper-button-lock { display: none } .swiper-pagination { position: absolute; text-align: center; -webkit-transition: opacity .3s; -o-transition: .3s opacity; transition: opacity .3s; -webkit-transform: translateZ(0); transform: translateZ(0); z-index: 10 } .swiper-pagination.swiper-pagination-hidden { opacity: 0 } .swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction { bottom: 10px; left: 0; width: 100% } .swiper-pagination-bullets-dynamic { overflow: hidden; font-size: 0 } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { -webkit-transform: scale(.33); -ms-transform: scale(.33); transform: scale(.33); position: relative } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1) } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { -webkit-transform: scale(.66); -ms-transform: scale(.66); transform: scale(.66) } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { -webkit-transform: scale(.33); -ms-transform: scale(.33); transform: scale(.33) } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { -webkit-transform: scale(.66); -ms-transform: scale(.66); transform: scale(.66) } .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { -webkit-transform: scale(.33); -ms-transform: scale(.33); transform: scale(.33) } .swiper-pagination-bullet { width: 8px; height: 8px; display: inline-block; border-radius: 100%; background: #000; opacity: .2 } button.swiper-pagination-bullet { border: none; margin: 0; padding: 0; -webkit-box-shadow: none; box-shadow: none; -webkit-appearance: none; -moz-appearance: none; appearance: none } .swiper-pagination-clickable .swiper-pagination-bullet { cursor: pointer } .swiper-pagination-bullet-active { opacity: 1; background: #007aff } .swiper-container-vertical>.swiper-pagination-bullets { right: 10px; top: 50%; -webkit-transform: translate3d(0,-50%,0); transform: translate3d(0,-50%,0) } .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 6px 0; display: block } .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic { top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); width: 8px } .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swipe.........完整代码请登录后点击上方下载按钮下载查看
网友评论0