mui.ready(function() { mui.plusReady(function() { var userid = plus.storage.getItem('userid'); window.addEventListener("newId",function(){ personalMessage(); }) //查询教育背景 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].title) { string += data[i].title + ","; } if(data[i].department) { string += data[i].department; } string += '
' string += '' if(data[i].startMonth) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 6) + "月" + "-"; } if(data[i].stopMonth) { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(4, 6) + "月"; } string += '
' string += '' if(data[i].startMonth) { string += data[i].startMonth.substr(0, 4) + "年" + data[i].startMonth.substr(4, 6) + "月" + "-"; } if(data[i].stopMonth) { string += data[i].stopMonth.substr(0, 4) + "年" + data[i].stopMonth.substr(4, 6) + "月"; } '
' 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 += '