|
|
|
@ -19,6 +19,7 @@
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: rgb(245,245,245);
|
|
|
|
|
}
|
|
|
|
|
.chatCenter{background: #fff;max-width: 800px;margin: 0 auto;}
|
|
|
|
|
.chatContext{
|
|
|
|
|
padding:0 10px;
|
|
|
|
|
width: 100%;
|
|
|
|
@ -70,19 +71,19 @@
|
|
|
|
|
.chatBoxMe .el-col-3{float: right;text-align: right;}
|
|
|
|
|
.chatBoxMe .chatUser{text-align: right}
|
|
|
|
|
.chatBoxMe .chatContent:after{left:auto;right: -10px;}
|
|
|
|
|
.chatArea{margin: 5px 0 0 5px;}
|
|
|
|
|
.chatArea .el-textarea__inner{width: 80%;}
|
|
|
|
|
.chatArea{float: left;width: 80%;}
|
|
|
|
|
.btnArea{width: 20%;float: right;}
|
|
|
|
|
.chatTitle{height: 30px;line-height: 30px;color: #1989fa}
|
|
|
|
|
.chatBoxSend{background: #fff;position: fixed;bottom: 0;left: 0;width: 100%;height: 67px;}
|
|
|
|
|
.chatBoxSendBtn{position: absolute;right: 5px;bottom:50%;margin-bottom: -16px;}
|
|
|
|
|
.chatBoxSend{background: #fff;position: fixed;bottom: 0;width: 100%;height: 67px;max-width: 800px;}
|
|
|
|
|
.chatBoxSendBtn{float: right;margin: 4px 4px 0 0;}
|
|
|
|
|
.chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;}
|
|
|
|
|
.chatTimeHide{display: none;}
|
|
|
|
|
.clear{clear:both;}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body class="text-center">
|
|
|
|
|
<div id="app" style="width:100%">
|
|
|
|
|
<body>
|
|
|
|
|
<div id="app" class="chatCenter">
|
|
|
|
|
<template>
|
|
|
|
|
<!--客服代码-->
|
|
|
|
|
<div class="chatContext">
|
|
|
|
@ -117,8 +118,10 @@
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="faceBtn visitorFaceBtn"></div>
|
|
|
|
|
<el-button type="primary" class="chatBoxSendBtn" size="small" v-on:click="chatToUser">{{.SendBtn}}</el-button>
|
|
|
|
|
<div class="btnArea">
|
|
|
|
|
<el-button type="primary" class="chatBoxSendBtn" size="small" v-on:click="chatToUser">{{.SendBtn}}</el-button>
|
|
|
|
|
<div class="faceBtn visitorFaceBtn"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--//客服代码-->
|
|
|
|
|
|
|
|
|
|