...
|
...
|
@@ -5,6 +5,7 @@ |
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
|
|
<link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
|
|
|
<link rel="stylesheet" href="https://at.alicdn.com/t/font_750594_itt4qc4xfcg.css">
|
|
|
<link rel="stylesheet" href="__INDEX__/css/base.css">
|
|
|
<link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
|
|
|
<script type="text/javascript" src="__INDEX__/js/base.js"></script>
|
...
|
...
|
@@ -246,7 +247,7 @@ |
|
|
<div class="container">
|
|
|
<div class="friendlist">
|
|
|
<volist name="list" id="vo">
|
|
|
<div class="fri_list">
|
|
|
<div class="fri_list" data-id="{$vo.friend_id}">
|
|
|
<p class="friend_img">
|
|
|
<img src="{$vo.avatar}" alt="">
|
|
|
</p>
|
...
|
...
|
@@ -263,10 +264,15 @@ |
|
|
搜索添加好友
|
|
|
</div>
|
|
|
</div>
|
|
|
<input type="tel" id="pwd" maxlength="6" style="display: block;" pattern="[0-9]*" onkeyup="this.value = this.value.replace(/[^\d]/g, '')"/>
|
|
|
|
|
|
</body>
|
|
|
<script type="text/javascript" src="__INDEX__/js/jquery.min.js"></script>
|
|
|
<script>
|
|
|
|
|
|
var friend_id = '';
|
|
|
$(".fri_list").click(function(){
|
|
|
friend_id=$(this).attr('data-id');
|
|
|
$(".sendwrapper").css("display","block");
|
|
|
})
|
|
|
|
...
|
...
|
@@ -342,6 +348,7 @@ |
|
|
$(".pleaseenter").val("");
|
|
|
$('#pwd').val("")
|
|
|
alert(data.msg);
|
|
|
window.location.reload();
|
|
|
}else {
|
|
|
alert(data.msg);
|
|
|
}
|
...
|
...
|
|