1.0

parent 161beb51
...@@ -58,7 +58,7 @@ class ServerFoostoneModel ...@@ -58,7 +58,7 @@ class ServerFoostoneModel
} }
//模糊搜索品牌 //模糊搜索品牌
public function getBrand($keyword,$limit = 100,$type =1){ public function getBrand($keyword,$limit = 100,$type =1){
$data['key_word'] = $keyword; $data['keyword'] = $keyword;
$data['limit'] = $limit; $data['limit'] = $limit;
$s = $this->push( '/third/api/query/brand/list',$data,$type); $s = $this->push( '/third/api/query/brand/list',$data,$type);
echo \GuzzleHttp\json_encode($s['data'],JSON_UNESCAPED_UNICODE); echo \GuzzleHttp\json_encode($s['data'],JSON_UNESCAPED_UNICODE);
......
...@@ -31,6 +31,10 @@ var yunxin_forget_mobile; ...@@ -31,6 +31,10 @@ var yunxin_forget_mobile;
$(".error").show().text('请填写验证码'); $(".error").show().text('请填写验证码');
return false; return false;
} }
if(!(/^1[3|4|5|8][0-9]\d{4,8}$/.test(opt.getMobile()))){
$(".error").show().text("不是完整的11位手机号或者正确的手机号前七位");
return false;
}
} }
$(".error").hide().text(''); $(".error").hide().text('');
......
<div class="lx-content-r fr"> <div class="lx-content-r fr">
<div class="tit-bar"> <div class="tit-bar">
<a href="">订单管理</a> <a href="">商品管理</a>
<span>&gt;</span> <span>&gt;</span>
<a class="text" href="">{{ $title }}</a> <a class="text" href="">{{ $title }}</a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment