Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kaishi_test_01
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
kaishi_test_01
Commits
4c0dde90
Commit
4c0dde90
authored
Jul 15, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 文档
parent
971abd31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
README.md
README.md
+13
-1
index.js
play/index.js
+0
-10
No files found.
README.md
View file @
4c0dde90
# 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
play/index.js
View file @
4c0dde90
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment