(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"1d82":function(t,n,e){"use strict";e.r(n);var o=e("7d44"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},2993:function(t,n,e){"use strict";var o=e("bf34"),i=e.n(o);i.a},"7d44":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{dogList:[],dogShow:!1,noticeContent:"欢迎大家,“乌海市便民养犬系统”开始上线了",noticeTime:"2025年09月03日 17:23:15",animationClass:"",noticeList:[{content:"欢迎大家,“乌海市便民养犬系统”开始上线了",time:"2025年09月03日 17:23:15"},{content:"第二条公告内容",time:"2025年09月03日 18:30:00"},{content:"第三条公告内容",time:"2025年09月03日 19:45:00"}],currentIndex:0}},onLoad:function(){this.startNoticeInterval()},onUnload:function(){this.clearNoticeInterval()},methods:{dogKindConfirm:function(n){var e=n.value[0].id;this.dogShow=!1,t.navigateTo({url:"/pages/electronicDogTagsOwner/electronicDogTagsOwner?dogId="+e})},navToElectronic:function(){var n=this;this.$http.get("appraisal/DDog/list?",{dogOwnerUserName:t.getStorageSync("userName")}).then((function(e){0===e.rows.length?t.showToast({title:"您还没有爱犬无法查看犬牌!",icon:"none",duration:2e3}):1===e.rows.length?t.navigateTo({url:"/pages/electronicDogTagsOwner/electronicDogTagsOwner?dogId="+e.rows[0].id}):(n.dogList=[],n.dogList.push(e.rows),n.dogShow=!0)})).catch((function(t){}))},navToViolationReport:function(){""===t.getStorageSync("phonenumber")||null===t.getStorageSync("phonenumber")?(t.showToast({title:"您还没登录,请先登录!",icon:"none",duration:2e3}),setTimeout((function(){t.switchTab({url:"/pages/my/my"})}),2e3)):t.navigateTo({url:"/pages/violationReport/violationReport"})},navToDetail:function(n){1===n&&(""===t.getStorageSync("phonenumber")||null===t.getStorageSync("phonenumber")?(t.showToast({title:"您还没登录,请先登录!",icon:"none",duration:2e3}),setTimeout((function(){t.switchTab({url:"/pages/my/my"})}),2e3)):t.navigateTo({url:"/pages/dogApplication/dogApplication"})),2===n&&(""===t.getStorageSync("phonenumber")||null===t.getStorageSync("phonenumber")?(t.showToast({title:"您还没登录,请先登录!",icon:"none",duration:2e3}),setTimeout((function(){t.switchTab({url:"/pages/my/my"})}),2e3)):t.navigateTo({url:"/pages/onlineAppointment/onlineAppointment"})),3===n&&t.navigateTo({url:"/pages/articleList/articleList?parentId=5"}),4===n&&t.navigateTo({url:"/pages/articleList/articleList?parentId=6"})},startNoticeInterval:function(){var t=this;this.noticeTimer=setInterval((function(){t.switchNotice()}),5e3)},clearNoticeInterval:function(){this.noticeTimer&&(clearInterval(this.noticeTimer),this.noticeTimer=null)},switchNotice:function(){var t=this,n=(this.currentIndex+1)%this.noticeList.length;this.animationClass="fade-out",setTimeout((function(){t.noticeContent=t.noticeList[n].content,t.noticeTime=t.noticeList[n].time,t.currentIndex=n,t.animationClass=""}),500)}}};n.default=e}).call(this,e("df3c")["default"])},"821a":function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("16e8");o(e("3240"));var i=o(e("a727"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},a727:function(t,n,e){"use strict";e.r(n);var o=e("ca6b"),i=e("1d82");for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("2993");var r=e("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports},bf34:function(t,n,e){},ca6b:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var o={uPicker:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-picker/u-picker")]).then(e.bind(null,"06e4"))}},i=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){t.dogShow=!1})},a=[]}},[["821a","common/runtime","common/vendor"]]]);