正在显示
11 个修改的文件
包含
409 行增加
和
79 行删除
dist/images/add.png
0 → 100644
1.0 KB
@@ -712,6 +712,24 @@ body{ | @@ -712,6 +712,24 @@ body{ | ||
712 | width: 998px; | 712 | width: 998px; |
713 | float: left; | 713 | float: left; |
714 | } | 714 | } |
715 | +.addUserBtn{ | ||
716 | + width:100px; | ||
717 | + height:34px; | ||
718 | + line-height: 34px; | ||
719 | + background: #3498db; | ||
720 | + color:#fff; | ||
721 | + font-size: 14px; | ||
722 | + margin-bottom:8px; | ||
723 | + cursor: pointer; | ||
724 | + display: none; | ||
725 | +} | ||
726 | +.addUserIcon{ | ||
727 | + background: url("../images/add.png") no-repeat; | ||
728 | + width: 16px; | ||
729 | + height: 16px; | ||
730 | + float: left; | ||
731 | + margin: 8px 9px 0 9px; | ||
732 | +} | ||
715 | .classManagementRightTitle{ | 733 | .classManagementRightTitle{ |
716 | padding:0 30px; | 734 | padding:0 30px; |
717 | height:44px; | 735 | height:44px; |
@@ -950,7 +968,7 @@ body{ | @@ -950,7 +968,7 @@ body{ | ||
950 | } | 968 | } |
951 | /*创建课堂第一步*/ | 969 | /*创建课堂第一步*/ |
952 | .form_item{ | 970 | .form_item{ |
953 | - margin-bottom: 10px; | 971 | + margin-bottom: 8px; |
954 | min-height: 22px; | 972 | min-height: 22px; |
955 | line-height: 22px; | 973 | line-height: 22px; |
956 | font-size: 12px; | 974 | font-size: 12px; |
@@ -981,7 +999,7 @@ body{ | @@ -981,7 +999,7 @@ body{ | ||
981 | } | 999 | } |
982 | .classThemeInfo{ | 1000 | .classThemeInfo{ |
983 | border-radius: 2px; | 1001 | border-radius: 2px; |
984 | - padding: 4px; | 1002 | + padding: 3px; |
985 | height: 24px; | 1003 | height: 24px; |
986 | background-color: #ffffff; | 1004 | background-color: #ffffff; |
987 | border: 1px solid #cccccc; | 1005 | border: 1px solid #cccccc; |
@@ -989,13 +1007,21 @@ body{ | @@ -989,13 +1007,21 @@ body{ | ||
989 | margin-right: 20px; | 1007 | margin-right: 20px; |
990 | font-size: 12px; | 1008 | font-size: 12px; |
991 | } | 1009 | } |
1010 | +.classThemeInfo1{ | ||
1011 | + height: 26px; | ||
1012 | +} | ||
1013 | +.classThemeInfoSelect{ | ||
1014 | + height: 30px; | ||
1015 | + width: 370px; | ||
1016 | + color:#666 | ||
1017 | +} | ||
992 | .publicInfo{ | 1018 | .publicInfo{ |
993 | padding-right: 15px; | 1019 | padding-right: 15px; |
994 | padding-left:4px; | 1020 | padding-left:4px; |
995 | } | 1021 | } |
996 | .classDescribeArea{ | 1022 | .classDescribeArea{ |
997 | width: 370px; | 1023 | width: 370px; |
998 | - height: 60px; | 1024 | + height: 32px; |
999 | } | 1025 | } |
1000 | .createClassConfirm{ | 1026 | .createClassConfirm{ |
1001 | background: #3498db; | 1027 | background: #3498db; |
@@ -1111,6 +1137,9 @@ body{ | @@ -1111,6 +1137,9 @@ body{ | ||
1111 | float: left; | 1137 | float: left; |
1112 | width: 30%; | 1138 | width: 30%; |
1113 | } | 1139 | } |
1140 | +.form_item2{ | ||
1141 | + padding:7px 0; | ||
1142 | +} | ||
1114 | .step_page1Title2{ | 1143 | .step_page1Title2{ |
1115 | } | 1144 | } |
1116 | .short_select{ | 1145 | .short_select{ |
@@ -1374,9 +1403,11 @@ body{ | @@ -1374,9 +1403,11 @@ body{ | ||
1374 | margin:0 40px 0 65px; | 1403 | margin:0 40px 0 65px; |
1375 | background: #3498db; | 1404 | background: #3498db; |
1376 | color:#fff; | 1405 | color:#fff; |
1406 | + cursor: pointer; | ||
1377 | } | 1407 | } |
1378 | .removeCancel{ | 1408 | .removeCancel{ |
1379 | background: #e6e6e6; | 1409 | background: #e6e6e6; |
1410 | + cursor: pointer; | ||
1380 | } | 1411 | } |
1381 | /* warn警告框 */ | 1412 | /* warn警告框 */ |
1382 | .warnHintBox{ | 1413 | .warnHintBox{ |
@@ -1789,3 +1820,44 @@ body{ | @@ -1789,3 +1820,44 @@ body{ | ||
1789 | outline: none; | 1820 | outline: none; |
1790 | padding-left:6px; | 1821 | padding-left:6px; |
1791 | } | 1822 | } |
1823 | +/*用户管理*/ | ||
1824 | +.createUserAccountBox{ | ||
1825 | + width:310px; | ||
1826 | + height:170px; | ||
1827 | + position: absolute; | ||
1828 | + left:0; | ||
1829 | + right:0; | ||
1830 | + top:0; | ||
1831 | + bottom:0; | ||
1832 | + margin:0 auto; | ||
1833 | + background: #fff; | ||
1834 | +} | ||
1835 | +.createUserRole{ | ||
1836 | + width: 181px; | ||
1837 | + height: 34px; | ||
1838 | + margin-left: 64px; | ||
1839 | + margin-top:10px; | ||
1840 | + padding-left:4px; | ||
1841 | +} | ||
1842 | +.createUserRole option{ | ||
1843 | + line-height: 34px; | ||
1844 | +} | ||
1845 | +.createUserHandler{ | ||
1846 | + width: 310px; | ||
1847 | + height: 210px; | ||
1848 | +} | ||
1849 | +.createUserTit{ | ||
1850 | + margin-top:50px; | ||
1851 | +} | ||
1852 | +.createUserAbortTime{ | ||
1853 | + width: 131px; | ||
1854 | + height: 34px; | ||
1855 | + border: 1px solid #ccc; | ||
1856 | + margin-left: 129px; | ||
1857 | + text-align: center; | ||
1858 | + line-height: 34px; | ||
1859 | + color: #666; | ||
1860 | +} | ||
1861 | +.createUser{ | ||
1862 | + height: 500px; | ||
1863 | +} |
@@ -247,45 +247,49 @@ | @@ -247,45 +247,49 @@ | ||
247 | <div class="classManagementBox" id="classManagementBox"> | 247 | <div class="classManagementBox" id="classManagementBox"> |
248 | <div class="classManagementLeft" id="classManagementLeft"> | 248 | <div class="classManagementLeft" id="classManagementLeft"> |
249 | <ul class="recordUl" id="recordUl"> | 249 | <ul class="recordUl" id="recordUl"> |
250 | - <li class="recordLi recordLiCheck"> | 250 | + <li class="recordLi recordLiCheck" data="0"> |
251 | <label for="courseManagement" class="iconfont"></label> | 251 | <label for="courseManagement" class="iconfont"></label> |
252 | <span class="recordLiText" id="courseManagement">课程管理</span> | 252 | <span class="recordLiText" id="courseManagement">课程管理</span> |
253 | </li> | 253 | </li> |
254 | - <li class="recordLi1"> | 254 | + <li class="recordLi" data="1"> |
255 | <label for="createClassBtn" class="iconfont"></label> | 255 | <label for="createClassBtn" class="iconfont"></label> |
256 | <span class="recordLiText" id="createClassBtn">创建课堂</span> | 256 | <span class="recordLiText" id="createClassBtn">创建课堂</span> |
257 | </li> | 257 | </li> |
258 | - <li class="recordLi"> | 258 | + <li class="recordLi" data="2"> |
259 | <label for="classManagement" class="iconfont"></label> | 259 | <label for="classManagement" class="iconfont"></label> |
260 | <span class="recordLiText" id="classManagement">班级管理</span> | 260 | <span class="recordLiText" id="classManagement">班级管理</span> |
261 | </li> | 261 | </li> |
262 | - <li class="recordLi"> | 262 | + <li class="recordLi" data="3"> |
263 | <label for="teacherManagement" class="iconfont"></label> | 263 | <label for="teacherManagement" class="iconfont"></label> |
264 | - <span class="recordLiText" id="teacherManagement">老师管理</span> | 264 | + <span class="recordLiText" id="teacherManagement">用户管理</span> |
265 | </li> | 265 | </li> |
266 | - <li class="recordLi"> | 266 | + <li class="recordLi" data="4"> |
267 | <label for="aboutManagement" class="iconfont"></label> | 267 | <label for="aboutManagement" class="iconfont"></label> |
268 | <span class="recordLiText" id="aboutManagement">约课管理</span> | 268 | <span class="recordLiText" id="aboutManagement">约课管理</span> |
269 | </li> | 269 | </li> |
270 | - <li class="recordLi"> | 270 | + <li class="recordLi" data="5"> |
271 | <label for="RecordManagement" class="iconfont"></label> | 271 | <label for="RecordManagement" class="iconfont"></label> |
272 | <span class="recordLiText" id="RecordManagement">录制管理</span> | 272 | <span class="recordLiText" id="RecordManagement">录制管理</span> |
273 | </li> | 273 | </li> |
274 | - <li class="recordLi"> | 274 | + <li class="recordLi" data="6"> |
275 | <label for="siteManagement" class="iconfont"></label> | 275 | <label for="siteManagement" class="iconfont"></label> |
276 | <span class="recordLiText" id="siteManagement">站点配置</span> | 276 | <span class="recordLiText" id="siteManagement">站点配置</span> |
277 | </li> | 277 | </li> |
278 | - <li class="recordLi"> | 278 | + <li class="recordLi" data="7"> |
279 | <label for="reportManagement" class="iconfont"></label> | 279 | <label for="reportManagement" class="iconfont"></label> |
280 | <span class="recordLiText" id="reportManagement">统计报告</span> | 280 | <span class="recordLiText" id="reportManagement">统计报告</span> |
281 | </li> | 281 | </li> |
282 | - <li class="recordLi"> | 282 | + <li class="recordLi" data="8"> |
283 | <label for="personManagement" class="iconfont"></label> | 283 | <label for="personManagement" class="iconfont"></label> |
284 | <span class="recordLiText" id="personManagement">个人设置</span> | 284 | <span class="recordLiText" id="personManagement">个人设置</span> |
285 | </li> | 285 | </li> |
286 | </ul> | 286 | </ul> |
287 | </div> | 287 | </div> |
288 | <div class="classManagementRight" id="classManagementRight"> | 288 | <div class="classManagementRight" id="classManagementRight"> |
289 | + <div class="addUserBtn" id="addUserBtn"> | ||
290 | + <label class="addUserIcon"></label> | ||
291 | + <span class="addUserText">添加用户</span> | ||
292 | + </div> | ||
289 | <div class="classManagementRightTitle" id="classManagementRightTitle"> | 293 | <div class="classManagementRightTitle" id="classManagementRightTitle"> |
290 | <div class="liveInfoLeft" id="liveInfoList"> | 294 | <div class="liveInfoLeft" id="liveInfoList"> |
291 | <div class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</div> | 295 | <div class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</div> |
@@ -419,6 +423,32 @@ | @@ -419,6 +423,32 @@ | ||
419 | </div> | 423 | </div> |
420 | <div class="form_item"> | 424 | <div class="form_item"> |
421 | <label class="step_page1Title"> | 425 | <label class="step_page1Title"> |
426 | + 课堂密码: | ||
427 | + </label> | ||
428 | + <div class="step_page1_widget"> | ||
429 | + <input id="partcKey" name="partcKey" type="password" class="classThemeInfo input-text-show" placeholder="输入课堂密码"> | ||
430 | + <span class="form-required"></span> | ||
431 | + <span class="form-tip"><span id="confPassTip" class="onShow" style="margin: 0px; padding: 0px; background-color: transparent; display: none; background-position: initial initial; background-repeat: initial initial;"> | ||
432 | + <div class="onShow"> | ||
433 | + 1-16个任意字符 | ||
434 | + </div> </span> </span> | ||
435 | + </div> | ||
436 | + </div> | ||
437 | + <div class="form_item"> | ||
438 | + <label class="step_page1Title"> | ||
439 | + 分配给: | ||
440 | + </label> | ||
441 | + <div class="step_page1_widget"> | ||
442 | + <select name="allotSpeaker" id="" class="classThemeInfo classThemeInfoSelect"> | ||
443 | + <option value=""> | ||
444 | + 张媛媛 | ||
445 | + </option> | ||
446 | + </select> | ||
447 | + </div> | ||
448 | + | ||
449 | + </div> | ||
450 | + <div class="form_item"> | ||
451 | + <label class="step_page1Title"> | ||
422 | 是否公开课堂: | 452 | 是否公开课堂: |
423 | </label> | 453 | </label> |
424 | <div class="step_page1_widget"> | 454 | <div class="step_page1_widget"> |
@@ -468,19 +498,6 @@ | @@ -468,19 +498,6 @@ | ||
468 | </div> | 498 | </div> |
469 | <div class="form_item"> | 499 | <div class="form_item"> |
470 | <label class="step_page1Title"> | 500 | <label class="step_page1Title"> |
471 | - 课堂密码: | ||
472 | - </label> | ||
473 | - <div class="step_page1_widget"> | ||
474 | - <input id="partcKey" name="partcKey" type="password" class="classThemeInfo input-text-show" placeholder="输入课堂密码"> | ||
475 | - <span class="form-required"></span> | ||
476 | - <span class="form-tip"><span id="confPassTip" class="onShow" style="margin: 0px; padding: 0px; background-color: transparent; display: none; background-position: initial initial; background-repeat: initial initial;"> | ||
477 | - <div class="onShow"> | ||
478 | - 1-16个任意字符 | ||
479 | - </div> </span> </span> | ||
480 | - </div> | ||
481 | - </div> | ||
482 | - <div class="form_item"> | ||
483 | - <label class="step_page1Title"> | ||
484 | 课堂描述: | 501 | 课堂描述: |
485 | </label> | 502 | </label> |
486 | <div class="step_page1_widget"> | 503 | <div class="step_page1_widget"> |
@@ -946,6 +963,90 @@ | @@ -946,6 +963,90 @@ | ||
946 | </div> | 963 | </div> |
947 | </div> | 964 | </div> |
948 | </div> | 965 | </div> |
966 | + <!--创建用户2级--> | ||
967 | + <div id="createUserBox" class="userSignBox createClassBox"> | ||
968 | + <div id="createUser" class="createClass createUser"> | ||
969 | + <div class="createClassHandler"> | ||
970 | + <span class="createClassHandlerTitle" id="createUserTitle">添加老师</span> | ||
971 | + <a href="javascript: void(0)" id="createUserA" class="createClassA iconfont"></a> | ||
972 | + </div> | ||
973 | + <div class="step_page1"> | ||
974 | + <div class="form_item"> | ||
975 | + <label class="step_page1Title"> | ||
976 | + 用户名: | ||
977 | + </label> | ||
978 | + <div class="step_page1_widget"> | ||
979 | + <input id="createUserName" name="createUserName" type="text" class="classThemeInfo classThemeInfo1" placeholder="输入课堂主题" value=""> | ||
980 | + </div> | ||
981 | + </div> | ||
982 | + <div class="form_item"> | ||
983 | + <label class="step_page1Title"> | ||
984 | + 初始密码: | ||
985 | + </label> | ||
986 | + <div class="step_page1_widget"> | ||
987 | + <input id="createUserPassWord" name="createUserPassWord" type="text" class="classThemeInfo classThemeInfo1" placeholder="输入主持人密码" value=""> | ||
988 | + </div> | ||
989 | + </div> | ||
990 | + <div class="form_item"> | ||
991 | + <label class="step_page1Title"> | ||
992 | + 真实姓名: | ||
993 | + </label> | ||
994 | + <div class="step_page1_widget"> | ||
995 | + <input id="createUserRealName" name="createUserRealName" type="password" class="classThemeInfo classThemeInfo1" placeholder="输入课堂密码"> | ||
996 | + </div> | ||
997 | + </div> | ||
998 | + <div class="form_item form_item2"> | ||
999 | + <label class="step_page1Title"> | ||
1000 | + 角色: | ||
1001 | + </label> | ||
1002 | + <div class="step_page1_widget"> | ||
1003 | + <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeacher" value="1" checked="checked"> | ||
1004 | + <label for="createUserTeacher" class="publicInfo"> | ||
1005 | + 老师 | ||
1006 | + </label> | ||
1007 | + <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeaching" value="0"> | ||
1008 | + <label for="createUserTeaching" class="publicInfo"> | ||
1009 | + 兼课 | ||
1010 | + </label> | ||
1011 | + </div> | ||
1012 | + </div> | ||
1013 | + <div class="form_item"> | ||
1014 | + <label class="step_page1Title"> | ||
1015 | + 身份证号: | ||
1016 | + </label> | ||
1017 | + <div class="step_page1_widget"> | ||
1018 | + <input id="createUserIdentity" name="createUserIdentity" type="text" class="classThemeInfo classThemeInfo1" placeholder="输入课堂主题" value=""> | ||
1019 | + </div> | ||
1020 | + </div> | ||
1021 | + <div class="form_item"> | ||
1022 | + <label class="step_page1Title"> | ||
1023 | + 邮箱地址: | ||
1024 | + </label> | ||
1025 | + <div class="step_page1_widget"> | ||
1026 | + <input id="createUserMail" name="classThemeUserName" type="text" class="classThemeInfo classThemeInfo1" placeholder="输入课堂主题" value=""> | ||
1027 | + </div> | ||
1028 | + </div> | ||
1029 | + <div class="form_item"> | ||
1030 | + <label class="step_page1Title"> | ||
1031 | + 备注信息: | ||
1032 | + </label> | ||
1033 | + <div class="step_page1_widget"> | ||
1034 | + <textarea id="createUserNote" class="classDescribeArea"></textarea> | ||
1035 | + </div> | ||
1036 | + </div> | ||
1037 | + <div class="form_item"> | ||
1038 | + <label class="step_page1Title"> | ||
1039 | + 有效期至: | ||
1040 | + </label> | ||
1041 | + <div id="createUserAbortTime" class="createUserAbortTime"></div> | ||
1042 | + </div> | ||
1043 | + </div> | ||
1044 | + <div class="form_button"> | ||
1045 | + <input id="createUserConfirm" type="button" value="确定" class="createClassBtn createClassConfirm btnHover"> | ||
1046 | + <span id="createUserCancel" class="createClassBtn main_closeBtn">取消</span> | ||
1047 | + </div> | ||
1048 | + </div> | ||
1049 | + </div> | ||
949 | <!--个人中心--> | 1050 | <!--个人中心--> |
950 | <div id="myCenterBox" class="myCenterBox"> | 1051 | <div id="myCenterBox" class="myCenterBox"> |
951 | <div class="myCenterLeftBox"> | 1052 | <div class="myCenterLeftBox"> |
@@ -1150,30 +1251,8 @@ | @@ -1150,30 +1251,8 @@ | ||
1150 | </div> | 1251 | </div> |
1151 | </div> | 1252 | </div> |
1152 | </div> | 1253 | </div> |
1153 | - | ||
1154 | - </div> | ||
1155 | - <div class="footerBg"> | ||
1156 | - <div class="footer"> | ||
1157 | - <div class="footerLeft"> | ||
1158 | - <ul class="footerLeftList"> | ||
1159 | - <li class="footerLeftListMsg">企业合作</li> | ||
1160 | - <li class="footerLeftListMsg">人才招聘</li> | ||
1161 | - <li class="footerLeftListMsg">联系我们</li> | ||
1162 | - <li class="footerLeftListMsg">讲师招募</li> | ||
1163 | - <li class="footerLeftListMsg">常见问题</li> | ||
1164 | - <li class="footerLeftListMsg">意见反馈</li> | ||
1165 | - <li class="footerLeftListMsg">友情链接</li> | ||
1166 | - </ul> | ||
1167 | - <p class="copyrightMsg">© 2010 - 2015 三芒世纪(北京)科技有限公司 版权所有 京ICP备12014300号-1</p> | ||
1168 | - </div> | ||
1169 | - <div class="footerRight"> | ||
1170 | - | ||
1171 | - </div> | ||
1172 | - </div> | ||
1173 | - </div> | ||
1174 | -</div> | ||
1175 | -<!--注册--> | ||
1176 | -<div class="userSignBox" id="userSignBox" style="display: none"> | 1254 | + <!--注册--> |
1255 | + <div class="userSignBox" id="userSignBox" style="display: none"> | ||
1177 | <div class="usersign" id="usersign"> | 1256 | <div class="usersign" id="usersign"> |
1178 | <a href="javascript: void(0)" id="usersignA" class="usersignA iconfont"></a> | 1257 | <a href="javascript: void(0)" id="usersignA" class="usersignA iconfont"></a> |
1179 | <ul> | 1258 | <ul> |
@@ -1216,9 +1295,9 @@ | @@ -1216,9 +1295,9 @@ | ||
1216 | </p> | 1295 | </p> |
1217 | </ul> | 1296 | </ul> |
1218 | </div> | 1297 | </div> |
1219 | -</div> | ||
1220 | -<!--登录--> | ||
1221 | -<div class="userSignBox" id="userLoginBox" style="display: none" > | 1298 | + </div> |
1299 | + <!--登录--> | ||
1300 | + <div class="userSignBox" id="userLoginBox" style="display: none" > | ||
1222 | <div class="usersign userLogin" id="userLogin"> | 1301 | <div class="usersign userLogin" id="userLogin"> |
1223 | <a href="javascript: void(0)" id="userLoginA" class="usersignA iconfont"></a> | 1302 | <a href="javascript: void(0)" id="userLoginA" class="usersignA iconfont"></a> |
1224 | <ul> | 1303 | <ul> |
@@ -1258,9 +1337,9 @@ | @@ -1258,9 +1337,9 @@ | ||
1258 | </li> | 1337 | </li> |
1259 | </ul> | 1338 | </ul> |
1260 | </div> | 1339 | </div> |
1261 | -</div> | ||
1262 | -<!--删除弹框--> | ||
1263 | -<div class="userSignBox" id="removeHandlerBox" style="display: none;"> | 1340 | + </div> |
1341 | + <!--删除弹框--> | ||
1342 | + <div class="userSignBox" id="removeHandlerBox" style="display: none;"> | ||
1264 | <div class="usersign removeHandler" id="removeHandler"> | 1343 | <div class="usersign removeHandler" id="removeHandler"> |
1265 | <a href="javascript: void(0)" id="removeHandlerA" class="usersignA iconfont"></a> | 1344 | <a href="javascript: void(0)" id="removeHandlerA" class="usersignA iconfont"></a> |
1266 | <div class="removeHandlerContent"> | 1345 | <div class="removeHandlerContent"> |
@@ -1271,14 +1350,14 @@ | @@ -1271,14 +1350,14 @@ | ||
1271 | <button class="removeCancel" id="removeCancel">取消</button> | 1350 | <button class="removeCancel" id="removeCancel">取消</button> |
1272 | </div> | 1351 | </div> |
1273 | </div> | 1352 | </div> |
1274 | -</div> | ||
1275 | -<!--warn提示信息--> | ||
1276 | -<div class="warnHintBox" id="warnHintBox"> | 1353 | + </div> |
1354 | + <!--warn提示信息--> | ||
1355 | + <div class="warnHintBox" id="warnHintBox"> | ||
1277 | <a href="javascript: void(0)" class="warnHintA iconfont" id="warnHintA"></a> | 1356 | <a href="javascript: void(0)" class="warnHintA iconfont" id="warnHintA"></a> |
1278 | <p class="warnHintContent" id="warnHintContent"></p> | 1357 | <p class="warnHintContent" id="warnHintContent"></p> |
1279 | -</div> | ||
1280 | -<!--修改信息输入框--> | ||
1281 | -<div class="userSignBox" id="updateInputShade"> | 1358 | + </div> |
1359 | + <!--修改信息输入框--> | ||
1360 | + <div class="userSignBox" id="updateInputShade"> | ||
1282 | <div class="updateInputBox"> | 1361 | <div class="updateInputBox"> |
1283 | <a href="javascript: void(0)" class="warnHintA iconfont" id="updateInputBoxA"></a> | 1362 | <a href="javascript: void(0)" class="warnHintA iconfont" id="updateInputBoxA"></a> |
1284 | <div class="updateInputContent"> | 1363 | <div class="updateInputContent"> |
@@ -1290,6 +1369,47 @@ | @@ -1290,6 +1369,47 @@ | ||
1290 | </div> | 1369 | </div> |
1291 | </div> | 1370 | </div> |
1292 | </div> | 1371 | </div> |
1372 | + </div> | ||
1373 | + <!--创建用户1级--> | ||
1374 | + <div class="userSignBox" id="createUserAccountBox"> | ||
1375 | + <div class="usersign createUserHandler" id="createUserAccount"> | ||
1376 | + <a href="javascript: void(0)" class="warnHintA iconfont" id="createUserBoxA"></a> | ||
1377 | + <div class="removeHandlerContent createUserTit"> | ||
1378 | + 请选择添加用户的角色: | ||
1379 | + </div> | ||
1380 | + <div class=""> | ||
1381 | + <select class="createUserRole" name="createUserRole" id="createUserRole"> | ||
1382 | + <option value="0">老师</option> | ||
1383 | + <option value="1">兼课</option> | ||
1384 | + </select> | ||
1385 | + </div> | ||
1386 | + <div class="removeHandlerBtn"> | ||
1387 | + <button class="removeConfirm btnHover" id="createUserYes">确定</button> | ||
1388 | + <button class="removeCancel" id="createUserNo">取消</button> | ||
1389 | + </div> | ||
1390 | + </div> | ||
1391 | + </div> | ||
1392 | + </div> | ||
1393 | + <div class="footerBg"> | ||
1394 | + <div class="footer"> | ||
1395 | + <div class="footerLeft"> | ||
1396 | + <ul class="footerLeftList"> | ||
1397 | + <li class="footerLeftListMsg">企业合作</li> | ||
1398 | + <li class="footerLeftListMsg">人才招聘</li> | ||
1399 | + <li class="footerLeftListMsg">联系我们</li> | ||
1400 | + <li class="footerLeftListMsg">讲师招募</li> | ||
1401 | + <li class="footerLeftListMsg">常见问题</li> | ||
1402 | + <li class="footerLeftListMsg">意见反馈</li> | ||
1403 | + <li class="footerLeftListMsg">友情链接</li> | ||
1404 | + </ul> | ||
1405 | + <p class="copyrightMsg">© 2010 - 2015 三芒世纪(北京)科技有限公司 版权所有 京ICP备12014300号-1</p> | ||
1406 | + </div> | ||
1407 | + <div class="footerRight"> | ||
1408 | + | ||
1409 | + </div> | ||
1410 | + </div> | ||
1411 | + </div> | ||
1293 | </div> | 1412 | </div> |
1413 | + | ||
1294 | </body> | 1414 | </body> |
1295 | </html> | 1415 | </html> |
@@ -43,11 +43,11 @@ const adminList = `<tr align="center" bgcolor="#FFFFFF" height="44" bordercolor= | @@ -43,11 +43,11 @@ const adminList = `<tr align="center" bgcolor="#FFFFFF" height="44" bordercolor= | ||
43 | <td width="18%" class="tr_main">{_time}</td> | 43 | <td width="18%" class="tr_main">{_time}</td> |
44 | <td width="4%" class="tr_main">{_onlineLen}</td> | 44 | <td width="4%" class="tr_main">{_onlineLen}</td> |
45 | <td width="20%" class="tr_main tr_mainRight" align="center" > | 45 | <td width="20%" class="tr_main tr_mainRight" align="center" > |
46 | - <a id="{_DocInd}" class="classHandlePort" href="#">文档</a> | ||
47 | - <a id="{_mediaInd}" class="classHandlePort" href="">多媒体</a> | ||
48 | - <a id="{_musicInd}" class="classHandlePort" href="">伴音</a> | ||
49 | - <a id="{_updateInd}" class="classHandlePort" href="">修改</a> | ||
50 | - <a id="{_removeInd}" class="classHandlePort" href="">删除</a> | 46 | + <a id="{_DocInd}" class="classHandlePort" href="###">文档</a> |
47 | + <a id="{_mediaInd}" class="classHandlePort" href="###">多媒体</a> | ||
48 | + <a id="{_musicInd}" class="classHandlePort" href="###">伴音</a> | ||
49 | + <a id="{_updateInd}" class="classHandlePort" href="###">修改</a> | ||
50 | + <a id="{_removeInd}" class="classHandlePort" href="###">删除</a> | ||
51 | <a id="{_joinInd}" class="classHandlePort" data="{_esenglish}" href="###">加入课堂</a> | 51 | <a id="{_joinInd}" class="classHandlePort" data="{_esenglish}" href="###">加入课堂</a> |
52 | </td> | 52 | </td> |
53 | </tr> | 53 | </tr> |
@@ -14,6 +14,7 @@ class CreateClassApe extends Ape { | @@ -14,6 +14,7 @@ class CreateClassApe extends Ape { | ||
14 | constructor() { | 14 | constructor() { |
15 | super(); | 15 | super(); |
16 | this.classDateList = {};//创建课堂信息 | 16 | this.classDateList = {};//创建课堂信息 |
17 | + this.isLocalStorage(); | ||
17 | this.addEvent(); | 18 | this.addEvent(); |
18 | this.init(); | 19 | this.init(); |
19 | } | 20 | } |
@@ -25,21 +26,23 @@ class CreateClassApe extends Ape { | @@ -25,21 +26,23 @@ class CreateClassApe extends Ape { | ||
25 | //默认显示当前时间戳 | 26 | //默认显示当前时间戳 |
26 | this._showPresentTime(); | 27 | this._showPresentTime(); |
27 | 28 | ||
28 | - $('#createClassBtn').on('click',this._createClassBtnHandler.bind(this)); | 29 | + // $('#createClassBtn').on('click',this._createClassBtnHandler.bind(this)); |
29 | $('.recordLi').on('click',this._recordLiHandler.bind(this));//课堂分类 | 30 | $('.recordLi').on('click',this._recordLiHandler.bind(this));//课堂分类 |
30 | $('.liveInfoLeftLi').on('click',this._liveInfoLeftLiHandler.bind(this));//直播信息 | 31 | $('.liveInfoLeftLi').on('click',this._liveInfoLeftLiHandler.bind(this));//直播信息 |
31 | 32 | ||
33 | + //创建课堂 | ||
32 | $('#createClassA').on('click',this._closeClassHandler.bind(this));//关闭创建课堂 | 34 | $('#createClassA').on('click',this._closeClassHandler.bind(this));//关闭创建课堂 |
33 | $('.main_closeBtn').on('click',this._closeClassHandler.bind(this));//关闭创建课堂 | 35 | $('.main_closeBtn').on('click',this._closeClassHandler.bind(this));//关闭创建课堂 |
34 | - | ||
35 | $('#createClassSubmit1').on('click',this._createClassSubmit1Handler.bind(this));//创建课堂第一步 | 36 | $('#createClassSubmit1').on('click',this._createClassSubmit1Handler.bind(this));//创建课堂第一步 |
36 | - $('#createClassUpOne').on('click',this._createClassUpHandler.bind(this));//创建课堂第一步 | 37 | + $('#createClassUpOne').on('click',this._createClassUpHandler.bind(this));//创建课堂第一步 返回 |
37 | $('#createClassSubmit2').on('click',this._createClassSubmit2Handler.bind(this));//创建课堂第二步 | 38 | $('#createClassSubmit2').on('click',this._createClassSubmit2Handler.bind(this));//创建课堂第二步 |
38 | - $('#createClassUpTwo').on('click',this._createClassUpTwoHandler.bind(this));//创建课堂第二步 | ||
39 | - | 39 | + $('#createClassUpTwo').on('click',this._createClassUpTwoHandler.bind(this));//创建课堂第二步 返回 |
40 | $('#createClassSubmit3').on('click',this._createClassSubmit3Handler.bind(this));//创建课堂第三步 | 40 | $('#createClassSubmit3').on('click',this._createClassSubmit3Handler.bind(this));//创建课堂第三步 |
41 | - | ||
42 | $('#openParamBtn').on('click',this._openParamBtnHandler.bind(this));//打开更多参数 | 41 | $('#openParamBtn').on('click',this._openParamBtnHandler.bind(this));//打开更多参数 |
42 | + | ||
43 | + //用户管理 | ||
44 | + $('#addUserBtn').on('click',this._addUserBtnHandler.bind(this));//创建用户按钮 | ||
45 | + $('#createUserYes').on('click',this._createUserYesHandler.bind(this));//进入创建用户界面 | ||
43 | //日历插件 | 46 | //日历插件 |
44 | this._dateUI(); | 47 | this._dateUI(); |
45 | } | 48 | } |
@@ -47,6 +50,14 @@ class CreateClassApe extends Ape { | @@ -47,6 +50,14 @@ class CreateClassApe extends Ape { | ||
47 | addEvent() { | 50 | addEvent() { |
48 | 51 | ||
49 | } | 52 | } |
53 | + isLocalStorage(){ | ||
54 | + let newDate = new Date(); | ||
55 | + let ysar = newDate.getFullYear(); | ||
56 | + let month = newDate.getMonth()+1;//月 | ||
57 | + let date = newDate.getDate();//日 | ||
58 | + | ||
59 | + | ||
60 | + } | ||
50 | _showPresentTime(){ | 61 | _showPresentTime(){ |
51 | let newDate = new Date(); | 62 | let newDate = new Date(); |
52 | let month = (newDate.getMonth()+1)<10?'0'+(newDate.getMonth()+1):(newDate.getMonth()+1); | 63 | let month = (newDate.getMonth()+1)<10?'0'+(newDate.getMonth()+1):(newDate.getMonth()+1); |
@@ -63,16 +74,85 @@ class CreateClassApe extends Ape { | @@ -63,16 +74,85 @@ class CreateClassApe extends Ape { | ||
63 | } | 74 | } |
64 | _recordLiHandler(evt){ | 75 | _recordLiHandler(evt){ |
65 | $(evt.currentTarget).addClass('recordLiCheck').siblings().removeClass('recordLiCheck'); | 76 | $(evt.currentTarget).addClass('recordLiCheck').siblings().removeClass('recordLiCheck'); |
77 | + let ind = $(evt.currentTarget).attr('data'); | ||
78 | + loger.log('=',ind) | ||
79 | + switch (parseInt(ind)){ | ||
80 | + case 0: | ||
81 | + //首页 | ||
82 | + $('#addUserBtn').hide(); | ||
83 | + break; | ||
84 | + case 1: | ||
85 | + //创建课堂 | ||
86 | + this._createClassBtnHandler(); | ||
87 | + break; | ||
88 | + case 2: | ||
89 | + //班级管理 | ||
90 | + break; | ||
91 | + case 3: | ||
92 | + //用户管理 | ||
93 | + this.userAdminHandler(); | ||
94 | + break; | ||
95 | + case 4: | ||
96 | + //约课管理 | ||
97 | + break; | ||
98 | + case 5: | ||
99 | + //录制管理 | ||
100 | + break; | ||
101 | + case 6: | ||
102 | + //站点配置 | ||
103 | + break; | ||
104 | + case 7: | ||
105 | + //统计报告 | ||
106 | + break; | ||
107 | + case 8: | ||
108 | + //个人设置 | ||
109 | + break; | ||
110 | + } | ||
66 | } | 111 | } |
67 | _liveInfoLeftLiHandler(evt){ | 112 | _liveInfoLeftLiHandler(evt){ |
68 | $(evt.currentTarget).addClass('liveInfoLeftLiCheck').siblings().removeClass('liveInfoLeftLiCheck'); | 113 | $(evt.currentTarget).addClass('liveInfoLeftLiCheck').siblings().removeClass('liveInfoLeftLiCheck'); |
69 | } | 114 | } |
70 | - _createClassBtnHandler(evt){ | 115 | + _createClassBtnHandler(){ |
71 | $('#createClassBox').show(); | 116 | $('#createClassBox').show(); |
72 | $('#scheduleForm1').show(); | 117 | $('#scheduleForm1').show(); |
73 | $('#scheduleForm2').hide(); | 118 | $('#scheduleForm2').hide(); |
74 | $('#teacherDetailBox').hide(); | 119 | $('#teacherDetailBox').hide(); |
75 | $('#lanclassBox').hide(); | 120 | $('#lanclassBox').hide(); |
121 | + | ||
122 | + //获取第一步中老师列表 | ||
123 | + this.allotSpeaker(); | ||
124 | + } | ||
125 | + //用户管理 | ||
126 | + userAdminHandler(){ | ||
127 | + $('#addUserBtn').show(); | ||
128 | + } | ||
129 | + //获取第一步中老师列表 | ||
130 | + allotSpeaker(){ | ||
131 | + let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/users/getUser'; | ||
132 | + loger.log(ClassDataProxy.siteId,'获取第一步中老师列表') | ||
133 | + let dateList = { | ||
134 | + siteId : ClassDataProxy.siteId | ||
135 | + // userType : 1 | ||
136 | + } | ||
137 | + let that = this; | ||
138 | + $.ajax({ | ||
139 | + type : "POST", | ||
140 | + url : _url, | ||
141 | + data : dateList, | ||
142 | + timeout:5000, | ||
143 | + headers: {'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | ||
144 | + success:function(_data){ | ||
145 | + //获取课堂数据 | ||
146 | + loger.log(_data,'获取第一步中老师列表') | ||
147 | + if(_data || _data.code == 0){ | ||
148 | + | ||
149 | + // that._enterClass(_data.returnData.data); | ||
150 | + } | ||
151 | + }, | ||
152 | + error:function(error){ | ||
153 | + console.log(error,'失败') | ||
154 | + } | ||
155 | + }) | ||
76 | } | 156 | } |
77 | _closeClassHandler(){ | 157 | _closeClassHandler(){ |
78 | $('#createClassBox').hide(); | 158 | $('#createClassBox').hide(); |
@@ -249,6 +329,15 @@ class CreateClassApe extends Ape { | @@ -249,6 +329,15 @@ class CreateClassApe extends Ape { | ||
249 | $('#chatInterval').val('0'); | 329 | $('#chatInterval').val('0'); |
250 | $('#aheadTime').val('0'); | 330 | $('#aheadTime').val('0'); |
251 | } | 331 | } |
332 | + | ||
333 | + //用户管理 | ||
334 | + _addUserBtnHandler(){ | ||
335 | + $('#createUserAccountBox').show(); | ||
336 | + } | ||
337 | + _createUserYesHandler(){ | ||
338 | + $('#createUserAccountBox').hide(); | ||
339 | + $('#createUserBox').show(); | ||
340 | + } | ||
252 | _dateUI(){ | 341 | _dateUI(){ |
253 | //执行一个laydate实例 | 342 | //执行一个laydate实例 |
254 | dateUI.render({ | 343 | dateUI.render({ |
@@ -266,6 +355,10 @@ class CreateClassApe extends Ape { | @@ -266,6 +355,10 @@ class CreateClassApe extends Ape { | ||
266 | dateUI.render({ | 355 | dateUI.render({ |
267 | elem: '#createClassEndTime' //指定元素 | 356 | elem: '#createClassEndTime' //指定元素 |
268 | }); | 357 | }); |
358 | + //执行一个laydate实例 | ||
359 | + dateUI.render({ | ||
360 | + elem: '#createUserAbortTime' //指定元素 | ||
361 | + }); | ||
269 | } | 362 | } |
270 | } | 363 | } |
271 | export default CreateClassApe; | 364 | export default CreateClassApe; |
@@ -18,6 +18,11 @@ class ErrorApe extends Ape { | @@ -18,6 +18,11 @@ class ErrorApe extends Ape { | ||
18 | init(){ | 18 | init(){ |
19 | //警告框warn 关闭事件 | 19 | //警告框warn 关闭事件 |
20 | $('#warnHintA').on('click',this._hideWarnError.bind(this)); | 20 | $('#warnHintA').on('click',this._hideWarnError.bind(this)); |
21 | + $('#createUserNo').on('click',this._createUserNoHandler.bind(this));//取消创建用户 | ||
22 | + $('#createUserBoxA').on('click',this._createUserNoHandler.bind(this));//取消创建用户 | ||
23 | + | ||
24 | + $('#createUserCancel').on('click',this._closeCreateUserHandler.bind(this));//取消创建用户 | ||
25 | + $('#createUserA').on('click',this._closeCreateUserHandler.bind(this));//取消创建用户 | ||
21 | } | 26 | } |
22 | _hideWarnError(){ | 27 | _hideWarnError(){ |
23 | clearTimeout(this._isTime); | 28 | clearTimeout(this._isTime); |
@@ -49,7 +54,12 @@ class ErrorApe extends Ape { | @@ -49,7 +54,12 @@ class ErrorApe extends Ape { | ||
49 | $('#warnHintBox').hide(); | 54 | $('#warnHintBox').hide(); |
50 | },time) | 55 | },time) |
51 | } | 56 | } |
52 | - | 57 | + _createUserNoHandler(){ |
58 | + $('#createUserAccountBox').hide(); | ||
59 | + } | ||
60 | + _closeCreateUserHandler(){ | ||
61 | + $('#createUserBox').hide(); | ||
62 | + } | ||
53 | } | 63 | } |
54 | ErrorApe.prototype.TYPE_1=ErrorApe.TYPE_1=1;//兼容直播课堂的浏览器 | 64 | ErrorApe.prototype.TYPE_1=ErrorApe.TYPE_1=1;//兼容直播课堂的浏览器 |
55 | ErrorApe.prototype.TYPE_2=ErrorApe.TYPE_2=2;//兼容录制回放的浏览器 | 65 | ErrorApe.prototype.TYPE_2=ErrorApe.TYPE_2=2;//兼容录制回放的浏览器 |
@@ -306,6 +306,7 @@ class LoginOrRegister extends Ape { | @@ -306,6 +306,7 @@ class LoginOrRegister extends Ape { | ||
306 | ClassDataProxy.token =_data.returnData.data.token | 306 | ClassDataProxy.token =_data.returnData.data.token |
307 | ClassDataProxy.status = true; | 307 | ClassDataProxy.status = true; |
308 | ClassDataProxy.id = _data.returnData.data.id; | 308 | ClassDataProxy.id = _data.returnData.data.id; |
309 | + ClassDataProxy.siteId = _data.returnData.data.siteId; | ||
309 | 310 | ||
310 | ClassDataProxy.monicker = _data.returnData.data.userName; | 311 | ClassDataProxy.monicker = _data.returnData.data.userName; |
311 | ClassDataProxy.userEmail = _data.returnData.data.userEmail; | 312 | ClassDataProxy.userEmail = _data.returnData.data.userEmail; |
@@ -317,6 +318,7 @@ class LoginOrRegister extends Ape { | @@ -317,6 +318,7 @@ class LoginOrRegister extends Ape { | ||
317 | window.localStorage.setItem("token", ClassDataProxy.token ); | 318 | window.localStorage.setItem("token", ClassDataProxy.token ); |
318 | window.localStorage.setItem('status', ClassDataProxy.status); | 319 | window.localStorage.setItem('status', ClassDataProxy.status); |
319 | window.localStorage.setItem('id', ClassDataProxy.id); | 320 | window.localStorage.setItem('id', ClassDataProxy.id); |
321 | + window.localStorage.setItem('siteId', ClassDataProxy.siteId); | ||
320 | 322 | ||
321 | window.localStorage.setItem('monicker', ClassDataProxy.monicker); | 323 | window.localStorage.setItem('monicker', ClassDataProxy.monicker); |
322 | window.localStorage.setItem('userEmail', ClassDataProxy.userEmail); | 324 | window.localStorage.setItem('userEmail', ClassDataProxy.userEmail); |
@@ -24,6 +24,7 @@ class MyCenterApe extends Ape { | @@ -24,6 +24,7 @@ class MyCenterApe extends Ape { | ||
24 | super(); | 24 | super(); |
25 | this.isLocalStorage(); | 25 | this.isLocalStorage(); |
26 | this.data = 0; | 26 | this.data = 0; |
27 | + this._curriculumInfo(); | ||
27 | this.addEvent(); | 28 | this.addEvent(); |
28 | this.init(); | 29 | this.init(); |
29 | } | 30 | } |
@@ -48,6 +49,27 @@ class MyCenterApe extends Ape { | @@ -48,6 +49,27 @@ class MyCenterApe extends Ape { | ||
48 | addEvent() { | 49 | addEvent() { |
49 | 50 | ||
50 | } | 51 | } |
52 | + _curriculumInfo(){ | ||
53 | + let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/meeting/getMeeting'; | ||
54 | + let that = this; | ||
55 | + $.ajax({ | ||
56 | + type: "POST", | ||
57 | + url: _url, | ||
58 | + timeout:5000, | ||
59 | + data:{siteId:'markettest',loginName:'market'}, | ||
60 | + headers: {siteId:'markettest', | ||
61 | + 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | ||
62 | + success:function(_data){ | ||
63 | + loger.log(_data,'个人中心用户列表数据') | ||
64 | + //获取课堂数据 | ||
65 | + //that._gainClassData(_data); | ||
66 | + }, | ||
67 | + error:function(error){ | ||
68 | + //alert('直播数据获取失败') | ||
69 | + loger.log(error,'直播数据获取失败') | ||
70 | + } | ||
71 | + }) | ||
72 | + } | ||
51 | isLocalStorage(){ | 73 | isLocalStorage(){ |
52 | $('#teacherMyCenterName').text(ClassDataProxy.loginName); | 74 | $('#teacherMyCenterName').text(ClassDataProxy.loginName); |
53 | $('.myCenterContentBox').eq(0).show(); | 75 | $('.myCenterContentBox').eq(0).show(); |
@@ -89,6 +111,8 @@ class MyCenterApe extends Ape { | @@ -89,6 +111,8 @@ class MyCenterApe extends Ape { | ||
89 | return; | 111 | return; |
90 | } | 112 | } |
91 | } | 113 | } |
114 | + | ||
115 | + //提交用户信息修改 | ||
92 | _accountInfoSaveBtnHandler(){ | 116 | _accountInfoSaveBtnHandler(){ |
93 | let id = ClassDataProxy.id;//id | 117 | let id = ClassDataProxy.id;//id |
94 | 118 | ||
@@ -186,11 +210,14 @@ class MyCenterApe extends Ape { | @@ -186,11 +210,14 @@ class MyCenterApe extends Ape { | ||
186 | } | 210 | } |
187 | _myCenterBoxHandler(){ | 211 | _myCenterBoxHandler(){ |
188 | loger.log(ClassDataProxy.userType) | 212 | loger.log(ClassDataProxy.userType) |
213 | + if(ClassDataProxy.userType == ClassDataProxy.USER_TYPE_2){ | ||
214 | + return; | ||
215 | + } | ||
189 | if(ClassDataProxy.userType == ClassDataProxy.USER_TYPE_8){ | 216 | if(ClassDataProxy.userType == ClassDataProxy.USER_TYPE_8){ |
190 | $('#slideshow').hide(); | 217 | $('#slideshow').hide(); |
191 | $('#defaultBox').hide(); | 218 | $('#defaultBox').hide(); |
192 | $('#classifyListBox').hide(); | 219 | $('#classifyListBox').hide(); |
193 | - | 220 | + $('#lanclassBox').hide(); |
194 | } | 221 | } |
195 | $('#myCenterBox').show(); | 222 | $('#myCenterBox').show(); |
196 | } | 223 | } |
1 | //* | 1 | //* |
2 | -// 首页模块 | 2 | +// 收藏预约模块 |
3 | // */ | 3 | // */ |
4 | 4 | ||
5 | import Loger from "../Loger"; | 5 | import Loger from "../Loger"; |
@@ -47,6 +47,7 @@ class SubscribeApe extends Ape { | @@ -47,6 +47,7 @@ class SubscribeApe extends Ape { | ||
47 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | 47 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, |
48 | success:function(_data){ | 48 | success:function(_data){ |
49 | let arr = ['收藏成功!','预约成功!','报名成功!'] | 49 | let arr = ['收藏成功!','预约成功!','报名成功!'] |
50 | + loger.log(_data,'预约信息') | ||
50 | //获取课堂数据 | 51 | //获取课堂数据 |
51 | if(_data && _data.code == 200){ | 52 | if(_data && _data.code == 200){ |
52 | loger.log(_data,'预约信息') | 53 | loger.log(_data,'预约信息') |
@@ -38,7 +38,7 @@ let _subscribeApe; | @@ -38,7 +38,7 @@ let _subscribeApe; | ||
38 | 38 | ||
39 | class Main { | 39 | class Main { |
40 | constructor() { | 40 | constructor() { |
41 | - this.clientVersion="v1.6.7.20170904"; | 41 | + this.clientVersion="v1.6.8.20170904"; |
42 | loger.warn("clientVersion:"+this.clientVersion); | 42 | loger.warn("clientVersion:"+this.clientVersion); |
43 | 43 | ||
44 | let locationProtocol= location.protocol; | 44 | let locationProtocol= location.protocol; |
@@ -181,6 +181,7 @@ class Main { | @@ -181,6 +181,7 @@ class Main { | ||
181 | let userType = window.localStorage.getItem('userType')||0; | 181 | let userType = window.localStorage.getItem('userType')||0; |
182 | let loginName = window.localStorage.getItem('loginName')|| ''; | 182 | let loginName = window.localStorage.getItem('loginName')|| ''; |
183 | let id = window.localStorage.getItem('id')|| ''; | 183 | let id = window.localStorage.getItem('id')|| ''; |
184 | + let siteId = window.localStorage.getItem('siteId')|| ''; | ||
184 | 185 | ||
185 | let userMobile = window.localStorage.getItem('userMobile')|| ''; | 186 | let userMobile = window.localStorage.getItem('userMobile')|| ''; |
186 | let userEmail = window.localStorage.getItem('userEmail')|| ''; | 187 | let userEmail = window.localStorage.getItem('userEmail')|| ''; |
@@ -189,6 +190,7 @@ class Main { | @@ -189,6 +190,7 @@ class Main { | ||
189 | ClassDataProxy.userType = parseInt(userType); | 190 | ClassDataProxy.userType = parseInt(userType); |
190 | ClassDataProxy.loginName = loginName; | 191 | ClassDataProxy.loginName = loginName; |
191 | ClassDataProxy.id = id; | 192 | ClassDataProxy.id = id; |
193 | + ClassDataProxy.siteId = siteId; | ||
192 | //个人信息 | 194 | //个人信息 |
193 | ClassDataProxy.userMobile = userMobile; | 195 | ClassDataProxy.userMobile = userMobile; |
194 | ClassDataProxy.userEmail = userEmail; | 196 | ClassDataProxy.userEmail = userEmail; |
@@ -226,7 +228,10 @@ class Main { | @@ -226,7 +228,10 @@ class Main { | ||
226 | $('#header_seek').hide(); | 228 | $('#header_seek').hide(); |
227 | $('#androidDownload').hide(); | 229 | $('#androidDownload').hide(); |
228 | $('#classManagementBox').show(); | 230 | $('#classManagementBox').show(); |
231 | + $('#teacherDetailBox').hide(); | ||
229 | $('#myCenterBox').hide(); | 232 | $('#myCenterBox').hide(); |
233 | + $('#lanclassBox').hide(); | ||
234 | + $('#classifyListBox').hide(); | ||
230 | } | 235 | } |
231 | _teacherHome(){ | 236 | _teacherHome(){ |
232 | $('#slideshow').hide(); | 237 | $('#slideshow').hide(); |
@@ -227,7 +227,7 @@ ClassDataProxy.password ="" | @@ -227,7 +227,7 @@ ClassDataProxy.password ="" | ||
227 | ClassDataProxy.token =""; | 227 | ClassDataProxy.token =""; |
228 | ClassDataProxy.status = false; | 228 | ClassDataProxy.status = false; |
229 | ClassDataProxy.id = ''; | 229 | ClassDataProxy.id = ''; |
230 | - | 230 | +ClassDataProxy.siteId = ''; |
231 | ClassDataProxy.userMobile = ''; | 231 | ClassDataProxy.userMobile = ''; |
232 | ClassDataProxy.userEmail = ''; | 232 | ClassDataProxy.userEmail = ''; |
233 | ClassDataProxy.monicker = ""; | 233 | ClassDataProxy.monicker = ""; |
-
请 注册 或 登录 后发表评论