dcloudio / ask Goto Github PK
View Code? Open in Web Editor NEWDCloud问答社区问题案例
DCloud问答社区问题案例
许多开发者反映,论坛中的文章没有办法收藏,只能使用浏览器的书签来保存。不利于开发者快速去查阅一些文章,希望能够抽时间讨论下此功能的可行性。
现在ask社区的问答,问题、bug以及文章是在一起的,而且文章没有回复的话,也会出现在“等待回复”的分类中。这样对解答问题造成了一定的不便,希望可以将问题和文章分离,方便直接浏览问题而不受文章的影响。
新增/取消点赞后,点赞数增加/减少,但点赞数下方的头像并未同步展示/移除。
示例地址:http://ask.dcloud.net.cn/article/809
查看名称包含特殊符号的用户信息,会提示用户不存在。如:“___累了”,地址:http://ask.dcloud.net.cn/article/803
进入编辑用户资料的页面,控制台会报“VM1823:1 Uncaught SyntaxError: Unexpected end of JSON input VM1823:1”错误。
通知消息在窗口A中打开并阅读后,窗口A中会相应地进行数字角标的删减。但是,窗口B中的数字角标即便在轮询完成后也不会做出相应的删减。
例如:A窗口显示有2个通知,点开后将两个通知浏览完毕,A窗口的数字角标消失。但是过一会后,B窗口的数字角标依旧保持2。
server
var io = require('socket.io').listen(3030,{host:'192.168.1.100',origins: ':'});
io.sockets.on('connection', function (socket) {
console.log('conn');
socket.on('toAll', function (data) {
console.log(data);
});
});
client
<script type="text/javascript" src="http://node-chat-dd5dc.codingapp.com/socket.io/socket.io.js"></script> <script> var socket = io.connect('http://192.168.1.100:3030'); socket.emit("toAll",{msg:"xxxx"}); only worked fine in hbuilder Ide, but not work in adt or clound package例:话题为“评分”,只展示部分,并未展示贴有“评分”标签的文章。
文章地址:http://ask.dcloud.net.cn/article/236
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.