(function(t){function e(e){for(var i,n,s=e[0],l=e[1],r=e[2],h=0,u=[];h390?e=390:e<55&&(e=55),this.top=e},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}}},b=f,g=Object(h["a"])(b,m,p,!1,null,"99716034",null),z=g.exports;function w(t){return void 0===t.meta.keepAlive||t.meta.keepAlive}var M={data:function(){return{transitionName:"fold-right",include:w(this.$route)?[this.$route.name]:[],history:[]}},provide:function(){return{app:this}},computed:Object(v["b"])(["footer","home","isLogin"]),components:{Footer:d,Home:z},watch:{$route:function(t,e){var c=this.history[this.history.length-1]||{},i=this.$router,n=i.isReplace,a=i.isBack;if(c.path===t.path?(this.transitionName="fold-right",this.history.pop()):(this.transitionName="fold-left",n||this.history.push({path:e.path,name:e.name})),w(t)&&"Login"!==t.name&&!this.include.includes(t.name)&&this.include.push(t.name),w(e)&&a){var o=this.include.indexOf(e.name);-1!==o&&this.include.splice(o,1)}this.$router.isBack=!1,this.$router.isReplace=!1,console.log(this.transitionName,"change")}}},y=M,A=(c("5c0b"),Object(h["a"])(y,n,a,!1,null,null,null)),k=A.exports,C=c("a18c"),I=c("4360"),x=c("77ed"),L=c.n(x),j=c("a15e"),B=c.n(j),O=c("cba2"),N=(c("ac6a"),[]),E=function(t,e){N.push({dom:t,fn:e}),e._index=N.length-1};E.remove=function(t){t._index&&N.splice(t._index,1)};var S={addHandler:function(t,e,c){t.addEventListener?t.addEventListener(e,c,!1):t.attachEvent?t.attachEvent("on"+e,c):t["on"+e]=c},listenTouchDirection:function(){this.addHandler(window,"scroll",function(){var t=window.innerHeight,e=window.scrollY;N.filter(function(t){return t.dom.scrollHeight&&t.dom.scrollHeight>0}).forEach(function(c){var i=c.dom.scrollHeight,n=Math.ceil(e/(i-t)*100);n>85&&c.fn()})})}};S.listenTouchDirection();var _=E,R=c("d0a4"),H=(c("e222"),c("be35"),c("756e"),c("4b8a"),c("3aff"),c("4ee2"),c("6672"),c("ed08"));i["default"].use(L.a),i["default"].config.productionTip=!1,i["default"].config.devtools=!1,i["default"].prototype.$validator=function(t){return new B.a(t)},i["default"].prototype.$scroll=_,i["default"].prototype.$dialog=O["a"];var G="clear_0.0.1";R["a"].has(G)||(R["a"].clearAll(),R["a"].set(G,1));var V=Object(H["e"])()["spread"];if(void 0!==V){var D=R["a"].get("spread");V=parseInt(V),(Number.isNaN(V)||D===V)&&0!==D&&"number"===typeof D||R["a"].set("spread",V||0)}var Z=Object(H["d"])();if(Z){var T=function(){return Promise.resolve().then(c.bind(null,"74f9"))};T().then(function(t){t.default().then(function(){return t.oAuth()})})}var U=new i["default"]({router:C["a"],store:I["a"],render:function(t){return t(k)}});setTimeout(function(){U.$mount("#app")},300)},"5c0b":function(t,e,c){"use strict";var i=c("5e27"),n=c.n(i);n.a},"5e27":function(t,e,c){},6672:function(t,e,c){},6918:function(t,e,c){"use strict";var i=c("1218"),n=c.n(i);n.a},"69ed":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAVCAYAAAA5BNxZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG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+StizeMeq+51GDoeuvyU5JT1nZJ0NoYadbrJH43zoT6Wc6JK2FS9N67WzNRpA6OsKha6WO4DXx/4l4E3+SIhbHitrUZJV6kBQuZxsArjZW9AVV4rB+mVQRbpIKeVG5nXkFNZLjehl7uWFtJKaSmRqSqNIZkHPtzdUtBn/k748mCnio6WvxwhK6PB6ngo3s9RVD2hug9sf+277KvNiaTewl5rbtLlxsvjtHmxPlu/a4+dv5d+2xuHhbuepfTrZdwJt33p73OvL/t97vGp9PxFbznLSzd8dapcrkx281W86YxF4jlnpU37CxkLViJjIP1Boenq8iXuo97OVQpL+H1SSikVhDYU1XtRHRmVruSCOuy6gFfgU0nrzM1S0mL+cVCBt9tTvCW3K1d0prcz/qJKGQbNt4UPym01nvKdQda0eeI59rTqkhLNNLtu4BXchOJzBRq5dDmXshFBwbjYXa/NlNR2yn2P7NPqmtTTMbAJWru1AUXgFx8MJGkXRyalIv4fj/fSRqSVVsoJB+O/wHWp8pJWIGf3QKJcNWSPs9+DiSlQCph4XiMhLEziGOnRo+7RiPDznwADAFHt+7vHV3GfAAAAAElFTkSuQmCC"},"6bdd":function(t,e,c){"use strict";var i=c("331b"),n=c.n(i);n.a},"73f5":function(t,e,c){"use strict";c.d(e,"d",function(){return n}),c.d(e,"h",function(){return a}),c.d(e,"g",function(){return o}),c.d(e,"i",function(){return s}),c.d(e,"f",function(){return l}),c.d(e,"e",function(){return r}),c.d(e,"m",function(){return h}),c.d(e,"c",function(){return u}),c.d(e,"n",function(){return d}),c.d(e,"b",function(){return m}),c.d(e,"a",function(){return p}),c.d(e,"l",function(){return v}),c.d(e,"k",function(){return f}),c.d(e,"j",function(){return b}),c.d(e,"p",function(){return g}),c.d(e,"o",function(){return z});var i=c("b775");function n(){return i["a"].get("/category",{},{login:!1})}function a(t){return i["a"].get("/product/detail/"+t,{},{login:!1})}function o(t){return i["a"].get("/product/code/"+t,{},{login:!0})}function s(t){return i["a"].get("/products",t,{login:!1})}function l(t,e){return i["a"].get("/product/hot",{page:t,limit:e},{login:!1})}function r(t){return i["a"].get("/groom/list/"+t,{},{login:!1})}function h(t){return i["a"].post("/cart/add",t)}function u(){return i["a"].get("/cart/list")}function d(t){return i["a"].post("/cart/del",{ids:t})}function m(t){return i["a"].get("/cart/count",t)}function p(t,e){return i["a"].post("/cart/num",{id:t,number:e})}function v(){return i["a"].get("/search/keyword",{},{login:!1})}function f(t,e){return i["a"].get("/reply/list/"+t,e,{login:!1})}function b(t){return i["a"].get("/reply/config/"+t,{},{login:!1})}function g(t){return i["a"].post("/order/product",{unique:t},{login:!1})}function z(t){return i["a"].post("/order/comment",t,{login:!1})}},"74f9":function(t,e,c){"use strict";c.r(e),c.d(e,"default",function(){return b}),c.d(e,"clearAuthStatus",function(){return g}),c.d(e,"oAuth",function(){return z}),c.d(e,"auth",function(){return w}),c.d(e,"toAuth",function(){return M}),c.d(e,"pay",function(){return k}),c.d(e,"openAddress",function(){return C}),c.d(e,"openShareAppMessage",function(){return I}),c.d(e,"openShareTimeline",function(){return x}),c.d(e,"ready",function(){return L});var i,n=c("cebc"),a=(c("28a5"),c("386d"),c("90fa")),o=c.n(a),s=c("e876"),l=c("ed08"),r=c("d0a4"),h=c("4360"),u=c("5a0c"),d=c.n(u),m="wx_authorize_state",p="wx_auth",v="login_back_url",f="loginType";function b(){return new Promise(function(t,e){if(i)return t(i);Object(s["i"])().then(function(c){var n=o()(c.data);n.initialize().then(function(){i=n.wx,i.initConfig=c.data,t(i)}).catch(e)}).catch(function(t){console.log(t),e(t)})})}function g(){r["a"].remove(p),r["a"].remove(m)}function z(){if(!r["a"].has(p)||!h["a"].state.app.token){var t=Object(l["e"])(),e=t.code;return e?void 0:M()}}function w(t){return new Promise(function(e,c){var i=r["a"].get(f);Object(s["j"])(t,parseInt(r["a"].get("spread")),i).then(function(c){var n=c.data,a=d()(n.expires_time);h["a"].commit("LOGIN",n.token,a),r["a"].set(p,t,a),r["a"].remove(m),i&&r["a"].remove("loginType"),e()}).catch(c)})}function M(){b().then(function(t){location.href=y(t.initConfig.appId)})}function y(t){var e=encodeURIComponent("".concat(location.origin,"/auth/")+encodeURIComponent(encodeURIComponent(r["a"].has(v)?r["a"].get(v):location.pathname+location.search)));r["a"].remove(v);var c=encodeURIComponent((""+Math.random()).split(".")[1]+"authorizestate");return r["a"].set(m,c),"https://open.weixin.qq.com/connect/oauth2/authorize?appid=".concat(t,"&redirect_uri=").concat(e,"&response_type=code&scope=snsapi_userinfo&state=").concat(c,"#wechat_redirect")}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(c,i){t(Object(n["a"])({},e,{success:function(t){c(t)},fail:function(t){i(t)},complete:function(t){i(t)},cancel:function(t){i(t)}}))})}function k(t){return A(i.chooseWXPay,t)}function C(){return A(i.openAddress)}function I(t){i.updateAppMessageShareData(t),i.onMenuShareAppMessage&&i.onMenuShareAppMessage(t)}function x(t){i.updateTimelineShareData(t),i.onMenuShareTimeline&&i.onMenuShareTimeline(t)}function L(){return new Promise(function(t){i.ready(function(){t()})})}},"756e":function(t,e){(function(t,e){var c=e.documentElement,i=t.devicePixelRatio||1;function n(){e.body||e.addEventListener("DOMContentLoaded",n)}function a(){var t=c.clientWidth/7.5;c.style.fontSize=t+"px"}if(n(),a(),t.addEventListener("resize",a),t.addEventListener("pageshow",function(t){t.persisted&&a()}),i>=2){var o=e.createElement("body"),s=e.createElement("div");s.style.border=".5px solid transparent",o.appendChild(s),c.appendChild(o),1===s.offsetHeight&&c.classList.add("hairlines"),c.removeChild(o)}})(window,document)},"7c7c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEg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Fja2V0IGVuZD0iciI/PjqHv5oAAAD/SURBVHjaYpw5cyYDDiANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+OLziB8TzoeowNE8A4mgG/AAk34euuRKI8xiIAwVAXAFisABxJhC3MZAGQOo/skBDVpmBdPAXpPkhA5mA8aWxsjyQZibXZi8gnkaG5ixQaE8H4hoSNYJiZzosqlqBeDKRGicCcQd6IskH4qUENILkC7GlsP/Q7LcZh8ZNQJwIVYc1Y/wC4gggPo4mfhSII4H4N6Es+Q2IPYH4MpQPor2h4kQVBh+hBuwAYncoHwMABBgABy8t3vXX4OYAAAAASUVORK5CYII="},8715:function(t,e,c){"use strict";var i=c("219d"),n=c.n(i);n.a},"8c33":function(t,e,c){"use strict";var i=c("0878"),n=c.n(i);n.a},"91bb":function(t,e,c){},"91c8":function(t,e,c){"use strict";var i=function(){var t=this,e=t.$createElement,c=t._self._c||e;return t.benefit.length>0?c("div",{staticClass:"promotionGood"},t._l(t.benefit,function(e,i){return c("router-link",{key:i,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+e.id}}},[c("div",{staticClass:"pictrue"},[c("img",{staticClass:"image",attrs:{src:e.image}})]),c("div",{staticClass:"text"},[c("div",{staticClass:"name line1"},[t._v(t._s(e.store_name))]),c("div",{staticClass:"sp-money acea-row"},[c("div",{staticClass:"moneyCon"},[t._v("\n 促销价: ¥"),c("span",{staticClass:"num"},[t._v(t._s(e.price))])])]),c("div",{staticClass:"acea-row row-between-wrapper"},[c("div",{staticClass:"money"},[t._v("日常价:¥"+t._s(e.ot_price))]),c("div",[t._v("仅剩:"+t._s(e.stock)+t._s(e.unit_name))])])])])}),1):t._e()},n=[],a={name:"PromotionGood",props:{benefit:{type:Array,default:function(){return[]}}},data:function(){return{}}},o=a,s=c("2877"),l=Object(s["a"])(o,i,n,!1,null,null,null);e["a"]=l.exports},"927b":function(t,e,c){t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gUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODJmOGJjOWEtNjNhNi1hZDRkLTk0NTMtYWQxYTg4NTU5YTFhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEwYzQ1OTcyLTFlZGMtNzk0OS1iYzkzLTUyYjkwZTAyNzMxOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn93ow0AAAEASURBVHjaYnxprMyAA0gD8RwgTgLi59gUMOHQyA/E24HYA4h3QvlEaeYC4m1ArAvlg+gtUHG8mtmAeAUQW6GJ2wDxciBmxaWZEYjnAbEvDq/4AfF8qDoMzROAOJoBPwDJ96FrrgTiPAbiQAEQV4AYLECcCcRtDKQBkPqPLNCQVWYgHfxl2ZBW9pCBTACyWR6ImcmyGUh4AfE0MjRngUJ7OhDXkKgRFDvTYVHVCsSTidQ4EYg70BNJPhAvJaARJF+ILYX9h2a/zTg0bgLiRKg6rBnjFxBHAPFxNPGjQBwJxL8JZclvQOwJxJehfBDtDRUnqjD4CDVgBxC7Q/kYACDAAJfhLaK8zH0rAAAAAElFTkSuQmCC"},"9fd0":function(t,e,c){"use strict";c.d(e,"b",function(){return n}),c.d(e,"a",function(){return a}),c.d(e,"c",function(){return o});c("a481"),c("c5f6"),c("6b54"),c("28a5");function i(t,e){var c,i,a=0,o=0;try{a=t.toString().split(".")[1].length}catch(s){a=0}try{o=e.toString().split(".")[1].length}catch(s){o=0}return c=Number(t.toString().replace(".","")),i=Number(e.toString().replace(".","")),n(c/i,Math.pow(10,o-a))}function n(t,e){var c=0,i=t.toString(),n=e.toString();try{c+=i.split(".")[1].length}catch(a){c=0}try{c+=n.split(".")[1].length}catch(a){c=c||0}return Number(i.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,c)}function a(t,e){var c,i,n,a;try{c=t.toString().split(".")[1].length}catch(o){c=0}try{i=e.toString().split(".")[1].length}catch(o){i=0}return n=Math.pow(10,Math.max(c,i)),a=c>=i?c:i,((t*n+e*n)/n).toFixed(a)}function o(t,e){var c,i,n,a;try{c=t.toString().split(".")[1].length}catch(o){c=0}try{i=e.toString().split(".")[1].length}catch(o){i=0}return n=Math.pow(10,Math.max(c,i)),a=c>=i?c:i,((t*n-e*n)/n).toFixed(a)}function s(t){this.value=t}Object.assign(s.prototype,{add:function(t){return this.value=a(this.value,t),this},sub:function(t){return this.value=o(this.value,t),this},div:function(t){return this.value=i(this.value,t),this},mul:function(t){return this.value=n(this.value,t),this}})},a18c:function(t,e,c){"use strict";c("7f7f"),c("a481");var i=c("75fc"),n=c("2b0e"),a=c("8c4f"),o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"user"},[i("div",{staticClass:"header bg-color-red acea-row row-between-wrapper"},[i("div",{staticClass:"picTxt acea-row row-between-wrapper"},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:t.userInfo.avatar}})]),i("div",{staticClass:"text"},[i("div",{staticClass:"acea-row row-middle"},[i("div",{staticClass:"name line1"},[t._v(t._s(t.userInfo.nickname))]),t.userInfo.vip?i("div",{staticClass:"member acea-row row-middle"},[i("img",{attrs:{src:t.userInfo.vip_icon}}),t._v(t._s(t.userInfo.vip_name)+"\n ")]):t._e()]),t.userInfo.phone?i("router-link",{staticClass:"id",attrs:{to:"/user/data"}},[t._v("\n ID:"+t._s(t.userInfo.uid||0)),i("span",{staticClass:"iconfont icon-bianji1"})]):i("router-link",{staticClass:"binding",attrs:{to:"/user/binding"}},[i("span",[t._v("绑定手机号")])])],1)]),i("span",{staticClass:"iconfont icon-shezhi",on:{click:function(e){return t.$router.push({path:"/user/data"})}}})]),i("div",{staticClass:"wrapper"},[i("div",{staticClass:"nav acea-row row-middle"},[i("router-link",{staticClass:"item",attrs:{to:{path:"/user/account"}}},[i("div",[t._v("我的余额")]),i("div",{staticClass:"num"},[t._v(t._s(t.userInfo.now_money||0))])]),1===t.userInfo.is_promoter||2===t.userInfo.statu?i("router-link",{staticClass:"item",attrs:{to:"/user/user_promotion"}},[i("div",[t._v("当前佣金")]),i("div",{staticClass:"num"},[t._v(t._s(t.userInfo.brokerage_price||0))])]):i("router-link",{staticClass:"item",attrs:{to:"/user/integral"}},[i("div",[t._v("当前积分")]),i("div",{staticClass:"num"},[t._v(t._s(t.userInfo.integral||0))])]),i("router-link",{staticClass:"item",attrs:{to:"/user/user_coupon"}},[i("div",[t._v("优惠券")]),i("div",{staticClass:"num"},[t._v(t._s(t.userInfo.couponCount||0))])])],1),i("div",{staticClass:"myOrder"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",[t._v("我的订单")]),i("router-link",{staticClass:"allOrder",attrs:{to:"/order/list/"}},[t._v("\n 全部订单"),i("span",{staticClass:"iconfont icon-jiantou"})])],1),i("div",{staticClass:"orderState acea-row row-middle"},[i("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/0"}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("c1eb")}}),t.orderStatusNum.unpaid_count>0?i("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.unpaid_count))]):t._e()]),i("div",[t._v("待付款")])]),i("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/1"}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("38a9")}}),t.orderStatusNum.unshipped_count>0?i("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.unshipped_count))]):t._e()]),i("div",[t._v("待发货")])]),i("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/2"}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("19bd")}}),t.orderStatusNum.received_count>0?i("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.received_count))]):t._e()]),i("div",[t._v("待收货")])]),i("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/3"}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("cb6e")}}),t.orderStatusNum.evaluated_count>0?i("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.evaluated_count))]):t._e()]),i("div",[t._v("待评价")])]),i("router-link",{staticClass:"item",attrs:{to:"/order/refund_list"}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("062a")}}),t.orderStatusNum.refund_count>0?i("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.refund_count))]):t._e()]),i("div",[t._v("售后/退款")])])],1)]),i("div",{staticClass:"myService"},[i("div",{staticClass:"title acea-row row-middle"},[t._v("我的服务")]),i("div",{staticClass:"serviceList acea-row row-middle"},[t._l(t.MyMenus,function(e,c){return[e.wap_url?i("div",{key:c,staticClass:"item",on:{click:function(e){return t.goPages(c)}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:e.pic}})]),i("div",[t._v(t._s(e.name))])]):t._e()]})],2)])]),i("img",{staticClass:"support",attrs:{src:c("a884")}}),i("div",{staticClass:"footer-line-height"}),i("SwitchWindow",{attrs:{switchActive:t.switchActive,login_type:t.userInfo.login_type},on:{changeswitch:t.changeswitch}})],1)},s=[],l=c("c24f"),r=c("ed08"),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"switchWindow",class:!0===t.switchActive?"on":""},[i("div",{staticClass:"pictrue"},["h5"===t.login_type?i("img",{attrs:{src:c("2dc3")}}):i("img",{attrs:{src:c("2dc3"),alt:""}})]),i("div",{staticClass:"info"},[t._v("\n 是否选择切换到"),"h5"===t.login_type?i("span",{staticClass:"font-color"},[t._v("微信账号")]):i("span",{staticClass:"font-color"},[t._v("手机用户")]),t._v("?\n ")]),i("div",{staticClass:"switchBnt",on:{click:t.switchH5}},[t._v("切换")]),i("div",{staticClass:"switchBnt cancelBnt",on:{click:t.switchClose}},[t._v("取消")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:!0===t.switchActive,expression:"switchActive === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault()},click:t.switchClose}})])},u=[],d=c("74f9"),m=c("d0a4"),p=c("4360"),v=c("5a0c"),f=c.n(v),b={name:"SwitchWindow",props:{switchActive:{type:Boolean,default:!1},login_type:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{switchClose:function(){this.$emit("changeswitch",!1)},switchH5:function(){var t=this,e=this;this.$dialog.loading.open("正在切换中"),"h5"===e.login_type?(m["a"].set("loginType","wechat",60),this.$dialog.loading.close(),this.$store.commit("LOGOUT"),Object(d["clearAuthStatus"])(),this.$emit("changeswitch",!1),location.reload()):Object(l["S"])().then(function(e){var c=e.data;t.$dialog.loading.close();var i=f()(c.expires_time);p["a"].commit("LOGIN",c.token,i),t.$emit("changeswitch",!1),location.reload()}).catch(function(c){return t.$dialog.loading.close(),e.$dialog.toast({mes:c})})}}},g=b,z=(c("8c33"),c("2877")),w=Object(z["a"])(g,h,u,!1,null,null,null),M=w.exports,y="User",A={name:y,components:{SwitchWindow:M},props:{},data:function(){return{userInfo:{},MyMenus:[],orderStatusNum:{},switchActive:!1,isWeixin:!1}},watch:{$route:function(t){t.name===y&&this.User()}},mounted:function(){this.User(),this.MenuUser(),this.isWeixin=Object(r["d"])()},methods:{changeswitch:function(t){this.switchActive=t},User:function(){var t=this;Object(l["B"])().then(function(e){t.userInfo=e.data,t.orderStatusNum=e.data.orderStatusNum})},MenuUser:function(){var t=this;Object(l["t"])().then(function(e){t.MyMenus=e.data.routine_my_menus})},goPages:function(t){var e=this.MyMenus[t].wap_url;return"/user/user_promotion"!==e||1!==this.userInfo.statu||this.userInfo.is_promoter?"/customer/index"!==e||this.userInfo.adminid?void this.$router.push({path:this.MyMenus[t].wap_url}):this.$dialog.toast({mes:"您还不是客服!!"}):this.$dialog.toast({mes:"您还没有推广权限!!"})}}},k=A,C=(c("d304"),Object(z["a"])(k,o,s,!1,null,"c3c3df56",null)),I=C.exports,x=[{path:"/user",name:"User",meta:{title:"个人中心",keepAlive:!0,footer:!0,auth:!0},component:I},{path:"/user/binding",name:"BindingPhone",meta:{title:"绑定手机",keepAlive:!0,backgroundColor:"#fff",auth:!0},component:function(){return c.e("chunk-03b2ddff").then(c.bind(null,"3d16"))}},{path:"/user/add_address/:id?",name:"AddAddress",meta:{title:"添加收货地址",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-44047c7e").then(c.bind(null,"5dbf"))}},{path:"/user/account",name:"UserAccount",meta:{title:"我的账户",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-715c4f57").then(c.bind(null,"c974"))}},{path:"/user/add_manage",name:"AddressManagement",meta:{title:"地址管理",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-249cbda8").then(c.bind(null,"bb9a"))}},{path:"/user/poster",name:"Poster",meta:{title:"分销海报",keepAlive:!1,backgroundColor:"#a3a3a3",auth:!0},component:function(){return c.e("chunk-2d0d5c9a").then(c.bind(null,"707b"))}},{path:"/user/sign",name:"Sign",meta:{title:"签到",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-352a53ed").then(c.bind(null,"0636"))}},{path:"/user/sign_record",name:"SignRecord",meta:{title:"签到记录",keepAlive:!0},component:function(){return c.e("chunk-2d0d6b8d").then(c.bind(null,"7482"))}},{path:"/user/cash",name:"UserCash",meta:{title:"提现",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-0b32185c").then(c.bind(null,"c2af"))}},{path:"/user/audit",name:"CashAudit",meta:{title:"提现审核",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-074d26c0").then(c.bind(null,"3717"))}},{path:"/user/promoter_order",name:"PromoterOrder",meta:{title:"推广人订单",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0d0177").then(c.bind(null,"6700"))}},{path:"/user/promoter_list",name:"PromoterList",meta:{title:"推广人列表",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-126715f2").then(c.bind(null,"2b58"))}},{path:"/user/user_promotion",name:"UserPromotion",meta:{title:"我的推广",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0b995a").then(c.bind(null,"3425"))}},{path:"/user/bill/:types?",name:"UserBill",meta:{title:"账单明细",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0da964").then(c.bind(null,"6bdf"))}},{path:"/user/cashrecord",name:"CashRecord",meta:{title:"提现记录",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0d3247").then(c.bind(null,"5c03"))}},{path:"/user/commission",name:"CommissionDetails",meta:{title:"佣金明细",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0c1002").then(c.bind(null,"43d1"))}},{path:"/user/integral",name:"Integral",meta:{title:"积分详情",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d5271a2").then(c.bind(null,"64ba"))}},{path:"/user/vip",name:"UserVip",meta:{title:"会员中心",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-3c12acd2").then(c.bind(null,"8070"))}},{path:"/user/data",name:"PersonalData",meta:{title:"个人资料",keepAlive:!0,auth:!0},component:function(){return Promise.all([c.e("chunk-dd72976e"),c.e("chunk-b6e494f4")]).then(c.bind(null,"deca"))}},{path:"/user/user_coupon",name:"UserCoupon",meta:{title:"我的优惠券",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-7f08916c").then(c.bind(null,"edc1"))}},{path:"/user/get_coupon",name:"GetCoupon",meta:{title:"领取优惠券",keepAlive:!0},component:function(){return c.e("chunk-146ed97a").then(c.bind(null,"b701"))}},{path:"/user/user_cash",name:"UserCash",meta:{title:"申请提现",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-0b32185c").then(c.bind(null,"c2af"))}},{path:"/customer/list",name:"CustomerList",meta:{title:"客服列表",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-5bd6adbe").then(c.bind(null,"f191"))}},{path:"/user/Recharge",name:"Recharge",meta:{title:"余额充值",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-ee623db8").then(c.bind(null,"64e8"))}}],L=[{path:"/order/list/:type?",name:"MyOrder",meta:{title:"我的订单",keepAlive:!1,auth:!0},component:function(){return c.e("chunk-b5039bb4").then(c.bind(null,"46d6"))}},{path:"/order/logistics/:id",name:"Logistics",meta:{title:"物流信息",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-16eeeb11").then(c.bind(null,"e483"))}},{path:"/order/detail/:id",name:"OrderDetails",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return c.e("chunk-5ae7049e").then(c.bind(null,"e68f"))}},{path:"/order/submit/:id",name:"OrderSubmission",meta:{title:"提交订单",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-88b53ede").then(c.bind(null,"6c69"))}},{path:"/order/status",name:"PaymentStatus",meta:{title:"支付状态",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2d0c09da").then(c.bind(null,"4316"))}},{path:"/order/refund/:id",name:"GoodsReturn",meta:{title:"申请退货",keepAlive:!0,auth:!0},component:function(){return Promise.all([c.e("chunk-dd72976e"),c.e("chunk-71c995bd")]).then(c.bind(null,"8a7a"))}},{path:"/order/refund_list",name:"ReturnList",meta:{title:"退货列表",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-677b8e48").then(c.bind(null,"13b9"))}}],j=[{path:"/activity"},{path:"/activity/poster/:id/:type",name:"Poster",meta:{title:"海报",keepAlive:!1,backgroundColor:"#d22516",auth:!0},component:function(){return c.e("chunk-2539197c").then(c.bind(null,"9642"))}},{path:"/activity/dargain_detail/:id/:partake?",name:"DargainDetails",meta:{title:"砍价详情",keepAlive:!1,backgroundColor:"#e93323",auth:!0},component:function(){return c.e("chunk-48b5e2cc").then(c.bind(null,"3946"))}},{path:"/activity/bargain",name:"GoodsBargain",meta:{title:"砍价列表",keepAlive:!1,backgroundColor:"#e93323"},component:function(){return c.e("chunk-e14b291c").then(c.bind(null,"cbc6"))}},{path:"/activity/bargain/record",name:"BargainRecord",meta:{title:"砍价记录",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-9cb98e8c").then(c.bind(null,"3201"))}},{path:"/activity/group",name:"GoodsGroup",meta:{title:"拼团列表",keepAlive:!1,backgroundColor:"#fa533d"},component:function(){return c.e("chunk-c70af1fc").then(c.bind(null,"ed36"))}},{path:"/activity/group_detail/:id",name:"GroupDetails",meta:{title:"拼团详情",keepAlive:!1},component:function(){return Promise.all([c.e("chunk-7ef3022a"),c.e("chunk-2ab95a0f")]).then(c.bind(null,"64c5"))}},{path:"/activity/group_rule/:id",name:"GroupRule",meta:{title:"拼团",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-a13a9f76").then(c.bind(null,"c32d"))}},{path:"/activity/goods_seckill",name:"GoodsSeckill",meta:{title:"限时抢购",keepAlive:!0,backgroundColor:"#ffffff"},component:function(){return Promise.all([c.e("chunk-eb773252"),c.e("chunk-32f6fcb1")]).then(c.bind(null,"2b67"))}},{path:"/activity/seckill_detail/:id?/:time",name:"SeckillDetails",meta:{title:"抢购详情页",keepAlive:!0},component:function(){return Promise.all([c.e("chunk-7ef3022a"),c.e("chunk-2841cf2d")]).then(c.bind(null,"adbf"))}}],B=[{path:"/customer/index",name:"OrderIndex",meta:{title:"订单首页",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-4d3f5c13").then(c.bind(null,"9c15"))}},{path:"/customer/orders/:types?",name:"AdminOrderList",meta:{title:"订单列表",keepAlive:!0,auth:!0},component:function(){return Promise.all([c.e("chunk-18e0edde"),c.e("chunk-2d0e2116")]).then(c.bind(null,"7cb6"))}},{path:"/customer/delivery/:oid?",name:"GoodsDeliver",meta:{title:"订单发货",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-7b11e4aa").then(c.bind(null,"da81"))}},{path:"/customer/orderdetail/:oid?",name:"AdminOrder",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return Promise.all([c.e("chunk-18e0edde"),c.e("chunk-61576808")]).then(c.bind(null,"a162"))}},{path:"/customer/statistics/:type/:time?",name:"Statistics",meta:{title:"订单数据统计",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-4b64bbbc").then(c.bind(null,"124d"))}}],O=[].concat(Object(i["a"])(x),Object(i["a"])(L),Object(i["a"])(j),Object(i["a"])(B)),N=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"index"},[i("div",{staticClass:"header acea-row row-center-wrapper"},[i("div",{staticClass:"logo"},[i("img",{attrs:{src:t.logoUrl}})]),i("router-link",{staticClass:"search acea-row row-middle",attrs:{to:"/search"}},[i("span",{staticClass:"iconfont icon-xiazai5"}),t._v("搜索商品\n ")])],1),i("div",{staticClass:"slider-banner banner"},[t.banner.length>0?i("swiper",{attrs:{options:t.swiperOption}},[t._l(t.banner,function(t,e){return i("swiper-slide",{key:e},[i("img",{attrs:{src:t.pic}})])}),i("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):t._e()],1),i("div",{staticClass:"nav acea-row"},t._l(t.menus,function(e,c){return i("router-link",{key:c,staticClass:"item",attrs:{to:e.wap_url?e.wap_url:""}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:e.pic}})]),i("div",[t._v(t._s(e.name))])])}),1),i("div",{staticClass:"news acea-row row-between-wrapper"},[t._m(0),i("div",{staticClass:"swiper-no-swiping new-banner"},[t.roll.length>0?i("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperRoll}},t._l(t.roll,function(e,c){return i("swiper-slide",{key:c,staticClass:"swiper-slide"},[i("router-link",{staticClass:"acea-row row-between-wrapper",attrs:{to:e.wap_url?e.wap_url:""}},[i("div",{staticClass:"text acea-row row-between-wrapper"},["是"===e.show?i("div",{staticClass:"label"},[t._v("最新")]):t._e(),i("div",{staticClass:"newsTitle line1"},[t._v(t._s(e.info))])]),i("div",{staticClass:"iconfont icon-xiangyou"})])],1)}),1):t._e()],1)]),t.activity.length?i("div",{staticClass:"specialArea acea-row row-between-wrapper"},[i("router-link",{staticClass:"assemble",attrs:{to:t.activityOne.wap_link?t.activityOne.wap_link:""}},[i("img",{attrs:{src:t.activityOne.pic}}),i("div",{staticClass:"text"},[i("div",{staticClass:"name"},[t._v(t._s(t.activityOne.title))]),i("div",{staticClass:"infor"},[t._v(t._s(t.activityOne.info))])])]),i("div",{staticClass:"list acea-row row-column-between"},t._l(t.activity,function(e,c){return i("router-link",{key:c,staticClass:"item",attrs:{to:e.wap_link?e.wap_link:""}},[i("img",{attrs:{src:e.pic}}),i("div",{staticClass:"text"},[i("div",{staticClass:"name"},[t._v(t._s(e.title))]),i("div",{staticClass:"infor"},[t._v(t._s(e.info))])])])}),1)],1):t._e(),t.info.fastList.length>0?i("div",{staticClass:"wrapper"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v("快速选择")]),i("div",{staticClass:"line1"},[t._v(t._s(t.info.fastInfo))])]),i("router-link",{staticClass:"more",attrs:{to:"/category"}},[t._v("更多"),i("span",{staticClass:"iconfont icon-jiantou"})])],1),i("div",{staticClass:"scroll-product"},[i("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperScroll}},t._l(t.info.fastList,function(e,c){return i("swiper-slide",{key:c,staticClass:"swiper-slide"},[i("router-link",{attrs:{to:{path:"/goods_list",query:{id:e.id,title:e.cate_name}}}},[i("div",{staticClass:"img-box"},[i("img",{attrs:{src:e.pic}})]),i("div",{staticClass:"pro-info line1"},[t._v(t._s(e.cate_name))])])],1)}),1)],1)]):t._e(),t.info.bastList.length>0?i("div",{staticClass:"wrapper"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v("精品推荐")]),i("div",{staticClass:"line1"},[t._v(t._s(t.info.bastInfo))])]),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/1"}}},[t._v("更多"),i("span",{staticClass:"iconfont icon-jiantou"})])],1),i("div",{staticClass:"slider-banner boutique"},[i("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperBoutique}},t._l(t.info.bastBanner,function(t,e){return i("swiper-slide",{key:e,staticClass:"swiper-slide"},[i("router-link",{attrs:{to:t.wap_link?t.wap_link:""}},[i("img",{attrs:{src:t.img}})])],1)}),1),i("div",{staticClass:"swiper-pagination"})],1),i("Good-list",{attrs:{"good-list":t.info.bastList,"is-sort":!1}})],1):t._e(),t.likeInfo.length>0?i("div",{staticClass:"hotList"},[i("div",{staticClass:"hot-bg"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[t._m(1),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/2"}}},[t._v("\n 更多"),i("span",{staticClass:"iconfont icon-jiantou"})])],1)]),i("div",{staticClass:"list acea-row row-middle"},t._l(t.likeInfo,function(e,n){return i("router-link",{key:n,staticClass:"item",attrs:{to:{path:"/detail/"+e.id}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:e.image}}),0===n?i("img",{staticClass:"numPic",attrs:{src:c("04fb")}}):1===n?i("img",{staticClass:"numPic",attrs:{src:c("2e8f")}}):2===n?i("img",{staticClass:"numPic",attrs:{src:c("c901")}}):t._e()]),i("div",{staticClass:"name line1"},[t._v(t._s(e.store_name))]),i("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(e.price))])])])}),1)]):t._e(),t.lovely.length>0?i("div",t._l(t.lovely,function(t,e){return i("div",{key:e,staticClass:"adver"},[i("img",{attrs:{src:t.img}})])}),0):t._e(),t.info.firstList.length>0?i("div",{staticClass:"wrapper"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",{staticClass:"text"},[t._m(2),i("div",{staticClass:"line1"},[t._v(t._s(t.info.firstInfo))])]),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/3"}}},[t._v("更多"),i("span",{staticClass:"iconfont icon-jiantou"})])],1),i("div",{staticClass:"newProducts"},[i("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperProducts}},t._l(t.info.firstList,function(e,c){return i("swiper-slide",{key:c,staticClass:"swiper-slide"},[i("router-link",{attrs:{to:{path:"/detail/"+e.id}}},[i("div",{staticClass:"img-box"},[i("img",{attrs:{src:e.image}})]),i("div",{staticClass:"pro-info line1"},[t._v(t._s(e.store_name))]),i("div",{staticClass:"money font-color-red"},[t._v("¥"+t._s(e.price))])])],1)}),1)],1)]):t._e(),t.benefit.length>0?i("div",{staticClass:"wrapper"},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v("促销单品")]),i("div",{staticClass:"line1"},[t._v(t._s(t.info.salesInfo))])]),i("router-link",{staticClass:"more",attrs:{to:"/promotion"}},[t._v("更多"),i("span",{staticClass:"iconfont icon-jiantou"})])],1)]):t._e(),i("Promotion-good",{attrs:{benefit:t.benefit}}),t.showCoupon?i("Coupon-window",{attrs:{"coupon-list":t.couponList},on:{checked:t.couponClose,close:t.couponClose}}):t._e(),i("div",{staticStyle:{height:"1.2rem"}})],1)},E=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("0af8")}})])},function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"text line1"},[c("span",{staticClass:"label"},[t._v("热门榜单")]),t._v("根据销量、搜索、好评等综合得出\n ")])},function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"name line1"},[t._v("\n 首发新品"),c("span",{staticClass:"new font-color-red"},[t._v("NEW~")])])}],S=c("7212"),_=(c("e5d0"),c("d829")),R=c("91c8"),H=function(){var t=this,e=t.$createElement,c=t._self._c||e;return t.couponList.length>0?c("div",[c("div",{staticClass:"coupon-window",class:t.value?"on":""},[c("div",{staticClass:"couponWinList"},[t._l(t.couponList,function(e,i){return c("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[c("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),c("span",{staticClass:"num"},[t._v(t._s(e.coupon_price))])]),c("div",{staticClass:"text"},[c("div",{staticClass:"name"},[t._v("\n 购物买"+t._s(e.use_min_price)+"减"+t._s(e.coupon_price)+"\n ")]),e.end_time?c("div",[t._v("\n "+t._s(e.start_time)+"-"+t._s(e.end_time)+"\n ")]):t._e()])])}),c("div",{staticStyle:{height:"1.2rem"}})],2),c("div",{staticClass:"lid"},[c("div",{staticClass:"bnt font-color-red",on:{click:t.checked}},[t._v("立即领取")]),c("div",{staticClass:"iconfont icon-guanbi3",on:{click:t.close}})])]),c("div",{staticClass:"mask",attrs:{hidden:!t.value},on:{touchmove:function(t){t.preventDefault()}}})]):t._e()},G=[],V=c("2f62"),D=c("d30b"),Z={name:"CouponWindow",props:{couponList:{type:Array,default:function(){return[]}}},computed:Object(V["b"])(["isLogin"]),data:function(){return{value:!0}},mounted:function(){},methods:{checked:function(){var t=this,e=this.isLogin;if(!e)return Object(D["a"])();var c=this.couponList.reduce(function(t,e){return t.push(e.id),t},[]);Object(l["b"])(c).then(function(){t.$emit("success"),t.$dialog.toast({mes:"领取成功"})}).catch(function(){t.$dialog.toast({mes:"已领取"})}),e&&(this.value=!1,this.$emit("checked"))},close:function(){this.value=!1,this.$emit("close")}}},T=Z,U=Object(z["a"])(T,H,G,!1,null,null,null),Y=U.exports,Q=c("e876"),W="has_coupon_window",F={name:"Index",components:{swiper:S["swiper"],swiperSlide:S["swiperSlide"],GoodList:_["a"],PromotionGood:R["a"],CouponWindow:Y},props:{},data:function(){return{showCoupon:!1,logoUrl:"",banner:[],menus:[],roll:[],activity:[],activityOne:{},info:{fastList:[],bastBanner:[],firstList:[],bastList:[]},likeInfo:[],lovely:[],benefit:[],couponList:[],swiperOption:{pagination:{el:".swiper-pagination",clickable:!0},autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0},swiperRoll:{direction:"vertical",autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0},swiperScroll:{freeMode:!0,freeModeMomentum:!1,slidesPerView:"auto",observer:!0,observeParents:!0},swiperBoutique:{pagination:{el:".swiper-pagination",clickable:!0},autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0},swiperProducts:{freeMode:!0,freeModeMomentum:!1,slidesPerView:"auto",observer:!0,observeParents:!0}}},mounted:function(){var t=this,e=this;Object(Q["f"])().then(function(c){e.logoUrl=c.data.logoUrl,e.$set(e,"banner",c.data.banner),e.$set(e,"menus",c.data.menus),e.$set(e,"roll",c.data.roll),e.$set(e,"activity",c.data.activity);var i=c.data.activity.shift()||{};e.$set(e,"activityOne",i),e.$set(e,"info",c.data.info),e.$set(e,"likeInfo",c.data.likeInfo),e.$set(e,"lovely",c.data.lovely),e.$set(e,"benefit",c.data.benefit),e.$set(e,"couponList",c.data.couponList),document.title=c.data.site_name,e.setOpenShare(),t.showCoupon=!m["a"].has(W)&&c.data.couponList.some(function(t){return t.is_use})})},methods:{couponClose:function(){m["a"].set(W,1)},setOpenShare:function(){Object(Q["h"])().then(function(t){var e=t.data.data,c={desc:e.synopsis,title:e.title,link:location.href,imgUrl:e.img},i={title:e.title,link:location.href,imgUrl:e.img};!0===Object(r["d"])()&&Object(d["ready"])().then(function(){Object(d["openShareAppMessage"])(c).then(function(){}),Object(d["openShareTimeline"])(i).then(function(){})})})}}},P=F,J=(c("6bdd"),Object(z["a"])(P,N,E,!1,null,"4cf257c2",null)),X=J.exports,q=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",[c("div",{staticClass:"searchGood"},[c("div",{staticClass:"search acea-row row-between-wrapper"},[c("div",{staticClass:"input acea-row row-between-wrapper"},[c("span",{staticClass:"iconfont icon-sousuo2"}),c("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)}}}),c("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"text",placeholder:"点击搜索商品"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})]),c("div",{staticClass:"bnt",on:{click:t.submit}},[t._v("搜索")])]),t.keywords.length?c("div",[c("div",{staticClass:"title"},[t._v("热门搜索")]),c("div",{staticClass:"list acea-row"},t._l(t.keywords,function(e){return c("div",{key:e,staticClass:"item",on:{click:function(c){return t.toSearch(e)}}},[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),c("div",{staticClass:"line"})])])},K=[],$=(c("386d"),c("73f5")),tt={name:"GoodSearch",components:{},props:{},data:function(){return{keywords:[],search:""}},mounted:function(){this.getData()},methods:{submit:function(){var t=Object(r["f"])(this.search)||"";t&&this.toSearch(t)},toSearch:function(t){this.$router.push({path:"/goods_list",query:{s:t}})},getData:function(){var t=this;Object($["l"])().then(function(e){t.keywords=e.data})}}},et=tt,ct=(c("1128"),Object(z["a"])(et,q,K,!1,null,"39b87f26",null)),it=ct.exports,nt=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"productSort"},[c("form",{on:{submit:function(e){return e.preventDefault(),t.submitForm(e)}}},[c("div",{ref:"header",staticClass:"header acea-row row-center-wrapper"},[c("div",{staticClass:"acea-row row-between-wrapper input"},[c("span",{staticClass:"iconfont icon-sousuo"}),c("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"text",placeholder:"搜索商品信息"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})])])]),c("div",{staticClass:"aside"},t._l(t.category,function(e,i){return c("div",{key:i,staticClass:"item acea-row row-center-wrapper",class:i===t.navActive?"on":"",on:{click:function(e){return t.asideTap(i)}}},[c("span",[t._v(t._s(e.cate_name))])])}),0),c("div",{staticClass:"conter",nativeOn:{scroll:function(e){return t.onScroll(e)}}},t._l(t.category,function(e,i){return c("div",{key:i,staticClass:"listw"},[c("div",{ref:"title",refInFor:!0,staticClass:"title acea-row row-center-wrapper"},[c("div",{staticClass:"line"}),c("div",{staticClass:"name"},[t._v(t._s(e.cate_name))]),c("div",{staticClass:"line"})]),c("div",{staticClass:"list acea-row"},t._l(e.children,function(e,i){return c("router-link",{key:i,staticClass:"item acea-row row-column row-middle",attrs:{to:{path:"/goods_list",query:{id:e.id,title:e.cate_name}}}},[c("div",{staticClass:"picture"},[c("img",{attrs:{src:e.pic}})]),c("div",{staticClass:"name line1"},[t._v(t._s(e.cate_name))])])}),1)])}),0),c("div",{staticStyle:{height:"1.2rem"}})])},at=[],ot=(c("ac6a"),c("f7fe")),st=c.n(ot),lt={name:"GoodsClass",components:{},props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1}},watch:{"$route.params.pid":function(t){console.log(t),t&&this.activeCateId(t)}},mounted:function(){document.addEventListener("scroll",this.onScroll,!1),this.loadCategoryData()},methods:{activeCateId:function(t){var e=0;t=parseInt(t),t&&(this.category.forEach(function(c,i){c.id===t&&(e=i)}),e!==this.navActive&&this.asideTap(e))},loadCategoryData:function(){var t=this;Object($["d"])().then(function(e){t.category=e.data,t.$nextTick(function(){t.$route.params.pid?t.activeCateId(t.$route.params.pid):t.onScroll()})})},submitForm:function(){var t=this,e=Object(r["f"])(this.search);e&&(this.$router.push({path:"/goods_list",query:{s:e}}),setTimeout(function(){return t.search=""},500))},asideTap:function(t){var e=this.$refs.title[t].offsetTop-this.$refs.header.offsetHeight-window.scrollY;this.lock=!0,window.scrollBy({top:e,left:0,behavior:"smooth"}),this.navActive=t},onScroll:st()(function(){var t=this;if(this.lock)this.lock=!1;else{var e=this.$refs.header.offsetHeight,c=window,i=c.scrollY,n=this.$refs.title;n.reduce(function(c,n,a){if(c)return c;var o=n.parentNode||n.parentElement;return i+e+150?c("div",{staticClass:"administrate acea-row row-center-wrapper",on:{click:t.manage}},[t._v("\n "+t._s(t.footerswitch?"取消":"管理")+"\n ")]):t._e()]),t.cartList.valid.length>0||t.cartList.invalid.length>0?c("div",[c("div",{staticClass:"list"},t._l(t.cartList.valid,function(e,i){return c("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[c("div",{staticClass:"select-btn"},[c("div",{staticClass:"checkbox-wrapper"},[c("label",{staticClass:"well-check"},[c("input",{attrs:{type:"checkbox",name:"",value:""},domProps:{checked:e.checked},on:{click:function(e){return t.switchSelect(i)}}}),c("i",{staticClass:"icon"})])])]),c("div",{staticClass:"picTxt acea-row row-between-wrapper"},[c("div",{staticClass:"pictrue",on:{click:function(c){return t.$router.push({path:"/detail/"+e.product_id})}}},[e.productInfo.attrInfo?c("img",{attrs:{src:e.productInfo.attrInfo.image}}):c("img",{attrs:{src:e.productInfo.image}})]),c("div",{staticClass:"text"},[c("div",{staticClass:"line1"},[t._v(t._s(e.productInfo.store_name))]),e.productInfo.attrInfo?c("div",{staticClass:"infor line1"},[t._v("\n 属性:"+t._s(e.productInfo.attrInfo.suk)+"\n ")]):t._e(),c("div",{staticClass:"money"},[t._v("¥"+t._s(e.truePrice))])]),c("div",{staticClass:"carnum acea-row row-center-wrapper"},[c("div",{staticClass:"reduce",class:t.cartList.valid[i].cart_num<=1?"on":"",on:{click:function(e){return e.preventDefault(),t.reduce(i)}}},[t._v("\n -\n ")]),c("div",{staticClass:"num"},[t._v(t._s(e.cart_num))]),t.cartList.valid[i].attrInfo?c("div",{staticClass:"plus",class:t.cartList.valid[i].cart_num>=t.cartList.valid[i].attrInfo.stock?"on":"",on:{click:function(e){return e.preventDefault(),t.plus(i)}}},[t._v("\n +\n ")]):c("div",{staticClass:"plus",class:t.cartList.valid[i].cart_num>=t.cartList.valid[i].stock?"on":"",on:{click:function(e){return e.preventDefault(),t.plus(i)}}},[t._v("\n +\n ")])])])])}),0),t.cartList.invalid.length>0?c("div",{staticClass:"invalidGoods"},[c("div",{staticClass:"goodsNav acea-row row-between-wrapper"},[c("div",{on:{click:t.goodsOpen}},[c("span",{staticClass:"iconfont",class:!0===t.goodsHidden?"icon-xiangyou":"icon-xiangxia"}),t._v("失效商品\n ")]),c("div",{staticClass:"del",on:{click:t.delInvalidGoods}},[c("span",{staticClass:"iconfont icon-shanchu1"}),t._v("清空\n ")])]),c("div",{staticClass:"goodsList",attrs:{hidden:t.goodsHidden}},t._l(t.cartList.invalid,function(e,i){return c("router-link",{key:i,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+e.product_id}}},[c("div",{staticClass:"invalid acea-row row-center-wrapper"},[t._v("失效")]),c("div",{staticClass:"pictrue"},[e.productInfo.attrInfo?c("img",{attrs:{src:e.productInfo.attrInfo.image}}):c("img",{attrs:{src:e.productInfo.image}})]),c("div",{staticClass:"text acea-row row-column-between"},[c("div",{staticClass:"line1"},[t._v(t._s(e.productInfo.store_name))]),e.productInfo.attrInfo?c("div",{staticClass:"infor line1"},[t._v("\n 属性:"+t._s(e.productInfo.attrInfo.suk)+"\n ")]):t._e(),c("div",{staticClass:"acea-row row-between-wrapper"},[c("div",{staticClass:"end"},[t._v("该商品已下架")])])])])}),1)]):t._e()]):t._e(),0===t.cartList.valid.length&&0===t.cartList.invalid.length?c("div",{staticClass:"noCart"},[t._m(1),c("Recommend")],1):t._e(),c("div",{staticStyle:{height:"2.1rem"}}),t.cartList.valid.length>0?c("div",{staticClass:"footer acea-row row-between-wrapper"},[c("div",[c("div",{staticClass:"select-btn"},[c("div",{staticClass:"checkbox-wrapper"},[c("label",{staticClass:"well-check"},[c("input",{attrs:{type:"checkbox",name:"",value:""},domProps:{checked:t.isAllSelect&&t.cartCount>0},on:{click:t.allChecked}}),c("i",{staticClass:"icon"}),c("span",{staticClass:"checkAll"},[t._v("全选 ("+t._s(t.cartCount)+")")])])])])]),!1===t.footerswitch?c("div",{staticClass:"money acea-row row-middle"},[c("span",{staticClass:"font-color-red"},[t._v("¥"+t._s(t.countmoney))]),c("div",{staticClass:"placeOrder bg-color-red",on:{click:t.placeOrder}},[t._v("立即下单")])]):c("div",{staticClass:"button acea-row row-middle"},[c("div",{staticClass:"bnt cart-color",on:{click:t.collectAll}},[t._v("收藏")]),c("div",{staticClass:"bnt",on:{click:t.delgoods}},[t._v("删除")])])]):t._e()])},mt=[function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"labelNav acea-row row-around row-middle"},[c("div",{staticClass:"item"},[c("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("100%正品保证\n ")]),c("div",{staticClass:"item"},[c("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("所有商品精挑细选\n ")]),c("div",{staticClass:"item"},[c("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("售后无忧\n ")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c("93ea")}})])}],pt=c("f410"),vt=c("9fd0"),ft="cart_checked",bt={name:"ShoppingCart",components:{Recommend:pt["a"]},props:{},data:function(){return{cartList:{invalid:[],valid:[]},isAllSelect:!1,cartCount:0,countmoney:0,goodsHidden:!0,footerswitch:!1,count:0,checkedIds:[],loaded:!1}},watch:{$route:function(t){"ShoppingCart"===t.name&&(this.carnum(),this.countMoney(),this.getCartList(),this.gainCount(),this.goodsHidden=!0,this.footerswitch=!1)}},mounted:function(){var t=this;t.carnum(),t.countMoney(),t.getCartList(),t.gainCount()},methods:{getCartList:function(){var t=this,e=this;Object($["c"])().then(function(c){e.cartList=c.data;var i=m["a"].get(ft)||[];Array.isArray(i)||(i=[]),t.cartList.valid.forEach(function(t){-1!==i.indexOf(t.id)&&(t.checked=!0)}),i.length&&(e.checkedIds=i,e.isAllSelect=i.length===t.cartList.valid.length,e.carnum(),e.countMoney()),t.loaded=!0})},delgoods:function(){var t=this,e=[],c=[],i=t.cartList.valid;i.forEach(function(t){!0===t.checked&&e.push(t.id)}),0!==e.length?Object($["n"])(e).then(function(){i.forEach(function(t,e){!1!==t.checked&&void 0!==t.checked||c.push(i[e])}),t.$set(t.cartList,"valid",c),t.carnum(),t.countMoney(),t.gainCount()}):t.$dialog.toast({mes:"请选择产品"})},gainCount:function(){var t=this;Object($["b"])().then(function(e){t.count=e.data.count})},delInvalidGoods:function(){var t=this,e=[],c=t.cartList.invalid;c.forEach(function(t){e.push(t.id)}),Object($["n"])(e).then(function(){c.splice(0,c.length),t.gainCount()})},collectAll:function(){var t=this,e={id:[],category:""},c=t.cartList.valid;c.forEach(function(t){!0===t.checked&&(e.id.push(t.product_id),e.category=t.type)}),0!==e.id.length?Object(l["J"])(e).then(function(){t.$dialog.toast({mes:"收藏成功!"})}):t.$dialog.toast({mes:"请选择产品"})},placeOrder:function(){var t=this,e=t.cartList.valid,c=[];e.forEach(function(t){!0===t.checked&&c.push(t.id)}),0!==c.length?this.$router.push({path:"/order/submit/"+c}):t.$dialog.toast({mes:"请选择产品"})},manage:function(){var t=this;t.footerswitch=!t.footerswitch},goodsOpen:function(){var t=this;t.goodsHidden=!t.goodsHidden},plus:function(t){var e=this,c=e.cartList.valid[t];c.cart_num++,c.attrInfo?c.cart_num>=c.attrInfo.stock&&e.$set(c,"cart_num",c.attrInfo.stock):c.cart_num>=c.stock&&e.$set(c,"cart_num",c.stock),e.carnum(),e.countMoney(),e.syncCartNum(c)},reduce:function(t){var e=this,c=e.cartList.valid[t];c.cart_num--,c.cart_num<1&&e.$set(c,"cart_num",1),e.carnum(),e.countMoney(),e.syncCartNum(c)},syncCartNum:function(t){t.sync||(t.sync=st()(function(){Object($["a"])(t.id,Math.max(t.cart_num,1)||1)},500)),t.sync()},switchSelect:function(t){var e=this,c=e.cartList.valid[t],i=this.checkedIds.indexOf(c.id);c.checked=!c.checked,-1!==i&&this.checkedIds.splice(i,1),c.checked&&this.checkedIds.push(c.id);for(var n=e.cartList.valid.length,a=[],o=0;o0?i("div",{staticClass:"vip-money"},[t._v("\n ¥"+t._s(e.vip_price)),i("img",{attrs:{src:c("69ed")}})]):t._e(),i("div",[t._v("已售"+t._s(e.sales)+"件")])])])])}),1),i("Loading",{attrs:{loaded:t.loadend,loading:t.loading}}),0===t.productList.length&&t.where.page>1?i("div",{staticClass:"noCommodity",staticStyle:{"background-color":"#fff"}},[t._m(0)]):t._e(),0===t.productList.length&&t.where.page>1?i("Recommend"):t._e()],1)},yt=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"noPictrue"},[i("img",{staticClass:"image",attrs:{src:c("0c36")}})])}],At=c("3a5e"),kt={name:"GoodsList",components:{Recommend:pt["a"],Loading:At["a"]},props:{},data:function(){var t=this.$route.query,e=t.s,c=void 0===e?"":e,i=t.id,n=void 0===i?0:i,a=t.title,o=void 0===a?"":a;return{hostProduct:[],productList:[],Switch:!0,where:{page:1,limit:8,keyword:c,sid:n,news:0,priceOrder:"",salesOrder:""},title:o&&n?o:"",loadTitle:"",loading:!1,loadend:!1,price:0,stock:0,nows:!1}},watch:{title:function(){this.updateTitle()},$route:function(t){if("GoodsList"===t.name){var e=t.query,c=e.s,i=void 0===c?"":c,n=e.id,a=void 0===n?0:n,o=e.title,s=void 0===o?"":o;i===this.where.keyword&&a===this.where.sid||(this.where.keyword=i,this.loadend=!1,this.loading=!1,this.where.page=1,this.where.sid=a,this.title=s&&a?s:"",this.nows=!1,this.$set(this,"productList",[]),this.price=0,this.stock=0,this.get_product_list())}}},mounted:function(){var t=this;this.updateTitle(),this.get_product_list(),this.$scroll(this.$refs.container,function(){!t.loading&&t.get_product_list()})},methods:{updateTitle:function(){document.title=this.title||this.$route.meta.title},get_product_list:st()(function(){var t=this;if(!t.loading&&!t.loadend){t.loading=!0,this.setWhere();var e=t.where;Object($["i"])(e).then(function(e){t.loading=!1,t.productList.push.apply(t.productList,e.data),t.loadend=e.data.length1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h(Object.assign({url:t,data:c,method:e},r,i))},t},{});["get","delete","head"].forEach(function(t){u[t]=function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h(Object.assign({url:e,params:c,method:t},r,i))}}),e["a"]=u},be35:function(t,e,c){},c1eb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5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2Iqm+K8mukagm30CuXVLtT2dVYX0m0f/rYU67Q2N/eZ3mj8AKVcZRsfeQDBQD0Adr7A6VEGAHQD9AW6Ox9zCbGT3thorF2/jsCJJv6rXfJY79VAiVkmWnXY7eBuXU5Q/VZNQDdSQ6A6bhRwlyLw0ep6PTNGOeOMW/ZQuzLljE2pVI8jq0Cymtq1d2+491M6E9pXztxGFEWpTtSlza6gg5UuALEclPvMrCvmNeXyjMAR4+wuu2iQnudmGgqYTaulkjjSlH8vej3A9aKEW9OhR/Bk1hMX7RY6sTF3l/pG9pi9T67Nz83jeb4sNqgo8ro6COmfsNv+5qyiU9vbx57bgbZ/QylGAWQGvuQTfDCJ55su5G89FPHwWw5aODiHaCnrYBEk8+q2I915jTvYyMJysZTy1I/3LyC/gPr9aPgv3h3G83on67SOnx01ZxTstvh/VsRdYHQzv4DSFO5HOwEINs9oFqiPAPE4JuMfUC2c6RSR5wLJtqEJB9qPxAIKq7JdyIAL2dlZeK7kOW08HcbC48gNB2ZzRe/REfAjEA8u3RVgAO57hJQMe3t0AAAAAElFTkSuQmCC"},c24f:function(t,e,c){"use strict";c.d(e,"F",function(){return n}),c.d(e,"G",function(){return a}),c.d(e,"Q",function(){return o}),c.d(e,"O",function(){return s}),c.d(e,"P",function(){return l}),c.d(e,"o",function(){return r}),c.d(e,"p",function(){return h}),c.d(e,"b",function(){return u}),c.d(e,"q",function(){return d}),c.d(e,"B",function(){return m}),c.d(e,"C",function(){return p}),c.d(e,"t",function(){return v}),c.d(e,"f",function(){return f}),c.d(e,"g",function(){return b}),c.d(e,"e",function(){return g}),c.d(e,"d",function(){return z}),c.d(e,"H",function(){return w}),c.d(e,"m",function(){return M}),c.d(e,"l",function(){return y}),c.d(e,"J",function(){return A}),c.d(e,"k",function(){return k}),c.d(e,"u",function(){return C}),c.d(e,"v",function(){return I}),c.d(e,"w",function(){return x}),c.d(e,"L",function(){return L}),c.d(e,"K",function(){return j}),c.d(e,"y",function(){return B}),c.d(e,"A",function(){return O}),c.d(e,"z",function(){return N}),c.d(e,"n",function(){return E}),c.d(e,"r",function(){return S}),c.d(e,"i",function(){return _}),c.d(e,"I",function(){return R}),c.d(e,"D",function(){return H}),c.d(e,"E",function(){return G}),c.d(e,"h",function(){return V}),c.d(e,"c",function(){return D}),c.d(e,"x",function(){return Z}),c.d(e,"M",function(){return T}),c.d(e,"j",function(){return U}),c.d(e,"R",function(){return Y}),c.d(e,"N",function(){return Q}),c.d(e,"s",function(){return W}),c.d(e,"a",function(){return F}),c.d(e,"S",function(){return P});var i=c("b775");function n(t){return i["a"].post("/login",t,{login:!1})}function a(t){return i["a"].post("/login/mobile",t,{login:!1})}function o(t){return i["a"].post("/register/verify",t,{login:!1})}function s(t){return i["a"].post("/register",t,{login:!1})}function l(t){return i["a"].post("/register/reset",t,{login:!1})}function r(t){return i["a"].get("/coupons",t,{login:!1})}function h(t){return i["a"].post("/coupon/receive",{couponId:t},{login:!0})}function u(t){return i["a"].post("/coupon/receive/batch",{couponId:t})}function d(t){return i["a"].get("/coupons/user/"+t)}function m(){return i["a"].get("/user")}function p(){return i["a"].get("/userinfo")}function v(){return i["a"].get("/menu/user")}function f(t){return i["a"].get("/address/list",t||{})}function b(t){return i["a"].post("/address/del",{id:t})}function g(t){return i["a"].post("/address/default/set",{id:t})}function z(t){return i["a"].get("/address/detail/"+t)}function w(t){return i["a"].post("/address/edit",t)}function M(t,e){return i["a"].get("/collect/user",{page:t,limit:e})}function y(t,e){return i["a"].post("/collect/del",{id:t,category:e})}function A(t){return i["a"].post("/collect/all",t)}function k(t,e){return i["a"].post("collect/add",{id:t,category:e})}function C(){return i["a"].get("/sign/config")}function I(t,e){return i["a"].get("/sign/list",{page:t,limit:e})}function x(t,e){return i["a"].get("/sign/month",{page:t,limit:e})}function L(t){return i["a"].post("/sign/user",t)}function j(t){return i["a"].post("/sign/integral",t)}function B(){return i["a"].get("/commission")}function O(t){return i["a"].post("/spread/people",t)}function N(t){return i["a"].post("/spread/order",t)}function E(t,e){return i["a"].get("/spread/commission/"+e,t)}function S(t){return i["a"].get("/integral/list",t)}function _(){return i["a"].get("/extract/bank")}function R(t){return i["a"].post("/extract/cash",t)}function H(){return i["a"].get("/user/level/grade")}function G(t){return i["a"].get("/user/level/task/"+t)}function V(){return i["a"].get("/user/balance")}function D(){return i["a"].get("/user/activity",{},{login:!1})}function Z(){return i["a"].get("/spread/banner")}function T(t){return i["a"].post("/user/edit",t)}function U(t,e){return i["a"].get("user/service/record/"+t,e)}function Y(){return i["a"].get("user/service/list")}function Q(t){return i["a"].post("/recharge/wechat",t)}function W(){return i["a"].get("/logout")}function F(t){return i["a"].post("binding",t)}function P(){return i["a"].post("switch_h5",{from:"wechat"})}},c901:function(t,e,c){t.exports=c.p+"h5/img/three.2162defb.png"},cb6e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG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GHDMdB4HO50L66lvHJ/wIMAB4Y0KasKiV5AAAAAElFTkSuQmCC"},cba2:function(t,e,c){"use strict";c.d(e,"b",function(){return s});var i=c("cebc"),n=(c("ac6a"),c("456d"),c("c908")),a={confirm:n["Confirm"],alert:n["Alert"],toast:n["Toast"],notify:n["Notify"],loading:n["Loading"]},o={error:"操作失败",success:"操作成功"};function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"message";return a[e](t.errors[0].message)}Object.keys(o).reduce(function(t,e){return t[e]=function(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(a){Object(n["Toast"])(Object(i["a"])({mes:t||o[e],timeout:1e3,icon:e,callback:function(){a()}},c))})},t},a),a.message=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"操作失败",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(c){Object(n["Toast"])(Object(i["a"])({mes:t,timeout:1e3,callback:function(){c()}},e))})},a.validateError=function(){s.apply(void 0,arguments)},e["a"]=a},d0a4:function(t,e,c){"use strict";c("456d"),c("ac6a"),c("28a5"),c("3b2b"),c("a481");var i=c("ed08"),n=window.document;function a(t){if(!t||!h(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return JSON.parse(unescape(n.cookie.replace(new RegExp(e),"$1")))}function o(){for(var t=n.cookie.split(/; ?/g),e={},c=t.length-1;c>=0;c--)if(Object(i["f"])(t[c])){var a=t[c].split("="),o=unescape(a[0]);e[o]=unescape(a[1])}return e}function s(t,e,c){if(t){var a,o="Tue, 19 Jan 2038 03:14:07 GMT";if(c)Object(i["c"])(c,"Date")?a=c:(a=new Date,a.setTime(a.getTime()+6e4*c)),o=a.toGMTString();e=JSON.stringify(e),n.cookie=escape(t)+"="+escape(e)+"; expires="+o+"; path=/"}}function l(t){t&&h(t)&&(n.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function r(){Object.keys(o()).forEach(function(t){l(t)})}function h(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[-.+*]/g,"\\$&")+"\\s*\\=").test(n.cookie)}e["a"]={get:a,all:o,set:s,remove:l,clearAll:r,has:h}},d304:function(t,e,c){"use strict";var i=c("91bb"),n=c.n(i);n.a},d30b:function(t,e,c){"use strict";c.d(e,"a",function(){return l});c("a481"),c("7f7f");var i=c("a18c"),n=c("4360"),a=c("d0a4"),o=c("ed08"),s=c("74f9");function l(t,e){n["a"].commit("LOGOUT");var c=i["a"].currentRoute,l=c.fullPath,r=c.name;a["a"].set("login_back_url",e||l),Object(o["d"])()?Object(s["oAuth"])():"Login"!==r&&(t?i["a"].push({path:"/login"}):i["a"].replace({path:"/login"}))}},d829:function(t,e,c){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"goodList"},t._l(t.goodList,function(e,n){return i("router-link",{key:n,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+e.id}}},[i("div",{staticClass:"pictrue"},[i("img",{staticClass:"image",attrs:{src:e.image}}),!0===t.isSort&&0===n?i("img",{staticClass:"numPic",attrs:{src:c("04fb")}}):t._e(),!0===t.isSort&&1===n?i("img",{staticClass:"numPic",attrs:{src:c("2e8f")}}):t._e(),!0===t.isSort&&2===n?i("img",{staticClass:"numPic",attrs:{src:c("c901")}}):t._e()]),i("div",{staticClass:"underline"},[i("div",{staticClass:"text"},[i("div",{staticClass:"line1"},[t._v(t._s(e.store_name))]),i("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(e.price))])]),i("div",{staticClass:"vip-money acea-row row-middle"},[e.vip_price&&e.vip_price>0?i("div",{staticClass:"vip"},[t._v("\n ¥"+t._s(e.vip_price||0)),i("img",{staticClass:"image",attrs:{src:c("69ed")}})]):t._e(),i("span",{staticClass:"num"},[t._v("已售"+t._s(e.sales)+t._s(e.unit_name))])])])]),i("div",{staticClass:"iconfont icon-gouwuche cart-color acea-row row-center-wrapper"})])}),1)},n=[],a={name:"GoodList",props:{goodList:{type:Array,default:function(){return[]}},isSort:{type:Boolean,default:!0}},data:function(){return{}}},o=a,s=c("2877"),l=Object(s["a"])(o,i,n,!1,null,null,null);e["a"]=l.exports},dab9:function(t,e,c){},e222:function(t,e){!function(t){var e,c='',i=(e=document.getElementsByTagName("script"))[e.length-1].getAttribute("data-injectcss");if(i&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(e){console&&console.log(e)}}!function(e){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(e,0);else{var c=function t(){document.removeEventListener("DOMContentLoaded",t,!1),e()};document.addEventListener("DOMContentLoaded",c,!1)}else document.attachEvent&&(n=e,a=t.document,o=!1,(s=function(){try{a.documentElement.doScroll("left")}catch(e){return void setTimeout(s,50)}i()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,i())});function i(){o||(o=!0,n())}var n,a,o,s}(function(){var t,e;(t=document.createElement("div")).innerHTML=c,c=null,(e=t.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",function(t,e){e.firstChild?function(t,e){e.parentNode.insertBefore(t,e)}(t,e.firstChild):e.appendChild(t)}(e,document.body))})}(window)},e4fb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9I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ANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+OLziB8TzoeowNE8A4mgG/AAk34euuRKI8xiIAwVAXAFisABxJhC3MZAGQOo/skBDVpmBdPAXpPkhA5kApFkeiJnJtdkLiKeRoTkLFNrTgbiGRI2g2JkOi6pWIJ5MpMaJQNyBnkjygXgpAY0g+UJsKew/NPttxqFxExAnQtVhzRi/gDgCiI+jiR8F4kgg/k0oS34DYk8gvgzlg2hvqDhRhcFHqAE7gNgdyscAAAEGAGMOLKKfpm4VAAAAAElFTkSuQmCC"},e5b7:function(t,e,c){},e5d0:function(t,e,c){},e876:function(t,e,c){"use strict";c.d(e,"f",function(){return n}),c.d(e,"a",function(){return a}),c.d(e,"b",function(){return o}),c.d(e,"d",function(){return s}),c.d(e,"e",function(){return l}),c.d(e,"h",function(){return r}),c.d(e,"c",function(){return h}),c.d(e,"i",function(){return u}),c.d(e,"j",function(){return d}),c.d(e,"g",function(){return m});var i=c("b775");function n(){return i["a"].get("index",{},{login:!1})}function a(){return i["a"].get("/article/banner/list",{},{login:!1})}function o(){return i["a"].get("/article/category/list",{},{login:!1})}function s(){return i["a"].get("/article/hot/list",{},{login:!1})}function l(t,e){return i["a"].get("/article/list/"+e,t,{login:!1})}function r(){return i["a"].get("/share",{},{login:!1})}function h(t){return i["a"].get("/article/details/"+t,{},{login:!1})}function u(){return i["a"].get("/wechat/config",{url:document.location.href},{login:!1})}function d(t,e,c){return i["a"].get("/wechat/auth",{code:t,spread:e,login_type:c},{login:!1})}function m(){return i["a"].get("/logistics",{},{login:!1})}},ed08:function(t,e,c){"use strict";c.d(e,"f",function(){return i}),c.d(e,"c",function(){return n}),c.d(e,"d",function(){return a}),c.d(e,"e",function(){return o}),c.d(e,"a",function(){return s}),c.d(e,"b",function(){return l});c("ac6a"),c("28a5"),c("a481"),c("6b54");function i(t){return String.prototype.trim.call(t)}function n(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"}function a(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}function o(){var t={},e=(location.href.split("?")[1]||"").trim().replace(/^(\?|#|&)/,"");return e?(e.split("&").forEach(function(e){var c=e.replace(/\+/g," ").split("="),i=decodeURIComponent(c.shift()),n=c.length>0?decodeURIComponent(c.join("=")):null;void 0===t[i]?t[i]=n:Array.isArray(t[i])?t[i].push(n):t[i]=[t[i],n]}),t):t}var s="".concat(location.origin,"/api"),l="ws:".concat(location.hostname,":20003")},f410:function(t,e,c){"use strict";var i=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{ref:"container",staticClass:"recommend"},[t._m(0),c("div",{staticClass:"recommendList acea-row row-between-wrapper"},t._l(t.hostProduct,function(e,i){return c("router-link",{key:i,staticClass:"item",attrs:{to:{path:"/detail/"+e.id}}},[c("div",{staticClass:"pictrue"},[c("img",{staticClass:"image",attrs:{src:e.image}})]),c("div",{staticClass:"name line1"},[t._v(t._s(e.store_name))]),c("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),c("span",{staticClass:"num"},[t._v(t._s(e.price))])])])}),1),c("Loading",{attrs:{loaded:t.loadend,loading:t.loading}})],1)},n=[function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"title acea-row row-center-wrapper"},[c("span",{staticClass:"iconfont icon-zhuangshixian"}),c("span",{staticClass:"name"},[t._v("为你推荐")]),c("span",{staticClass:"iconfont icon-zhuangshixian lefticon"})])}],a=c("73f5"),o=c("3a5e"),s={name:"Recommend",props:{},components:{Loading:o["a"]},data:function(){return{hostProduct:[],page:1,limit:20,loadTitle:"",loading:!1,loadend:!1}},mounted:function(){var t=this;this.hostProducts(),this.$scroll(this.$refs.container.parentElement,function(){!t.loading&&t.hostProducts()})},methods:{hostProducts:function(){var t=this;t.loading||t.loadend||(t.loading=!0,Object(a["f"])(t.page,t.limit).then(function(e){t.loading=!1,t.hostProduct.push.apply(t.hostProduct,e.data),t.loadend=e.data.length