(function(t){function e(e){for(var r,o,c=e[0],u=e[1],s=e[2],d=0,l=[];d<c.length;d++)o=c[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&l.push(a[o][0]),a[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);f&&f(e);while(l.length)l.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],r=!0,o=1;o<n.length;o++){var c=n[o];0!==a[c]&&(r=!1)}r&&(i.splice(e--,1),t=u(u.s=n[0]))}return t}var r={},o={app:0},a={app:0},i=[];function c(t){return u.p+"static/js/"+({AddressList:"AddressList",ArticleDetail:"ArticleDetail",ArticleList:"ArticleList",BalanceRecharge:"BalanceRecharge",BalanceWithdrawal:"BalanceWithdrawal",BalanceWithdrawalNotes:"BalanceWithdrawalNotes",Cart:"Cart",Center:"Center","Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo":"Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo",Chat:"Chat",OrderComment:"OrderComment","OrderDetail~OrderSubmit":"OrderDetail~OrderSubmit",OrderSubmit:"OrderSubmit",OrderPayOffline:"OrderPayOffline",RefundApply:"RefundApply",UserInfo:"UserInfo",Forget:"Forget","Home~ProductDetail~Topic":"Home~ProductDetail~Topic","Home~Topic":"Home~Topic",Home:"Home",Topic:"Topic",ProductDetail:"ProductDetail",IntegralHome:"IntegralHome",Login:"Login",MyCard:"MyCard",OrderDetail:"OrderDetail","OrderList~RefundList~UserGift":"OrderList~RefundList~UserGift",OrderList:"OrderList",RefundList:"RefundList",UserGift:"UserGift",OrderPay:"OrderPay",OrderPayWechat:"OrderPayWechat",OrderSuccess:"OrderSuccess",ProductAddOnItem:"ProductAddOnItem",ProductList:"ProductList",RechargeGift:"RechargeGift",RefundDetail:"RefundDetail",UserBalance:"UserBalance",UserCoupon:"UserCoupon",UserIntegral:"UserIntegral",UserPassword:"UserPassword"}[t]||t)+"."+{AddressList:"7bccd265",ArticleDetail:"cbefd431",ArticleList:"35ff2549",BalanceRecharge:"c39b7925",BalanceWithdrawal:"ea4ad55c",BalanceWithdrawalNotes:"be7de7e1",Cart:"8dd17836",Center:"9db43d1a","Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo":"6ad3675f",Chat:"f3d0412e",OrderComment:"bebaaaa1","OrderDetail~OrderSubmit":"48a79415",OrderSubmit:"4769093a",OrderPayOffline:"984af4cc",RefundApply:"33603e93",UserInfo:"61a144a0",Forget:"f6298dd9","Home~ProductDetail~Topic":"577fb756","Home~Topic":"4e1cc317",Home:"b301aa2e",Topic:"08b5bbd6",ProductDetail:"0010f644",IntegralHome:"5c33c1ee",Login:"cf41fa49",MyCard:"8690d7fd",OrderDetail:"90379e63","OrderList~RefundList~UserGift":"f9c62ee9",OrderList:"4131e6ab",RefundList:"028a7142",UserGift:"32cfd136",OrderPay:"ccd2b97f",OrderPayWechat:"d3a432d0",OrderSuccess:"ecdf95eb",ProductAddOnItem:"5ff786b4",ProductList:"b72c5edc",RechargeGift:"093f5e4f",RefundDetail:"be04b4a3",UserBalance:"a2d008bb",UserCoupon:"5b713ab9",UserIntegral:"a24d1bfb",UserPassword:"418ecfca"}[t]+".js"}function u(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n={AddressList:1,ArticleDetail:1,ArticleList:1,BalanceRecharge:1,BalanceWithdrawal:1,BalanceWithdrawalNotes:1,Cart:1,Center:1,"Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo":1,Chat:1,OrderComment:1,"OrderDetail~OrderSubmit":1,OrderSubmit:1,OrderPayOffline:1,RefundApply:1,UserInfo:1,Forget:1,"Home~ProductDetail~Topic":1,"Home~Topic":1,ProductDetail:1,IntegralHome:1,Login:1,MyCard:1,OrderDetail:1,"OrderList~RefundList~UserGift":1,OrderList:1,RefundList:1,UserGift:1,OrderPay:1,OrderPayWechat:1,OrderSuccess:1,ProductAddOnItem:1,ProductList:1,RechargeGift:1,RefundDetail:1,UserBalance:1,UserCoupon:1,UserIntegral:1,UserPassword:1};o[t]?e.push(o[t]):0!==o[t]&&n[t]&&e.push(o[t]=new Promise((function(e,n){for(var r="static/css/"+({AddressList:"AddressList",ArticleDetail:"ArticleDetail",ArticleList:"ArticleList",BalanceRecharge:"BalanceRecharge",BalanceWithdrawal:"BalanceWithdrawal",BalanceWithdrawalNotes:"BalanceWithdrawalNotes",Cart:"Cart",Center:"Center","Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo":"Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo",Chat:"Chat",OrderComment:"OrderComment","OrderDetail~OrderSubmit":"OrderDetail~OrderSubmit",OrderSubmit:"OrderSubmit",OrderPayOffline:"OrderPayOffline",RefundApply:"RefundApply",UserInfo:"UserInfo",Forget:"Forget","Home~ProductDetail~Topic":"Home~ProductDetail~Topic","Home~Topic":"Home~Topic",Home:"Home",Topic:"Topic",ProductDetail:"ProductDetail",IntegralHome:"IntegralHome",Login:"Login",MyCard:"MyCard",OrderDetail:"OrderDetail","OrderList~RefundList~UserGift":"OrderList~RefundList~UserGift",OrderList:"OrderList",RefundList:"RefundList",UserGift:"UserGift",OrderPay:"OrderPay",OrderPayWechat:"OrderPayWechat",OrderSuccess:"OrderSuccess",ProductAddOnItem:"ProductAddOnItem",ProductList:"ProductList",RechargeGift:"RechargeGift",RefundDetail:"RefundDetail",UserBalance:"UserBalance",UserCoupon:"UserCoupon",UserIntegral:"UserIntegral",UserPassword:"UserPassword"}[t]||t)+"."+{AddressList:"1140d63c",ArticleDetail:"303dc7ff",ArticleList:"6ddbf2a8",BalanceRecharge:"281311e8",BalanceWithdrawal:"8735eaf1",BalanceWithdrawalNotes:"e141b7fe",Cart:"d5478609",Center:"edf5d7ed","Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo":"443bc591",Chat:"25cb8023",OrderComment:"a26d978f","OrderDetail~OrderSubmit":"b8a21f1d",OrderSubmit:"d58a96b4",OrderPayOffline:"77b46735",RefundApply:"56a927e9",UserInfo:"b7a781e6",Forget:"ed58ac0f","Home~ProductDetail~Topic":"67eb0618","Home~Topic":"ba2a0599",Home:"31d6cfe0",Topic:"31d6cfe0",ProductDetail:"7ae17daa",IntegralHome:"bc5b53ee",Login:"f0bde14c",MyCard:"f1745047",OrderDetail:"03b46233","OrderList~RefundList~UserGift":"727459a3",OrderList:"57d168e1",RefundList:"0a00e4f1",UserGift:"a05a67b6",OrderPay:"b6cf1791",OrderPayWechat:"afee982d",OrderSuccess:"99affc5e",ProductAddOnItem:"0f8bcc71",ProductList:"223ad3ea",RechargeGift:"73ec59cc",RefundDetail:"6aae0f26",UserBalance:"49a3290b",UserCoupon:"d4b6357f",UserIntegral:"afbb15db",UserPassword:"65182367"}[t]+".css",a=u.p+r,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=i[c],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===r||d===a))return e()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){s=l[c],d=s.getAttribute("data-href");if(d===r||d===a)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var r=e&&e.target&&e.target.src||a,i=new Error("Loading CSS chunk "+t+" failed.\n("+r+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=r,delete o[t],f.parentNode.removeChild(f),n(i)},f.href=a;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){o[t]=0})));var r=a[t];if(0!==r)if(r)e.push(r[2]);else{var i=new Promise((function(e,n){r=a[t]=[e,n]}));e.push(r[2]=i);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=c(t);var l=new Error;s=function(e){d.onerror=d.onload=null,clearTimeout(f);var n=a[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;l.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,n[1](l)}a[t]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(e)},u.m=t,u.c=r,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)u.d(n,r,function(e){return t[e]}.bind(null,r));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="/",u.oe=function(t){throw console.error(t),t};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[l]);var f=d;i.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"2f14":function(t,e,n){"use strict";n.d(e,"s",(function(){return m})),n.d(e,"k",(function(){return p})),n.d(e,"n",(function(){return g})),n.d(e,"d",(function(){return O})),n.d(e,"h",(function(){return y})),n.d(e,"j",(function(){return v})),n.d(e,"m",(function(){return C})),n.d(e,"o",(function(){return T})),n.d(e,"r",(function(){return I})),n.d(e,"q",(function(){return E})),n.d(e,"p",(function(){return P})),n.d(e,"c",(function(){return A})),n.d(e,"u",(function(){return j})),n.d(e,"t",(function(){return S})),n.d(e,"i",(function(){return D})),n.d(e,"l",(function(){return w})),n.d(e,"a",(function(){return L})),n.d(e,"v",(function(){return _})),n.d(e,"w",(function(){return R})),n.d(e,"f",(function(){return F})),n.d(e,"b",(function(){return U})),n.d(e,"e",(function(){return N})),n.d(e,"g",(function(){return x}));var r=n("53ca"),o=n("2909"),a=(n("d9e2"),n("99af"),n("a15b"),n("d81d"),n("14d9"),n("fb6a"),n("a434"),n("a9e3"),n("d3b7"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("00b4"),n("25f0"),n("5319"),n("498a"),n("159b"),n("9a1b")),i=n("9fb0"),c=n("4360"),u=n("99c5"),s=n("5d2c"),d=n("b225"),l=(n("841c"),function(){var t="",e=32;while(e--)t+=Math.floor(16*Math.random()).toString(16);return new f(t).ToString("hishop")});function f(t){var e=this,n=[];function r(t,e){if(e=e.replace(/\{|\(|\)|\}|-/g,""),e=e.toLowerCase(),32!==e.length||-1!==e.search(/[^0-9,a-f]/i))o(t);else for(var n=0;n<e.length;n++)t.push(e[n])}function o(t){var e=32;while(e--)t.push("0")}function a(t,e){switch(e){case"N":return t.toString().replace(/,/g,"");case"D":var n=t.slice(0,8)+"-"+t.slice(8,12)+"-"+t.slice(12,16)+"-"+t.slice(16,20)+"-"+t.slice(20,32);return n=n.replace(/,/g,""),n;case"B":return n=a(t,"D"),n="{"+n+"}",n;case"P":return n=a(t,"D"),n="("+n+")",n;default:return new f}}"string"===typeof t?r(n,t):o(n),this.Equals=function(t){return!(!t||!t.IsGuid)&&e.ToString()===t.ToString()},this.IsGuid=function(){},this.ToString=function(t){return a(n,"string"===typeof t&&("N"===t||"D"===t||"B"===t||"P"===t)?t:"D")}}var h=1200,m=function(t){localStorage.removeItem("tokenPc"),localStorage.removeItem("refreshTokenPc"),localStorage.removeItem("tokenExpirePc"),sessionStorage.removeItem("tokenPc"),sessionStorage.removeItem("refreshTokenPc"),sessionStorage.removeItem("tokenExpirePc");var e="true"===localStorage.isAutoLogin,n=e?localStorage:sessionStorage;n.tokenPc=t.token,n.refreshTokenPc=t.refreshToken;var r=Date.now()+1e3*h;n.tokenExpirePc=t.token?r:"",t.historeToken&&(n.historeToken=t.historeToken),t.token||(n.historeToken="",c["a"].commit(i["j"],!1))},p=function(t){var e="true"===localStorage.isAutoLogin,n=e?localStorage:sessionStorage,r=n.refreshTokenPc;r&&Object(a["u"])({refreshToken:r}).then((function(e){e.success?(m({token:e.data.token,refreshToken:e.data.refreshToken}),O.login(),c["a"].commit(i["n"],e.data.member),t&&t()):(b(),console.log("登录失效"))}))},b=function(){m({token:"",refreshToken:""}),c["a"].commit(i["n"],{}),d["a"].set({})},g=function(){b()},O={timer:null,login:function(){clearInterval(O.timer),O.timer=setInterval((function(){var t="true"===localStorage.isAutoLogin,e=t?localStorage:sessionStorage,n=e.refreshTokenPc;if(n)return p();clearInterval(O.timer)}),1e3*h)}},y=function(){var t=localStorage.identity;return t||(t=l(),localStorage.identity=t),t},v=function(t,e,n,r,o,a){var i=[],c=[],u=[],s=1,d=1;if(e&&(o?(s=Math.floor(n/t.limit)+1,d=Math.floor(r/t.limit)+1):(s=Math.floor(n/t.limit)||1,d=Math.floor(r/t.limit)||1)),o?t.amount>0?(i.push("再购".concat(a.diffMoney,"元减").concat(t.amount*s,"元")),c.push("再购".concat(a.diffQuantity,"件减").concat(t.amount*d,"元")),u.push("满减"),a.number=t.amount):t.rebate?(i.push("再购".concat(a.diffMoney,"元打").concat(t.rebate,"折")),c.push("再购".concat(a.diffQuantity,"件打").concat(t.rebate,"折")),u.push("满折"),a.number=t.rebate):(i.push("再购".concat(a.diffMoney,"元")),c.push("再购".concat(a.diffQuantity,"件")),a.number=null):t.amount>0?(i.push("已满".concat(t.limit*s,"元减").concat(t.amount*s,"元")),c.push("已满".concat(t.limit,"件减").concat(t.amount*d,"元")),u.push("满减"),a.number=t.amount):t.rebate?(i.push("已满".concat(t.limit,"元打").concat(t.rebate,"折")),c.push("已满".concat(t.limit,"件打").concat(t.rebate,"折")),u.push("满折"),a.number=t.rebate):(i.push("已满".concat(t.limit*s,"元")),c.push("已满".concat(t.limit*d,"件")),a.number=null),t.freeShipping&&(u.push("包邮"),i.push("包邮"),c.push("包邮")),t.integral&&(u.push("满赠"),i.push("送".concat(t.integral*s,"积分")),c.push("送".concat(t.integral*d,"积分"))),t.coupons){t.integral||u.push("满赠");var l="送",f=[],h=[];t.coupons.forEach((function(t){f.push("".concat(t.number*s,"张").concat(t.amount,"元")),h.push("".concat(t.number*d,"张").concat(t.amount,"元"))})),i.push("".concat(l).concat(f.join("、"),"优惠券")),c.push("".concat(l).concat(h.join("、"),"优惠券"))}return a.profits=i,a.tags=u,a.qProfits=c,a},C=function(t,e){var n=parseInt(t/86400),r=parseInt(t%86400/3600),o=parseInt(t%3600/60),a=parseInt(t%3600%60);if(r<10&&(r="0"+r),o<10&&(o="0"+o),a<10&&(a="0"+a),!e)return{day:n,hour:r,min:o,sec:a};var i="";return n>0&&(i+=n+"天"),i+=r+":"+o+":"+a,i},T=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;try{t=n.toString().split(".")[1].length}catch(a){t=0}try{e=r.toString().split(".")[1].length}catch(a){e=0}var o=Math.pow(10,Math.max(t,e));return(E(n,o)+E(r,o))/o},I=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;try{t=n.toString().split(".")[1].length}catch(a){t=0}try{e=r.toString().split(".")[1].length}catch(a){e=0}var o=Math.pow(10,Math.max(t,e));return(E(n,o)-E(r,o))/o},E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0,r=t.toString(),o=e.toString();try{n+=r.split(".")[1].length}catch(a){}try{n+=o.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,n)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0,r=0;try{n=t.toString().split(".")[1].length}catch(i){}try{r=e.toString().split(".")[1].length}catch(i){}var o=Number(t.toString().replace(".","")),a=Number(e.toString().replace(".",""));return E(o/a,Math.pow(10,r-n))},A=function(t,e){Object(u["a"])({orderId:t}).then((function(t){if(t.success){var n=[];t.data&&(t.data.map((function(t){n.push(t.skuId)})),c["a"].commit(i["a"],n)),e&&e(t)}}))},j=function(t){t.orderId&&Object(u["m"])({id:t.orderId}).then((function(e){e.success&&t.callback&&t.callback()}))},S=function(t){if(t){var e=window.localStorage.getItem("visitedProducts")||"",n=e.length>0?e.split(","):[],r=n.indexOf(t+"");-1!==r&&n.splice(r,1),n=[t].concat(Object(o["a"])(n)),n.length>10&&n.splice(10),window.localStorage.setItem("visitedProducts",n)}},D=function(t){var e=window.localStorage.getItem("visitedProducts")||"";0!==e.length&&Object(s["f"])({ids:e}).then((function(e){e.success&&t&&t(e.data)}))},w={hex2rgb:function(t,e){var n=[0,0,0];return/#(..)(..)(..)/g.test(t)&&(n=[parseInt(RegExp.$1,16),parseInt(RegExp.$2,16),parseInt(RegExp.$3,16)],n.push(e)),"rgba("+n.join(",")+")"},rgb2hsl:function(t,e,n){var r,o=0,a=0,i=0,c=[t/255,e/255,n/255],u=c[0],s=c[0],d=0;for(o=0;o<c.length-1;o++)c[o+1]<=u&&(u=c[o+1]),c[o+1]>=s&&(s=c[o+1],d=o+1);return 0===d&&(r=(c[1]-c[2])/(s-u)),1===d&&(r=2+(c[2]-c[0])/(s-u)),2===d&&(r=4+(c[0]-c[1])/(s-u)),isNaN(r)&&(r=0),r*=60,r<0&&(r+=360),a=(u+s)/2,i=u===s?0:a<.5?(s-u)/(s+u):(s-u)/(2-s-u),i=i,{h:r,s:i,l:a}},hueToRgb:function(t,e,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(e-t)*n+t:n<3?e:n<4?(e-t)*(4-n)+t:t},hsl2rgb:function(t,e,n){var r,o,a,i,c;return t/=60,o=n<=.5?n*(e+1):n+e-n*e,r=2*n-o,a=255*w.hueToRgb(r,o,t+2),i=255*w.hueToRgb(r,o,t),c=255*w.hueToRgb(r,o,t-2),{r:a,g:i,b:c}},TxtColor:function(t){var e=t["h"],n=t["s"],r=t["l"];return r-.6>0?(r-=.6,n+.5>1?n=1:n+=.5):(r=0,n=.5),w.rgb2hex(w.hsl2rgb(e,n,r))},rgb2hex:function(t){var e=parseInt(t["r"]),n=parseInt(t["g"]),r=parseInt(t["b"]),o="#"+((1<<24)+(e<<16)+(n<<8)+r).toString(16).slice(1);return o},hexToRgb:function(t){var e={};return/#(..)(..)(..)/g.test(t)&&(e["r"]=parseInt(RegExp.$1,16),e["g"]=parseInt(RegExp.$2,16),e["b"]=parseInt(RegExp.$3,16)),e},get:function(t){-1!==t.indexOf("#")&&(t=w.hexToRgb(t));var e=Math.floor(t["r"]),n=Math.floor(t["g"]),r=Math.floor(t["b"]),o="",a=100*Math.sqrt(.299*e*e+.587*n*n+.114*r*r)/255;return o=a<=70?"#ffffff":e===n&&e===r?"#212121":w.TxtColor(w.rgb2hsl(e,n,r)),o}},L=function(t){var e={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外 "},n="",r=!0;if(t&&/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[X])$/i.test(t))if(e[t.substr(0,2)]){if(18===t.length){t=t.split("");for(var o=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],a=[1,0,"X",9,8,7,6,5,4,3,2],i=0,c=0,u=0,s=0;s<17;s++)c=t[s],u=o[s],i+=c*u;var d=a[i%11]+"";d.toLowerCase()!==t[17].toLowerCase()&&(n="校验位错误",r=!1)}}else n="地址编码错误",r=!1;else n="身份证号格式错误",r=!1;return{pass:r,tip:n}},_={1:function(t,e,n){if(!e.trim())return t.required?n(new Error("内容不能为空!")):n();n()},2:function(t,e,n){return e.trim()?/^[1][3,4,5,7,8,9][0-9]{9}$/.test(e)?void n():n(new Error("手机号格式不正确")):t.required?n(new Error("内容不能为空!")):n()},3:function(t,e,n){if(!e)return t.required?n(new Error("内容不能为空!")):n();n()},4:function(t,e,n){if(!e)return t.required?n(new Error("内容不能为空!")):n();n()},5:function(t,e,n){if(!e.trim())return t.required?n(new Error("内容不能为空!")):n();var r=L(e+"");if(!r.pass)return n(new Error("身份证格式不正确"));n()},6:function(t,e,n){var r=/^\d+(\.\d+)?$/,o=/^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*)))$/;return e.trim()?r.test(e)||o.test(e)?n():void n(new Error("数字格式不正确")):t.required?n(new Error("内容不能为空!")):n()}},R=function(t,e){var n=null;return function(){var r=this,o=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,r[t].apply(r,o)}),e)}},k=["周日","周一","周二","周三","周四","周五","周六"],F=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t||(t=new Date),"object"!==Object(r["a"])(t)&&(t=t.replace(/-/g,"/"));var n=new Date(t);n.setDate(n.getDate()+e);var o=n.getFullYear(),a=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,i=n.getDate()<10?"0"+n.getDate():n.getDate();return{fullDate:o+"-"+a+"-"+i,year:o,month:a,date:i,day:n.getDay(),dayDesc:k[n.getDay()]}},U=function(t){t=t.replace("<script>","").replace("<\/script>","");var e=document.createElement("script");e.type="text/javascript",e.innerHTML=t,document.body.appendChild(e)},N=function(t){return 15===t.length?"19".concat(t.substr(6,2),"/").concat(t.substr(8,2),"/").concat(t.substr(10,2)):18===t.length?"".concat(t.substr(6,4),"/").concat(t.substr(10,2),"/").concat(t.substr(12,2)):""},M=[1,0],x=function(t){return 15===t.length?M[t.substr(14,1)%2]:18===t.length?M[t.substr(16,1)%2]:"未知"}},4360:function(t,e,n){"use strict";var r,o=n("2b0e"),a=n("2f62"),i=n("ade3"),c=n("5530"),u=(n("e9c4"),n("9fb0")),s=(r={},Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(r,u["m"],(function(t,e){t.setting=e;var n="https://".concat(e.ossDomain,"/");t.ossUrl=n,localStorage.ossUrl=n})),u["n"],(function(t,e){t.userInfo=e,localStorage.userInfo=JSON.stringify(t.userInfo)})),u["j"],(function(t,e){t.isLogin=e})),u["d"],(function(t,e){t.cartQuantity=e})),u["b"],(function(t,e){t.cartData=Object(c["a"])(Object(c["a"])({},t.cartData),e)})),u["c"],(function(t,e){t.cartDataInit=e})),u["l"],(function(t,e){t.reductions=Object(c["a"])(Object(c["a"])({},t.reductions),e)})),u["k"],(function(t,e){t.loading=e})),u["e"],(function(t,e){t.category=e})),u["h"],(function(t,e){t.headerConfig=e})),Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])(r,u["g"],(function(t,e){t.footerConfig=e})),u["f"],(function(t,e){t.deviceConfig=e})),u["i"],(function(t,e){t.headerWechatCode=e})),u["a"],(function(t,e){t.againBuyList=e}))),d=n("c7eb"),l=n("1da1"),f=n("5d2c"),h={getProdcutCategory:function(t){return Object(l["a"])(Object(d["a"])().mark((function e(){var n,r,o;return Object(d["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.commit,r=t.state,r.category){e.next=6;break}return e.next=4,Object(f["a"])();case 4:o=e.sent,n(u["e"],o.data);case 6:case"end":return e.stop()}}),e)})))()}},m=(n("d81d"),n("b64b"),{cartTotalQuantity:function(t){var e=0;return t.cartData&&Object.keys(t.cartData).map((function(n){var r=t.cartData[n];1===r.status&&(e+=parseInt(r.quantity))})),e}}),p="true"===localStorage.isAutoLogin,b=p?localStorage:sessionStorage,g=b.tokenPc,O=!1,y=b.tokenExpirePc;g&&y-Date.now()>0&&(O=!0);var v=localStorage.ossUrl||"",C={ossUrl:v,isLogin:O,userInfo:{},setting:{},againBuyList:[],loading:!1,cartData:{},reductions:{},cartDataInit:!1,category:null,headerConfig:{search:{},category:{},nav:{}},footerConfig:{description:""},headerWechatCode:"",deviceConfig:{androidEnable:!1,appletCode:"",appletEnable:!1,iosEnable:!1,version:"",wapEnable:!1}};o["default"].use(a["a"]);e["a"]=new a["a"].Store({state:C,getters:m,actions:h,mutations:s})},4886:function(t,e,n){},"51be":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return i}));n("ac1f"),n("1276");var r=window.location.host,o=window.location.href.split(r)[0]+r+"/",a="",i="/mobileApi/";a=o},5414:function(t,e,n){},"54f7":function(t,e,n){"use strict";n("bab1")},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("99af"),n("4de4"),n("d3b7"),n("ac1f"),n("00b4"),n("5319");var r=n("2b0e"),o=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{id:"app","element-loading-background":"rgba(255,255,255,0)","element-loading-spinner":"el-icon-loading"}},[t.setting.modules&&t.setting.modules&t.AUTHORIZE.PC?e("div",[e("keep-alive",[t.$route.meta.keepAlive?e("router-view"):t._e()],1),t.$route.meta.keepAlive?t._e():e("router-view",{key:t.key})],1):t._e()])},a=[],i=n("5530"),c=(n("d81d"),n("b0c0"),n("2f62")),u=n("faf3"),s=n("9a1b"),d=n("8ee6"),l=n("b225"),f=n("2f14"),h=n("aaef"),m=[{id:1,primary:{color6:"#F52440",color7:"#CF1534",color5:"#FF4F61",color1:"#FFF0F0"},secondary:{color6:"#3F464B",color7:"#1C2024",color5:"#515557",color1:"#81888A"}},{id:2,primary:{color6:"#FF5500",color7:"#D94100",color5:"#FF7729",color1:"#FFF2E6"},secondary:{color6:"#FF9900",color7:"#D97B00",color5:"#FFB029",color1:"#FFFDF0"}},{id:3,primary:{color6:"#FFBB00",color7:"#D99800",color5:"#FFCD29",color1:"#FFFDF0"},secondary:{color6:"#3F464B",color7:"#1C2024",color5:"#515557",color1:"#81888A"}},{id:4,primary:{color6:"#75A32E",color7:"#537D1D",color5:"#8CB04D",color1:"#FCFFF0"},secondary:{color6:"#FFAD33",color7:"#D98921",color5:"#FFC35C",color1:"#FFFBF0"}},{id:5,primary:{color6:"#2BA245",color7:"#1B7D34",color5:"#4CB05E",color1:"#EFFFF0"},secondary:{color6:"#5ACC73",color7:"#41A65A",color5:"#82D992",color1:"#F0FFF0"}},{id:6,primary:{color6:"#13C2C2",color7:"#08979C",color5:"#36CFC9",color1:"#E6FFFB"},secondary:{color6:"#87E0E0",color7:"#66B7BA",color5:"#B4EDEB",color1:"#F0FFFC"}},{id:7,primary:{color6:"#1890FF",color7:"#096DD9",color5:"#40A9FF",color1:"#E6F7FF"},secondary:{color6:"#FFBB33",color7:"#D99521",color5:"#FFCE5C",color1:"#FFFCF0"}},{id:8,primary:{color6:"#2F54EB",color7:"#1D39C4",color5:"#597EF7",color1:"#F0F5FF"},secondary:{color6:"#F52440",color7:"#CF1534",color5:"#FF4F61",color1:"#FFF0F0"}},{id:9,primary:{color6:"#CC9756",color7:"#A6733D",color5:"#D9B37E",color1:"#FFFBF0"},secondary:{color6:"#CC394A",color7:"#A62639",color5:"#D95F69",color1:"#FFF0F0"}},{id:10,primary:{color6:"#FF3369",color7:"#D92158",color5:"#FF5C82",color1:"#FFF0F1"},secondary:{color6:"#FFADC3",color7:"#D989A1",color5:"#FFD6E0",color1:"#FFF7F8"}}],p={components:{},data:function(){return{AUTHORIZE:h["c"]}},computed:Object(i["a"])({key:function(){return"".concat(this.$route.name,"_").concat((new Date).getTime())}},Object(c["e"])(["ossUrl","loading","setting","isLogin"])),methods:Object(i["a"])(Object(i["a"])({},Object(c["d"])(["SET_SETTING","SET_USERINFO","SET_ISLOGIN"])),{},{initCart:function(){Object(d["e"])({showLoading:!1}).then((function(t){t.success&&l["a"].set(t.data)}))},setColor:function(t){var e=document.createElement("style"),n=":root{\n        --orange: ".concat(t.secondary.color6,";\n        --orange-text: ").concat(t.secondaryTextColor,";\n        --brand: ").concat(t.primary.color6,";\n        --brand-text: ").concat(t.primaryTextColor,";\n        }\n      ");e.innerHTML=n,document.querySelector("head").appendChild(e)},getTheme:function(t){m.map((function(t){var e=f["l"].get(t.primary.color6),n=f["l"].get(t.secondary.color6);t.primaryTextColor=e,t.secondaryTextColor=n})),localStorage.setItem("themeId",t),this.setColor(m[t])}}),mounted:function(){var t=this;if(Object(u["g"])().then((function(e){t.SET_SETTING(e.data);var n=e.data;0!==(n.modules&h["c"].PC)?(t.getTheme(e.data.pcTheme-1),document.title="".concat(document.title," - ").concat(n.siteName),"superior"!=e.data.chat.type&&e.data.chat.script&&Object(f["b"])(e.data.chat.script)):window.location.href="/download"})),this.isLogin)Object(f["k"])((function(){t.initCart()}));else{var e=localStorage.historeToken;e&&Object(s["m"])({token:e,platform:8}).then((function(e){e.success&&(Object(f["s"])({token:e.data.token,refreshToken:e.data.refreshToken,historeToken:e.data.historeToken}),t.SET_USERINFO(e.data.member),f["d"].login(),t.SET_ISLOGIN(!0),t.initCart())}))}}},b=p,g=(n("78a8"),n("2877")),O=Object(g["a"])(b,o,a,!1,null,null,null),y=O.exports,v=n("a18c"),C=n("4360"),T=(n("db4d"),n("7dd0"),n("5414"),n("323e")),I=n.n(T),E=(n("a5d8"),n("498a"),r["default"].directive("trim",{update:function(t,e,n){var r=t instanceof HTMLInputElement?t:t.querySelector("input");r||(r=t instanceof HTMLInputElement?t:t.querySelector("textarea")),r&&r.addEventListener("blur",(function(t){n.data.model.callback(t.target.value.trim()),t.target.dispatchEvent(new Event("input"))}))}})),P=r["default"].directive("noMoreClick",{inserted:function(t,e){t.addEventListener("click",(function(){t.disabled||(t.disabled=!0,setTimeout((function(){t.disabled=!1}),e.value||3e3))}))}}),A={trim:E,noMoreClick:P},j=A,S=(n("14d9"),n("841c"),n("9911"),function(){var t=this,e=t._self._c;return e("header",{style:{background:t.headerConfig.bgColor,border:t.border?"":0}},[t.showTop?e("div",{staticClass:"top-bar"},[e("div",{staticClass:"wrap"},[e("p",[t._v(" "+t._s(t.userInfo.nickname||"")+"你好,欢迎光临"+t._s(t.setting.siteName)+" "),t.isLogin?e("span",{staticClass:"arrow"},[e("i",{staticClass:"iconfont icon-arrow-down"}),e("b",{on:{click:t.handleLogout}},[t._v("退出登录")])]):e("span",{on:{click:function(e){return t.$router.push("/login")}}},[t._v("登录")])]),e("ul",[e("li",{on:{click:function(e){return t.$router.push("/")}}},[t._v("首页")]),t.isEmpty?t._e():e("li",[e("el-popover",{attrs:{placement:"bottom",width:"140",trigger:"hover","popper-class":"head-popover-box"}},[e("div",{staticClass:"device-box"},[t.setting.modules&t.AUTHORIZE.WECHAT_APPLET?e("div",{staticClass:"device-item"},[e("div",{staticClass:"img-box applet-box"},[e("img",{staticClass:"code",attrs:{src:t._f("formatUrl")(t.headerWechatCode)}})]),e("h5",[t._v("扫码进入小程序商城")])]):t._e(),t.setting.modules&(t.AUTHORIZE.H5|t.AUTHORIZE.WECHAT_H5)?e("div",{staticClass:"device-item"},[t.h5Code?e("div",{staticClass:"img-box"},[e("qrcode-vue",{attrs:{text:t.h5Code,size:104,margin:0}})],1):t._e(),e("h5",[t._v("扫码进入微商城")])]):t._e(),t.setting.modules&t.AUTHORIZE.APP?e("div",{staticClass:"device-item"},[e("div",{staticClass:"device-item-app"},[e("div",[e("img",{attrs:{src:t._f("formatUrl")("/static/pc/icon_ios.png")}}),e("i",[t._v("IOS")])]),e("div",[e("img",{attrs:{src:t._f("formatUrl")("/static/pc/icon_android.png")}}),e("i",[t._v("Android")])])]),t.appCode?e("div",{staticClass:"img-box"},[e("qrcode-vue",{attrs:{text:t.appCode,size:104,margin:0}})],1):t._e(),e("h5",[t._v("扫码下载APP")])]):t._e()]),e("span",{attrs:{slot:"reference"},slot:"reference"},[t._v("手机版本")])])],1),e("li",{on:{click:function(e){return t.$router.push(t.isLogin?"/user/center":"/login")}}},[t._v("个人中心")])])])]):t._e(),e("div",{staticClass:"header-bar"},[e("div",{staticClass:"logo-search"},[t.showLogo?e("el-image",{attrs:{src:t._f("formatUrl")(t.headerConfig.logo||t.setting.logo)},on:{click:function(e){return t.$router.push("/")}}}):t._e(),t.showSearch?e("div",{staticClass:"search",style:{borderColor:t.headerConfig.search.bgColor,height:t.headerConfig.search.height+"px",borderRadius:2===t.headerConfig.search.style?t.headerConfig.search.height/2+"px":0,marginTop:t.headerConfig.search.verticalMargin+"px",marginBottom:t.headerConfig.search.verticalMargin+"px"}},[e("i",{staticClass:"el-icon-search"}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],attrs:{type:"text",placeholder:t.headerConfig.search.placeholder},domProps:{value:t.keyword},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSearch.apply(null,arguments)},input:function(e){e.target.composing||(t.keyword=e.target.value)}}}),e("button",{style:{backgroundColor:t.headerConfig.search.bgColor,borderRadius:2===t.headerConfig.search.style?"0 ".concat(t.headerConfig.search.height/2,"px ").concat(t.headerConfig.search.height/2,"px 0"):0},on:{click:t.handleSearch}},[t._v(" 搜索 ")])]):t._e(),t.showCart?e("div",{staticClass:"cart",on:{click:function(e){return t.$router.push("/cart")}}},[e("i",{staticClass:"el-icon-goods"}),t._v(" 我的购物车 "),e("em",[t._v(t._s(t.cartTotalQuantity))])]):t._e()],1),t.showNav?e("div",{staticClass:"nav-bar"},[e("div",{staticClass:"more-list",class:{showDest:t.headerConfig.category.showDest}},[e("div",{staticClass:"city category",class:{active:1===t.headerConfig.category.style&&t.isIndex}},[e("span",{staticClass:"label all",on:{mouseenter:function(e){return t.handleCategoryHover(t.categoryData[0],!0)}}},[t._v(" 全部分类 "),e("i",{staticClass:"el-icon-arrow-down"})]),t.categoryData&&t.categoryData.length?e("div",{staticClass:"nav-content"},[e("ul",{staticClass:"list"},t._l(t.categoryData,(function(n){return e("li",{key:n.id,staticClass:"item-wrap",class:{active:t.selectedCategory===n},on:{mouseenter:function(e){return t.handleCategoryHover(n)},click:function(e){return t.toProductType(n)}}},[e("div",{staticClass:"item"},[e("span",{staticClass:"link"},[t._v(t._s(n.name))]),e("i",{staticClass:"el-icon-arrow-right"})])])})),0),t.selectedCategory?e("div",{staticClass:"list-content"},[e("ul",t._l(t.selectedCategory.subs,(function(n){return e("li",{key:n.id},[e("div",{staticClass:"name link",on:{click:function(e){return e.stopPropagation(),t.routerSearch(n.id,n.name)}}},[t._v(" "+t._s(n.name)+" ")]),e("ul",{staticClass:"item-list"},t._l(n.subs,(function(r){return e("li",{key:r.id,on:{click:function(e){return e.stopPropagation(),t.routerSearch(r.id,r.name,n.id,n.name)}}},[t._v(" "+t._s(r.name)+" ")])})),0),e("div",{staticClass:"line"})])})),0)]):t._e()]):t._e()]),e("div",{staticClass:"city dest"},[e("span",{staticClass:"label second",on:{mouseenter:function(e){return t.handleCityTypeHover(t.cityData[0])}}},[t._v(" 目的地 "),e("i",{staticClass:"el-icon-arrow-down"})]),e("div",{staticClass:"nav-content"},[e("ul",{staticClass:"list"},t._l(t.cityData,(function(n){return e("li",{key:n.id,staticClass:"item-wrap",class:{active:t.selectedCityType===n},on:{mouseenter:function(e){return t.handleCityTypeHover(n)}}},[e("div",{staticClass:"item",on:{click:function(e){return e.stopPropagation(),t.routerCityType(n.id,n.name)}}},[e("span",{staticClass:"link"},[t._v(t._s(n.name))]),e("i",{staticClass:"el-icon-arrow-right"})])])})),0),t.selectedCityType?e("div",{staticClass:"list-content"},[e("ul",t._l(t.selectedCityType.subDestinations,(function(n){return e("li",{key:n.id},[e("div",{staticClass:"name link",on:{click:function(e){return e.stopPropagation(),t.routerCityType(n.id,n.name)}}},[t._v(" "+t._s(n.name)+" ")]),e("ul",{staticClass:"item-list"},t._l(n.subDestinations,(function(n){return e("li",{key:n.id,on:{click:function(e){return e.stopPropagation(),t.routerCity(n.name)}}},[t._v(t._s(n.name))])})),0),e("div",{staticClass:"line"})])})),0)]):t._e()])])]),e("ul",{staticClass:"nav",style:{backgroundColor:t.headerConfig.nav.bgColor,color:t.headerConfig.nav.color}},t._l(t.headerConfig.nav.items,(function(n,r){return e("li",{key:r,on:{click:function(e){return t.$router.push(n.link.url)}}},[t._v(" "+t._s(n.title)+" ")])})),0)]):t._e()])])}),D=[],w=n("ade3"),L=(n("06f1"),n("450d"),n("6ac9")),_=n.n(L),R=(n("b64b"),n("658f")),k=n.n(R),F=n("8e44"),U={components:Object(w["a"])(Object(w["a"])({},_.a.name,_.a),"QrcodeVue",k.a),props:{showSearch:{type:Boolean,default:!0},showCart:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},showLogo:{type:Boolean,default:!0},showTop:{type:Boolean,default:!0},border:{type:Boolean,default:!0},isIndex:{type:Boolean,default:!1}},computed:Object(i["a"])(Object(i["a"])(Object(i["a"])({},Object(c["e"])(["setting","isLogin","userInfo","category","ossUrl","headerConfig","headerWechatCode"])),Object(c["c"])(["cartTotalQuantity"])),{},{baseUrl:function(){return window.location.origin},showCategory:function(){return this.category&&this.category.length?this.category.filter((function(t,e){return e<10})):[]},appCode:function(){var t="";return this.setting.modules&h["c"].APP&&(t="".concat(this.baseUrl,"/mobileApi/common/downloads")),t},h5Code:function(){var t="";return this.setting.modules&h["c"].H5&&(t="".concat(this.baseUrl,"/m")),t},isEmpty:function(){var t=!0;return this.setting.modules&(h["c"].APP|h["c"].WECHAT_APPLET|h["c"].H5|h["c"].WECHAT_H5)&&(t=!1),t}}),data:function(){return{AUTHORIZE:h["c"],keyword:"",wechatCode:"",cityData:[],categoryData:[],selectedCityType:null,selectedCategory:null}},methods:Object(i["a"])(Object(i["a"])(Object(i["a"])({},Object(c["b"])(["getProdcutCategory"])),Object(c["d"])(["SET_HEADER_CONFIG","SET_HEADER_WECHATCODE"])),{},{routerSearch:function(t,e,n,r){this.$router.push("/product/list?category=".concat(t,"&categoryName=").concat(e,"&parentCategory=").concat(n||0,"&parentCategoryName=").concat(r||""))},toProductType:function(t){this.$router.push("/product/list?type=".concat(t.id,"&title=").concat(t.name))},routerCityType:function(t,e){this.$router.push("/product/list?destinationTypeId=".concat(t,"&title=").concat(e))},routerCity:function(t){this.$router.push("/product/list?destinationName=".concat(t,"&title=").concat(t))},handleCityTypeHover:function(t){this.selectedCityType=t},handleCategoryHover:function(t,e){e&&1===this.headerConfig.category.style&&this.isIndex||(this.selectedCategory=t)},handleLogout:function(){Object(f["n"])(),this.$router.replace("/")},getWechatCode:function(){var t=this;Object(F["a"])({url:"pages/index/index"}).then((function(e){e.success&&t.SET_HEADER_WECHATCODE(e.data)}))},handleSearch:function(){var t=this.$route.path;if("/product/list"===t)return this.$emit("onSearch",this.keyword);this.keyword&&this.$router.push("/product/list?name="+this.keyword)}}),mounted:function(){var t=this;if(this.keyword=this.$route.query.name,this.headerWechatCode||this.getWechatCode(),!this.headerConfig.search.style){var e=new XMLHttpRequest;e.open("get","".concat(this.ossUrl,"settings/pcHeader.json"),!0),e.onreadystatechange=function(){if(4===e.readyState&&200===e.status){var n=JSON.parse(e.responseText);t.SET_HEADER_CONFIG(n)}},e.send()}this.getProdcutCategory(),Object(u["c"])().then((function(e){t.categoryData=e.data,1===t.headerConfig.category.style&&t.isIndex||t.handleCategoryHover(t.categoryData[0],!0)})),Object(u["d"])().then((function(e){t.cityData=e.data,t.handleCityTypeHover(t.cityData[0],!0)}))}},N=U,M=(n("b6b5"),Object(g["a"])(N,S,D,!1,null,"0d66c425",null)),x=M.exports,H=n("fd2d"),B=function(){var t=this,e=t._self._c;return e("el-button",t._b({attrs:{loading:t.loading},on:{click:function(e){return e.preventDefault(),t.handlClick.apply(null,arguments)}}},"el-button",t.$attrs,!1),[t._t("default")],2)},G=[],W=n("c7eb"),$=n("1da1"),q=(n("a9e3"),{props:{params:{type:[Object,String,Number,Boolean],default:function(){}},onClick:{type:Function,default:function(){}}},data:function(){return{loading:!1}},methods:{handlClick:function(){var t=this;return Object($["a"])(Object(W["a"])().mark((function e(){return Object(W["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,t.onClick(t.params);case 4:return e.prev=4,setTimeout((function(){t.loading=!1}),300),e.finish(4);case 7:case"end":return e.stop()}}),e,null,[[1,,4,7]])})))()}}}),V=q,Y=Object(g["a"])(V,B,G,!1,null,null,null),Z=Y.exports,Q=function(){var t=this,e=t._self._c;return e("div",{ref:"anchor",staticClass:"anchor clearfix"},[e("div",{ref:"anchorNav",staticClass:"anchor__nav"},[t._t("nav")],2),e("div",{staticClass:"anchor__content"},[t._t("default")],2)])},z=[],K=n("2909");n("18a5"),n("159b"),n("caad"),n("2532"),n("466d");function J(t,e){var n=t;while(n){if([window,document,document.documentElement].includes(n))return window;if(X(n,e))return n;n=n.parentNode}return n}function X(t,e){var n=null!==e||void 0!==e,r=n?e?getComputedStyle(t)["overflow-y"]:getComputedStyle(t)["overflow-x"]:getComputedStyle(t)["overflow"];return r.match(/(scroll|auto)/)}var tt={name:"Anchor",props:{isAnimate:{type:Boolean,default:!1},value:{type:[String,Number],default:""},scrollDom:{type:String,default:""},fixedHeight:{type:Number,default:0},chilrenDeep:{type:Boolean,default:!1}},data:function(){return{anchorNavData:{},scrollFunDebounceFun:Object(f["w"])("scrollFun",100),valueType:1,children:[]}},computed:{scrollWrap:function(){return this.scrollDom?document.querySelector(this.scrollDom):J(this.$refs.anchor,!0)}},watch:{value:function(t){if(1===this.valueType){var e,n=this.getAnchorItemInfo(null===(e=this.anchorNavData[t])||void 0===e?void 0:e.dom).scrollTop;this.scrollElement(n)}else this.valueType=1}},mounted:function(){this.calcChildren(),this.init();var t=0;t=this.getScrollTop(this.scrollWrap),this.getAnchorValue(t),this.scrollWrap.addEventListener("scroll",this.scrollFunDebounce)},beforeDestroy:function(){this.scrollWrap.removeEventListener("scroll",this.scrollFunDebounce)},methods:{calcChildren:function(){var t=this.$slots.default.filter((function(t){return t.componentInstance})).map((function(t){return t.componentInstance}));function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){t.$vnode&&t.$vnode.tag.indexOf("AnchorItem")>-1?r.push(t):n.chilrenDeep&&t.$children&&t.$children.length&&e(t.$children,r)})),r}this.children=e(t)},init:function(){var t=this;this.children.forEach((function(e){t.$set(t.anchorNavData,e.name,{dom:e.$el,icon:e.icon,disabled:e.disabled})}))},getScrollTop:function(t){return void 0!==t.scrollTop?t.scrollTop:t.document?t.document.documentElement.scrollTop||window.pageYOffset||t.document.body.scrollTop||0:t.documentElement.scrollTop||t.body.scrollTop||0},getAnchorItemInfo:function(t){if(!t)return{};var e=this.getScrollTop(this.scrollWrap),n=t.getBoundingClientRect();return{scrollTop:n.top-this.fixedHeight+e,bottom:n.bottom-this.fixedHeight+e,height:n.height,rectTop:n.top,rectBottom:n.bottom}},scrollFun:function(t){var e=this.getScrollTop(t.target),n=this.$refs.anchorNav.getBoundingClientRect();n.top<=this.fixedHeight?this.$emit("toggleNav",!0):this.$emit("toggleNav",!1),this.getAnchorValue(e)},scrollFunDebounce:function(t){this.scrollFunDebounceFun(t)},getAnchorValue:function(t){for(var e={},n={},r=0;r<this.children.length;r++){var o=this.getAnchorItemInfo(this.children[r].$el),a=this.scrollWrap.getBoundingClientRect?this.scrollWrap.getBoundingClientRect().height:this.scrollWrap.innerHeight,i=a+t-this.fixedHeight,c=0;t<=o.scrollTop?(c=i-o.scrollTop,c=c>o.height?o.height:c<0?0:c):t>o.scrollTop&&t<=o.bottom&&(c=o.bottom-t),c/=o.height,void 0===e[c]?e[c]=[this.children[r].name]:e[c].push(this.children[r].name),n[this.children[r].name]=o.rectTop,r===this.children.length-1&&o.rectBottom-this.fixedHeight-50<0&&this.$emit("toggleNav",!1)}var u=Math.max.apply(Math,Object(K["a"])(Object.keys(e))),s=e[u],d=n[s[0]]>=0?s[0]:s[s.length-1];this.valueType=2,this.$emit("input",d)},arrive:function(t,e){t===this.value||e&&e.disabled||(this.valueType=1,this.$emit("input",t))},scrollElement:function(t){var e=this.getScrollTop(this.scrollWrap);this.isAnimate?this.scrollAnimation(this.scrollWrap,e,t):this.scrollWrap.scrollTo(0,t)},scrollAnimation:function(t,e,n){var r=this,o=0,a=Math.abs(n-e);o=a>1e3?100:a>500?50:a>200?30:20,e<n&&(e+=o,e>n&&(e=n)),e>n&&(e-=o,e<n&&(e=n)),t.scrollTo(0,e),e!==n&&requestAnimationFrame((function(){r.scrollAnimation(t,e,n)}))}}},et=tt,nt=(n("54f7"),Object(g["a"])(et,Q,z,!1,null,null,null)),rt=nt.exports,ot=function(){var t=this,e=t._self._c;return e("div",{staticClass:"anchor-item"},[t._t("title"),t._t("default")],2)},at=[],it={name:"AnchorItem",props:{label:{type:String,default:""},name:{type:String,required:!0},icon:{type:String,default:""},disabled:{type:Boolean,default:!1}}},ct=it,ut=Object(g["a"])(ct,ot,at,!1,null,null,null),st=ut.exports,dt={install:function(t){t.component("PageHeader",x),t.component("PageFooter",H["a"]),t.component("loadingButton",Z),t.component("anchor",rt),t.component("anchorItem",st)}},lt=dt,ft=(n("0fb7"),n("f529")),ht=n.n(ft),mt=(n("9e1f"),n("6ed5")),pt=n.n(mt),bt=(n("bd49"),n("18ff")),gt=n.n(bt),Ot=(n("960d"),n("defb")),yt=n.n(Ot),vt=(n("cb70"),n("b370")),Ct=n.n(vt),Tt=(n("cbb5"),n("8bbc")),It=n.n(Tt),Et=(n("6611"),n("e772")),Pt=n.n(Et),At=(n("1f1a"),n("4e4b")),jt=n.n(At),St=(n("3c52"),n("0d7b")),Dt=n.n(St),wt=(n("fe07"),n("6ac5")),Lt=n.n(wt),_t=(n("b5d8"),n("f494")),Rt=n.n(_t),kt=(n("e612"),n("dd87")),Ft=n.n(kt),Ut=(n("075a"),n("72aa")),Nt=n.n(Ut),Mt=(n("fa4c"),n("e360")),xt=n.n(Mt),Ht=(n("d4df"),n("7fc1")),Bt=n.n(Ht),Gt=(n("915d"),n("e04d")),Wt=n.n(Gt),$t=(n("826b"),n("c263")),qt=n.n($t),Vt=(n("eca7"),n("3787")),Yt=n.n(Vt),Zt=(n("425f"),n("4105")),Qt=n.n(Zt),zt=(n("28b2"),n("c7ad")),Kt=n.n(zt),Jt=(n("560b"),n("dcdc")),Xt=n.n(Jt),te=(n("a7cc"),n("df33")),ee=n.n(te),ne=(n("7a0f"),n("0f6c")),re=n.n(ne),oe=(n("f4f9"),n("c2cc")),ae=n.n(oe),ie=(n("672e"),n("101e")),ce=n.n(ie),ue=(n("5466"),n("ecdf")),se=n.n(ue),de=(n("38a0"),n("ad41")),le=n.n(de),fe=(n("acb6"),n("c673")),he=n.n(fe),me=(n("1951"),n("eedf")),pe=n.n(me),be=(n("9d4c"),n("e450")),ge=n.n(be),Oe=(n("10cb"),n("f3ad")),ye=n.n(Oe),ve=(n("be4f"),n("896a")),Ce=n.n(ve),Te={install:function(t){t.use(Ce.a),t.use(ye.a),t.use(ge.a),t.use(pe.a),t.use(he.a),t.use(le.a),t.use(se.a),t.use(ce.a),t.use(ae.a),t.use(re.a),t.use(ee.a),t.use(Xt.a),t.use(Kt.a),t.use(Qt.a),t.use(Yt.a),t.use(qt.a),t.use(Wt.a),t.use(Bt.a),t.use(xt.a),t.use(Nt.a),t.use(Ft.a),t.use(Rt.a),t.use(Lt.a),t.use(Dt.a),t.use(jt.a),t.use(Pt.a),t.use(It.a),t.use(Ct.a),t.use(yt.a),t.use(gt.a),t.use(_.a),t.use(Ce.a.directive);var e=function(t){pt.a.confirm(t.message,t.title,{confirmButtonText:t.oktxt||"确定",cancelButtonText:t.canceltxt||"取消",type:"warning"}).then(t.ok&&t.ok).catch(t.cancel?t.cancel:function(){})};t.prototype.$message=ht.a,t.prototype.$confirm=e,t.prototype.$prompt=pt.a.prompt}},Ie=Te,Ee=n("1368"),Pe=n.n(Ee),Ae={phone:/^(\+[0-9]{1,3})?1[0-9]{10}$/,column:/^[_|a-z|A-Z][_|0-9|a-z|A-Z]*$/,email:/^[A-Za-z\d]+([-_\.][A-Za-z\d]+)*@([A-Za-z\d]+[-\.])+[A-Za-z\d]{2,4}(,[A-Za-z\d]+([-_\.][A-Za-z\d]+)*@([A-Za-z\d]+[-\.])+[A-Za-z\d]{2,4})*$/,get rules(){return{column:{pattern:this.column,message:"仅支持数字字母和下划线(不能数字开头)"},email:{pattern:this.email,message:"邮箱格式不正确"},phone:{pattern:this.phone,message:"手机号格式不正确"},certNo:{validator:f["v"][5],trigger:"blur"}}}},je={install:function(t){t.prototype.$regEx=Ae,t.prototype.$isTravel=function(t){return!(!t||!((t&h["h"].LINE)>0||(t&h["h"].HOTEL)>0||(t&h["h"].VISA)>0||(t&h["h"].TICKET)>0))}}};Pe.a.polyfill(),r["default"].use(j),r["default"].use(je),r["default"].use(Ie),r["default"].use(lt),v["a"].beforeEach((function(t,e,n){document.title="".concat(t.meta.title).concat(C["a"].state.setting.siteName?" - "+C["a"].state.setting.siteName:""),I.a.start(),n()})),v["a"].afterEach((function(){I.a.done()})),r["default"].directive("title",{inserted:function(t){document.title=t.innerText,t.remove()}}),r["default"].filter("formatUrl",(function(t,e,n){var r=C["a"].state.ossUrl,o=C["a"].state.setting.imageProcess;if(r){if(!t||/^http/.test(t))return n?[t]:t;var a="".concat(r).concat(t);return e&&o&&(a+="?".concat(o.replace("{width}",e))),n?[a]:a}})),new r["default"]({router:v["a"],store:C["a"],render:function(t){return t(y)}}).$mount("#app")},"59ee":function(t,e,n){},"5d2c":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"m",(function(){return i})),n.d(e,"l",(function(){return c})),n.d(e,"j",(function(){return u})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return d})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"k",(function(){return h})),n.d(e,"d",(function(){return m})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return b}));var r=n("e20a"),o=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(r["a"])({url:"Product/GetDetails",data:t,showLoading:e,uuid:!0})},a=function(t){return Object(r["a"])({url:"Product/GetSkus",data:t})},i=function(t){return Object(r["a"])({url:"Product/CommentList",data:t,method:"post",showLoading:t.showLoading})},c=function(t){return Object(r["a"])({url:"Product/ProductComment",method:"post",data:t})},u=function(t){return Object(r["a"])({url:"Product/ProductAppendComment",method:"post",data:t})},s=function(t,e){return Object(r["a"])({url:"Product/list",data:t,method:"post",showLoading:e})},d=function(t){return Object(r["a"])({url:"Product/GetProducts",data:t,showLoading:!1})},l=function(t){return Object(r["a"])({url:"Product/GetCategory",data:t,showLoading:!1})},f=function(t){return Object(r["a"])({url:"Product/Content",data:t,showLoading:!1})},h=function(t){return Object(r["a"])({url:"Product/brand",data:t,method:"post",showLoading:!1})},m=function(t){return Object(r["a"])({url:"Product/filter",data:t,method:"post",showLoading:!1})},p=function(t){return Object(r["a"])({url:"Product/GetVisaMaterials",data:t,method:"get",showLoading:!1})},b=function(t){return Object(r["a"])({url:"order/OrderVerify",data:t,method:"post"})}},"767b":function(t,e,n){},"78a8":function(t,e,n){"use strict";n("767b")},"7dd0":function(t,e,n){},"8e44":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i}));var r=n("e20a"),o=function(t){return Object(r["a"])({url:"common/GetCommonQRCode",data:t})},a=function(t){return Object(r["a"])({url:"Member/ResetPasswordImageCode",data:t})},i=function(t){return Object(r["a"])({url:"Member/ResetPasswordSmsCode",data:t})}},"8ee6":function(t,e,n){"use strict";n.d(e,"e",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return u}));var r=n("e20a"),o=function(){return Object(r["a"])({url:"cart/list"})},a=function(){return Object(r["a"])({url:"cart/clearInvalid",method:"post"})},i=function(t){return Object(r["a"])({url:"cart/save",data:t,method:"post"})},c=function(t){return Object(r["a"])({url:"cart/remove",data:t,method:"post"})},u=function(t){return Object(r["a"])({url:"cart/settlement",data:t,method:"post"})}},"99c5":function(t,e,n){"use strict";n.d(e,"r",(function(){return o})),n.d(e,"s",(function(){return a})),n.d(e,"o",(function(){return i})),n.d(e,"d",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"k",(function(){return s})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return l})),n.d(e,"t",(function(){return f})),n.d(e,"w",(function(){return h})),n.d(e,"x",(function(){return m})),n.d(e,"c",(function(){return p})),n.d(e,"h",(function(){return b})),n.d(e,"g",(function(){return g})),n.d(e,"a",(function(){return O})),n.d(e,"m",(function(){return y})),n.d(e,"v",(function(){return v})),n.d(e,"f",(function(){return C})),n.d(e,"u",(function(){return T})),n.d(e,"n",(function(){return I})),n.d(e,"q",(function(){return E})),n.d(e,"b",(function(){return P})),n.d(e,"p",(function(){return A})),n.d(e,"e",(function(){return j})),n.d(e,"y",(function(){return S}));var r=n("e20a"),o=function(t){return Object(r["a"])({url:"order/preSubmit",data:t,method:"post"})},a=function(t){return Object(r["a"])({url:"order/submit",data:t,method:"post"})},i=function(){return Object(r["a"])({url:"order/invoice",showLoading:!1})},c=function(t){return Object(r["a"])({url:"payment/get",data:t})},u=function(t){return Object(r["a"])({url:"MyOrder/summary",data:t,showLoading:!1})},s=function(t){return Object(r["a"])({url:"myOrder/list",data:t,method:"post"})},d=function(t){return Object(r["a"])({url:"myOrder/GetOrder",data:t})},l=function(t){return Object(r["a"])({url:"myOrder/GetOrderItem",data:t})},f=function(t){return Object(r["a"])({url:"refund/apply",data:t,method:"post"})},h=function(t){return Object(r["a"])({url:"refund/preApply",data:t,method:"post"})},m=function(t){return Object(r["a"])({url:"refund/Quantity",data:t})},p=function(t){return Object(r["a"])({url:"myOrder/GetOrderStatus",data:t,showLoading:!1})},b=function(t){return Object(r["a"])({url:"order/cancel",data:t})},g=function(t){return Object(r["a"])({url:"order/ERPCancel",data:{id:t}})},O=function(t){return Object(r["a"])({url:"myOrder/buyAgain",data:t})},y=function(t){return Object(r["a"])({url:"order/comfirm",data:t})},v=function(t){return Object(r["a"])({url:"refund/list",data:t,method:"post"})},C=function(t){return Object(r["a"])({url:"refund/Get",data:t})},T=function(t){return Object(r["a"])({url:"refund/cancel",data:t})},I=function(t){return Object(r["a"])({url:"Order/OrderCommentList",data:t})},E=function(t){return Object(r["a"])({url:"order/paymentVoucher",data:t,method:"post"})},P=function(t){return Object(r["a"])({url:"order/paymentVoucher",data:t})},A=function(){return Object(r["a"])({url:"order/offline"})},j=function(t){return Object(r["a"])({url:"myorder/GetRealNameByOrderId",data:{orderId:t}})},S=function(t){return Object(r["a"])({url:"myorder/SaveOrderCertificate",data:t,method:"post"})}},"9a1b":function(t,e,n){"use strict";n.d(e,"p",(function(){return o})),n.d(e,"s",(function(){return a})),n.d(e,"q",(function(){return i})),n.d(e,"m",(function(){return c})),n.d(e,"u",(function(){return u})),n.d(e,"g",(function(){return s})),n.d(e,"i",(function(){return d})),n.d(e,"n",(function(){return l})),n.d(e,"a",(function(){return f})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return m})),n.d(e,"o",(function(){return p})),n.d(e,"t",(function(){return b})),n.d(e,"h",(function(){return g})),n.d(e,"w",(function(){return O})),n.d(e,"r",(function(){return y})),n.d(e,"x",(function(){return v})),n.d(e,"b",(function(){return C})),n.d(e,"y",(function(){return T})),n.d(e,"j",(function(){return I})),n.d(e,"f",(function(){return E})),n.d(e,"z",(function(){return P})),n.d(e,"c",(function(){return A})),n.d(e,"e",(function(){return j})),n.d(e,"v",(function(){return S})),n.d(e,"d",(function(){return D}));var r=n("e20a"),o=function(t){return Object(r["a"])({url:"oauth/phone/sendCode",data:t,method:"post",showLoading:!1})},a=function(t){return Object(r["a"])({url:"oauth/phone/login",data:t,method:"post"})},i=function(t){return Object(r["a"])({url:"oauth/password/login",data:t})},c=function(t){return Object(r["a"])({url:"oauth/histore/login",data:t})},u=function(t){return Object(r["a"])({url:"oauth/Refresh",data:t,showLoading:!1})},s=function(t){return Object(r["a"])({url:"Member/GetMember",data:t})},d=function(t){return Object(r["a"])({url:"member/signIn",data:t,showLoading:!1})},l=function(t){return Object(r["a"])({url:"member/capital/list",data:t,method:"post"})},f=function(t){return Object(r["a"])({url:"member/capital/summary",data:t})},h=function(t){return Object(r["a"])({url:"Payment/Recharge",data:t})},m=function(t){return Object(r["a"])({url:"myOrder/giftList",data:t,method:"post"})},p=function(t){return Object(r["a"])({url:"member/integrals/list",data:t,method:"post"})},b=function(t){return Object(r["a"])({url:"redeem/pclist",data:t,method:"post"})},g=function(t){return Object(r["a"])({url:"Member/GetMemberInfo",data:t})},O=function(t){return Object(r["a"])({url:"Member/SetMember",data:t,method:"post"})},y=function(t){return Object(r["a"])({url:"oauth/password/reset",data:t})},v=function(t){return Object(r["a"])({url:"member/SetPassword",data:t})},C=function(t){return Object(r["a"])({url:"Member/CheckPaymentPassword",data:t})},T=function(t){return Object(r["a"])({url:"Member/SetPaymentPassword",data:t})},I=function(t){return Object(r["a"])({url:"Member/GetPaymentPhone",data:t})},E=function(t){return Object(r["a"])({url:"Member/hasPassword",data:t})},P=function(t){return Object(r["a"])({url:"Payment/WithdrawalTypes",data:t})},A=function(t){return Object(r["a"])({url:"member/ContactList",data:t,method:"post"})},j=function(t){return Object(r["a"])({url:"member/GetContactDetail",data:{id:t},method:"get"})},S=function(t){return Object(r["a"])({url:"member/SaveContact",data:t,method:"post"})},D=function(t){return Object(r["a"])({url:"member/DeleteContact",data:{id:t},method:"get"})}},"9fb0":function(t,e,n){"use strict";n.d(e,"m",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"k",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"l",(function(){return s})),n.d(e,"n",(function(){return d})),n.d(e,"e",(function(){return l})),n.d(e,"h",(function(){return f})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return m})),n.d(e,"i",(function(){return p})),n.d(e,"a",(function(){return b}));var r="SET_SETTING",o="SET_ISLOGIN",a="SET_LOADING",i="SET_CART_QUANTITY",c="SET_CARTDATA",u="SET_CARTDATA_INIT",s="SET_REDUCTIONS",d="SET_USERINFO",l="SET_CATEGORY",f="SET_HEADER_CONFIG",h="SET_FOOTER_CONFIG",m="SET_DEVICE_CONFIG",p="SET_HEADER_WECHATCODE",b="SET_AGAIN_BUY_LIST"},a18c:function(t,e,n){"use strict";n("d3b7"),n("3ca3"),n("ddb0");var r=n("2b0e"),o=n("8c4f"),a=function(){return Promise.all([n.e("Home~ProductDetail~Topic"),n.e("Home~Topic"),n.e("Home")]).then(n.bind(null,"bb51"))},i=function(){return n.e("Login").then(n.bind(null,"ede4"))},c=function(){return n.e("Forget").then(n.bind(null,"c707"))},u=function(){return n.e("Cart").then(n.bind(null,"c228"))},s=function(){return n.e("ProductList").then(n.bind(null,"d1e8"))},d=function(){return Promise.all([n.e("Home~ProductDetail~Topic"),n.e("ProductDetail")]).then(n.bind(null,"6228"))},l=function(){return n.e("ProductAddOnItem").then(n.bind(null,"7634"))},f=function(){return n.e("Center").then(n.bind(null,"031c"))},h=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("UserInfo")]).then(n.bind(null,"a686"))},m=function(){return Promise.all([n.e("OrderList~RefundList~UserGift"),n.e("UserGift")]).then(n.bind(null,"27d7"))},p=function(){return Promise.all([n.e("OrderList~RefundList~UserGift"),n.e("OrderList")]).then(n.bind(null,"bdfa"))},b=function(){return Promise.all([n.e("OrderDetail~OrderSubmit"),n.e("OrderDetail")]).then(n.bind(null,"ab06"))},g=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("OrderDetail~OrderSubmit"),n.e("OrderSubmit")]).then(n.bind(null,"a3f5"))},O=function(){return n.e("OrderPay").then(n.bind(null,"9136"))},y=function(){return n.e("OrderPayWechat").then(n.bind(null,"81d3"))},v=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("OrderPayOffline")]).then(n.bind(null,"079f"))},C=function(){return n.e("OrderSuccess").then(n.bind(null,"c5da"))},T=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("OrderComment")]).then(n.bind(null,"e761"))},I=function(){return Promise.all([n.e("OrderList~RefundList~UserGift"),n.e("RefundList")]).then(n.bind(null,"0e05"))},E=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("RefundApply")]).then(n.bind(null,"2dca"))},P=function(){return n.e("RefundDetail").then(n.bind(null,"f323"))},A=function(){return n.e("UserBalance").then(n.bind(null,"9986"))},j=function(){return n.e("BalanceRecharge").then(n.bind(null,"3c4a"))},S=function(){return n.e("BalanceWithdrawal").then(n.bind(null,"a345"))},D=function(){return n.e("BalanceWithdrawalNotes").then(n.bind(null,"c3fb"))},w=function(){return n.e("RechargeGift").then(n.bind(null,"e4c2"))},L=function(){return n.e("UserIntegral").then(n.bind(null,"3525"))},_=function(){return n.e("UserCoupon").then(n.bind(null,"4609"))},R=function(){return n.e("UserPassword").then(n.bind(null,"da60"))},k=function(){return n.e("MyCard").then(n.bind(null,"cf0f"))},F=function(){return Promise.all([n.e("Chat~OrderComment~OrderPayOffline~OrderSubmit~RefundApply~UserInfo"),n.e("Chat")]).then(n.bind(null,"ca20"))},U=function(){return n.e("IntegralHome").then(n.bind(null,"49aa"))},N=function(){return n.e("AddressList").then(n.bind(null,"8bff"))},M=function(){return n.e("ArticleDetail").then(n.bind(null,"1a6f"))},x=function(){return n.e("ArticleList").then(n.bind(null,"eb84"))},H=function(){return Promise.all([n.e("Home~ProductDetail~Topic"),n.e("Home~Topic"),n.e("Topic")]).then(n.bind(null,"9a02"))},B=[{path:"/",name:"Home",component:a,meta:{title:"首页"}},{path:"/login",name:"Login",component:i,meta:{title:"登录"}},{path:"/login/forget",name:"Forget",component:c,meta:{title:"忘记密码"}},{path:"/cart",name:"Cart",component:u,meta:{title:"购物车"}},{path:"/product/list",name:"ProductList",component:s,meta:{title:"商品列表"}},{path:"/product/detail",name:"ProductDetail",component:d,meta:{title:"商品详情"}},{path:"/product/addOnItem",name:"ProductAddOnItem",component:l,meta:{title:"加价换购"}},{path:"/order/submit",name:"OrderSubmit",component:g,meta:{title:"提交订单"}},{path:"/order/pay",name:"OrderPay",component:O,meta:{title:"提交成功"}},{path:"/order/payWechat",name:"OrderPayWechat",component:y,meta:{title:"微信支付"}},{path:"/order/payOffline",name:"OrderPayOffline",component:v,meta:{title:"线下付款"}},{path:"/order/success",name:"OrderSuccess",component:C,meta:{title:"支付成功"}},{path:"/order/comment",name:"OrderComment",component:T,meta:{title:"评价订单"}},{path:"/user/center",name:"Center",component:f,meta:{title:"个人中心"}},{path:"/user/info",name:"UserInfo",component:h,meta:{title:"个人信息"}},{path:"/user/gift",name:"UserGift",component:m,meta:{title:"我的礼品"}},{path:"/order/list",name:"OrderList",component:p,meta:{title:"我的订单"}},{path:"/order/detail",name:"OrderDetail",component:b,meta:{title:"订单详情"}},{path:"/refund/list",name:"RefundList",component:I,meta:{title:"我的售后单"}},{path:"/refund/apply",name:"RefundApply",component:E,meta:{title:"申请售后"}},{path:"/refund/detail",name:"RefundDetail",component:P,meta:{title:"售后详情"}},{path:"/user/balance",name:"UserBalance",component:A,meta:{title:"账户余额"}},{path:"/user/balanceRecharge",name:"BalanceRecharge",component:j,meta:{title:"余额充值"}},{path:"/balance/withdrawal",name:"BalanceWithdrawal",component:S,meta:{title:"余额提现"}},{path:"/balance/withdrawalNotes",name:"BalanceWithdrawalNotes",component:D,meta:{title:"提现记录"}},{path:"/user/rechargeGift",name:"RechargeGift",component:w,meta:{title:"充值赠送"}},{path:"/user/integral",name:"UserIntegral",component:L,meta:{title:"积分明细"}},{path:"/card/myCard",name:"MyCard",component:k,meta:{title:"我的卡包"}},{path:"/chat",name:"Chat",component:F,meta:{title:"在线客服"}},{path:"/integral/home",name:"IntegralHome",component:U,meta:{title:"积分商城"}},{path:"/address/list",name:"AddressList",component:N,meta:{title:"收货地址"}},{path:"/user/contact",name:"user-contact",component:function(){return n.e("AddressList").then(n.bind(null,"318f"))},meta:{title:"常用旅客信息"}},{path:"/article/list",name:"ArticleList",component:x,meta:{title:"文章列表"}},{path:"/article/detail",name:"ArticleDetail",component:M,meta:{title:"文章详情"}},{path:"/user/coupon",name:"UserCoupon",component:_,meta:{title:"我的优惠券"}},{path:"/user/password",name:"UserPassword",component:R,meta:{title:"修改密码"}},{path:"/topic",name:"Topic",component:H,meta:{title:"专题"}},{path:"/consult",name:"consult",component:function(){return n.e("AddressList").then(n.bind(null,"4b8a"))},meta:{title:"定制咨询"}},{path:"/siteMap",name:"siteMap",component:function(){return n.e("AddressList").then(n.bind(null,"18fc"))},meta:{title:"站点地图"}},{path:"*",redirect:"/"}];r["default"].use(o["a"]),e["a"]=new o["a"]({mode:"history",routes:B,base:"/",strict:!1,scrollBehavior:function(t,e,n){if(n)return n;var r={};return t.hash&&(r.selector=t.hash),t.matched.some((function(t){return!1!==t.meta.scrollToTop}))&&(r.x=0,r.y=0),r}})},aaef:function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"i",(function(){return i})),n.d(e,"f",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"j",(function(){return s})),n.d(e,"c",(function(){return d})),n.d(e,"k",(function(){return l})),n.d(e,"m",(function(){return f})),n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return b})),n.d(e,"n",(function(){return g}));var r=n("ade3"),o={LIMIT_BUY:1,FLASH_SALE:2,MEMBER_DISCOUNT:4,REDUCTION:8,COUPON:16,GROUPON:32,BARGAIN:64,REDEEM:128,LOTTERY:256,INTEGRAL:512,REBATES:1024,ADD_ON_ITEM:2048,COMBINATION:4096,CYCLERESERVE:8192,PAIDPROMOTION:16384},a={NORMAL:0,GIFT:1,LIVE:2,SUPPLIER:4,FIRST_BUY:8,PICKUP:16,CITY:32,CITY_DELIVER:128,VIRTUAL:512,ATTACHMENT:1024,VIRTUAL_NOT_REFUND:4096,MULTIPLE_DELIVER:65536,LINE:262144,VISA:524288,HOTEL:1048576,TICKET:2097152},i=Object(r["a"])({CLOSE:-1,WAITPAYMENT:1,WAIT_DELIVER:2,WAIT_CONFIRM:3,COMPLETED:5,GROUPONING:11,PREPARE:22,WAIT_ERP_CONFIRM:24,NOT_USED:25,PICKUP:32},"COMPLETED",99),c={LOGISTICS:2,CITY:3,PICKUP:4},u={LOOP:2,STEP:1},s={WECHAT_JS_API:11,WECHAT_H5:12,WECHAT_APP:13,WECHAT_APPLET:14,WECHAT_SCAN:15,ALIPAY:21,ALIPAY_SCAN:22},d={WECHAT_APPLET:1,H5:2,APP:4,LIVE:8,SUPPLIER:16,PICKUP_CENTER:32,APPLET_LIVE:64,WECHAT_H5:128,PARTNER:1024,PC:2048},l={NORMAL:0,VIRTUAL:1,LINE:2,VISA:3,HOTEL:4,TICKET:5},f={VALIDITY:{INFINITY:1,DAY:2,TIMES:3},AFTER:{DISAGREE:1,AGREE:2},EXPIRATION:{REFUND:1,USE:2}},h={TEXT:1,PHONE:2,DATE:3,IMAGE:4,CODE:5,NUMBER:6},m={HOME:1,PRODUCT:2,CATEGORY:4,MEMBERCENTER:8,TOPIC:16},p={DALLY:1,WEEKLY:2,MONTHLY:3},b={REJECT:-1,CANCEL:-2,CREATE:1,CONFIRM:2,ACCEPT:3,TOSTORE:4,INDISTRIBUTION:5,COMPLETE:6},g={1:"居民身份证",2:"中国护照",3:"港澳居民来往内地通行证",4:"港澳台居民居住证",5:"居民户口簿",6:"国外护照"}},b225:function(t,e,n){"use strict";n("4de4"),n("7db0"),n("d81d"),n("14d9"),n("b64b"),n("d3b7"),n("ac1f"),n("25f0"),n("5319"),n("159b");var r=n("4360"),o=n("9fb0"),a=n("2f14"),i=n("aaef"),c=n("8ee6"),u=function(){};u.prototype.cartToStore=function(t){r["a"].commit(o["b"],t)},u.prototype.reductionsToStore=function(t){r["a"].commit(o["l"],t)},u.prototype.initGroup=function(t){var e=[];if(t.reductions&&t.reductions.forEach((function(t){t.customType="reductions",e.push(t)})),t.rebates&&t.rebates.forEach((function(t){t.customType="rebates",e.push(t)})),t.addOnItems&&t.addOnItems.forEach((function(t){t.customType="addOnItems",e.push(t)})),t.items){var n=t.items.filter((function(t){return 1===t.status}));n.length&&e.push({customType:"valid",items:n});var r=t.items.filter((function(t){return 1!==t.status}));r.length&&e.push({customType:"invalid",items:r})}return e},u.prototype.initProductData=function(t){var e=t.groupList,n=t.needSelect,r=t.defaultSelect,o=void 0===r?[]:r;return e.forEach((function(t){t.items.forEach((function(e){if(e.limitId&&e.limitValue>0&&(e.stock=e.limitValue,e.quantity>e.limitValue&&(e.quantity=e.limitValue)),"reductions"===t.customType){if(!n){var r=o.find((function(t){return t===e.skuId}));if(e.checked=!1,e.stockError=!1,e.createTime&&0===o.length){var a=new Date(e.createTime.replace(/-/g,"/")).getTime(),i=Date.now();parseInt((i-a)/1e3/60)<10&&(e.checked=!0)}r&&(e.checked=!!r)}}else{var c=o.find((function(t){return t===e.skuId}));if(e.checked=!1,e.stockError=!1,e.createTime&&0===o.length&&"invalid"!==t.customType){var u=new Date(e.createTime.replace(/-/g,"/")).getTime(),s=Date.now();parseInt((s-u)/1e3/60)<10&&(e.checked=!0)}c&&(e.checked=!!c)}}))})),e},u.prototype.set=function(t){var e={};t&&(Object.keys(t).map((function(n){var r=t[n];r.forEach((function(t){t.items?t.items.forEach((function(t){e[t.skuId]=t})):e[t.skuId]=t}))})),r["a"].state.cartData={},r["a"].commit(o["c"],!0),this.cartToStore(e))},u.prototype.get=function(t){return r["a"].state.cartData[t]},u.prototype.add=function(t){if(t&&t.skuId){var e=r["a"].state.cartData;e[t.skuId]={productId:t.id,skuId:t.skuId,status:1,price:t.price,quantity:t.quantity},this.cartToStore(e)}},u.prototype.del=function(t){if("[object Array]"===Object.prototype.toString.call(t)){var e=r["a"].state.cartData;t.forEach((function(t){delete e[t.skuId]}))}else delete s[t.skuId];this.cartToStore(s)},u.prototype.updateItemTo=function(t){var e=t.skuId;if(this.get(e)){var n=r["a"].state.cartData;n[e].quantity=t.quantity,this.cartToStore(n)}else this.add(t)},u.prototype.updateItem=function(t){var e=this;r["a"].state.cartDataInit?this.updateItemTo(t):Object(c["e"])({showLoading:!1}).then((function(t){t.success&&(r["a"].commit(o["c"],!0),e.set(t.data))}))},u.prototype.setNextReductionRule=function(t,e,n,r,o,c){var u={};return u.reduceMoney=t.rebate?t.rebate:t.amount,u.isRebate=t.rebate>0,u.diffMoney=this.getDiffMoney(o,e,c),u.diffQuantity=this.getDiffMoney(o,n,c),Object(a["j"])(t,c===i["l"].LOOP,e,n,r,u),u},u.prototype.getReductionsInfo=function(t,e,n,r,o){var c={},u={},s=null,d=null,l=null;if(r===i["l"].STEP)if(t.forEach((function(t,r){(1===o&&e>=t.limit||2===o&&n>=t.limit)&&(s=r)})),null===s)l=t[0],u=Object.assign(u,this.setNextReductionRule(l,e,n,!0,t,r)),c.profits=[],c.qProfits=[],c.tags=[];else{var f=t[s+1];if(f?u=Object.assign(u,this.setNextReductionRule(f,e,n,!0,t,r)):(u.diffMoney=0,u.diffQuantity=0,u.reduceMoney=0,u.profits=[],u.qProfits=[],u.tags=[]),d=t[s],d){var h=!1;s===t.length-1&&(h=!0),c=Object.assign(c,this.setNextReductionRule(d,e,n,!1,t,r)),c.isMax=h}}if(r===i["l"].LOOP){var m=t[0],p=0,b=0;if(1===o?(p=Math.floor(Object(a["p"])(e,m.limit)),b=Math.ceil(Object(a["p"])(e,m.limit)),e%m.limit===0&&(b+=1)):(p=Math.floor(Object(a["p"])(n,m.limit)),b=Math.ceil(Object(a["p"])(n,m.limit)),n%m.limit===0&&(b+=1)),u.reduceMoney=m.amount*b,u.isRebate=!1,u.diffMoney=this.getDiffMoney(t,e,r),u.diffQuantity=this.getDiffMoney(t,n,r),u=Object.assign(u,this.setNextReductionRule(m,e,n,!0,t,r)),p>0){c.reduceMoney=m.amount*p,c.isRebate=!1,c.diffMoney=this.getDiffMoney(t,e,r),c.diffQuantity=this.getDiffMoney(t,n,r),c=Object.assign(c,this.setNextReductionRule(m,e,n,!1,t,r));var g=!1;g=1===o?Math.floor(Object(a["p"])(e,m.limit))>=100:Math.floor(Object(a["p"])(n,m.limit))>=100,c.isMax=g}else c.profits=[],c.qProfits=[],c.tags=[]}return{nextInfo:u,currentInfo:c}},u.prototype.getrebatesInfo=function(t){var e="".concat(t.discount,"折");5===t.discount&&(e="半价"),0===t.discount&&(e="0元");var n=0;t.items.forEach((function(t){n=Object(a["o"])(n,t.quantity)}));var r=Math.floor(Object(a["p"])(n,t.quantity)),o=r>=100,i=Math.ceil(n%t.quantity),c=Object(a["r"])(t.quantity,i);return{isMax:o,nextNumber:c,discount:t.discount,quantity:t.quantity,rebateId:t.rebateId,unit:e}},u.prototype.getAddOnItemsInfo=function(t){var e=0;t.items.forEach((function(t){e=Object(a["o"])(e,Object(a["q"])(t.price,t.quantity))}));var n=Object(a["r"])(t.limitAmount,e);return{diff:n,limitAmount:t.limitAmount,addOnItemId:t.addOnItemId}},u.prototype.getDiffMoney=function(t,e,n){var r=0;if(n===i["l"].STEP&&t.some((function(n,o){return e<n.limit?(r=Object(a["r"])(n.limit,e),!0):e===n.limit&&o!==t.length-1?(r=Object(a["r"])(t[o+1].limit,e),!0):void 0})),n===i["l"].LOOP){var o=t[0],c=Math.ceil(Object(a["p"])(e,o.limit));e%o.limit===0&&(c+=1);var u=Object(a["q"])(c,o.limit);r=Object(a["r"])(u,e)}return r};var s=new u;e["a"]=s},b6b5:function(t,e,n){"use strict";n("59ee")},bab1:function(t,e,n){},caf9:function(t,e,n){"use strict";n("4886")},e20a:function(t,e,n){"use strict";n("46a1"),n("450d");var r=n("e5f2"),o=n.n(r),a=n("c7eb"),i=(n("0fb7"),n("f529")),c=n.n(i),u=n("1da1"),s=(n("14d9"),n("e9c4"),n("d3b7"),n("bc3a")),d=n.n(s),l=n("a18c"),f=n("4360"),h=n("51be"),m=n("2f14"),p=n("9a1b"),b=n("aaef");e["a"]=Object(u["a"])(Object(a["a"])().mark((function t(){var e,n,r,o,i,u,s,l,p,g,O,y,v,C,T,I=arguments;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=I.length>0&&void 0!==I[0]?I[0]:{},n=e.url,r=void 0===n?"":n,o=e.data,i=void 0===o?{}:o,u=e.method,s=void 0===u?"get":u,l=e.timeout,p=void 0===l?3e4:l,g=e.contentType,O=void 0===g?"":g,y=e.showLoading,v=void 0===y||y,C={url:h["a"]+r,baseURL:h["b"],method:s,timeout:p,headers:{}},"get"===s?C.params=i:(C.headers["Content-Type"]="application/json;charset=utf-8",C.data=JSON.stringify(i)),"file"===O?(C.data=i,C.timeout=12e4):"blob"===O&&(C.timeout=12e4),C.headers["visitor"]=Object(m["h"])(),"blob"===O&&(C.responseType="arraybuffer"),v&&f["a"].commit("SET_LOADING",!0),!f["a"].state.setting.modules||f["a"].state.setting.modules&b["c"].PC){t.next=11;break}return c.a.error({message:"未授权的端口,无法使用"}),f["a"].commit("SET_LOADING",!1),t.abrupt("return",{});case 11:return t.next=13,d()(C);case 13:if(T=t.sent,f["a"].commit("SET_LOADING",!1),!T){t.next=19;break}return t.abrupt("return",T.data);case 19:return t.abrupt("return",{});case 20:case"end":return t.stop()}}),t)})));var g={200:"服务器成功返回请求的数据。",201:"新建或修改数据成功。",202:"一个请求已经进入后台排队(异步任务)。",204:"删除数据成功。",400:"请填写正确参数!",401:"用户没有权限(令牌、用户名、密码错误)。",403:"用户得到授权,但是访问是被禁止的。",404:"发出的请求针对的是不存在的记录,服务器没有进行操作。",406:"请求的格式不可得。",410:"请求的资源被永久删除,且不会再得到的。",422:"当创建一个对象时,发生一个验证错误。",500:"服务器发生错误,请检查服务器。",502:"网关错误。",503:"服务不可用,服务器暂时过载或维护。",504:"网关超时。"};d.a.interceptors.request.use((function(t){var e="true"===localStorage.isAutoLogin,n=e?localStorage:sessionStorage;return t.headers.Authorization="Bearer ".concat(n.tokenPc),t}),(function(t){return Promise.reject(t)})),d.a.interceptors.response.use((function(t){return t}),(function(t){f["a"].commit("SET_LOADING",!1);var e=t.response;if(!e)return c.a.error({message:"无法连接服务器,请检查网络"});var n=e.status;if(403!==n)if(401!==n){if(500===n)return c.a.error({message:"系统错误,请联系管理员"});o()({title:t.config.url,message:g[n]||e.statusText,type:"error"})}else{var r=localStorage.historeToken;r?Object(p["m"])({token:r,platform:8}).then((function(t){t.success&&(Object(m["s"])({token:t.data.token,refreshToken:t.data.refreshToken,historeToken:t.data.historeToken}),window.location.reload())})):"/login"!==l["a"].app.$route.path&&(Object(m["s"])({token:"",refreshToken:""}),l["a"].push("/login"))}else c.a.error({message:"当前用户无权访问此页面"})}))},faf3:function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"i",(function(){return i})),n.d(e,"j",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return d})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return f})),n.d(e,"h",(function(){return h}));var r=n("e20a"),o=function(){return Object(r["a"])({url:"common/pcSettings"})},a=function(t,e){return Object(r["a"])({url:"Product/List",data:t,showLoading:e,method:"post"})},i=function(t){return Object(r["a"])({url:"common/GetTopic",data:t})},c=function(){return Object(r["a"])({url:"payment/channels"})},u=function(){return Object(r["a"])({url:"common/CountryList",method:"get"})},s=function(){return Object(r["a"])({url:"Product/GetAllCategory",method:"get"})},d=function(){return Object(r["a"])({url:"common/GetAllDestinationCategory",method:"get"})},l=function(t){return Object(r["a"])({url:"common/CreateConsult",data:t,method:"post"})},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(r["a"])({url:"common/GetDestination",data:{id:t},method:"get"})},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(r["a"])({url:"common/GetSubs",data:{parent:t},method:"get"})}},fd2d:function(t,e,n){"use strict";n("a4d3"),n("e01a"),n("b0c0");var r=function(){var t=this,e=t._self._c;return e("footer",{staticClass:"page-footer"},[e("div",{staticClass:"container"},t._l(t.setting.footer,(function(n,r){return e("div",{key:r,staticClass:"category-item"},[e("dl",[e("dt",[t._v(t._s(n.name))]),t._l(n.articles,(function(n,r){return e("dd",{key:r,on:{click:function(e){return t.handleOpen("/article/detail?id=".concat(n.id))}}},[t._v(" "+t._s(n.title)+" ")])}))],2)])})),0),e("div",{domProps:{innerHTML:t._s(t.footerConfig.description)}}),t._m(0)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"support"},[t._v(" 技术支持: "),e("a",{attrs:{href:"http://www.keeek.net"}},[t._v("可可旅行社管理系统")])])}],a=n("5530"),i=(n("14d9"),n("b64b"),n("2f62")),c={components:{},data:function(){return{}},computed:Object(a["a"])({},Object(i["e"])(["setting","ossUrl","footerConfig"])),methods:Object(a["a"])(Object(a["a"])({},Object(i["d"])(["SET_FOOTER_CONFIG"])),{},{handleOpen:function(t){this.$router.push(t)}}),mounted:function(){var t=this;if(!this.footerConfig.description){var e=new XMLHttpRequest;e.open("get","".concat(this.ossUrl,"settings/PcFooter.json"),!0),e.onreadystatechange=function(){if(4===e.readyState&&200===e.status){var n=JSON.parse(e.responseText);t.SET_FOOTER_CONFIG(n)}},e.send()}}},u=c,s=(n("caf9"),n("2877")),d=Object(s["a"])(u,r,o,!1,null,"40f35e60",null);e["a"]=d.exports}});