Coder Social home page Coder Social logo

wechat's Introduction

微信

10.1

完成了Level 1和Level 2,Level 3刚起步,在通讯录页面上

暂时还没有遇到什么疑问。。(出现的疑问直接百度出来了)

感觉页面写得有点慢

10.2

level 3中未完成的功能:

发布朋友圈,一开始(因为不想改input type=file的样式)设置了一个背景图片为“添加图片”的div,然后点击这个div时触发input的onclick事件,但是不知道为什么会报错。 div和input均没有onclick函数。(div可以通过addEventListener监听click,但onclick就报错。。)最后还是用了伪类改css。

发布朋友圈的write.js上还没写东西(写了会报错的onclick。。)就暂时不push

通讯录的索引,想法是用a标签的href实现,但是通讯录上方的header部分用了固定定位不占位置,导致页面滚动之后会有一部分被header盖住

朋友圈页面的header,这个header会随着页面滚动渐变透明度,获取到了header的background属性但是发现这个是只读的不能修改,暂时只实现到随着页面滚动瞬间改变透明度

各个页面之间的跳转联系等我把level 3搞完再整体处理

10.3

level 3基本完成?改bug改了好久:cry:

首页里"我"的那一部分好像没有什么要求我就暂时先没写,大概就是一个静态页面也没什么交互。。要是整活完后台还有时间我就把这个补上

在看nodejs和Socket.IO

10.4

上午看了一点websocket,感觉应该先创建用户就又跳去学express和MongoDB(然而东西太多了很多都记不住。。)

有在别的文件夹里做一些练习demo,补微信的登录界面的时候有一点晚,现在大概是前后端之间能互相传输数据的程度,页面内容的修改还没来得及做

server.js里用了一个async和await,看了一些博客还是有一点点懵,但是不加这个又会出问题。。

10.5

还在完善发送朋友圈的功能,储存图片的功能还不行,不过有大概的思路。。?

整后台数据库好难

还有聊天功能没做。。希望能做完:cry:

10.6

聊天的功能实现了一小半,还要和数据库联系起来,把发送的信息渲染到接收方那里。。还有好友功能?思路有一点乱,我一边做一边缕吧。。

遇到了一个奇怪的bug,有时候socket.id传不到服务器?

🐛🐛🐛

10.7与10.8

把聊天信息传到数据库里,但是功能只实现了一小半。。

改bug,也没改完。。

wechat's People

Contributors

gucan707 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.