|
|
@ -16,9 +16,9 @@
|
|
|
|
.el-row{width:100%}
|
|
|
|
.el-row{width:100%}
|
|
|
|
.chatBg{background: #fff;border: solid 1px #e6e6e6;overflow: hidden;}
|
|
|
|
.chatBg{background: #fff;border: solid 1px #e6e6e6;overflow: hidden;}
|
|
|
|
.chatLeft{height:100%;margin-left: 4px;overflow:auto;}
|
|
|
|
.chatLeft{height:100%;margin-left: 4px;overflow:auto;}
|
|
|
|
.sw-bg{background: #fff;border: solid 1px #e6e6e6;boder-top:none;padding:5px 10px;}
|
|
|
|
.sw-bg{background: #fff;border: solid 1px #e6e6e6;boder-top:none;}
|
|
|
|
.chatBgContext .el-row{margin-bottom: 5px;}
|
|
|
|
.chatBgContext .el-row{margin-bottom: 5px;}
|
|
|
|
.chatBgContext{position: relative;height: 100%;}
|
|
|
|
.chatBgContext{position: relative;height: 100%;width: 100%;}
|
|
|
|
.chatUser{
|
|
|
|
.chatUser{
|
|
|
|
line-height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-size: 12px;
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chatBoxMe .el-col-3{float: right;text-align: right;}
|
|
|
|
.chatBoxMe .el-col-3{float: right;text-align: right;}
|
|
|
|
.chatBoxMe .chatUser{text-align: right}
|
|
|
|
.chatBoxMe .chatUser{text-align: right}
|
|
|
|
.chatBox{height: 340px;overflow-y: auto;overflow-x: hidden;}
|
|
|
|
.chatBox{width: 100%;height:70%;position: absolute;top: 75px;overflow-y: auto;overflow-x: hidden;}
|
|
|
|
.chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;}
|
|
|
|
.chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;}
|
|
|
|
.funcBtns{margin: 2px 0px;color: #7f7f7f;border-bottom: 1px solid #e6e6e6;font-size: 12px;padding: 5px 0px;}
|
|
|
|
.funcBtns{margin: 2px 0px;color: #7f7f7f;border-bottom: 1px solid #e6e6e6;font-size: 12px;padding: 5px 0px;}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
@ -99,26 +99,28 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-alert
|
|
|
|
<div class="kefuFuncBox">
|
|
|
|
v-show="chatInputing!=''"
|
|
|
|
<el-alert
|
|
|
|
:closable="false"
|
|
|
|
v-show="chatInputing!=''"
|
|
|
|
show-icon
|
|
|
|
:closable="false"
|
|
|
|
:title="chatInputing"
|
|
|
|
show-icon
|
|
|
|
>
|
|
|
|
:title="chatInputing"
|
|
|
|
</el-alert>
|
|
|
|
>
|
|
|
|
<div class="iconBtnsBox">
|
|
|
|
</el-alert>
|
|
|
|
<div class="faceBox kefuFaceBox">
|
|
|
|
<div class="iconBtnsBox">
|
|
|
|
<ul class="faceBoxList">
|
|
|
|
<div class="faceBox kefuFaceBox">
|
|
|
|
<li v-on:click="faceIconClick(i)" class="faceIcon" v-for="(v,i) in face" :title="v.name"><img :src=v.path></li>
|
|
|
|
<ul class="faceBoxList">
|
|
|
|
</ul>
|
|
|
|
<li v-on:click="faceIconClick(i)" class="faceIcon" v-for="(v,i) in face" :title="v.name"><img :src=v.path></li>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="faceBtn"></div>
|
|
|
|
|
|
|
|
<div class="imageBtn" id="uploadImg" v-on:click="uploadImg('/uploadimg')"></div>
|
|
|
|
|
|
|
|
<el-button :disabled="sendDisabled" size="small" class="floatRight" type="primary" v-on:click="chatToUser">发送</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="faceBtn"></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="imageBtn" id="uploadImg" v-on:click="uploadImg('/uploadimg')"></div>
|
|
|
|
<el-input type="textarea" class="chatArea" v-model="messageContent" v-on:keyup.enter.native="chatToUser" placeholder="请输入内容"></el-input>
|
|
|
|
<el-button :disabled="sendDisabled" size="small" class="floatRight" type="primary" v-on:click="chatToUser">发送</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
<el-input type="textarea" class="chatArea" v-model="messageContent" v-on:keyup.enter.native="chatToUser" placeholder="请输入内容"></el-input>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6" class="chatRight">
|
|
|
|
<el-col :span="6" class="chatRight">
|
|
|
|