浏览代码

我的关注修改

xuchunyang 8 年之前
父节点
当前提交
6c664e4df3
共有 1 个文件被更改,包括 11 次插入3 次删除
  1. 11 3
      app/js/attentions.js

+ 11 - 3
app/js/attentions.js

149
		var rlist = '';
149
		var rlist = '';
150
		for(var n = 0; n < researchAreas.length; n++) {
150
		for(var n = 0; n < researchAreas.length; n++) {
151
			//console.log(researchAreas[n].caption);
151
			//console.log(researchAreas[n].caption);
152
			rlist = '<span>' + researchAreas[n].caption + '</span>';
152
			rlist += '<span>' + researchAreas[n].caption 
153
			if(n < researchAreas.length-1){
154
				rlist += " , "	
155
			}
156
			rlist += '</span>';
153
		}
157
		}
154

158

155
		/*判断用户是否认证*/
159
		/*判断用户是否认证*/
173
		var zlist = '';
177
		var zlist = '';
174
		for(var m = 0; m < resources.length; m++) {
178
		for(var m = 0; m < resources.length; m++) {
175
			//console.log(resources[m].caption);
179
			//console.log(resources[m].caption);
176
			zlist = '<span>' + resources[m].resourceName + '</span>';
180
			zlist += '<span>' + resources[m].resourceName 
181
			if(m < resources.length-1){
182
				zlist += " , "	
183
			}
184
			zlist += '</span>';
177
		}
185
		}
178

186
		
179
		var title = item.professor.title || "";
187
		var title = item.professor.title || "";
180
		var office = item.professor.office || "";
188
		var office = item.professor.office || "";
181
		var orgName = item.professor.orgName || "";
189
		var orgName = item.professor.orgName || "";