app code test 2

Contributor:lwnmouse Type:代码 Date time:2018-05-10 18:47:13 Favorite:27 Score:1
返回上页 Report
请选择举报理由:




Collection Modify the typo
var App = (function () {
var run = function () {
$.each(pages, function (k, v) {
var sectionId = '#' + k + '_section';
$('body').delegate(sectionId, 'pageinit', function () {
v.init && v.init.call(v);
});
var html = '< div style="text-align: center; margin-top: 20px">!< / div>';
J.Transition.add('flip', 'slideLeftOut', 'flipOut', 'slideRightOut', 'flipIn');
Jingle.launch({
showWelcome: true,
$('#r_head,#r_body,#r_hand_left,#r_hand_right,#r_foot_left,#r_foot_right').hide()
J.anim($('#r_head').show(), 'r_head', 4831, function () {
J.anim($('#r_body').show(), 'r_body', 52968, function () {
J.anim($('#r_hand_left').show(), 'r_hand_l', 734061);
});
remotePage: {
'#about_section': 'remote/about_section.html',
'#customersChoice_section': '../SuperVisit/customersChoice/customersChoice_section.html'//}
if(assignData.DepartmentRecord.length == 0){
var html = '< div style="text-align: center; margin-top: 20px">!< / div>';
$("#employee_list_EmployeeList_div").append(html);}
for (var i = 0; assignData.DepartmentRecord.length > i; i++) {
var html = '< details class="EmployeeList_details"
onclick="App.getPage(\'EmployeeList\').refreshScroll()">' +
'< summary class="EmployeeList_details_summary">'
+ assignData.DepartmentRecord[i].DepartmentName + ' < / summary>' +
'< dl>';
for(var j = 0; assignData.DepartmentRecord[i].DepartmentList.length > j; j++){
html += '< dt class="EmployeeList_details_dt" onclick="App.getPage(\'EmployeeList\').assignInfo('
+ i + ', '+ j +', this)">' + assignData.DepartmentRecord[i].DepartmentList[j].Name + '< / dt>';
assignData.DepartmentRecord[i].DepartmentList[j]['pinyin']
= pinyin.getFullChars(assignData.DepartmentRecord[i].DepartmentList[j].Name);
}
html += '< / dl>< / details>';
;
}
var page = function (id, factory) {
return ((id && factory) ? _addPage : _getPage).call(this, id, factory);
};
var _getPage = function (id) {
return pages[id];
};
//
var calcChartOffset = function () {
return {
height: $(document).height() - 47 - 35 - 60,
width: $(document).width()
}
}());
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
Hot degree:
Difficulty:
quality:
Description: the system according to the heat, the difficulty, the quality of automatic certification, the certification of the article will be involved in typing!

This paper typing ranking TOP20

登录后可见

用户更多文章推荐