Browse Source

修改资料

luyanan 7 years ago
parent
commit
e1610e55f3
1 changed files with 6 additions and 7 deletions
  1. 6 7
      js/information.js

+ 6 - 7
js/information.js

@ -262,7 +262,6 @@ $(function() {
262 262
				personUpdata();
263 263
			}
264 264
		}
265

266 265
	});
267 266

268 267
	function personUpdata() {
@ -307,8 +306,8 @@ $(function() {
307 306
								opName = $info.name;
308 307
								if($info) {
309 308
									//展示专家的信息
310
									$(".modifybox").css("display", "none");
311
									$(".coninfocon").css("display", "block");
309
									$(".reInfoBlock").find(".modifybox").hide();
310
									$(".reInfoBlock").find(".coninfocon").show();
312 311

313 312
									if($info.phone) {
314 313
										$("#phone").text("联系电话:" + $info.phone);
@ -1409,14 +1408,14 @@ $(function() {
1409 1408
	//////////////////相关操作按钮///////////////
1410 1409
	//用户基本信息编辑
1411 1410
	$(".headconBox").on("click", ".proEdit", function() {
1412
		$(this).parents(".coninfocon").siblings(".modifybox").show();
1413
		$(this).parents(".coninfocon").hide();
1411
		$(this).parents(".reInfoBlock").find(".modifybox").show();
1412
		$(this).parents(".reInfoBlock").find(".coninfocon").hide();
1414 1413
		$(".head-left").css("top", "100px");
1415 1414
		//点击取消的操作
1416 1415
		$(".btnCancel").click(function() {
1417 1416
			$(".head-left").css("top", "");
1418
			$(this).parents(".modifybox").siblings(".coninfocon").show();
1419
			$(this).parents(".modifybox").hide();
1417
			$(this).parents(".reInfoBlock").find(".coninfocon").show();
1418
			$(this).parents(".reInfoBlock").find(".modifybox").hide();
1420 1419
			getInfo(userid);
1421 1420

1422 1421
		});