客服输入框界面

master
taoshihan 3 years ago
parent a890decfdc
commit d9b4c590e7

@ -331,9 +331,11 @@ a{color: #07a9fe;text-decoration: none;}
color:#007aff; color:#007aff;
cursor: pointer; cursor: pointer;
} }
.iconBtnsBox .kefuSendBtn{ .kefuSendBtn{
margin-left: auto; position: absolute;
margin-right: 2px; right: 10px;
bottom: 10px;
z-index: 2;
} }
.clear{clear:both;} .clear{clear:both;}
@ -504,7 +506,10 @@ a{color: #07a9fe;text-decoration: none;}
line-height: 23px; line-height: 23px;
color: #666; color: #666;
} }
/* 定义滚动条的宽度、高度和背景色 */ .chatArea .el-textarea__inner{
border: none;
}
/* 定义滚动条的宽度、高度和背景色 */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8px; width: 8px;
height: 10px; height: 10px;

@ -11,6 +11,7 @@
<link rel="stylesheet" href="/static/css/common.css?v=dgftr65ujhfg"> <link rel="stylesheet" href="/static/css/common.css?v=dgftr65ujhfg">
<script src="/assets/js/functions.js"></script> <script src="/assets/js/functions.js"></script>
<script src="/assets/js/reconnecting-websocket.min.js"></script> <script src="/assets/js/reconnecting-websocket.min.js"></script>
<link rel="stylesheet" href="/static/css/icon/iconfont.css?v=fgjlgfda"/>
<style> <style>
html, body {overflow:hidden;height: 100%;padding: 0;margin: 0;background-color: #f5f5f5;} html, body {overflow:hidden;height: 100%;padding: 0;margin: 0;background-color: #f5f5f5;}
.el-row{width:100%} .el-row{width:100%}
@ -114,7 +115,7 @@
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<el-tooltip content="发送表情" placement="top"> <el-tooltip content="发送表情" placement="top">
<div class="iconBtn faceBtn el-icon-s-shop" style="font-size: 24px;" @click.stop="showFaceIcon==true?showFaceIcon=false:showFaceIcon=true"></div> <div class="iconBtn iconfont icon-xiaolian" style="font-size: 24px;" @click.stop="showFaceIcon==true?showFaceIcon=false:showFaceIcon=true"></div>
</el-tooltip> </el-tooltip>
<el-tooltip content="上传图片" placement="top"> <el-tooltip content="上传图片" placement="top">
@ -126,10 +127,11 @@
<el-tooltip content="消息记录" placement="top"> <el-tooltip content="消息记录" placement="top">
<div class="iconBtn el-icon-chat-line-round" v-on:click="getMesssagesByVisitorId(visitor.visitor_id,true)" style="font-size: 24px;"></div> <div class="iconBtn el-icon-chat-line-round" v-on:click="getMesssagesByVisitorId(visitor.visitor_id,true)" style="font-size: 24px;"></div>
</el-tooltip> </el-tooltip>
<el-button class="kefuSendBtn" :disabled="sendDisabled" size="mini" type="primary" v-on:click="chatToUser">发送</el-button>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
<el-input type="textarea" :rows="4" class="chatArea" v-model="messageContent" v-on:keyup.enter.native="chatToUser" placeholder="请输入内容"></el-input> <el-button class="kefuSendBtn" :disabled="sendDisabled" size="mini" type="primary" v-on:click="chatToUser">发送</el-button>
<el-input type="textarea" :autosize="{ minRows: 8, maxRows: 12}" class="chatArea" v-model="messageContent" v-on:keyup.enter.native="chatToUser" placeholder="请输入内容"></el-input>
</div> </div>
</div> </div>

Loading…
Cancel
Save