mui.ready(function() { mui.plusReady(function() { var userId = plus.storage.getItem('userid'); function userInformation() { mui.ajax(baseUrl + "/ajax/consult/pqAssessHis", { dataType: 'json', //数据格式类型 type: 'GET', //http请求类型 data:{"professorId":userId}, timeout: 10000, //超时设置 success: function(data) { var str = JSON.stringify(data); console.log(str); var $info = data.data.data || {} if(data.success) { plus.nativeUI.closeWaiting(); plus.webview.currentWebview().show("slide-in-right",150); var html=[]; for(var i=0;i' } else { string += '' } string += '

' + $info[i].professor.name + '

' string += '' string += '
' string+='

'+$info[i].consultTitle+'

' string += '
' string += '' + assessTime + '' string += '
' string += '
' string += '' string += '' string += '' string += '' string += '' string += '
' string += '
' string += '
' string += '

' if($info[i].assessContant) string += $info[i].assessContant; string += '

' string += '
' html.push(string); var startLeval=parseInt($info[i].assessStar); document.getElementsByClassName(" protable")[0].innerHTML=html.join(''); var start=document.getElementsByClassName("star"); for(var j=0;j