32 lines
1000 B
PHP
32 lines
1000 B
PHP
<div class="row">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" name="keyword" value="" id="search-kwd-notice" placeholder="请输入昵称/姓名/手机号" />
|
|
<span class='input-group-btn'><button type="button" class="btn btn-default" onclick="searchMembers();">搜索</button></span>
|
|
</div>
|
|
</div>
|
|
<div id="module-menus-notice" style="padding-top:5px;"></div>
|
|
<script>
|
|
function searchMembers() {
|
|
if( $.trim($('#search-kwd-notice').val())==''){
|
|
$('#search-kwd-notice').attr('placeholder','请输入关键词');
|
|
return;
|
|
}
|
|
$("#module-menus-notice").html("正在搜索....")
|
|
$.get('{!! yzWebUrl('member.query.index') !!}', {
|
|
keyword: $.trim($('#search-kwd-notice').val())
|
|
}, function(dat){
|
|
$('#module-menus-notice').html(dat);
|
|
});
|
|
}
|
|
function select_member(info) {
|
|
window.parent.postMessage(JSON.stringify(info), '*');
|
|
}
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|