Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
张桐
/
xdykt-build
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
张桐
2017-03-14 14:51:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0a202db6360f7449e646620c23c8f4cdef24f27
c0a202db
1 parent
02f9ef1a
更改McuClient
隐藏空白字符变更
内嵌
并排对比
正在显示
6 个修改的文件
包含
3 行增加
和
56 行删除
index.html
js/McuClient(14).js
js/McuClient.js
js/draw.js
js/index.js
src/main.js
index.html
查看文件 @
c0a202d
...
...
@@ -15,8 +15,8 @@
<script
type=
"text/javascript"
src=
"js/xdyEvent.js"
></script>
<script
type=
"text/javascript"
src=
"js/drag.js"
></script>
<script
type=
"text/javascript"
src=
"js/McuClient.js?v=1.0.0303.10"
></script>
<!--<script type="text/javascript" src="http://192.168.1.140/McuClient/McuClient.js?722898936"></script>-->
<script
type=
"text/javascript"
src=
"js/McuClient.js?v=1.0.0314.15"
></script>
<!--<script type="text/javascript" src="http://192.168.1.140/McuClient/McuClient.js?78097236"></script>-->
<script
type=
"text/javascript"
src=
"js/jquery-1.11.3.min.js"
></script>
<script
type=
"text/javascript"
src=
"src/main.js"
></script>
...
...
js/McuClient(14).js
0 → 100644
查看文件 @
c0a202d
此 diff 太大无法显示。
js/McuClient.js
查看文件 @
c0a202d
此 diff 太大无法显示。
js/draw.js
查看文件 @
c0a202d
...
...
@@ -326,8 +326,6 @@ var color = '#b8242a';
if
(
canvasInfo
==
null
){
return
;
}
//1.判断是否清除canvas
if
(
canvasInfo
.
isFresh
){
clearContextCan
(
'1'
);
...
...
js/index.js
查看文件 @
c0a202d
...
...
@@ -109,8 +109,6 @@ $(function (){
$
(
".inner-slide"
).
on
(
"click"
,
"li"
,
function
(
e
)
{
$
(
"#txt_message"
).
val
(
$
(
"#txt_message"
).
val
()
+
"[img:"
+
$
(
this
).
find
(
"img"
).
attr
(
"data-type"
)
+
"]"
);
faceList
.
style
.
display
=
"none"
;
});
...
...
src/main.js
查看文件 @
c0a202d
...
...
@@ -99,44 +99,6 @@ function listenClass() {
client
.
on
(
MessageTypes
.
WHITEBOARD_ANNOTATION_UPDATE
,
whiteboardUpdate
);
//监听白板更新
client
.
on
(
MessageTypes
.
DOC_DELETE
,
docDelete
);
//监听删除文档
client
.
on
(
MessageTypes
.
DOC_UPDATE
,
docUpdate
);
//监听更新文档
// // //点击开始上课
//
// $("#classes-status-1").click(function (e){
//
// if($("#classes-status-1").html()=="开始上课"){
// client.sendStartClass();
// }
//
// });
// if($("#classes-status-1").html()=="课间休息"){
// $("#classes-status-1").click(function (e){
// client.sendPauseClass();
// });
// }
// if($("#classes-status-1").html()=="继续上课"){
// $("#classes-status-1").click(function (e){
// client.sendStartClass();
// });
// }
//
//
//
// //结束课堂
// $("#classes-status-2").click(function (e) {
// if($("#classes-status-2").html()=="结束课堂"){
// client.sendCloseClass();
// }
// });
//
//
//
// if($("#class-now").html()=="结束"){
// $("#class-now").unbind("click");
// }
}
}
...
...
@@ -157,11 +119,6 @@ function classInitSuccess(callbackData){
//进入课堂初始化成功回调
console
.
log
(
"classInitSuccess---初始化成功"
);
console
.
log
(
callbackData
);
if
(
callbackData
.
classType
==
1
){
$
(
".box"
).
css
(
"display"
,
"none"
);
}
else
if
(
callbackData
.
classType
==
2
){
}
if
(
callbackData
){
console
.
log
(
callbackData
.
passwordRequired
);
showLogin
(
callbackData
.
passwordRequired
);
...
...
@@ -402,7 +359,6 @@ function showInter(_data,isPage){
console
.
log
(
"此时fileFromArr数组是"
,
fileFromArr
);
console
.
log
(
"当前文档类型"
,
_data
.
fileType
);
fileItemIdx
=
_data
.
itemIdx
if
(
_data
.
fileType
==
"doc"
||
_data
.
fileType
==
"pdf"
){
...
...
@@ -467,7 +423,7 @@ function showInter(_data,isPage){
}
else
if
(
_data
.
fileType
==
"jpg"
){
else
if
(
_data
.
fileType
==
"jpg"
){
hideTurnPage
();
$
(
"#canvas"
).
height
(
476
);
...
...
@@ -490,11 +446,6 @@ function showInter(_data,isPage){
imgUrl
=
docfullPath
[
0
];
$
(
"#showImg"
).
attr
(
"src"
,
imgUrl
);
}
else
if
(
_data
.
fileType
==
"png"
){
hideTurnPage
();
...
...
请
注册
或
登录
后发表评论