webpackJsonp([65],{"ch/U":function(t,i){},cveI:function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=s("2CGT"),n=s("Fd2+"),a={data:function(){return{name:"",list:[]}},created:function(){},mounted:function(){},methods:{getVal:function(t,i){this[i]=t.target.value.replace(/ /g,"")},isNumeric:function(t){return/^[0-9]*$/.test(t)},getData:function(){""!==this.name?this.getHomePageDogInfo():Object(n.c)("请输入血统证书号或者芯片号")},getHomePageDogInfo:function(){var t=this;n.c.loading({message:"加载中...",forbidClick:!0,duration:0});var i={};i=this.isNumeric(this.name)?{dogId:this.name}:{pedigreeNum:this.name},Object(e.Q)(i).then(function(i){"0"==i.rc?(t.list=i.items,t.goDogInfo()):Object(n.c)(i.msg)})},goDogInfo:function(){this.list.length>0?/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.webkit.messageHandlers.goAppDogInfo.postMessage({dogId:this.list[0].id}):window.js.goAppDogInfo(this.list[0].id):Object(n.c)("暂无此犬只信息")},goBack:function(){this.$router.go(-1)},finish:function(){/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.webkit.messageHandlers.H5Finish.postMessage({}):window.js.H5Finish()}}},o={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"page"},[s("div",{staticClass:"topBox"},[s("div",{staticClass:"common_title"},[s("div",{staticClass:"img_box"},[s("div",{staticClass:"back_img",on:{click:function(i){return t.finish()}}})]),t._v(" "),s("div",{staticClass:"common_title_fl"},[t._v("犬只查询")]),t._v(" "),s("div",{staticClass:"img_box"})])]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"list"},[s("div",{staticClass:"search box_between"},[s("input",{attrs:{type:"text",placeholder:"请输入血统证书号/芯片号"},on:{blur:function(i){return t.getVal(i,"name")}}}),t._v(" "),s("div",{staticClass:"btn_box",on:{click:function(i){return t.getData()}}},[s("div",{staticClass:"find_btn"},[t._v("查询")])])])]),t._v(" "),0==t.list.length?s("div",{staticClass:"normal"},[s("div",{staticClass:"icon"}),t._v(" "),s("p",[t._v("暂无更多数据")])]):t._e()])])},staticRenderFns:[]};var c=s("VU/8")(a,o,!1,function(t){s("ch/U")},"data-v-34b26816",null);i.default=c.exports}});
//# sourceMappingURL=65.59dc708596a2909c3884.js.map