Commit 8253e619 by zujiaozhang

'修改了图文咨询'

parent 26b4311d
......@@ -44,7 +44,6 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
chat.refreshRecord(1);
}
}); */
var getTalk = setInterval(function() {
chat.getTalkRecord();
if (document.documentElement.scrollHeight > document.documentElement.clientHeight) {
......@@ -263,6 +262,8 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
relationId: chat.relationId
},
success: function(res) {
// 发送玩消息滚动到最底部
$('.chat_list').scrollTop( $('.chat_list')[0].scrollHeight);
medtap.loading(0);
if (res.success == true) {
//window.location.reload();
......
......@@ -94,6 +94,9 @@
<div class="footer_input">
<input type="text" name="" id="sendMsg" value="" placeholder="给医生留言"/>
</div>
<div class="footer_addPic">
<img src="../images/addpic.png" alt="">
</div>
<div class="send">
发送
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment