Skip to content

Commit

Permalink
解决滚动
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jun 14, 2017
1 parent 77ce757 commit b1aee10
Show file tree
Hide file tree
Showing 35 changed files with 21 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules/
dist/
npm-debug.log
weixin/
10 changes: 4 additions & 6 deletions src/frames/conversation/groupchat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,12 @@
this.gropname=res.petname;
//this.groupconversine=[...res.grouphead];
});
<<<<<<< HEAD
socket.on('chat', function (data) {
console.log(data);//聊天返回内容
=======
socket.on('chat', (data) => {
console.log(data);//聊天返回内容
this.groupconversine.push(data)
>>>>>>> fcb41450fc1df1587f1bc4e289ffae3bb2df400a
this.groupconversine.push(data);
this.$nextTick(()=>{
window.scrollTo(0,this.$refs.groupHeight.offsetHeight-window.innerHeight)
})
});
chatData().then((res) => {
this.chatData=res;
Expand Down
2 changes: 1 addition & 1 deletion weixin/static/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions weixin/static/js/aboutwc.4c769f907da0ebe045de.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/addressbook.b5bc84badd17a06b5894.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion weixin/static/js/app.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions weixin/static/js/cardbag.41111d417a907608db80.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/chat.4949fd6fa9889335d4ca.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/chatmessage.b58415092ac09b806498.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/collect.44638360d18408b335ed.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/computer.31eded42d1b107b870f3.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/currency.a8d5e65da4f8f075dc68.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/details.74c5d6eb0ce5bb56c19e.min.js

This file was deleted.

3 changes: 0 additions & 3 deletions weixin/static/js/dialogue.475b0cf24edc52436134.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/disturbance.e907968e0a3873b01e65.min.js

This file was deleted.

3 changes: 0 additions & 3 deletions weixin/static/js/find.43dbf9f423b86c48386c.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/friendcircle.6af1cdfab057fd3b4ceb.min.js

This file was deleted.

6 changes: 0 additions & 6 deletions weixin/static/js/groupchat.4fdfc970a06742c4e0ad.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/groupchatmessage.5a4f5a7f1468a8559bab.min.js

This file was deleted.

1 change: 0 additions & 1 deletion weixin/static/js/help.e743c35707ad636be767.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/login.af085b0a9a92f645d9cb.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion weixin/static/js/manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions weixin/static/js/me.33e1fb0c7fae680b8c16.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/miniapps.e57c0077cebd29e2cd24.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/more.665ed89984fd8976ffdb.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/newmessage.c34b1386b5db608e45a0.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/personaldetails.8d3017d7e43b1626455c.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/photoalbum.2820731419523eddc424.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/privacy.519f2e3381d9908087ef.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/search.6b2a5dd5a71bcd39b5c3.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/settings.08d9fcfb1c2d827d7825.min.js

This file was deleted.

6 changes: 0 additions & 6 deletions weixin/static/js/singlechat.f04c11601bd029c042bb.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions weixin/static/js/transfer.5b94c330a7146b508c32.min.js

This file was deleted.

26 changes: 13 additions & 13 deletions weixin/static/js/vendor.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions weixin/static/js/wallet.d8aea85bff3aa2196fbf.min.js

This file was deleted.

0 comments on commit b1aee10

Please sign in to comment.