(function(t){function n(n){for(var r,c,o=n[0],u=n[1],d=n[2],s=0,l=[];s0&&void 0!==arguments[0]?arguments[0]:0;Object(a["a"])({id:n}).then((function(e){var r=e.code,c=e.msg,a=e.data;1==r?n>0?t.cityList=a.list:t.addressList=a.list:t.$message.error(c)}))},logout:function(){localStorage.clear(),location.href=""},checkAddress:function(t){this.addressListIndex=t,this.getAreaChildrenByID(this.addressList[this.addressListIndex].id),this.addressTabIndex=1},checkCity:function(t){this.cityListIndex=t,this.currentCity=this.cityList[this.cityListIndex],localStorage.setItem("currentCity",JSON.stringify(this.currentCity)),this.showSelectCity=!1},goLogin:function(){this.$router.push("/login")},goRegister:function(){this.$router.push("/register")},goMy:function(){this.$router.push("/my")},myHealthFood:function(){this.$router.push("/my/my-health-food")},shoppingCart:function(){this.$router.push("/shopping-cart")},myOrder:function(){this.$router.push("/my/my-order")},myMember:function(){this.$router.push("/my/my-member")}}},o=i,u=(e("5f7e"),e("2877")),d=Object(u["a"])(o,r,c,!1,null,"1c7573da",null);n["a"]=d.exports},8982:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"a",(function(){return s}));var r=e("bc3a"),c=e.n(r),a=e("5c96"),i=e("a18c"),o="http://127.0.0.1:8080/api",u="".concat(o,"/api/Upload/upload"),d=c.a.create({baseURL:o});d.interceptors.request.use((function(t){t.withCredentials=!0;var n=localStorage.getItem("session_key")||"";return t.headers["Authorization"]=n,t}),(function(t){throw Promise.reject(t)})),d.interceptors.response.use((function(t){switch(t.status){case 200:if(-1==t.data.code){var n=t.data.msg||"请登录后操作";throw localStorage.clear(),i["a"].push("/login"),Promise.reject(n)}return t.data}throw Object(a["Message"])({message:"系统错误",type:"error"}),Promise.reject(t.data)}),(function(t){var n=t.response&&(t.response.data||{}).message||"系统错误";switch((t.response||{}).status||-1){case 403:n="无权限",localStorage.clear(),i["a"].push("/login");break}throw Object(a["Message"])({message:n,type:"error"}),Promise.reject(t)}));var s={get:function(t,n){return d.get(t,{params:n})},post:function(t,n,e){return d.post(t,n,e)},postQS:function(t,n){return d.post(t,{},{params:n})},postForm:function(t,n){return d.post(t,n,{transformRequest:[function(t){var n="";for(var e in t)n+=encodeURIComponent(e)+"="+encodeURIComponent(t[e])+"&";return n}],headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}},"90c0":function(t,n,e){},"951d":function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAZxJREFUWEfNl+1RwzAQRF8qgBKOCoAOQgWQCiAd0AF0QAmECkgHpANIB1sCdMCcx85o4g/Jlky4P5lJHO077Z10XnDiWJxYn6IAZnYFvAMCVpK+YwkWA6jFP4DzWvQLuIlBFAEIxH29B+AOuAeiENkAR5lfS3JRzGxTQ2wlrfqsyAIwM9/uT9cD1pJc9BABxEbSugtiMkAt7p574bXEG7EYxCSAVPEUiNEAY8UDCK+Ny7ozds33UwC2wC3wJskrPhpm5s+9AntgGbbmKIDAzyLiTp4MkCn+U2detWgYSQBziSftgJk9Ai9d/vWZH3jem3lSEQ4VTwnxwR34C/FeADPzy8Sv1VbblMp80AIzewaegAtJfrcPxhjPk7qgAZAU7ZIc8SELqh2IAeSKZwGUEJ8MYGZLwK/iaJ/H6qfT46AIXeg4fAjxwcM/feY73Gwxsa7fYwBDa/YOIWNA+gB8xPKzoJlwj9fc5WaedBSPyWTqs9E+n7pw6v9aAPUx7KPTnLGX5JNVeyAxM3+dOptT3dtXUlVf/8+CmTNvLf8L7nDuIcu06JAAAAAASUVORK5CYII="},"9e99":function(t,n,e){},a18c:function(t,n,e){"use strict";var r=e("8c4f"),c=e("ca00"),a=[{path:"/login",component:function(){return e.e("chunk-4e64da4c").then(e.bind(null,"dd7b"))},meta:{title:"登录",hideFooter:!0,showFloatBox:!1}},{path:"/sys-config-info",component:function(){return e.e("chunk-5d64bbe9").then(e.bind(null,"cd91"))},meta:{title:"用户协议"}},{path:"/register",component:function(){return e.e("chunk-6994606d").then(e.bind(null,"7803"))},meta:{title:"注册"}},{path:"/forgot-password",component:function(){return e.e("chunk-16daad77").then(e.bind(null,"1cb8"))},meta:{title:"忘记密码"}},{path:"/",redirect:"/index"},{path:"/index",component:function(){return e.e("chunk-3cdd4efe").then(e.bind(null,"37f9"))},meta:{title:"首页",showFloatBox:!0}},{path:"/index/search",component:function(){return e.e("chunk-6081161b").then(e.bind(null,"1976"))},meta:{title:"搜索"}},{path:"/index/sub-health-pool",component:function(){return e.e("chunk-93724d42").then(e.bind(null,"1dcc"))},meta:{title:"亚健康汇"}},{path:"/index/sub-health-pool-details",component:function(){return e.e("chunk-b8983504").then(e.bind(null,"953c"))},meta:{title:"亚健康汇-疲乏无力详情"}},{path:"/index/gift-heart-choose",component:function(){return e.e("chunk-da4857c6").then(e.bind(null,"3498"))},meta:{title:"礼品心选"}},{path:"/index/gift-heart-choose-list",component:function(){return e.e("chunk-793c67c8").then(e.bind(null,"a66f"))},meta:{title:"送长辈"}},{path:"/index/raise-five-internal-organs",component:function(){return e.e("chunk-8b6adf18").then(e.bind(null,"195d"))},meta:{title:"养五脏"}},{path:"/index/good-for",component:function(){return e.e("chunk-1e7812c8").then(e.bind(null,"d651"))},meta:{title:"品质良作"}},{path:"/index/limited-source-pre-sale",component:function(){return e.e("chunk-0d2c38e8").then(e.bind(null,"0819"))},meta:{title:"限源预售"}},{path:"/index/seconds-kill",component:function(){return e.e("chunk-14a3595e").then(e.bind(null,"c6ba"))},meta:{title:"限时秒杀"}},{path:"/index/seasonal-nutrition-recommended",component:function(){return e.e("chunk-5b6f8194").then(e.bind(null,"8add"))},meta:{title:"时令营养滋补免疫推荐"}},{path:"/index/my-custom-payment",component:function(){return Promise.all([e.e("chunk-b6a8d2ce"),e.e("chunk-3ee8919a")]).then(e.bind(null,"29ff"))},meta:{title:"付款"}},{path:"/index/my-custom",component:function(){return e.e("chunk-4e56f816").then(e.bind(null,"6b40"))},meta:{title:"我的定制"}},{path:"/index/my-custom-gift",component:function(){return e.e("chunk-4c484162").then(e.bind(null,"48d5"))},meta:{title:"礼品定制"}},{path:"/index/consulting-details",component:function(){return e.e("chunk-0ddbf502").then(e.bind(null,"51ae"))},meta:{title:"视频详情"}},{path:"/index/pay-success",component:function(){return e.e("chunk-042ec113").then(e.bind(null,"de9f"))},meta:{title:"支付成功"}},{path:"/index/product-details",component:function(){return e.e("chunk-d68430a4").then(e.bind(null,"5b5e"))},meta:{title:"商品详情",showFloatBox:!0}},{path:"/index/payment-order",component:function(){return Promise.all([e.e("chunk-b6a8d2ce"),e.e("chunk-f830137a"),e.e("chunk-e387856c")]).then(e.bind(null,"b991"))},meta:{title:"支付订单"}},{path:"/index/seasonal-health-food",component:function(){return e.e("chunk-0f3ccb34").then(e.bind(null,"268a"))},meta:{title:"时令健康养生食品"}},{path:"/index/seasonal-health-food-addCart",component:function(){return e.e("chunk-7ddcf2ae").then(e.bind(null,"3800"))},meta:{title:"时令健康养生食品加入购物车"}},{path:"/index/video-column",component:function(){return e.e("chunk-402eb76c").then(e.bind(null,"bb5b"))},meta:{title:"视频专栏"}},{path:"/index/video-details",component:function(){return e.e("chunk-3d5617ca").then(e.bind(null,"a569"))},meta:{title:"视频详情"}},{path:"/my/my-order-details",component:function(){return Promise.all([e.e("chunk-b6a8d2ce"),e.e("chunk-65632235")]).then(e.bind(null,"b3e4"))},meta:{title:"订单详情"}},{path:"/my",component:function(){return e.e("chunk-c5e0c96c").then(e.bind(null,"b31c"))},redirect:"/my/my-order",children:[{path:"/my/my-order",component:function(){return Promise.all([e.e("chunk-b6a8d2ce"),e.e("chunk-d86ab3be")]).then(e.bind(null,"e40d"))},meta:{title:"我的订单"}},{path:"/my/browsing-history",component:function(){return e.e("chunk-f975a292").then(e.bind(null,"da5f"))},meta:{title:"浏览记录"}},{path:"/my/my-collection",component:function(){return e.e("chunk-f5b7371c").then(e.bind(null,"6d83"))},meta:{title:"我的收藏"}},{path:"/my/my-points",component:function(){return e.e("chunk-28f2a0b6").then(e.bind(null,"a3d5"))},meta:{title:"我的积分"}},{path:"/my/points-details",component:function(){return e.e("chunk-6197e572").then(e.bind(null,"6c79"))},meta:{title:"积分明细"}},{path:"/my/exchange-record",component:function(){return e.e("chunk-029c613f").then(e.bind(null,"f1db"))},meta:{title:"兑换记录"}},{path:"/my/my-member",component:function(){return e.e("chunk-d7b8f6aa").then(e.bind(null,"b705"))},meta:{title:"我的会员"}},{path:"/my/card-voucher",component:function(){return e.e("chunk-2f02c1d3").then(e.bind(null,"360b"))},meta:{title:"卡券"}},{path:"/my/message",component:function(){return e.e("chunk-ff48ca3c").then(e.bind(null,"daff"))},meta:{title:"消息"}},{path:"/my/partner",component:function(){return e.e("chunk-2e7c8331").then(e.bind(null,"e22c"))},meta:{title:"携手合伙人"}},{path:"/my/my-distribution",component:function(){return e.e("chunk-46324c5a").then(e.bind(null,"c138"))},meta:{title:"我的分销"}},{path:"/my/product-traceability",component:function(){return e.e("chunk-092948d7").then(e.bind(null,"6334"))},meta:{title:"产品溯源"}},{path:"/my/my-appointment",component:function(){return e.e("chunk-09da36c6").then(e.bind(null,"301b"))},meta:{title:"我的预约"}},{path:"/my/feedback",component:function(){return e.e("chunk-257f1220").then(e.bind(null,"0e5e"))},meta:{title:"意见反馈"}},{path:"/my/information-material",component:function(){return e.e("chunk-42525d27").then(e.bind(null,"853c"))},meta:{title:"资讯素材"}},{path:"/my/set-up",component:function(){return Promise.all([e.e("chunk-f830137a"),e.e("chunk-1e6a8758")]).then(e.bind(null,"ca6f"))},meta:{title:"设置"}},{path:"/my/my-address",component:function(){return Promise.all([e.e("chunk-f830137a"),e.e("chunk-22547032")]).then(e.bind(null,"9a8c"))},meta:{title:"收货地址"}},{path:"/my/apply-for-invoice",component:function(){return e.e("chunk-20087cdc").then(e.bind(null,"8c51"))},meta:{title:"申请开票"}},{path:"/my/my-fans",component:function(){return e.e("chunk-f9a77030").then(e.bind(null,"f267"))},meta:{title:"我的粉丝"}},{path:"/my/my-commission",component:function(){return e.e("chunk-427c84f6").then(e.bind(null,"3440"))},meta:{title:"我的佣金"}}]},{path:"/my/logistics-details",component:function(){return e.e("chunk-64746ab9").then(e.bind(null,"7b5d"))},meta:{title:"物流详情"}},{path:"/my/real-name-authentication",component:function(){return e.e("chunk-32f491f2").then(e.bind(null,"0422"))},meta:{title:"实名认证"}},{path:"/my/bind-mobile-phone-number",component:function(){return e.e("chunk-0405e034").then(e.bind(null,"184c"))},meta:{title:"绑定手机号"}},{path:"/my/change-password",component:function(){return e.e("chunk-0e11f7ca").then(e.bind(null,"a17d"))},meta:{title:"修改密码"}},{path:"/my/evaluation",component:function(){return e.e("chunk-310d1196").then(e.bind(null,"e5ec"))},meta:{title:"评价"}},{path:"/my/refund-after",component:function(){return e.e("chunk-abfd17a8").then(e.bind(null,"17e8"))},meta:{title:"退款/售后"}},{path:"/my/my-health-food",component:function(){return e.e("chunk-1fea3021").then(e.bind(null,"e47a"))},meta:{title:"我的康养食品"}},{path:"/my/refund-application",component:function(){return e.e("chunk-661d615d").then(e.bind(null,"74b0"))},meta:{title:"退款申请"}},{path:"/my/refund-application-options",component:function(){return e.e("chunk-e96071ce").then(e.bind(null,"f56d"))},meta:{title:"退款申请选择"}},{path:"/my/privacy-policy",component:function(){return e.e("chunk-1b9e077e").then(e.bind(null,"e849"))},meta:{title:"隐私政策"}},{path:"/my/cancellation-notice",component:function(){return e.e("chunk-ae1dc972").then(e.bind(null,"bb0b"))},meta:{title:"注销须知"}},{path:"/classification",component:function(){return e.e("chunk-613e40f3").then(e.bind(null,"d976"))},meta:{title:"分类"}},{path:"/shopping-cart",component:function(){return e.e("chunk-5e8c9c40").then(e.bind(null,"1eda"))},meta:{title:"购物车",showFloatBox:!0}},{path:"/shopping-cart/payment-order",component:function(){return Promise.all([e.e("chunk-b6a8d2ce"),e.e("chunk-f830137a"),e.e("chunk-25451da8")]).then(e.bind(null,"3413"))},meta:{title:"购物车结算"}},{path:"/health-encyclopedia",component:function(){return e.e("chunk-aa0c483c").then(e.bind(null,"3abb"))},meta:{title:"康养百科",showFloatBox:!0}},{path:"/health-encyclopedia/seasonal-health",component:function(){return e.e("chunk-0c857e45").then(e.bind(null,"fd82"))},meta:{title:"时令养生"}},{path:"/health-encyclopedia/consultation-results",component:function(){return e.e("chunk-75a51004").then(e.bind(null,"1f49"))},meta:{title:"咨询结果"}},{path:"/health-encyclopedia/consultation-results-details",component:function(){return e.e("chunk-2426f602").then(e.bind(null,"7a4f"))},meta:{title:"咨询详情"}}],i=new r["a"]({mode:"history",routes:a});i.beforeEach((function(t,n,e){t.meta.title&&(document.title=t.meta.title),Object(c["c"])(),document.documentElement.scrollTop=0,e()})),n["a"]=i},af4b:function(t,n,e){"use strict";e("9e99")},c701:function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAQ9JREFUWEft1TEOgjAUxvHvBV2MERYHJ/UGHEFu0Ct4QnsDPYJHcHNwQWNc0NQ0gtGitK81cSkr6P+XF14h/PmiP/cRAXECcQJBE1Aiy04YrPUqj3ApSJYld629AU2cgFxHFbD1QXgBXuMK6qgBBEp9EGzAWYzzG3orAs10PMF1oQE39DY+CBbgEe+vCcia+FAethpQw56IBNWyudf1XjgDuuJNwECUCarChnACuMR9EVYAJ+6D6AT4xLmIr4CQOAfxEfCLuCuiBfhl3AXRAhzFZEegqbnn3DPefP59RdUulfv54wQ1rpOYSAXkCa7CtsNcVI2QpL8bci8+Arh/Gvq89RwIDdh+HwFxAnECcQJ3Jr3hIVNetZMAAAAASUVORK5CYII="},ca00:function(t,n,e){"use strict";e.d(n,"d",(function(){return u})),e.d(n,"b",(function(){return d})),e.d(n,"a",(function(){return l})),e.d(n,"c",(function(){return f}));e("3b2b"),e("a481"),e("28a5");var r=e("7618"),c=e("768b"),a=(e("759f"),e("01c8")),i=(e("ac6a"),e("f3e2"),e("bd86")),o=(e("4917"),function(t){var n=0;return!(t.length<8||t.length>12)&&(t.match(/([a-z])+/)&&n++,t.match(/([A-Z])+/)&&n++,t.match(/([0-9])+/)&&n++,n>=2)}),u=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=(n={},Object(i["a"])(n,"notNull",(function(t){return!("undefined"==typeof t||null==t||""===t)})),Object(i["a"])(n,"isMobile",(function(t){return/^1[3456789]\d{9}$/.test(t)})),Object(i["a"])(n,"checkPassLevel",o),n),d=[];return e.forEach((function(n){var e=Object(a["a"])(n),i=e[0],o=e.slice(1),s=t[i];o.some((function(n){var e=Object(c["a"])(n,2),a=e[0],o=e[1],l=Object(r["a"])(a),f="string"==l&&!(!u[a]||u[a](s)),h="function"==l&&!a(s,t);return(f||h)&&d.push({key:i,val:s,errMsg:o,validator:a}),f||h}))})),d};function d(t){if(!/^\d*(\.\d*)?$/.test(t))return alert("Number is wrong!"),"Number is wrong!";for(var n=new Array("零","一","二","三","四","五","六","七","八","九"),e=new Array("","十","百","千","万","亿","点",""),r=(""+t).replace(/(^0*)/g,"").split("."),c=0,a="",i=r[0].length-1;i>=0;i--){switch(c){case 0:a=e[7]+a;break;case 4:new RegExp("0{4}\\d{"+(r[0].length-i-1)+"}$").test(r[0])||(a=e[4]+a);break;case 8:a=e[5]+a,e[7]=e[5],c=0;break}c%4==2&&0!=r[0].charAt(i+2)&&0==r[0].charAt(i+1)&&(a=n[0]+a),0!=r[0].charAt(i)&&(a=n[r[0].charAt(i)]+e[c%4]+a),c++}if(r.length>1){a+=e[6];for(i=0;i1&&void 0!==arguments[1]?arguments[1]:250;s.callback=t,s.bottom=n,s.isListenerScrollToBottom=!0,window.addEventListener("scroll",(function(){var t=document.documentElement,n=t.scrollTop||document.body.scrollTop,e=t.scrollHeight,r=t.clientHeight,c=n+r,a=c>s.lastScrollTop&&c>=e-s.bottom,i=cs.lastScrollTop&&c