(function(t){function e(e){for(var n,i,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,w=c("74f9"),M=c("e876"),y=c("ed08");function k(t){return void 0===t.meta.keepAlive||t.meta.keepAlive}var A={data:function(){return{transitionName:"fold-right",include:k(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]||{},n=this.$router,i=n.isReplace,a=n.isBack;if(c.path===t.path?(this.transitionName="fold-right",this.history.pop()):(this.transitionName="fold-left",i||this.history.push({path:e.path,name:e.name})),k(t)&&"Login"!==t.name&&!this.include.includes(t.name)&&this.include.push(t.name),k(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")}},mounted:function(){this.setOpenShare()},methods:{setOpenShare:function(){Object(y["d"])()&&Object(M["h"])().then(function(t){var e=t.data.data,c={desc:e.synopsis,title:e.title,link:location.href,imgUrl:e.img};Object(w["openShareAll"])(c)})}}},C=A,I=(c("5c0b"),Object(h["a"])(C,i,a,!1,null,null,null)),x=I.exports,L=c("a18c"),j=c("4360"),B=c("77ed"),O=c.n(B),S=c("a15e"),E=c.n(S),N=c("cba2"),_=(c("ac6a"),[]),H=function(t,e){_.push({dom:t,fn:e}),e._index=_.length-1};H.remove=function(t){t._index&&_.splice(t._index,1)};var R={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;_.filter(function(t){return t.dom.scrollHeight&&t.dom.scrollHeight>0}).forEach(function(c){var n=c.dom.scrollHeight,i=Math.ceil(e/(n-t)*100);i>85&&c.fn()})})}};R.listenTouchDirection();var V=H,G=c("d0a4");c("e222"),c("be35"),c("756e"),c("4b8a"),c("3aff"),c("4ee2"),c("6672");n["default"].use(O.a),n["default"].config.productionTip=!1,n["default"].config.devtools=!1,n["default"].prototype.$validator=function(t){return new E.a(t)},n["default"].prototype.$scroll=V,n["default"].prototype.$dialog=N["a"];var D="clear_0.0.1";G["a"].has(D)||(G["a"].clearAll(),G["a"].set(D,1));var Z=Object(y["e"])()["spread"];if(void 0!==Z){var T=G["a"].get("spread");Z=parseInt(Z),(Number.isNaN(Z)||T===Z)&&0!==T&&"number"===typeof T||G["a"].set("spread",Z||0)}var U=Object(y["d"])();if(U){var Y=function(){return Promise.resolve().then(c.bind(null,"74f9"))};Y().then(function(t){t.default().then(function(){return t.oAuth()})})}var Q=new n["default"]({router:L["a"],store:j["a"],render:function(t){return t(x)}});setTimeout(function(){Q.$mount("#app")},300)},"5c0b":function(t,e,c){"use strict";var n=c("5e27"),i=c.n(n);i.a},"5e27":function(t,e,c){},6672:function(t,e,c){},6918:function(t,e,c){"use strict";var n=c("1218"),i=c.n(n);i.a},"69ed":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAVCAYAAAA5BNxZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8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Tj7KWGGiz6xVnFiUqjDD5OUVWgOaEezyvJPC3I1QMQ6TlJ23hv23TcsyzhkVWEixeAd3aZkQYoGG+DUUO1svjlFGHf99KneO2BrP+RfoYdJRjlBPG6FFhnTnQ18G7Ke7WHW92qYgklifvR7nGc+StizeMeq+51GDoeuvyU5JT1nZJ0NoYadbrJH43zoT6Wc6JK2FS9N67WzNRpA6OsKha6WO4DXx/4l4E3+SIhbHitrUZJV6kBQuZxsArjZW9AVV4rB+mVQRbpIKeVG5nXkFNZLjehl7uWFtJKaSmRqSqNIZkHPtzdUtBn/k748mCnio6WvxwhK6PB6ngo3s9RVD2hug9sf+277KvNiaTewl5rbtLlxsvjtHmxPlu/a4+dv5d+2xuHhbuepfTrZdwJt33p73OvL/t97vGp9PxFbznLSzd8dapcrkx281W86YxF4jlnpU37CxkLViJjIP1Boenq8iXuo97OVQpL+H1SSikVhDYU1XtRHRmVruSCOuy6gFfgU0nrzM1S0mL+cVCBt9tTvCW3K1d0prcz/qJKGQbNt4UPym01nvKdQda0eeI59rTqkhLNNLtu4BXchOJzBRq5dDmXshFBwbjYXa/NlNR2yn2P7NPqmtTTMbAJWru1AUXgFx8MJGkXRyalIv4fj/fSRqSVVsoJB+O/wHWp8pJWIGf3QKJcNWSPs9+DiSlQCph4XiMhLEziGOnRo+7RiPDznwADAFHt+7vHV3GfAAAAAElFTkSuQmCC"},"73f5":function(t,e,c){"use strict";c.d(e,"d",function(){return i}),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 n=c("b775");function i(){return n["a"].get("/category",{},{login:!1})}function a(t){return n["a"].get("/product/detail/"+t,{},{login:!1})}function o(t){return n["a"].get("/product/code/"+t,{},{login:!0})}function s(t){return n["a"].get("/products",t,{login:!1})}function l(t,e){return n["a"].get("/product/hot",{page:t,limit:e},{login:!1})}function r(t){return n["a"].get("/groom/list/"+t,{},{login:!1})}function h(t){return n["a"].post("/cart/add",t)}function u(){return n["a"].get("/cart/list")}function d(t){return n["a"].post("/cart/del",{ids:t})}function m(t){return n["a"].get("/cart/count",t)}function p(t,e){return n["a"].post("/cart/num",{id:t,number:e})}function v(){return n["a"].get("/search/keyword",{},{login:!1})}function f(t,e){return n["a"].get("/reply/list/"+t,e,{login:!1})}function b(t){return n["a"].get("/reply/config/"+t,{},{login:!1})}function g(t){return n["a"].post("/order/product",{unique:t},{login:!1})}function z(t){return n["a"].post("/order/comment",t,{login:!1})}},"74f9":function(t,e,c){"use strict";c.r(e),c.d(e,"default",function(){return z}),c.d(e,"clearAuthStatus",function(){return w}),c.d(e,"oAuth",function(){return M}),c.d(e,"auth",function(){return y}),c.d(e,"toAuth",function(){return k}),c.d(e,"pay",function(){return I}),c.d(e,"openAddress",function(){return x}),c.d(e,"openShareAll",function(){return L}),c.d(e,"openShareAppMessage",function(){return j}),c.d(e,"openShareTimeline",function(){return B}),c.d(e,"wechatEvevt",function(){return O}),c.d(e,"ready",function(){return S});c("7f7f"),c("ac6a");var n,i,a=c("7618"),o=c("cebc"),s=(c("28a5"),c("386d"),c("90fa")),l=c.n(s),r=c("e876"),h=c("ed08"),u=c("d0a4"),d=c("4360"),m=c("5a0c"),p=c.n(m),v="wx_authorize_state",f="wx_auth",b="login_back_url",g="loginType";function z(){return new Promise(function(t,e){if(n)return t(n);Object(r["i"])().then(function(c){var a=l()(c.data);i=a,a.initialize().then(function(){n=a.wx,n.initConfig=c.data,t(n)}).catch(e)}).catch(function(t){console.log(t),e(t)})})}function w(){u["a"].remove(f),u["a"].remove(v)}function M(){if(!u["a"].has(f)||!d["a"].state.app.token){var t=Object(h["e"])(),e=t.code;return e?void 0:k()}}function y(t){return new Promise(function(e,c){var n=u["a"].get(g);Object(r["k"])(t,parseInt(u["a"].get("spread")),n).then(function(c){var i=c.data,a=p()(i.expires_time),o=Math.round(new Date/1e3);d["a"].commit("LOGIN",i.token,a-o),u["a"].set(f,t,a),u["a"].remove(v),n&&u["a"].remove("loginType"),e()}).catch(c)})}function k(){z().then(function(t){location.href=A(t.initConfig.appId)})}function A(t){var e=encodeURIComponent("".concat(location.origin,"/auth/")+encodeURIComponent(encodeURIComponent(u["a"].has(b)?u["a"].get(b):location.pathname+location.search)));u["a"].remove(b);var c=encodeURIComponent((""+Math.random()).split(".")[1]+"authorizestate");return u["a"].set(v,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 C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(c,n){t(Object(o["a"])({},e,{success:function(t){c(t)},fail:function(t){n(t)},complete:function(t){n(t)},cancel:function(t){n(t)}}))})}function I(t){return C(n.chooseWXPay,t)}function x(){return C(n.openAddress)}function L(t){return t.type=void 0==t.type?"link":t.type,new Promise(function(e){Object(r["i"])().then(function(c){i.signSignature({nonceStr:c.data.nonceStr,signature:c.data.signature,timestamp:c.data.timestamp}),n=i.getOriginalWx(),n.ready(function(){n.updateAppMessageShareData(t),n.updateTimelineShareData(t),e()})})})}function j(t){n.updateAppMessageShareData(t),n.onMenuShareAppMessage&&n.onMenuShareAppMessage(t)}function B(t){n.updateTimelineShareData(t),n.onMenuShareTimeline&&n.onMenuShareTimeline(t)}function O(t,e){return new Promise(function(c,o){var s={fail:function(e){e.errMsg==t+":permission denied"&&i?Object(r["i"])().then(function(t){i.signSignature({nonceStr:t.data.nonceStr,signature:t.data.signature,timestamp:t.data.timestamp}),o({is_ready:!0,wx:i.getOriginalWx()})}):o(e)},success:function(t){c(t)}};Object.assign(s,e),"undefined"!==typeof n?n.ready(function(){"object"===Object(a["a"])(t)?t.forEach(function(t){n[t]&&n[t](s)}):n[t]&&n[t](s)}):Object(r["i"])().then(function(e){var c=l()(e.data);c.initialize().then(function(){n=c.getOriginalWx(),n.ready(function(){"object"===Object(a["a"])(t)?t.forEach(function(t){n[t]&&n[t](s)}):n[t]&&n[t](s)})})})})}function S(){return new Promise(function(t){"undefined"!==typeof n?n.ready(function(){t(n)}):Object(r["i"])().then(function(e){var c=l()(e.data);c.initialize().then(function(){n=c.wx,n.ready(function(){t(n)})})})})}},"756e":function(t,e){(function(t,e){var c=e.documentElement,n=t.devicePixelRatio||1;function i(){e.body||e.addEventListener("DOMContentLoaded",i)}function a(){var t=c.clientWidth/7.5;c.style.fontSize=t+"px"}if(i(),a(),t.addEventListener("resize",a),t.addEventListener("pageshow",function(t){t.persisted&&a()}),n>=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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbn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4qUENILkC7GlsP/Q7LcZh8ZNQJwIVYc1Y/wC4gggPo4mfhSII4H4N6Es+Q2IPYH4MpQPor2h4kQVBh+hBuwAYncoHwMABBgABy8t3vXX4OYAAAAASUVORK5CYII="},8715:function(t,e,c){"use strict";var n=c("219d"),i=c.n(n);i.a},"8c33":function(t,e,c){"use strict";var n=c("0878"),i=c.n(n);i.a},"91bb":function(t,e,c){},"91c8":function(t,e,c){"use strict";var n=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,n){return c("router-link",{key:n,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()},i=[],a={name:"PromotionGood",props:{benefit:{type:Array,default:function(){return[]}}},data:function(){return{}}},o=a,s=c("2877"),l=Object(s["a"])(o,n,i,!1,null,null,null);e["a"]=l.exports},"927b":function(t,e,c){t.exports=c.p+"h5/img/close.446e8669.gif"},"93ea":function(t,e,c){t.exports=c.p+"h5/img/noCart.6f2abfef.png"},"9b31":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1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bj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn93ow0AAAEASURBVHjaYnxprMyAA0gD8RwgTgLi59gUMOHQyA/E24HYA4h3QvlEaeYC4m1ArAvlg+gtUHG8mtmAeAUQW6GJ2wDxciBmxaWZEYjnAbEvDq/4AfF8qDoMzROAOJoBPwDJ96FrrgTiPAbiQAEQV4AYLECcCcRtDKQBkPqPLNCQVWYgHfxl2ZBW9pCBTACyWR6ImcmyGUh4AfE0MjRngUJ7OhDXkKgRFDvTYVHVCsSTidQ4EYg70BNJPhAvJaARJF+ILYX9h2a/zTg0bgLiRKg6rBnjFxBHAPFxNPGjQBwJxL8JZclvQOwJxJehfBDtDRUnqjD4CDVgBxC7Q/kYACDAAJfhLaK8zH0rAAAAAElFTkSuQmCC"},"9fd0":function(t,e,c){"use strict";c.d(e,"b",function(){return i}),c.d(e,"a",function(){return a}),c.d(e,"c",function(){return o});c("a481"),c("c5f6"),c("6b54"),c("28a5");function n(t,e){var c,n,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(".","")),n=Number(e.toString().replace(".","")),i(c/n,Math.pow(10,o-a))}function i(t,e){var c=0,n=t.toString(),i=e.toString();try{c+=n.split(".")[1].length}catch(a){c=0}try{c+=i.split(".")[1].length}catch(a){c=c||0}return Number(n.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,c)}function a(t,e){var c,n,i,a;try{c=t.toString().split(".")[1].length}catch(o){c=0}try{n=e.toString().split(".")[1].length}catch(o){n=0}return i=Math.pow(10,Math.max(c,n)),a=c>=n?c:n,((t*i+e*i)/i).toFixed(a)}function o(t,e){var c,n,i,a;try{c=t.toString().split(".")[1].length}catch(o){c=0}try{n=e.toString().split(".")[1].length}catch(o){n=0}return i=Math.pow(10,Math.max(c,n)),a=c>=n?c:n,((t*i-e*i)/i).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=n(this.value,t),this},mul:function(t){return this.value=i(this.value,t),this}})},a18c:function(t,e,c){"use strict";c("7f7f"),c("a481");var n=c("75fc"),i=c("2b0e"),a=c("8c4f"),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"user"},[n("div",{staticClass:"header bg-color-red acea-row row-between-wrapper"},[n("div",{staticClass:"picTxt acea-row row-between-wrapper"},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.userInfo.avatar}})]),n("div",{staticClass:"text"},[n("div",{staticClass:"acea-row row-middle"},[n("div",{staticClass:"name line1"},[t._v(t._s(t.userInfo.nickname))]),t.userInfo.vip?n("div",{staticClass:"member acea-row row-middle"},[n("img",{attrs:{src:t.userInfo.vip_icon}}),t._v(t._s(t.userInfo.vip_name)+"\n ")]):t._e()]),t.userInfo.phone?n("router-link",{staticClass:"id",attrs:{to:"/user/data"}},[t._v("\n ID:"+t._s(t.userInfo.uid||0)),n("span",{staticClass:"iconfont icon-bianji1"})]):n("router-link",{staticClass:"binding",attrs:{to:"/user/binding"}},[n("span",[t._v("绑定手机号")])])],1)]),n("span",{staticClass:"iconfont icon-shezhi",on:{click:function(e){return t.$router.push({path:"/user/data"})}}})]),n("div",{staticClass:"wrapper"},[n("div",{staticClass:"nav acea-row row-middle"},[n("router-link",{staticClass:"item",attrs:{to:{path:"/user/account"}}},[n("div",[t._v("我的余额")]),n("div",{staticClass:"num"},[t._v(t._s(t.userInfo.now_money||0))])]),1===t.userInfo.is_promoter||2===t.userInfo.statu?n("router-link",{staticClass:"item",attrs:{to:"/user/user_promotion"}},[n("div",[t._v("当前佣金")]),n("div",{staticClass:"num"},[t._v(t._s(t.userInfo.brokerage_price||0))])]):n("router-link",{staticClass:"item",attrs:{to:"/user/integral"}},[n("div",[t._v("当前积分")]),n("div",{staticClass:"num"},[t._v(t._s(t.userInfo.integral||0))])]),n("router-link",{staticClass:"item",attrs:{to:"/user/user_coupon"}},[n("div",[t._v("优惠券")]),n("div",{staticClass:"num"},[t._v(t._s(t.userInfo.couponCount||0))])])],1),n("div",{staticClass:"myOrder"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",[t._v("我的订单")]),n("router-link",{staticClass:"allOrder",attrs:{to:"/order/list/"}},[t._v("\n 全部订单"),n("span",{staticClass:"iconfont icon-jiantou"})])],1),n("div",{staticClass:"orderState acea-row row-middle"},[n("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/0"}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("c1eb")}}),t.orderStatusNum.unpaid_count>0?n("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.unpaid_count))]):t._e()]),n("div",[t._v("待付款")])]),n("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/1"}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("38a9")}}),t.orderStatusNum.unshipped_count>0?n("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.unshipped_count))]):t._e()]),n("div",[t._v("待发货")])]),n("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/2"}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("19bd")}}),t.orderStatusNum.received_count>0?n("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.received_count))]):t._e()]),n("div",[t._v("待收货")])]),n("router-link",{staticClass:"item",attrs:{to:{path:"/order/list/3"}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("cb6e")}}),t.orderStatusNum.evaluated_count>0?n("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.evaluated_count))]):t._e()]),n("div",[t._v("待评价")])]),n("router-link",{staticClass:"item",attrs:{to:"/order/refund_list"}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("062a")}}),t.orderStatusNum.refund_count>0?n("span",{staticClass:"order-status-num"},[t._v(t._s(t.orderStatusNum.refund_count))]):t._e()]),n("div",[t._v("售后/退款")])])],1)]),n("div",{staticClass:"myService"},[n("div",{staticClass:"title acea-row row-middle"},[t._v("我的服务")]),n("div",{staticClass:"serviceList acea-row row-middle"},[t._l(t.MyMenus,function(e,c){return[e.wap_url?n("div",{key:c,staticClass:"item",on:{click:function(e){return t.goPages(c)}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:e.pic}})]),n("div",[t._v(t._s(e.name))])]):t._e()]})],2)])]),n("img",{staticClass:"support",attrs:{src:c("a884")}}),n("div",{staticClass:"footer-line-height"}),n("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,n=t._self._c||e;return n("div",[n("div",{staticClass:"switchWindow",class:!0===t.switchActive?"on":""},[n("div",{staticClass:"pictrue"},["h5"===t.login_type?n("img",{attrs:{src:c("2dc3")}}):n("img",{attrs:{src:c("2dc3"),alt:""}})]),n("div",{staticClass:"info"},[t._v("\n 是否选择切换到"),"h5"===t.login_type?n("span",{staticClass:"font-color"},[t._v("微信账号")]):n("span",{staticClass:"font-color"},[t._v("手机用户")]),t._v("?\n ")]),n("div",{staticClass:"switchBnt",on:{click:t.switchH5}},[t._v("切换")]),n("div",{staticClass:"switchBnt cancelBnt",on:{click:t.switchClose}},[t._v("取消")])]),n("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["U"])().then(function(e){var c=e.data;t.$dialog.loading.close();var n=f()(c.expires_time);p["a"].commit("LOGIN",c.token,n),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",k={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["D"])().then(function(e){t.userInfo=e.data,t.orderStatusNum=e.data.orderStatusNum})},MenuUser:function(){var t=this;Object(l["u"])().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:"您还没有推广权限!!"})}}},A=k,C=(c("d304"),Object(z["a"])(A,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-2df2bc60").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-aedf3bda"),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"))}},{path:"/user/promoter_rank",name:"PromoterRank",meta:{title:"推广人排行",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-75c5e1c2").then(c.bind(null,"e436"))}},{path:"/user/commission/rank",name:"CommissionRank",meta:{title:"佣金排行",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-738f6d32").then(c.bind(null,"02ee"))}}],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-777428ae").then(c.bind(null,"e68f"))}},{path:"/order/submit/:id",name:"OrderSubmission",meta:{title:"提交订单",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-6b0d23ae").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-aedf3bda"),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-606cf2c9"),c.e("chunk-77509378")]).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-c7c5fb32"),c.e("chunk-3620c606")]).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-606cf2c9"),c.e("chunk-db318086")]).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"))}},{path:"/order/order_cancellation",name:"OrderCancellation",meta:{title:"订单核销",keepAlive:!0,auth:!0,backgroundColor:"#fff"},component:function(){return c.e("chunk-469231d7").then(c.bind(null,"5496"))}}],O=[].concat(Object(n["a"])(x),Object(n["a"])(L),Object(n["a"])(j),Object(n["a"])(B)),S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index"},[n("div",{staticClass:"header acea-row row-center-wrapper"},[n("div",{staticClass:"logo"},[n("img",{attrs:{src:t.logoUrl}})]),n("router-link",{staticClass:"search acea-row row-middle",attrs:{to:"/search"}},[n("span",{staticClass:"iconfont icon-xiazai5"}),t._v("搜索商品\n ")])],1),n("div",{staticClass:"slider-banner banner"},[t.banner.length>0?n("swiper",{attrs:{options:t.swiperOption}},[t._l(t.banner,function(t,e){return n("swiper-slide",{key:e},[n("router-link",{staticClass:"search acea-row row-middle",attrs:{to:t.wap_url?t.wap_url:""}},[n("img",{attrs:{src:t.pic}})])],1)}),n("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):t._e()],1),n("div",{staticClass:"nav acea-row"},t._l(t.menus,function(e,c){return n("router-link",{key:c,staticClass:"item",attrs:{to:e.wap_url?e.wap_url:""}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:e.pic}})]),n("div",[t._v(t._s(e.name))])])}),1),n("div",{staticClass:"news acea-row row-between-wrapper"},[t._m(0),n("div",{staticClass:"swiper-no-swiping new-banner"},[t.roll.length>0?n("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperRoll}},t._l(t.roll,function(e,c){return n("swiper-slide",{key:c,staticClass:"swiper-slide"},[n("router-link",{staticClass:"acea-row row-between-wrapper",attrs:{to:e.wap_url?e.wap_url:""}},[n("div",{staticClass:"text acea-row row-between-wrapper"},["是"===e.show?n("div",{staticClass:"label"},[t._v("最新")]):t._e(),n("div",{staticClass:"newsTitle line1"},[t._v(t._s(e.info))])]),n("div",{staticClass:"iconfont icon-xiangyou"})])],1)}),1):t._e()],1)]),n("div",{staticClass:"specialArea acea-row row-between-wrapper"},[n("router-link",{staticClass:"assemble",attrs:{to:t.activityOne.wap_link?t.activityOne.wap_link:""}},[n("img",{attrs:{src:t.activityOne.pic}}),n("div",{staticClass:"text"},[n("div",{staticClass:"name"},[t._v(t._s(t.activityOne.title))]),n("div",{staticClass:"infor"},[t._v(t._s(t.activityOne.info))])])]),n("div",{staticClass:"list acea-row row-column-between"},t._l(t.activity,function(e,c){return n("router-link",{key:c,staticClass:"item",attrs:{to:e.wap_link?e.wap_link:""}},[n("img",{attrs:{src:e.pic}}),n("div",{staticClass:"text"},[n("div",{staticClass:"name"},[t._v(t._s(e.title))]),n("div",{staticClass:"infor"},[t._v(t._s(e.info))])])])}),1)],1),t.info.fastList.length>0?n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",{staticClass:"text"},[n("div",{staticClass:"name line1"},[t._v("快速选择")]),n("div",{staticClass:"line1"},[t._v(t._s(t.info.fastInfo))])]),n("router-link",{staticClass:"more",attrs:{to:"/category"}},[t._v("更多"),n("span",{staticClass:"iconfont icon-jiantou"})])],1),n("div",{staticClass:"scroll-product"},[n("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperScroll}},t._l(t.info.fastList,function(e,c){return n("swiper-slide",{key:c,staticClass:"swiper-slide"},[n("router-link",{attrs:{to:{path:"/goods_list",query:{id:e.id,title:e.cate_name}}}},[n("div",{staticClass:"img-box"},[n("img",{attrs:{src:e.pic}})]),n("div",{staticClass:"pro-info line1"},[t._v(t._s(e.cate_name))])])],1)}),1)],1)]):t._e(),t.info.bastList.length>0?n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",{staticClass:"text"},[n("div",{staticClass:"name line1"},[t._v("精品推荐")]),n("div",{staticClass:"line1"},[t._v(t._s(t.info.bastInfo))])]),n("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/1"}}},[t._v("更多"),n("span",{staticClass:"iconfont icon-jiantou"})])],1),n("div",{staticClass:"slider-banner boutique"},[n("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperBoutique}},t._l(t.info.bastBanner,function(t,e){return n("swiper-slide",{key:e,staticClass:"swiper-slide"},[n("router-link",{attrs:{to:t.wap_link?t.wap_link:""}},[n("img",{attrs:{src:t.img}})])],1)}),1),n("div",{staticClass:"swiper-pagination"})],1),n("Good-list",{attrs:{"good-list":t.info.bastList,"is-sort":!1}})],1):t._e(),t.likeInfo.length>0?n("div",{staticClass:"hotList"},[n("div",{staticClass:"hot-bg"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[t._m(1),n("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/2"}}},[t._v("\n 更多"),n("span",{staticClass:"iconfont icon-jiantou"})])],1)]),n("div",{staticClass:"list acea-row row-middle"},t._l(t.likeInfo,function(e,i){return n("router-link",{key:i,staticClass:"item",attrs:{to:{path:"/detail/"+e.id}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:e.image}}),0===i?n("img",{staticClass:"numPic",attrs:{src:c("04fb")}}):1===i?n("img",{staticClass:"numPic",attrs:{src:c("2e8f")}}):2===i?n("img",{staticClass:"numPic",attrs:{src:c("c901")}}):t._e()]),n("div",{staticClass:"name line1"},[t._v(t._s(e.store_name))]),n("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),n("span",{staticClass:"num"},[t._v(t._s(e.price))])])])}),1)]):t._e(),t.lovely.img?n("div",[n("div",{staticClass:"adver"},[n("img",{attrs:{src:t.lovely.img}})])]):t._e(),t.info.firstList.length>0?n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",{staticClass:"text"},[t._m(2),n("div",{staticClass:"line1"},[t._v(t._s(t.info.firstInfo))])]),n("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/3"}}},[t._v("更多"),n("span",{staticClass:"iconfont icon-jiantou"})])],1),n("div",{staticClass:"newProducts"},[n("swiper",{staticClass:"swiper-wrapper",attrs:{options:t.swiperProducts}},t._l(t.info.firstList,function(e,c){return n("swiper-slide",{key:c,staticClass:"swiper-slide"},[n("router-link",{attrs:{to:{path:"/detail/"+e.id}}},[n("div",{staticClass:"img-box"},[n("img",{attrs:{src:e.image}})]),n("div",{staticClass:"pro-info line1"},[t._v(t._s(e.store_name))]),n("div",{staticClass:"money font-color-red"},[t._v("¥"+t._s(e.price))])])],1)}),1)],1)]):t._e(),t.benefit.length>0?n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",{staticClass:"text"},[n("div",{staticClass:"name line1"},[t._v("促销单品")]),n("div",{staticClass:"line1"},[t._v(t._s(t.info.salesInfo))])]),n("router-link",{staticClass:"more",attrs:{to:"/promotion"}},[t._v("更多"),n("span",{staticClass:"iconfont icon-jiantou"})])],1)]):t._e(),n("Promotion-good",{attrs:{benefit:t.benefit}}),t.showCoupon?n("Coupon-window",{attrs:{"coupon-list":t.couponList},on:{checked:t.couponClose,close:t.couponClose}}):t._e(),n("div",{staticStyle:{height:"1.2rem"}})],1)},E=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pictrue"},[n("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~")])])}],N=c("7212"),_=(c("e5d0"),c("d829")),H=c("91c8"),R=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,n){return c("div",{key:n,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?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()},V=[],G=c("2f62"),D=c("d30b"),Z={name:"CouponWindow",props:{couponList:{type:Array,default:function(){return[]}}},computed:Object(G["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,R,V,!1,null,null,null),Y=U.exports,Q=c("e876"),W="has_coupon_window",F={name:"Index",components:{swiper:N["swiper"],swiperSlide:N["swiperSlide"],GoodList:_["a"],PromotionGood:H["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){if(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),c.data.activity.length){var n=c.data.activity.shift();e.$set(e,"activityOne",n)}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),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(r["d"])()&&Object(Q["h"])().then(function(t){var e=t.data.data,c={desc:e.synopsis,title:e.title,link:location.href,imgUrl:e.img};Object(d["openShareAll"])(c)})}}},P=F,J=(c("c04e"),Object(z["a"])(P,S,E,!1,null,"7057912c",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)),nt=ct.exports,it=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,n){return c("div",{key:n,staticClass:"item acea-row row-center-wrapper",class:n===t.navActive?"on":"",on:{click:function(e){return t.asideTap(n)}}},[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,n){return c("div",{key:n,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,n){return c("router-link",{key:n,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,n){c.id===t&&(e=n)}),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,n=c.scrollY,i=this.$refs.title;i.reduce(function(c,i,a){if(c)return c;var o=i.parentNode||i.parentElement;return n+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,n){return c("div",{key:n,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(n)}}}),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[n].cart_num<=1?"on":"",on:{click:function(e){return e.preventDefault(),t.reduce(n)}}},[t._v("\n -\n ")]),c("div",{staticClass:"num"},[t._v(t._s(e.cart_num))]),t.cartList.valid[n].attrInfo?c("div",{staticClass:"plus",class:t.cartList.valid[n].cart_num>=t.cartList.valid[n].attrInfo.stock?"on":"",on:{click:function(e){return e.preventDefault(),t.plus(n)}}},[t._v("\n +\n ")]):c("div",{staticClass:"plus",class:t.cartList.valid[n].cart_num>=t.cartList.valid[n].stock?"on":"",on:{click:function(e){return e.preventDefault(),t.plus(n)}}},[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,n){return c("router-link",{key:n,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,n=t._self._c||e;return n("div",{staticClass:"pictrue"},[n("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 n=m["a"].get(ft)||[];Array.isArray(n)||(n=[]),t.cartList.valid.forEach(function(t){-1!==n.indexOf(t.id)&&(t.checked=!0)}),n.length&&(e.checkedIds=n,e.isAllSelect=n.length===t.cartList.valid.length,e.carnum(),e.countMoney()),t.loaded=!0})},delgoods:function(){var t=this,e=[],c=[],n=t.cartList.valid;n.forEach(function(t){!0===t.checked&&e.push(t.id)}),0!==e.length?Object($["n"])(e).then(function(){n.forEach(function(t,e){!1!==t.checked&&void 0!==t.checked||c.push(n[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["L"])(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],n=this.checkedIds.indexOf(c.id);c.checked=!c.checked,-1!==n&&this.checkedIds.splice(n,1),c.checked&&this.checkedIds.push(c.id);for(var i=e.cartList.valid.length,a=[],o=0;o0?n("div",{staticClass:"vip-money"},[t._v("\n ¥"+t._s(e.vip_price)),n("img",{attrs:{src:c("69ed")}})]):t._e(),n("div",[t._v("已售"+t._s(e.sales)+"件")])])])])}),1),n("Loading",{attrs:{loaded:t.loadend,loading:t.loading}}),0===t.productList.length&&t.where.page>1?n("div",{staticClass:"noCommodity",staticStyle:{"background-color":"#fff"}},[t._m(0)]):t._e(),0===t.productList.length&&t.where.page>1?n("Recommend"):t._e()],1)},yt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"noPictrue"},[n("img",{staticClass:"image",attrs:{src:c("0c36")}})])}],kt=c("3a5e"),At={name:"GoodsList",components:{Recommend:pt["a"],Loading:kt["a"]},props:{},data:function(){var t=this.$route.query,e=t.s,c=void 0===e?"":e,n=t.id,i=void 0===n?0:n,a=t.title,o=void 0===a?"":a;return{hostProduct:[],productList:[],Switch:!0,where:{page:1,limit:8,keyword:c,sid:i,news:0,priceOrder:"",salesOrder:""},title:o&&i?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,n=void 0===c?"":c,i=e.id,a=void 0===i?0:i,o=e.title,s=void 0===o?"":o;n===this.where.keyword&&a===this.where.sid||(this.where.keyword=n,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]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h(Object.assign({url:t,data:c,method:e},r,n))},t},{});["get","delete","head"].forEach(function(t){u[t]=function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h(Object.assign({url:e,params:c,method:t},r,n))}}),e["a"]=u},be35:function(t,e,c){},c04e:function(t,e,c){"use strict";var n=c("ef6d"),i=c.n(n);i.a},c1eb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZ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iqm+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,"H",function(){return i}),c.d(e,"I",function(){return a}),c.d(e,"S",function(){return o}),c.d(e,"Q",function(){return s}),c.d(e,"R",function(){return l}),c.d(e,"p",function(){return r}),c.d(e,"q",function(){return h}),c.d(e,"b",function(){return u}),c.d(e,"r",function(){return d}),c.d(e,"D",function(){return m}),c.d(e,"E",function(){return p}),c.d(e,"u",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,"J",function(){return w}),c.d(e,"n",function(){return M}),c.d(e,"m",function(){return y}),c.d(e,"L",function(){return k}),c.d(e,"l",function(){return A}),c.d(e,"w",function(){return C}),c.d(e,"x",function(){return I}),c.d(e,"y",function(){return x}),c.d(e,"N",function(){return L}),c.d(e,"M",function(){return j}),c.d(e,"A",function(){return B}),c.d(e,"C",function(){return O}),c.d(e,"B",function(){return S}),c.d(e,"o",function(){return E}),c.d(e,"s",function(){return N}),c.d(e,"i",function(){return _}),c.d(e,"K",function(){return H}),c.d(e,"F",function(){return R}),c.d(e,"G",function(){return V}),c.d(e,"h",function(){return G}),c.d(e,"c",function(){return D}),c.d(e,"z",function(){return Z}),c.d(e,"O",function(){return T}),c.d(e,"k",function(){return U}),c.d(e,"T",function(){return Y}),c.d(e,"P",function(){return Q}),c.d(e,"t",function(){return W}),c.d(e,"a",function(){return F}),c.d(e,"U",function(){return P}),c.d(e,"v",function(){return J}),c.d(e,"j",function(){return X});var n=c("b775");function i(t){return n["a"].post("/login",t,{login:!1})}function a(t){return n["a"].post("/login/mobile",t,{login:!1})}function o(t){return n["a"].post("/register/verify",t,{login:!1})}function s(t){return n["a"].post("/register",t,{login:!1})}function l(t){return n["a"].post("/register/reset",t,{login:!1})}function r(t){return n["a"].get("/coupons",t,{login:!1})}function h(t){return n["a"].post("/coupon/receive",{couponId:t},{login:!0})}function u(t){return n["a"].post("/coupon/receive/batch",{couponId:t})}function d(t){return n["a"].get("/coupons/user/"+t)}function m(){return n["a"].get("/user")}function p(){return n["a"].get("/userinfo")}function v(){return n["a"].get("/menu/user")}function f(t){return n["a"].get("/address/list",t||{})}function b(t){return n["a"].post("/address/del",{id:t})}function g(t){return n["a"].post("/address/default/set",{id:t})}function z(t){return n["a"].get("/address/detail/"+t)}function w(t){return n["a"].post("/address/edit",t)}function M(t,e){return n["a"].get("/collect/user",{page:t,limit:e})}function y(t,e){return n["a"].post("/collect/del",{id:t,category:e})}function k(t){return n["a"].post("/collect/all",t)}function A(t,e){return n["a"].post("collect/add",{id:t,category:e})}function C(){return n["a"].get("/sign/config")}function I(t,e){return n["a"].get("/sign/list",{page:t,limit:e})}function x(t,e){return n["a"].get("/sign/month",{page:t,limit:e})}function L(t){return n["a"].post("/sign/user",t)}function j(t){return n["a"].post("/sign/integral",t)}function B(){return n["a"].get("/commission")}function O(t){return n["a"].post("/spread/people",t)}function S(t){return n["a"].post("/spread/order",t)}function E(t,e){return n["a"].get("/spread/commission/"+e,t)}function N(t){return n["a"].get("/integral/list",t)}function _(){return n["a"].get("/extract/bank")}function H(t){return n["a"].post("/extract/cash",t)}function R(){return n["a"].get("/user/level/grade")}function V(t){return n["a"].get("/user/level/task/"+t)}function G(){return n["a"].get("/user/balance")}function D(){return n["a"].get("/user/activity",{},{login:!1})}function Z(){return n["a"].get("/spread/banner")}function T(t){return n["a"].post("/user/edit",t)}function U(t,e){return n["a"].get("user/service/record/"+t,e)}function Y(){return n["a"].get("user/service/list")}function Q(t){return n["a"].post("/recharge/wechat",t)}function W(){return n["a"].get("/logout")}function F(t){return n["a"].post("binding",t)}function P(){return n["a"].post("switch_h5",{from:"wechat"})}function J(t){return n["a"].get("rank",t)}function X(t){return n["a"].get("brokerage_rank",t)}},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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaH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h4BRk1kn7iqLmPhMLP5brv3HbftGxT8SW5HhYjxJaOBtSDQPnNKEIEhayIfo1gCAX0rq8trQmAtNGGHDMdB4HO50L66lvHJ/wIMAB4Y0KasKiV5AAAAAElFTkSuQmCC"},cba2:function(t,e,c){"use strict";c.d(e,"b",function(){return s});var n=c("cebc"),i=(c("ac6a"),c("456d"),c("c908")),a={confirm:i["Confirm"],alert:i["Alert"],toast:i["Toast"],notify:i["Notify"],loading:i["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(i["Toast"])(Object(n["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(i["Toast"])(Object(n["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 n=c("ed08"),i=window.document;function a(t){if(!t||!h(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return JSON.parse(unescape(i.cookie.replace(new RegExp(e),"$1")))}function o(){for(var t=i.cookie.split(/; ?/g),e={},c=t.length-1;c>=0;c--)if(Object(n["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(n["c"])(c,"Date")?a=c:(a=new Date,a.setTime(a.getTime()+6e4*c)),o=a.toGMTString();e=JSON.stringify(e),i.cookie=escape(t)+"="+escape(e)+"; expires="+o+"; path=/"}}function l(t){t&&h(t)&&(i.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(i.cookie)}e["a"]={get:a,all:o,set:s,remove:l,clearAll:r,has:h}},d304:function(t,e,c){"use strict";var n=c("91bb"),i=c.n(n);i.a},d30b:function(t,e,c){"use strict";c.d(e,"a",function(){return l});c("a481"),c("7f7f");var n=c("a18c"),i=c("4360"),a=c("d0a4"),o=c("ed08"),s=c("74f9");function l(t,e){i["a"].commit("LOGOUT");var c=n["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?n["a"].push({path:"/login"}):n["a"].replace({path:"/login"}))}},d829:function(t,e,c){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"goodList"},t._l(t.goodList,function(e,i){return n("router-link",{key:i,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+e.id}}},[n("div",{staticClass:"pictrue"},[n("img",{staticClass:"image",attrs:{src:e.image}}),!0===t.isSort&&0===i?n("img",{staticClass:"numPic",attrs:{src:c("04fb")}}):t._e(),!0===t.isSort&&1===i?n("img",{staticClass:"numPic",attrs:{src:c("2e8f")}}):t._e(),!0===t.isSort&&2===i?n("img",{staticClass:"numPic",attrs:{src:c("c901")}}):t._e()]),n("div",{staticClass:"underline"},[n("div",{staticClass:"text"},[n("div",{staticClass:"line1"},[t._v(t._s(e.store_name))]),n("div",{staticClass:"money font-color-red"},[t._v("\n ¥"),n("span",{staticClass:"num"},[t._v(t._s(e.price))])]),n("div",{staticClass:"vip-money acea-row row-middle"},[e.vip_price&&e.vip_price>0?n("div",{staticClass:"vip"},[t._v("\n ¥"+t._s(e.vip_price||0)),n("img",{staticClass:"image",attrs:{src:c("69ed")}})]):t._e(),n("span",{staticClass:"num"},[t._v("已售"+t._s(e.sales)+t._s(e.unit_name))])])])]),n("div",{staticClass:"iconfont icon-gouwuche cart-color acea-row row-center-wrapper"})])}),1)},i=[],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,n,i,!1,null,null,null);e["a"]=l.exports},dab9:function(t,e,c){},e222:function(t,e){!function(t){var e,c='',n=(e=document.getElementsByTagName("script"))[e.length-1].getAttribute("data-injectcss");if(n&&!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&&(i=e,a=t.document,o=!1,(s=function(){try{a.documentElement.doScroll("left")}catch(e){return void setTimeout(s,50)}n()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,n())});function n(){o||(o=!0,i())}var i,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/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5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kRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjUxYEEAAAD9SURBVHjaYpw5cyYDDiANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+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 i}),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,"k",function(){return d}),c.d(e,"g",function(){return m}),c.d(e,"j",function(){return p});var n=c("b775");function i(){return n["a"].get("index",{},{login:!1})}function a(){return n["a"].get("/article/banner/list",{},{login:!1})}function o(){return n["a"].get("/article/category/list",{},{login:!1})}function s(){return n["a"].get("/article/hot/list",{},{login:!1})}function l(t,e){return n["a"].get("/article/list/"+e,t,{login:!1})}function r(){return n["a"].get("/share",{},{login:!1})}function h(t){return n["a"].get("/article/details/"+t,{},{login:!1})}function u(){return n["a"].get("/wechat/config",{url:document.location.href},{login:!1})}function d(t,e,c){return n["a"].get("/wechat/auth",{code:t,spread:e,login_type:c},{login:!1})}function m(){return n["a"].get("/logistics",{},{login:!1})}function p(t,e){return n["a"].post("/image_base64",{image:t,code:e},{login:!1})}},ed08:function(t,e,c){"use strict";c.d(e,"f",function(){return n}),c.d(e,"c",function(){return i}),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 n(t){return String.prototype.trim.call(t)}function i(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("="),n=decodeURIComponent(c.shift()),i=c.length>0?decodeURIComponent(c.join("=")):null;void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}),t):t}var s="".concat(location.origin,"/api"),l="ws:".concat(location.hostname,":20003")},ef6d:function(t,e,c){},f410:function(t,e,c){"use strict";var n=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,n){return c("router-link",{key:n,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)},i=[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