mui.ready(function() { mui.plusReady(function() { var userid = plus.storage.getItem('userid'); var se = plus.webview.currentWebview(); //查询教育背景 var eduBgShow = function(data) { if(data.length > 0) { var html = []; for(var i = 0; i < data.length; i++) { var string = '
' if(data[i].college) { string += data[i].college + ","; } if(data[i].major) { string += data[i].major + ","; } if(data[i].degree) { string += data[i].degree; } string += '
' if(data[i].year) { string += '毕业于' + data[i].year + '年
' } string += '' if(data[i].department) { string += data[i].department; } string += '
' string += '' if(data[i].title) { string += data[i].title; } string += '
' string += '' if(data[i].startMonth) { if(data[i].stopMonth) { if(data[i].startMonth.substr(4, 1) == 0) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(5, 1) + "月" + " - "; } else { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 2) + "月" + " - "; } } else { if(data[i].startMonth.substr(4, 1) == 0) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(5, 1) + "月"; } else { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 2) + "月"; } } } if(data[i].stopMonth) { if(data[i].stopMonth.substr(4, 1) == 0) { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(5, 1) + "月"; } else { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(4, 2) + "月"; } } string += '
' string += '' if(data[i].startMonth) { if(data[i].stopMonth) { if(data[i].startMonth.substr(4, 1) == 0) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(5, 1) + "月" + " - "; } else { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 2) + "月" + " - "; } } else { if(data[i].startMonth.substr(4, 1) == 0) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(5, 1) + "月"; } else { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 2) + "月"; } } } if(data[i].stopMonth) { if(data[i].stopMonth.substr(4, 1) == 0) { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(5, 1) + "月"; } else { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(4, 2) + "月"; } } string += '
' string += '' if(data[i].descp) { string += data[i].descp; } string += '
' string += '' if(data[i].year) { string += "发表于" + data[i].year + "年"; } '
' string += '' if(data[i].descp) { string += data[i].descp; } '
' string += '' if(data[i].year) { string += "发表于" + data[i].year + "年"; } string += '
' string += '' if(data[i].descp) { string += data[i].descp; } string += '
' string += '' if(data[i].year) { string += "获得于" + data[i].year + "年"; } string += '
' string += '' if(data[i].descp) { string += data[i].descp; } string += '
' string += '