Commit 4c0dde90 authored by liujiangnan's avatar liujiangnan

feat: 文档

parent 971abd31
# h5-template-generator
原生H5课件的脚手架,生成的项目只有jquery+ Bootstrap 框架,如需其他框架则另行引入即可
\ No newline at end of file
原生H5课件的脚手架,生成的项目只有 jquery 框架,如需其他框架则另行引入即可
# 运行
```
npm install
npm start
```
# 访问
http://localhost:3000/play/index.html
\ No newline at end of file
......@@ -59,14 +59,4 @@ $(function(){
const json = {"fun": "answer_start", "uID": 0, "seq": 2, "type": 1};
ws.send(`${JSON.stringify(json)} \n`);
// const socket = io.connect('http://localhost:8011');
// socket.on("clickOption", function(index){
// $(".log").append(`答题器触发了:${arr[index]} <br>`);
// //获取滚动条高度
// const sh = $(".log").prop("scrollHeight");
// $('.log').animate({scrollTop:sh},10);
// });
})
\ No newline at end of file
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