|
@@ -339,8 +339,20 @@ |
|
@@ -339,8 +339,20 @@ |
339
|
total = $(".pleaseenter").val();
|
339
|
total = $(".pleaseenter").val();
|
340
|
if(parseInt(total) > 0) {
|
340
|
if(parseInt(total) > 0) {
|
341
|
window.event.stopPropagation()
|
341
|
window.event.stopPropagation()
|
342
|
- $(".sendwrapper").css("display", "none");
|
|
|
343
|
- $(".passwordwrap").css("display", "block")
|
342
|
+ //判断是否改过密码
|
|
|
343
|
+ $.ajax({
|
|
|
344
|
+ url:"{:url('friendship/Friend/checkPwd')}",
|
|
|
345
|
+ type:"POST",
|
|
|
346
|
+ dataType:"JSON",
|
|
|
347
|
+
|
|
|
348
|
+ success: function (data) {
|
|
|
349
|
+ if(data.data === false) {
|
|
|
350
|
+ alert(data.msg);
|
|
|
351
|
+ }
|
|
|
352
|
+ $(".sendwrapper").css("display", "none");
|
|
|
353
|
+ $(".passwordwrap").css("display", "block")
|
|
|
354
|
+ }
|
|
|
355
|
+ })
|
344
|
}
|
356
|
}
|
345
|
})
|
357
|
})
|
346
|
$(".icon-quxiao").click(function(){
|
358
|
$(".icon-quxiao").click(function(){
|