(function(t){function c(c){for(var i,n,s=c[0],l=c[1],r=c[2],h=0,u=[];h390?c=390:c<55&&(c=55),this.top=c},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}}},b=f,g=Object(h["a"])(b,p,m,!1,null,"20b1c3bd",null),M=g.exports;function w(t){return void 0===t.meta.keepAlive||t.meta.keepAlive}var z={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:M},watch:{$route:function(t,c){var e=this.history[this.history.length-1]||{},i=this.$router,n=i.isReplace,a=i.isBack;if(e.path===t.path?(this.transitionName="fold-right",this.history.pop()):(this.transitionName="fold-left",n||this.history.push({path:c.path,name:c.name})),w(t)&&"Login"!==t.name&&!this.include.includes(t.name)&&this.include.push(t.name),w(c)&&a){var o=this.include.indexOf(c.name);-1!==o&&this.include.splice(o,1)}this.$router.isBack=!1,this.$router.isReplace=!1,console.log(this.transitionName,"change")}}},A=z,y=(e("5c0b"),Object(h["a"])(A,n,a,!1,null,null,null)),k=y.exports,C=e("a18c"),I=e("4360"),L=e("77ed"),G=e.n(L),Z=e("a15e"),R=e.n(Z),S=e("cba2"),O=(e("ac6a"),[]),N=function(t,c){O.push({dom:t,fn:c}),c._index=O.length-1};N.remove=function(t){t._index&&O.splice(t._index,1)};var j={addHandler:function(t,c,e){t.addEventListener?t.addEventListener(c,e,!1):t.attachEvent?t.attachEvent("on"+c,e):t["on"+c]=e},listenTouchDirection:function(){this.addHandler(window,"scroll",function(){var t=window.innerHeight,c=window.scrollY;O.filter(function(t){return t.dom.scrollHeight&&t.dom.scrollHeight>0}).forEach(function(e){var i=e.dom.scrollHeight,n=Math.ceil(c/(i-t)*100);n>85&&e.fn()})})}};j.listenTouchDirection();var Y=N,x=e("d0a4"),E=(e("e222"),e("be35"),e("756e"),e("4b8a"),e("3aff"),e("4ee2"),e("6672"),e("ed08"));i["default"].use(G.a),i["default"].config.productionTip=!1,i["default"].config.devtools=!1,i["default"].prototype.$validator=function(t){return new R.a(t)},i["default"].prototype.$scroll=Y,i["default"].prototype.$dialog=S["a"];var V="clear_0.0.1";x["a"].has(V)||(x["a"].clearAll(),x["a"].set(V,1));var D=Object(E["e"])()["spread"];if(void 0!==D){var H=x["a"].get("spread");D=parseInt(D),(Number.isNaN(D)||H===D)&&0!==H&&"number"===typeof H||x["a"].set("spread",D||0)}var U=Object(E["d"])();if(U){var B=function(){return Promise.resolve().then(e.bind(null,"74f9"))};B().then(function(t){t.default().then(function(){return t.oAuth()})})}var W=new i["default"]({router:C["a"],store:I["a"],render:function(t){return t(k)}});setTimeout(function(){W.$mount("#app")},300)},"5c0b":function(t,c,e){"use strict";var i=e("5e27"),n=e.n(i);n.a},"5e27":function(t,c,e){},6054:function(t,c,e){},6672:function(t,c,e){},6918:function(t,c,e){"use strict";var i=e("1218"),n=e.n(i);n.a},"69a1":function(t,c){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABuCAYAAAADKbxqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwL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cRPf/Tj7KWGGiz6xVnFiUqjDD5OUVWgOaEezyvJPC3I1QMQ6TlJ23hv23TcsyzhkVWEixeAd3aZkQYoGG+DUUO1svjlFGHf99KneO2BrP+RfoYdJRjlBPG6FFhnTnQ18G7Ke7WHW92qYgklifvR7nGc+StizeMeq+51GDoeuvyU5JT1nZJ0NoYadbrJH43zoT6Wc6JK2FS9N67WzNRpA6OsKha6WO4DXx/4l4E3+SIhbHitrUZJV6kBQuZxsArjZW9AVV4rB+mVQRbpIKeVG5nXkFNZLjehl7uWFtJKaSmRqSqNIZkHPtzdUtBn/k748mCnio6WvxwhK6PB6ngo3s9RVD2hug9sf+277KvNiaTewl5rbtLlxsvjtHmxPlu/a4+dv5d+2xuHhbuepfTrZdwJt33p73OvL/t97vGp9PxFbznLSzd8dapcrkx281W86YxF4jlnpU37CxkLViJjIP1Boenq8iXuo97OVQpL+H1SSikVhDYU1XtRHRmVruSCOuy6gFfgU0nrzM1S0mL+cVCBt9tTvCW3K1d0prcz/qJKGQbNt4UPym01nvKdQda0eeI59rTqkhLNNLtu4BXchOJzBRq5dDmXshFBwbjYXa/NlNR2yn2P7NPqmtTTMbAJWru1AUXgFx8MJGkXRyalIv4fj/fSRqSVVsoJB+O/wHWp8pJWIGf3QKJcNWSPs9+DiSlQCph4XiMhLEziGOnRo+7RiPDznwADAFHt+7vHV3GfAAAAAElFTkSuQmCC"},"72ba":function(t,c,e){"use strict";var i=e("0a68"),n=e.n(i);n.a},"73ac":function(t,c,e){},"73f5":function(t,c,e){"use strict";e.d(c,"d",function(){return n}),e.d(c,"h",function(){return a}),e.d(c,"g",function(){return o}),e.d(c,"i",function(){return s}),e.d(c,"f",function(){return l}),e.d(c,"e",function(){return r}),e.d(c,"m",function(){return h}),e.d(c,"c",function(){return u}),e.d(c,"n",function(){return d}),e.d(c,"b",function(){return p}),e.d(c,"a",function(){return m}),e.d(c,"l",function(){return v}),e.d(c,"k",function(){return f}),e.d(c,"j",function(){return b}),e.d(c,"p",function(){return g}),e.d(c,"o",function(){return M});var i=e("b775");function n(){return i["a"].get("/category",{},{login:!1})}function a(t,c){return i["a"].get("/product/detail/"+t+c,{},{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,c){return i["a"].get("/product/hot",{page:t,limit:c},{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 p(t){return i["a"].get("/cart/count",t)}function m(t,c){return i["a"].post("/cart/num",{id:t,number:c})}function v(){return i["a"].get("/search/keyword",{},{login:!1})}function f(t,c){return i["a"].get("/reply/list/"+t,c,{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 M(t){return i["a"].post("/order/comment",t,{login:!1})}},"74f9":function(t,c,e){"use strict";e.r(c),e.d(c,"default",function(){return M}),e.d(c,"clearAuthStatus",function(){return w}),e.d(c,"oAuth",function(){return z}),e.d(c,"auth",function(){return A}),e.d(c,"toAuth",function(){return y}),e.d(c,"pay",function(){return I}),e.d(c,"openAddress",function(){return L}),e.d(c,"openShareAppMessage",function(){return G}),e.d(c,"openShareTimeline",function(){return Z}),e.d(c,"ready",function(){return R}),e.d(c,"openShareAll",function(){return S}),e.d(c,"wechatEvevt",function(){return O});e("7f7f"),e("ac6a");var i,n,a=e("7618"),o=e("cebc"),s=(e("28a5"),e("386d"),e("90fa")),l=e.n(s),r=e("e876"),h=e("ed08"),u=e("d0a4"),d=e("4360"),p=e("5a0c"),m=e.n(p),v="wx_authorize_state",f="wx_auth",b="login_back_url",g="loginType";function M(){return new Promise(function(t,c){if(i)return t(i);Object(r["i"])().then(function(e){var a=l()(e.data);n=a,a.initialize().then(function(){i=a.wx,i.initConfig=e.data,t(i)}).catch(c)}).catch(function(t){console.log(t),c(t)})})}function w(){u["a"].remove(f),u["a"].remove(v)}function z(){if(!u["a"].has(f)||!d["a"].state.app.token){var t=Object(h["e"])(),c=t.code;return c?void 0:y()}}function A(t){return new Promise(function(c,e){var i=u["a"].get(g);Object(r["k"])(t,parseInt(u["a"].get("spread")),i).then(function(e){var n=e.data,a=m()(n.expires_time);d["a"].commit("LOGIN",n.token,a),u["a"].set(f,t,a),u["a"].remove(v),i&&u["a"].remove("loginType"),c()}).catch(e)})}function y(){M().then(function(t){location.href=k(t.initConfig.appId)})}function k(t){var c=encodeURIComponent("".concat(location.origin,"/auth/")+encodeURIComponent(encodeURIComponent(u["a"].has(b)?u["a"].get(b):location.pathname+location.search)));u["a"].remove(b);var e=encodeURIComponent((""+Math.random()).split(".")[1]+"authorizestate");return u["a"].set(v,e),"https://open.weixin.qq.com/connect/oauth2/authorize?appid=".concat(t,"&redirect_uri=").concat(c,"&response_type=code&scope=snsapi_userinfo&state=").concat(e,"#wechat_redirect")}function C(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e,i){t(Object(o["a"])({},c,{success:function(t){e(t)},fail:function(t){i(t)},complete:function(t){i(t)},cancel:function(t){i(t)}}))})}function I(t){return C(i.chooseWXPay,t)}function L(){return C(i.openAddress)}function G(t){i.updateAppMessageShareData(t),i.onMenuShareAppMessage&&i.onMenuShareAppMessage(t)}function Z(t){i.updateTimelineShareData(t),i.onMenuShareTimeline&&i.onMenuShareTimeline(t)}function R(){return new Promise(function(t){i.ready(function(){t()})})}function S(t){return t.type=void 0==t.type?"link":t.type,new Promise(function(c){i&&n?i.ready(function(){n.shareOnChat(t),n.shareOnMoment(t),c()}):Object(r["i"])().then(function(e){var i=l()(e.data);i.shareOnChat(t),i.shareOnMoment(t),c()})})}function O(t,c){return new Promise(function(e,o){var s={fail:function(c){c.errMsg==t+":permission denied"&&n?Object(r["i"])().then(function(t){n.signSignature({nonceStr:t.data.nonceStr,signature:t.data.signature,timestamp:t.data.timestamp}),o({is_ready:!0,wx:n.getOriginalWx()})}):o(c)},success:function(t){e(t)}};Object.assign(s,c),"undefined"!==typeof i?i.ready(function(){"object"===Object(a["a"])(t)?t.forEach(function(t){i[t]&&i[t](s)}):i[t]&&i[t](s)}):Object(r["i"])().then(function(c){var e=l()(c.data);e.initialize().then(function(){i=e.getOriginalWx(),i.ready(function(){"object"===Object(a["a"])(t)?t.forEach(function(t){i[t]&&i[t](s)}):i[t]&&i[t](s)})})})})}},"756e":function(t,c){(function(t,c){var e=c.documentElement,i=t.devicePixelRatio||1;function n(){c.body||c.addEventListener("DOMContentLoaded",n)}function a(){var t=e.clientWidth/7.5;e.style.fontSize=t+"px"}if(n(),a(),t.addEventListener("resize",a),t.addEventListener("pageshow",function(t){t.persisted&&a()}),i>=2){var o=c.createElement("body"),s=c.createElement("div");s.style.border=".5px solid transparent",o.appendChild(s),e.appendChild(o),1===s.offsetHeight&&e.classList.add("hairlines"),e.removeChild(o)}})(window,document)},"7bb7":function(t,c,e){t.exports=e.p+"h5/img/sign.78746c05.gif"},"7c7c":function(t,c){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09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waG90b3Nob3A6ZDFjMjM5ZDMtYzg2Ny0xMWU5LWJiNWEtZWJiMTk5ZWZiNWIwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+BXjytwAAALdJREFUeNrs2DEKwjAYBeC/EepUKN5B6C2cdehd7eCst9BLiFqXFlp9wV8IIdikm/AePJq+IXxzMjlulyJSogv5ZEBvaPfaHCQm2WlnPyu0QnOde/SMXhPvWaM1Wujcoo3xkKLnUtLjIkXP1Yx7XKTouTYe0sWmJo/cplKENiN/EkIJJZRQQgkllFBCCSWUUEJ/Q4fAPs64q4/cptIGtqeF3j3Y9wEiNRcP1umWmsbCnP8Hun8LMABpqCFmRIKzUQAAAABJRU5ErkJggg=="},"8c33":function(t,c,e){"use strict";var i=e("0878"),n=e.n(i);n.a},"927b":function(t,c,e){t.exports=e.p+"h5/img/close.4fffee44.gif"},"93ea":function(t,c,e){t.exports=e.p+"h5/img/noCart.6f2abfef.png"},"9b31":function(t,c){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9Ii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idQ4EYg70BNJPhAvJaARJF+ILYX9h2a/zTg0bgLiRKg6rBnjFxBHAPFxNPGjQBwJxL8JZclvQOwJxJehfBDtDRUnqjD4CDVgBxC7Q/kYACDAAJfhLaK8zH0rAAAAAElFTkSuQmCC"},"9dd2":function(t,c,e){"use strict";var i=e("bf03"),n=e.n(i);n.a},"9fd0":function(t,c,e){"use strict";e.d(c,"b",function(){return n}),e.d(c,"a",function(){return a}),e.d(c,"c",function(){return o});e("a481"),e("c5f6"),e("6b54"),e("28a5");function i(t,c){var e,i,a=0,o=0;try{a=t.toString().split(".")[1].length}catch(s){a=0}try{o=c.toString().split(".")[1].length}catch(s){o=0}return e=Number(t.toString().replace(".","")),i=Number(c.toString().replace(".","")),n(e/i,Math.pow(10,o-a))}function n(t,c){var e=0,i=t.toString(),n=c.toString();try{e+=i.split(".")[1].length}catch(a){e=0}try{e+=n.split(".")[1].length}catch(a){e=e||0}return Number(i.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,e)}function a(t,c){var e,i,n,a;try{e=t.toString().split(".")[1].length}catch(o){e=0}try{i=c.toString().split(".")[1].length}catch(o){i=0}return n=Math.pow(10,Math.max(e,i)),a=e>=i?e:i,((t*n+c*n)/n).toFixed(a)}function o(t,c){var e,i,n,a;try{e=t.toString().split(".")[1].length}catch(o){e=0}try{i=c.toString().split(".")[1].length}catch(o){i=0}return n=Math.pow(10,Math.max(e,i)),a=e>=i?e:i,((t*n-c*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,c,e){"use strict";e("7f7f"),e("a481");var i=e("75fc"),n=e("2b0e"),a=e("8c4f"),o=function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"user"},[i("div",{staticClass:"header bg-color-green 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(c){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:e("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:e("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:e("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:e("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:e("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(c,e){return[c.wap_url?i("div",{key:e,staticClass:"item",on:{click:function(c){return t.goPages(e)}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.pic}})]),i("div",[t._v(t._s(c.name))])]):t._e()]})],2)])]),i("img",{staticClass:"support",attrs:{src:e("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=e("c24f"),r=e("ed08"),h=function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",[i("div",{staticClass:"switchWindow",class:!0===t.switchActive?"on":""},[i("div",{staticClass:"pictrue"},["h5"===t.login_type?i("img",{attrs:{src:e("2dc3")}}):i("img",{attrs:{src:e("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=e("74f9"),p=e("d0a4"),m=e("4360"),v=e("5a0c"),f=e.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,c=this;this.$dialog.loading.open("正在切换中"),"h5"===c.login_type?(p["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(c){var e=c.data;t.$dialog.loading.close();var i=f()(e.expires_time);m["a"].commit("LOGIN",e.token,i),t.$emit("changeswitch",!1),location.reload()}).catch(function(e){return t.$dialog.loading.close(),c.$dialog.toast({mes:e})})}}},g=b,M=(e("8c33"),e("2877")),w=Object(M["a"])(g,h,u,!1,null,null,null),z=w.exports,A="User",y={name:A,components:{SwitchWindow:z},props:{},data:function(){return{userInfo:{},MyMenus:[],orderStatusNum:{},switchActive:!1,isWeixin:!1}},watch:{$route:function(t){t.name===A&&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(c){t.userInfo=c.data,t.orderStatusNum=c.data.orderStatusNum})},MenuUser:function(){var t=this;Object(l["t"])().then(function(c){t.MyMenus=c.data.routine_my_menus})},goPages:function(t){var c=this.MyMenus[t].wap_url;return"/user/user_promotion"!==c||1!==this.userInfo.statu||this.userInfo.is_promoter?"/customer/index"!==c||this.userInfo.adminid?void this.$router.push({path:this.MyMenus[t].wap_url}):this.$dialog.toast({mes:"您还不是客服!!"}):this.$dialog.toast({mes:"您还没有推广权限!!"})}}},k=y,C=(e("9dd2"),Object(M["a"])(k,o,s,!1,null,"e3bbc1bc",null)),I=C.exports,L=[{path:"/user",name:"User",meta:{title:"个人中心",keepAlive:!0,footer:!0,home:!1,auth:!0},component:I},{path:"/user/binding",name:"BindingPhone",meta:{title:"绑定手机",keepAlive:!0,backgroundColor:"#fff",auth:!0},component:function(){return e.e("chunk-03b2ddff").then(e.bind(null,"3d16"))}},{path:"/user/add_address/:id?",name:"AddAddress",meta:{title:"添加收货地址",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-44047c7e").then(e.bind(null,"5dbf"))}},{path:"/user/account",name:"UserAccount",meta:{title:"我的账户",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-715c4f57").then(e.bind(null,"c974"))}},{path:"/user/add_manage",name:"AddressManagement",meta:{title:"地址管理",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-32993ac2").then(e.bind(null,"bb9a"))}},{path:"/user/poster",name:"Poster",meta:{title:"分销海报",keepAlive:!1,backgroundColor:"#a3a3a3",auth:!0},component:function(){return e.e("chunk-2d0d5c9a").then(e.bind(null,"707b"))}},{path:"/user/sign",name:"Sign",meta:{title:"签到",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-8d3f6d02").then(e.bind(null,"0636"))}},{path:"/user/sign_record",name:"SignRecord",meta:{title:"签到记录",keepAlive:!0},component:function(){return e.e("chunk-2d0d6b8d").then(e.bind(null,"7482"))}},{path:"/user/cash",name:"UserCash",meta:{title:"提现",keepAlive:!0,auth:!0,backgroundColor:"#fff"},component:function(){return e.e("chunk-0b32185c").then(e.bind(null,"c2af"))}},{path:"/user/audit",name:"CashAudit",meta:{title:"提现审核",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-074d26c0").then(e.bind(null,"3717"))}},{path:"/user/promoter_order",name:"PromoterOrder",meta:{title:"推广人订单",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0d0177").then(e.bind(null,"6700"))}},{path:"/user/promoter_list",name:"PromoterList",meta:{title:"推广人列表",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-126715f2").then(e.bind(null,"2b58"))}},{path:"/user/user_promotion",name:"UserPromotion",meta:{title:"我的推广",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0b995a").then(e.bind(null,"3425"))}},{path:"/user/bill/:types?",name:"UserBill",meta:{title:"账单明细",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0da964").then(e.bind(null,"6bdf"))}},{path:"/user/cashrecord",name:"CashRecord",meta:{title:"提现记录",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0d3247").then(e.bind(null,"5c03"))}},{path:"/user/commission",name:"CommissionDetails",meta:{title:"佣金明细",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0c1002").then(e.bind(null,"43d1"))}},{path:"/user/integral",name:"Integral",meta:{title:"积分详情",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d5271a2").then(e.bind(null,"64ba"))}},{path:"/user/vip",name:"UserVip",meta:{title:"会员中心",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-3c12acd2").then(e.bind(null,"8070"))}},{path:"/user/data",name:"PersonalData",meta:{title:"个人资料",keepAlive:!0,auth:!0},component:function(){return Promise.all([e.e("chunk-aedf3bda"),e.e("chunk-b6e494f4")]).then(e.bind(null,"deca"))}},{path:"/user/user_coupon",name:"UserCoupon",meta:{title:"我的优惠券",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-7f08916c").then(e.bind(null,"edc1"))}},{path:"/user/get_coupon",name:"GetCoupon",meta:{title:"领取优惠券",keepAlive:!0},component:function(){return e.e("chunk-146ed97a").then(e.bind(null,"b701"))}},{path:"/user/user_cash",name:"UserCash",meta:{title:"申请提现",keepAlive:!0,auth:!0,backgroundColor:"#fff"},component:function(){return e.e("chunk-0b32185c").then(e.bind(null,"c2af"))}},{path:"/customer/list",name:"CustomerList",meta:{title:"客服列表",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-5bd6adbe").then(e.bind(null,"f191"))}},{path:"/user/Recharge",name:"Recharge",meta:{title:"余额充值",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-4dfb9d0c").then(e.bind(null,"64e8"))}}],G=[{path:"/order/list/:type?",name:"MyOrder",meta:{title:"我的订单",keepAlive:!1,auth:!0},component:function(){return e.e("chunk-59ee995c").then(e.bind(null,"46d6"))}},{path:"/order/logistics/:id",name:"Logistics",meta:{title:"物流信息",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-af1907e2").then(e.bind(null,"e483"))}},{path:"/order/detail/:id",name:"OrderDetails",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return e.e("chunk-5ae7049e").then(e.bind(null,"e68f"))}},{path:"/order/submit/:id",name:"OrderSubmission",meta:{title:"提交订单",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-7492165a").then(e.bind(null,"6c69"))}},{path:"/order/status",name:"PaymentStatus",meta:{title:"支付状态",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-2d0c09da").then(e.bind(null,"4316"))}},{path:"/order/refund/:id",name:"GoodsReturn",meta:{title:"申请退货",keepAlive:!0,auth:!0},component:function(){return Promise.all([e.e("chunk-aedf3bda"),e.e("chunk-71c995bd")]).then(e.bind(null,"8a7a"))}},{path:"/order/refund_list",name:"ReturnList",meta:{title:"退货列表",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-677b8e48").then(e.bind(null,"13b9"))}}],Z=[{path:"/activity"},{path:"/activity/poster/:id/:type",name:"Poster",meta:{title:"海报",keepAlive:!1,backgroundColor:"#d22516",auth:!0},component:function(){return e.e("chunk-1239267a").then(e.bind(null,"9642"))}},{path:"/activity/dargain_detail/:id/:partake?",name:"DargainDetails",meta:{title:"砍价详情",keepAlive:!1,backgroundColor:"#e93323",auth:!0},component:function(){return e.e("chunk-df045abc").then(e.bind(null,"3946"))}},{path:"/activity/bargain",name:"GoodsBargain",meta:{title:"砍价列表",keepAlive:!1,backgroundColor:"#e93323"},component:function(){return e.e("chunk-2d221dc8").then(e.bind(null,"cbc6"))}},{path:"/activity/bargain/record",name:"BargainRecord",meta:{title:"砍价记录",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-ec5fb900").then(e.bind(null,"3201"))}},{path:"/activity/group",name:"GoodsGroup",meta:{title:"拼团列表",keepAlive:!1,backgroundColor:"#fa533d"},component:function(){return e.e("chunk-2d230838").then(e.bind(null,"ed36"))}},{path:"/activity/group_detail/:id",name:"GroupDetails",meta:{title:"拼团详情",keepAlive:!1},component:function(){return Promise.all([e.e("chunk-cdb904d4"),e.e("chunk-7cba6da9")]).then(e.bind(null,"64c5"))}},{path:"/activity/group_rule/:id",name:"GroupRule",meta:{title:"拼团",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-b1d51e0a").then(e.bind(null,"c32d"))}},{path:"/activity/goods_seckill",name:"GoodsSeckill",meta:{title:"限时抢购",keepAlive:!0,backgroundColor:"#ffffff"},component:function(){return Promise.all([e.e("chunk-eb773252"),e.e("chunk-506b4491")]).then(e.bind(null,"2b67"))}},{path:"/activity/seckill_detail/:id?/:time",name:"SeckillDetails",meta:{title:"抢购详情页",keepAlive:!0},component:function(){return Promise.all([e.e("chunk-cdb904d4"),e.e("chunk-210f6068")]).then(e.bind(null,"adbf"))}}],R=[{path:"/customer/index",name:"OrderIndex",meta:{title:"订单首页",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-4d3f5c13").then(e.bind(null,"9c15"))}},{path:"/customer/orders/:types?",name:"AdminOrderList",meta:{title:"订单列表",keepAlive:!0,auth:!0},component:function(){return Promise.all([e.e("chunk-18e0edde"),e.e("chunk-2d0e2116")]).then(e.bind(null,"7cb6"))}},{path:"/customer/delivery/:oid?",name:"GoodsDeliver",meta:{title:"订单发货",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-7b11e4aa").then(e.bind(null,"da81"))}},{path:"/customer/orderdetail/:oid?",name:"AdminOrder",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return Promise.all([e.e("chunk-18e0edde"),e.e("chunk-61576808")]).then(e.bind(null,"a162"))}},{path:"/customer/statistics/:type/:time?",name:"Statistics",meta:{title:"订单数据统计",keepAlive:!0,auth:!0},component:function(){return e.e("chunk-4b64bbbc").then(e.bind(null,"124d"))}}],S=[].concat(Object(i["a"])(L),Object(i["a"])(G),Object(i["a"])(Z),Object(i["a"])(R)),O=function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"indexs"},[i("div",{staticClass:"header bg-color-green acea-row row-between-wrapper"},[i("div",{staticClass:"logo"},[i("img",{attrs:{src:t.logoUrl}})]),i("router-link",{staticClass:"input acea-row row-middle",attrs:{to:"/search"}},[i("span",{staticClass:"iconfont icon-xiazai5"}),t._v("搜索商品\n ")]),i("router-link",{staticClass:"sign",attrs:{to:"/user/sign"}},[i("img",{attrs:{src:e("7bb7")}})])],1),t.banner.length?i("div",{staticClass:"slider-banner"},[i("swiper",{attrs:{options:t.swiperOption}},[t._l(t.banner,function(t,c){return i("swiper-slide",{key:c},[i("router-link",{staticClass:"search acea-row row-middle",attrs:{to:t.wap_url?t.wap_url:""}},[i("img",{attrs:{src:t.pic}})])],1)}),i("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1):t._e(),i("div",{staticClass:"nav acea-row"},t._l(t.menus,function(c,e){return i("router-link",{key:e,staticClass:"item",attrs:{to:c.wap_url?c.wap_url:""}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.pic}})]),i("div",[t._v(t._s(c.name))])])}),1),t.roll.length>0?i("div",{staticClass:"news acea-row row-between-wrapper"},[i("div",{staticClass:"iconfont icon-huabanfuben"}),i("div",{staticClass:"swiper-no-swiping swiperTxt"},[i("swiper",{attrs:{options:t.swiperRoll}},t._l(t.roll,function(c,e){return i("swiper-slide",{key:e,staticClass:"swiper-slide"},[i("router-link",{staticClass:"acea-row row-between-wrapper",attrs:{to:c.wap_url?c.wap_url:""}},[i("div",{staticClass:"text line1"},[t._v(t._s(c.info))]),i("div",{staticClass:"iconfont icon-xiangyou"})])],1)}),1)],1)]):t._e(),t.couponList.length>0?i("div",{staticClass:"wrapper"},[t._m(0),i("div",{staticClass:"scroll-coupon"},[i("swiper",{attrs:{options:t.swiperScroll}},t._l(t.getCouponList,function(c,e){return i("swiper-slide",{key:e},[i("div",{staticClass:"item",class:c.is_use?"on":""},[i("div",{staticClass:"coupon-slide acea-row row-between-wrapper",on:{click:function(i){return t.receiveCoupon(c.id,e)}}},[i("div",{staticClass:"left"},[i("div",{staticClass:"money"},[i("span",[t._v("¥"),i("span",{staticClass:"num"},[t._v(t._s(c.coupon_price))])]),t._v("满"+t._s(c.use_min_price)+"可用\n ")]),0!==c.end_time?i("div",{staticClass:"data"},[t._v("\n "+t._s(c.start_time)+"-"+t._s(c.end_time)+"\n ")]):i("div",{staticClass:"data"},[t._v("不限时")])]),!0===c.is_use?i("div",{staticClass:"right gray"},[t._v("已领取")]):2===c.is_use?i("div",{staticClass:"right gray"},[t._v("\n 已领完\n ")]):i("div",{staticClass:"right"},[t._v("立即领取")])])])])}),1)],1),i("router-link",{staticClass:"more",attrs:{to:"/user/get_coupon"}},[t._v("查看更多"),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),t.seckillList.length?i("div",{staticClass:"wrapper"},[t._m(1)]):t._e(),t.seckillList.length?i("div",{staticClass:"wrapper_seckill"},[i("div",{staticClass:"seckill"},[i("swiper",{attrs:{options:t.seckillScroll}},t._l(t.seckillList,function(c,e){return i("swiper-slide",{key:e},[i("router-link",{staticClass:"item swiper-slide",attrs:{to:"/activity/seckill_detail/"+c.id+"/"+t.timeEnd}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.image}})]),i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v(t._s(c.title))]),i("div",[i("span",{staticClass:"money font-color-orange"},[t._v("¥"+t._s(c.price))]),i("span",{staticClass:"y_money"},[t._v("¥"+t._s(c.ot_price))])])])])],1)}),1)],1)]):t._e(),t.seckillList.length?i("div",{staticClass:"wrapper_seckill"},[i("router-link",{staticClass:"more",attrs:{to:"/activity/goods_seckill"}},[t._v("\n 查看更多\n "),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),i("div",{staticClass:"wrapper activity acea-row row-between-wrapper"},t._l(t.activity,function(c,e){return i("router-link",{key:e,staticClass:"item",attrs:{to:c.wap_link?c.wap_link:""}},[i("img",{attrs:{src:c.pic}}),i("div",{staticClass:"text"},[i("div",{staticClass:"name"},[t._v(t._s(c.title))]),i("div",[t._v(t._s(c.info))])])])}),1),t.hotInfo.length?i("div",{staticClass:"wrapper"},[t._m(2),i("div",{staticClass:"hotList"},[i("swiper",{attrs:{options:t.hotOption}},[t._l(t.hotInfo,function(c,e){return i("swiper-slide",{key:e},[i("div",{staticClass:"list acea-row row-middle"},t._l(c.list,function(c,e){return i("router-link",{key:e,staticClass:"item",attrs:{to:{path:"/detail/"+c.id}}},[i("div",[i("div",{staticClass:"pictrue"},[i("img",{staticClass:"right",attrs:{src:c.image}})]),i("div",{staticClass:"name line1"},[t._v("\n "+t._s(c.store_name)+"\n ")]),i("div",{staticClass:"money font-color-orange"},[t._v("¥"+t._s(c.price))])])])}),1)])}),i("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/2"}}},[t._v("\n 查看更多\n "),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),t.info.firstList.length>0?i("div",{staticClass:"wrapper"},[t._m(3),i("div",{staticClass:"newProduct acea-row row-between-wrapper"},t._l(t.info.firstList,function(c,n){return i("router-link",{key:n,staticClass:"item",attrs:{to:{path:"/detail/"+c.id}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.image}})]),i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v(t._s(c.store_name))]),i("div",{staticClass:"money font-color-orange"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(c.price))])]),i("div",{staticClass:"acea-row row-between-wrapper"},[c.vip_price&&c.vip_price>0?i("div",{staticClass:"vip"},[t._v("\n ¥"+t._s(c.vip_price)),i("img",{attrs:{src:e("69ed")}})]):t._e(),i("div",{staticClass:"sale"},[t._v("已售"+t._s(c.sales)+t._s(c.unit_name))])])])])}),1),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/3"}}},[t._v("\n 查看更多\n "),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),t.info.bastBanner.length>0||t.info.bastList.length>0?i("div",{staticClass:"wrapper"},[t._m(4),t.info.bastBanner.length>0?i("div",{staticClass:"slider-banner advert"},[i("swiper",{attrs:{options:t.swiperBoutique}},[t._l(t.info.bastBanner,function(t,c){return i("swiper-slide",{key:c},[i("router-link",{attrs:{to:t.wap_link?t.wap_link:""}},[i("img",{attrs:{src:t.img}})])],1)}),i("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1):t._e(),t.info.bastList.length>0?i("div",{staticClass:"boutique acea-row row-middle"},t._l(t.info.bastList,function(c,e){return i("router-link",{key:e,staticClass:"item",attrs:{to:{path:"/detail/"+c.id}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.image}})]),i("div",{staticClass:"name line1"},[t._v(t._s(c.store_name))]),i("div",{staticClass:"money font-color-orange"},[t._v("¥"+t._s(c.price))])])}),1):t._e(),i("router-link",{staticClass:"more",attrs:{to:{path:"/hot_new_goods/1"}}},[t._v("\n 查看更多\n "),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),t.benefit.length>0?i("div",{staticClass:"wrapper"},[t._m(5),i("div",{staticClass:"newProduct acea-row row-between-wrapper"},t._l(t.benefit,function(c,e){return i("router-link",{key:e,staticClass:"item",attrs:{to:{path:"/detail/"+c.id}}},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:c.image}})]),i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v(t._s(c.store_name))]),i("div",{staticClass:"money font-color-orange"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(c.price))])]),i("div",{staticClass:"acea-row row-between-wrapper"},[i("div",{staticClass:"y_money"},[t._v("¥"+t._s(c.ot_price))]),i("div",{staticClass:"sale"},[t._v("已售"+t._s(c.stock)+t._s(c.unit_name))])])])])}),1),i("router-link",{staticClass:"more",attrs:{to:"/promotion"}},[t._v("\n 查看更多\n "),i("span",{staticClass:"iconfont icon-up"})])],1):t._e(),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)},N=[function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("领优惠券")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("限时秒杀")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("热门榜单")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("首发新品")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("精品推荐")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"title acea-row row-center-wrapper"},[i("img",{attrs:{src:e("896c")}}),i("span",{staticClass:"text"},[t._v("促销单品")]),i("img",{staticClass:"right",attrs:{src:e("896c")}})])}],j=e("7212"),Y=(e("e5d0"),function(){var t=this,c=t.$createElement,e=t._self._c||c;return t.couponList.length>0?e("div",[e("div",{staticClass:"coupon-window",class:t.value?"on":""},[e("div",{staticClass:"couponWinList"},[t._l(t.couponList,function(c,i){return e("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[e("div",{staticClass:"money font-color-orange"},[t._v("\n ¥"),e("span",{staticClass:"num"},[t._v(t._s(c.coupon_price))])]),e("div",{staticClass:"text"},[e("div",{staticClass:"name"},[t._v("\n 购物买"+t._s(c.use_min_price)+"减"+t._s(c.coupon_price)+"\n ")]),c.end_time?e("div",[t._v("\n "+t._s(c.start_time)+"-"+t._s(c.end_time)+"\n ")]):t._e()])])}),e("div",{staticStyle:{height:"1.2rem"}})],2),e("div",{staticClass:"lid"},[e("div",{staticClass:"bnt font-color-green",on:{click:t.checked}},[t._v("立即领取")]),e("div",{staticClass:"iconfont icon-guanbi3",on:{click:t.close}})])]),e("div",{staticClass:"mask",attrs:{hidden:!t.value},on:{touchmove:function(t){t.preventDefault()}}})]):t._e()}),x=[],E=e("2f62"),V=e("d30b"),D={name:"CouponWindow",props:{couponList:{type:Array,default:function(){return[]}}},computed:Object(E["b"])(["isLogin"]),data:function(){return{value:!0}},mounted:function(){},methods:{checked:function(){var t=this,c=this.isLogin;if(!c)return Object(V["a"])();var e=this.couponList.reduce(function(t,c){return t.push(c.id),t},[]);Object(l["b"])(e).then(function(){t.$emit("success"),t.$dialog.toast({mes:"领取成功"})}).catch(function(){t.$dialog.toast({mes:"已领取"})}),c&&(this.value=!1,this.$emit("checked"))},close:function(){this.value=!1,this.$emit("close")}}},H=D,U=Object(M["a"])(H,Y,x,!1,null,null,null),B=U.exports,W=e("e876"),T=e("ca41"),_=e("73f5"),F="has_coupon_window",Q={name:"Index",components:{swiper:j["swiper"],swiperSlide:j["swiperSlide"],CouponWindow:B},props:{},data:function(){return{showCoupon:!1,logoUrl:"",banner:[],menus:[],roll:[],getCouponList:[],couponList:[],seckillList:[],timeId:0,timeEnd:0,activity:[],hotInfo:[],info:{fastList:[],bastBanner:[],firstList:[],bastList:[]},benefit:[],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},hotOption:{pagination:{el:".swiper-pagination",clickable:!0},autoplay:!1,loop:!1,speed:1e3,observer:!0,observeParents:!0},seckillScroll:{freeMode:!0,freeModeMomentum:!1,slidesPerView:"auto",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}}},watch:{$route:function(t){"Index"===t.name&&(this.getCoupon(),this.getSeckillConfig())}},mounted:function(){this.getHomeData(),this.getCoupon(),this.getSeckillConfig(),this.getIndexGroomList()},methods:{getHomeData:function(){var t=this,c=this;Object(W["f"])().then(function(e){c.logoUrl=e.data.logoUrl,c.$set(c,"banner",e.data.banner),c.$set(c,"menus",e.data.menus),c.$set(c,"roll",e.data.roll),c.$set(c,"activity",e.data.activity),c.activity.splice(1,1),c.$set(c,"info",e.data.info),c.$set(c,"benefit",e.data.benefit),c.$set(c,"couponList",e.data.couponList),c.setOpenShare(),t.showCoupon=!p["a"].has(F)&&e.data.couponList.some(function(t){return t.is_use})})},getIndexGroomList:function(){var t=this;Object(_["e"])(2).then(function(c){for(var e=c.data.list||[],i=Math.ceil(e.length/3),n=[],a=0;a1?e("div",{staticClass:"noCommodity"},[t._m(0),e("recommend")],1):t._e()])},q=[function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"noPictrue"},[i("img",{staticClass:"image",attrs:{src:e("ed57")}})])}],$=(e("386d"),e("3a5e")),tt=e("d829"),ct=e("f410"),et={name:"GoodSearch",components:{Recommend:ct["a"],GoodList:tt["a"],Loading:$["a"]},props:{},data:function(){return{keywords:[],search:"",where:{page:1,limit:20,keyword:""},loading:!1,loadend:!1,goodList:[]}},mounted:function(){this.getData(),this.$refs.focus.focus()},methods:{submit:function(){var t=Object(r["f"])(this.search)||"";t&&(this.where.keyword=t,this.$set(this,"goodList",[]),this.where.page=1,this.loadend=!1,this.loading=!1,this.getGoodlist())},getData:function(){var t=this;Object(_["l"])().then(function(c){t.keywords=c.data})},toSearch:function(t){this.where.keyword=t,this.$set(this,"goodList",[]),this.where.page=1,this.loadend=!1,this.loading=!1,this.getGoodlist()},getGoodlist:function(){var t=this;if(!t.loading&&!t.loadend){t.loading=!0;var c=t.where;Object(_["i"])(c).then(function(c){t.loading=!1,t.goodList.push.apply(t.goodList,c.data),t.loadend=c.data.length=c.stock?"on":"",on:{click:function(c){return c.stopPropagation(),t.productPlus(e)}}})])])}),0),i("Loading",{attrs:{loaded:t.loadend,loading:t.loading}})],1),i("div",{staticStyle:{height:"1.2rem"}}),i("ShopCart",{attrs:{cart:t.cart},on:{reduce:t.reduce,plus:t.plus,delGood:t.delGood,settlement:t.settlement}}),i("ProductAttr",{attrs:{attr:t.attr},on:{myattr:t.myattr,changeattr:t.ChangeAttr,gocat:t.attrGoCat,attrreduce:t.attrReduce}})],1)},st=[],lt=(e("55dd"),e("ac6a"),function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",[i("div",{staticClass:"ShopCart acea-row row-middle"},[i("div",{staticClass:"left acea-row row-middle",on:{click:t.shopCart}},[i("div",{staticClass:"pictrue animated",class:!0===t.cart.animated?"bounceIn":""},[t.cart.cartList.length?i("img",{attrs:{src:e("8672")}}):i("img",{attrs:{src:e("69a1")}}),t.cart.cartList.length?i("div",{staticClass:"num"},[t._v("\n "+t._s(t.cart.CartCount)+"\n ")]):t._e()]),i("div",{staticClass:"money acea-row row-center row-column"},[t.cart.cartList.length?i("div",{staticClass:"num"},[t._v("\n ¥"+t._s(t.cart.countmoney)+"\n ")]):i("div",{staticClass:"num on"},[t._v("购物空空如也哦,快去添加商品吧")])])]),i("div",{staticClass:"right",class:t.cart.cartList.length?"":"on",on:{click:t.settlement}},[t._v("\n 去结算\n ")])]),t.cart.cartList.length?i("div",{staticClass:"Popup",class:!1===t.cart.iShidden?"show":""},[i("div",{staticClass:"title acea-row row-between-wrapper"},[i("div",{staticClass:"iconfont icon-guanbi2",on:{click:t.shopCartClose}}),i("div",[t._v("已选商品")]),i("div",{staticClass:"del acea-row row-middle",on:{click:t.delGood}},[i("span",{staticClass:"iconfont icon-shanchu"}),t._v("清空\n ")])]),i("div",{staticClass:"popupList"},t._l(t.cart.cartList,function(c,n){return i("div",{key:n,staticClass:"item acea-row row-between-wrapper"},[i("div",{staticClass:"picTxt acea-row row-between-wrapper"},[i("div",{staticClass:"pictrue"},[c.productInfo.attrInfo?i("img",{attrs:{src:c.productInfo.attrInfo.image}}):i("img",{attrs:{src:c.productInfo.image}})]),i("div",{staticClass:"text acea-row row-column-between"},[i("div",[i("div",{staticClass:"name line1"},[t._v(t._s(c.productInfo.store_name))]),c.productInfo.attrInfo?i("div",{staticClass:"specs line1"},[t._v("\n 属性:"+t._s(c.productInfo.attrInfo.suk)+"\n ")]):t._e()]),i("div",{staticClass:"money font-color-orange"},[c.vip_truePrice?i("img",{attrs:{src:e("3861")}}):t._e(),t._v("¥"+t._s(c.truePrice)+"\n ")])])]),i("div",{staticClass:"car acea-row acea-middle"},[i("div",{staticClass:"iconfont icon-jian acea-row",class:c.cart_num<=1?"on":"",on:{click:function(c){return t.reduce(n)}}}),i("div",{staticClass:"num acea-row row-center-wrapper"},[t._v("\n "+t._s(c.cart_num)+"\n ")]),c.productInfo.attrInfo?i("div",{staticClass:"iconfont icon-jia font-color-green acea-row",class:c.cart_num>=c.productInfo.attrInfo.stock?"on":"",on:{click:function(c){return c.preventDefault(),t.plus(n)}}}):i("div",{staticClass:"iconfont icon-jia font-color-green acea-row",class:c.cart_num>=c.productInfo.stock?"on":"",on:{click:function(c){return c.preventDefault(),t.plus(n)}}})])])}),0)]):t._e(),i("div",{staticClass:"mask",attrs:{hidden:t.cart.iShidden},on:{touchmove:function(t){t.preventDefault()},click:t.shopCartClose}})])}),rt=[],ht={name:"ShopCart",components:{},props:{cart:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{shopCart:function(){this.cart.cartList.length&&(this.cart.iShidden=!this.cart.iShidden)},shopCartClose:function(){this.cart.iShidden=!this.cart.iShidden},reduce:function(t){this.$emit("reduce",t)},plus:function(t){this.$emit("plus",t)},delGood:function(){this.$emit("delGood")},settlement:function(){this.$emit("settlement")}}},ut=ht,dt=(e("352b"),Object(M["a"])(ut,lt,rt,!1,null,"6fd10439",null)),pt=dt.exports,mt=function(){var t=this,c=t.$createElement,e=t._self._c||c;return e("div",[e("div",{staticClass:"productAttr",class:!0===t.attr.activeAttr?"on":""},[e("div",{staticClass:"picTxt acea-row row-between-wrapper"},[e("div",{staticClass:"iconfont icon-guanbi2",on:{click:t.closeAttr}}),e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.attr.productSelect.image}})]),e("div",{staticClass:"text"},[e("div",{staticClass:"name line1"},[t._v(t._s(t.attr.productSelect.store_name))]),e("div",[e("span",{staticClass:"money font-color-orange"},[t._v("¥"),e("span",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))])]),e("span",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))])])])]),e("div",{staticClass:"openlist"},t._l(t.attr.productAttr,function(c,i){return e("div",{key:i,staticClass:"item"},[e("div",{staticClass:"name"},[t._v(t._s(c.attr_name)+":")]),e("div",{staticClass:"list acea-row row-middle"},t._l(c.attr_value,function(n,a){return e("div",{key:a,staticClass:"items acea-row row-center-wrapper",class:c.index===a?"cart-color-green":"",on:{click:function(c){return t.specitem(i,a)}}},[t._v("\n "+t._s(n.attr)+"\n ")])}),0)])}),0),e("div",{staticClass:"bottom acea-row row-between-wrapper"},[e("div",{staticClass:"specs"},[t._v("\n 已选规格:"),e("span",{staticClass:"specsVal"},[t._v(t._s(t.attr.productSelect.specs))])]),t.attr.productSelect.cart_num<1?e("div",{staticClass:"but",class:t.attr.productSelect.stock>0?"bg-color-green":"bg-color-gray",on:{click:t.joinCart}},[t._v("\n 加入购物车\n ")]):e("div",{staticClass:"cart acea-row row-center-wrapper"},[e("div",{staticClass:"iconfont icon-jian",on:{click:t.attrReduce}}),e("div",{staticClass:"cart-num"},[t._v(t._s(t.attr.productSelect.cart_num))]),e("div",{staticClass:"iconfont icon-jia font-color-green",class:t.attr.productSelect.cart_num>=t.attr.productSelect.stock?"on":"",on:{click:t.joinCart}})])])]),e("div",{staticClass:"mask",attrs:{hidden:!1===t.attr.activeAttr},on:{touchmove:function(t){t.preventDefault()},click:t.closeAttr}})])},vt=[],ft={name:"ProductAttr",components:{},props:{attr:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{specitem:function(t,c){this.$set(this.attr.productAttr[t],"index",c);var e=this.getCheckedValue().sort().join(",");this.$emit("changeattr",e)},getCheckedValue:function(){for(var t=this.attr.productAttr,c=[],e=0;e0&&this.$emit("gocat",!1)},attrReduce:function(){this.$emit("attrreduce")}}},bt=ft,gt=(e("f470"),Object(M["a"])(bt,mt,vt,!1,null,"71d61fd6",null)),Mt=gt.exports,wt=e("f7fe"),zt=e.n(wt),At=e("9fd0"),yt={name:"GoodsClass",components:{ShopCart:pt,ProductAttr:Mt,Loading:$["a"]},props:{},data:function(){return{active:0,category:[],categoryTwo:[],navActive:0,productList:[],where:{page:1,limit:20,keyword:"",cid:0,sid:0,news:0,priceOrder:"",salesOrder:"",type:1},loading:!1,loadend:!1,price:0,stock:0,nows:!1,gradeSwitch:1,attr:{activeAttr:!1,productAttr:[],productSelect:{}},productValue:[],storeInfo:{},attrValue:"",id:0,cart:{CartCount:0,animated:!1,cartList:[],countmoney:0,iShidden:!0},isNewOpen:!0,invalidNum:0,i:1,direction:1}},watch:{$route:function(t){"GoodsClass"===t.name&&(this.where.cid=this.$route.params.pid,this.isNewOpen&&this.getCategoryData(this.$route.params.pid),this.getCartList(),this.cart.iShidden=!0)}},computed:Object(E["b"])(["isLogin"]),mounted:function(){var t=this;this.where.cid=this.$route.params.pid,this.getCategoryData(this.where.cid),this.getCartList(),this.$scroll(this.$refs.container,function(){!t.loading&&t.getGoodlist()}),window.addEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll:function(){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,c=t-this.i;this.i=t;var e=navigator.userAgent,i=e.indexOf("Android")>-1||e.indexOf("Adr")>-1;this.direction=i?c<=0?1:0:c<=0?0:1},goDetail:function(t){this.isNewOpen=!1,this.$router.push({path:"/detail/"+this.productList[t].id})},getCategoryData:function(t){var c=this,e=this;Object(_["d"])().then(function(i){e.$set(e,"category",i.data),t?(e.category.forEach(function(c,i){c.id===parseInt(t)&&(e.active=i,e.navActive=0)}),i.data[e.active].children.length?e.where.sid=i.data[e.active].children[0].id:e.where.sid="",e.where.cid=t,e.categoryTwo=i.data[e.active].children):(e.where.cid=i.data[0].id,e.where.sid=i.data[0].children.length?i.data[0].children[0].id:0,e.$set(e,"categoryTwo",i.data[0].children)),e.$set(c,"productList",[]),e.where.page=1,e.loadend=!1,e.loading=!1,e.getGoodlist(!0),e.getCartCount()})},getGoodlist:function(){var t=this;if(!t.loading&&!t.loadend){t.loading=!0,this.setWhere();var c=t.where;Object(_["i"])(c).then(function(c){t.loading=!1,t.productList.push.apply(t.productList,c.data),t.loadend=c.data.length=e[t].stock)return!1;c.goCat(t,e)},publicPlus:function(t,c){c[t].cart_num++,c[t].cart_num>=c[t].stock&&this.$set(c,"cart_num",c[t].stock)},productReduce:function(t){var c=this,e=c.productList,i=e[t].id;c.cart.cartList.forEach(function(t,e){i===t.product_id&&c.reduce(e)})},publicReduce:function(t,c){c[t].cart_num--,c[t].cart_num<=1&&this.$set(c,"cart_num",1)},DefaultSelect:function(){for(var t=this.attr.productAttr,c=[],e=0;e=t.stock||(this.goCat(),t.cart_num++,t.cart_num>t.stock?this.$set(this.productValue[this.attrValue],"cart_num",t.stock):this.$set(this.productValue[this.attrValue],"cart_num",t.cart_num))},attrReduce:function(){var t=this,c=t.attr.productSelect;c.cart_num--,c.cart_num<1?t.$set(t.productValue[t.attrValue],"cart_num",0):t.$set(t.productValue[t.attrValue],"cart_num",c.cart_num),t.cart.cartList.forEach(function(e,i){if(c.unique===e.product_attr_unique){var n=t.cart.cartList[i];n.cart_num--,n.cart_num<1&&Object(_["n"])([n.id]).then(function(){t.cart.cartList.splice(i,1),t.cart.cartList.length<1&&(t.cart.iShidden=!0)}),t.countMoney(),t.syncCartNum(n)}})},goCat:function(t,c){var e=this,i={productId:e.id,cartNum:1,new:0,uniqueId:void 0!==e.attr.productSelect?e.attr.productSelect.unique:""};Object(_["m"])(i).then(function(){e.getCartCount(!0),e.getCartList(),void 0!==t&&e.publicPlus(t,c)}).catch(function(t){e.$dialog.error(t.msg)})},getCartCount:function(t){var c=this,e=c.isLogin;e&&Object(_["b"])({numType:0}).then(function(e){c.cart.CartCount=e.data.count-c.invalidNum,t&&(c.cart.animated=!0,setTimeout(function(){c.cart.animated=!1},500))})},getCartList:function(){var t=this,c=t.isLogin;c&&Object(_["c"])().then(function(c){t.$set(t.cart,"cartList",c.data.valid),t.invalidNum=c.data.invalid.length,t.countMoney()})},plus:function(t){var c=this,e=c.cart.cartList[t];c.productId(e,1),e.cart_num++,e.productInfo.attrInfo?e.cart_num>=e.productInfo.attrInfo.stock&&c.$set(e,"cart_num",e.productInfo.attrInfo.stock):e.cart_num>=e.productInfo.stock&&c.$set(e,"cart_num",e.productInfo.stock),c.countMoney(),c.syncCartNum(e)},reduce:function(t){var c=this,e=c.cart.cartList[t],i=e.product_id;c.productId(e,0),e.cart_num--,e.cart_num<1&&Object(_["n"])([e.id]).then(function(){c.cart.cartList.splice(t,1),c.productList.forEach(function(t,e){i===t.id&&(c.productList[e].cart_num=0)}),c.cart.cartList.length<1&&(c.cart.iShidden=!0)}),c.countMoney(),c.syncCartNum(e)},productId:function(t,c){var e=this,i=t.product_id,n=e.productList;n.forEach(function(t,a){i===t.id&&(c?e.publicPlus(a,n):e.publicReduce(a,n))})},syncCartNum:function(t){var c=this;t.sync||(t.sync=zt()(function(){Object(_["a"])(t.id,Math.max(t.cart_num,1)||1).then(function(){c.getCartCount()})},500)),t.sync()},countMoney:function(){for(var t=this,c=0,e=t.cart.cartList,i=0;i0?(t.$router.push({path:"/order/submit/"+e.join(",")}),t.cart.iShidden=!0):t.$dialog.toast({mes:"请选择产品"})}}},kt=yt,Ct=(e("127f"),Object(M["a"])(kt,ot,st,!1,null,"188a0108",null)),It=Ct.exports,Lt=function(){var t=this,c=t.$createElement,e=t._self._c||c;return e("div",{staticClass:"shoppingCart"},[t._m(0),e("div",{staticClass:"nav acea-row row-between-wrapper"},[e("div",[t._v("\n 购物数量 "),e("span",{staticClass:"num font-color-orange"},[t._v(t._s(t.count))])]),t.cartList.valid.length>0?e("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?e("div",[e("div",{staticClass:"list"},t._l(t.cartList.valid,function(c,i){return e("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[e("div",{staticClass:"select-btn"},[e("div",{staticClass:"checkbox-wrapper"},[e("label",{staticClass:"well-check"},[e("input",{attrs:{type:"checkbox",name:"",value:""},domProps:{checked:c.checked},on:{click:function(c){return t.switchSelect(i)}}}),e("i",{staticClass:"icon"})])])]),e("div",{staticClass:"picTxt acea-row row-between-wrapper"},[e("div",{staticClass:"pictrue",on:{click:function(e){return t.$router.push({path:"/detail/"+c.product_id})}}},[c.productInfo.attrInfo?e("img",{attrs:{src:c.productInfo.attrInfo.image}}):e("img",{attrs:{src:c.productInfo.image}})]),e("div",{staticClass:"text"},[e("div",{staticClass:"line1"},[t._v(t._s(c.productInfo.store_name))]),c.productInfo.attrInfo?e("div",{staticClass:"infor line1"},[t._v("\n 属性:"+t._s(c.productInfo.attrInfo.suk)+"\n ")]):t._e(),e("div",{staticClass:"money"},[t._v("¥"+t._s(c.truePrice))])]),e("div",{staticClass:"carnum acea-row row-center-wrapper"},[e("div",{staticClass:"reduce",class:t.cartList.valid[i].cart_num<=1?"on":"",on:{click:function(c){return c.preventDefault(),t.reduce(i)}}},[t._v("\n -\n ")]),e("div",{staticClass:"num"},[t._v(t._s(c.cart_num))]),t.cartList.valid[i].attrInfo?e("div",{staticClass:"plus",class:t.cartList.valid[i].cart_num>=t.cartList.valid[i].attrInfo.stock?"on":"",on:{click:function(c){return c.preventDefault(),t.plus(i)}}},[t._v("\n +\n ")]):e("div",{staticClass:"plus",class:t.cartList.valid[i].cart_num>=t.cartList.valid[i].stock?"on":"",on:{click:function(c){return c.preventDefault(),t.plus(i)}}},[t._v("\n +\n ")])])])])}),0),t.cartList.invalid.length>0?e("div",{staticClass:"invalidGoods"},[e("div",{staticClass:"goodsNav acea-row row-between-wrapper"},[e("div",{on:{click:t.goodsOpen}},[e("span",{staticClass:"iconfont",class:!0===t.goodsHidden?"icon-xiangyou":"icon-xiangxia"}),t._v("失效商品\n ")]),e("div",{staticClass:"del",on:{click:t.delInvalidGoods}},[e("span",{staticClass:"iconfont icon-shanchu1"}),t._v("清空\n ")])]),e("div",{staticClass:"goodsList",attrs:{hidden:t.goodsHidden}},t._l(t.cartList.invalid,function(c,i){return e("router-link",{key:i,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+c.product_id}}},[e("div",{staticClass:"invalid acea-row row-center-wrapper"},[t._v("失效")]),e("div",{staticClass:"pictrue"},[c.productInfo.attrInfo?e("img",{attrs:{src:c.productInfo.attrInfo.image}}):e("img",{attrs:{src:c.productInfo.image}})]),e("div",{staticClass:"text acea-row row-column-between"},[e("div",{staticClass:"line1"},[t._v(t._s(c.productInfo.store_name))]),c.productInfo.attrInfo?e("div",{staticClass:"infor line1"},[t._v("\n 属性:"+t._s(c.productInfo.attrInfo.suk)+"\n ")]):t._e(),e("div",{staticClass:"acea-row row-between-wrapper"},[e("div",{staticClass:"end"},[t._v("该商品已下架")])])])])}),1)]):t._e()]):t._e(),0===t.cartList.valid.length&&0===t.cartList.invalid.length?e("div",{staticClass:"noCart"},[t._m(1),e("Recommend")],1):t._e(),e("div",{staticStyle:{height:"2.1rem"}}),t.cartList.valid.length>0?e("div",{staticClass:"footer acea-row row-between-wrapper"},[e("div",[e("div",{staticClass:"select-btn"},[e("div",{staticClass:"checkbox-wrapper"},[e("label",{staticClass:"well-check"},[e("input",{attrs:{type:"checkbox",name:"",value:""},domProps:{checked:t.isAllSelect&&t.cartCount>0},on:{click:t.allChecked}}),e("i",{staticClass:"icon"}),e("span",{staticClass:"checkAll"},[t._v("全选 ("+t._s(t.cartCount)+")")])])])])]),!1===t.footerswitch?e("div",{staticClass:"money acea-row row-middle"},[e("span",{staticClass:"font-color-orange"},[t._v("¥"+t._s(t.countmoney))]),e("div",{staticClass:"placeOrder bg-color-green",on:{click:t.placeOrder}},[t._v("\n 立即下单\n ")])]):e("div",{staticClass:"button acea-row row-middle"},[e("div",{staticClass:"bnt cart-color-green",on:{click:t.collectAll}},[t._v("收藏")]),e("div",{staticClass:"bnt",on:{click:t.delgoods}},[t._v("删除")])])]):t._e()])},Gt=[function(){var t=this,c=t.$createElement,e=t._self._c||c;return e("div",{staticClass:"labelNav acea-row row-around row-middle"},[e("div",{staticClass:"item"},[e("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("100%正品保证\n ")]),e("div",{staticClass:"item"},[e("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("所有商品精挑细选\n ")]),e("div",{staticClass:"item"},[e("span",{staticClass:"iconfont icon-xuanzhong"}),t._v("售后无忧\n ")])])},function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:e("93ea")}})])}],Zt="cart_checked",Rt={name:"ShoppingCart",components:{Recommend:ct["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,c=this;Object(_["c"])().then(function(e){c.cartList=e.data;var i=p["a"].get(Zt)||[];Array.isArray(i)||(i=[]),t.cartList.valid.forEach(function(t){i.length?-1!==i.indexOf(t.id)?t.checked=!0:t.checked=!1:(t.checked=!0,c.checkedIds.push(t.id))}),i.length&&(c.checkedIds=i),c.isAllSelect=c.checkedIds.length===t.cartList.valid.length,c.carnum(),c.countMoney(),t.loaded=!0})},delgoods:function(){var t=this,c=[],e=[],i=t.cartList.valid;i.forEach(function(t){!0===t.checked&&c.push(t.id)}),0!==c.length?Object(_["n"])(c).then(function(){i.forEach(function(t,c){!1!==t.checked&&void 0!==t.checked||e.push(i[c])}),t.$set(t.cartList,"valid",e),t.carnum(),t.countMoney(),t.gainCount()}):t.$dialog.toast({mes:"请选择产品"})},gainCount:function(){var t=this;Object(_["b"])().then(function(c){t.count=c.data.count})},delInvalidGoods:function(){var t=this,c=[],e=t.cartList.invalid;e.forEach(function(t){c.push(t.id)}),Object(_["n"])(c).then(function(){e.splice(0,e.length),t.gainCount()})},collectAll:function(){var t=this,c={id:[],category:""},e=t.cartList.valid;e.forEach(function(t){!0===t.checked&&(c.id.push(t.product_id),c.category=t.type)}),0!==c.id.length?Object(l["J"])(c).then(function(){t.$dialog.toast({mes:"收藏成功!"})}):t.$dialog.toast({mes:"请选择产品"})},placeOrder:function(){var t=this,c=t.cartList.valid,e=[];c.forEach(function(t){!0===t.checked&&e.push(t.id)}),0!==e.length?this.$router.push({path:"/order/submit/"+e}):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 c=this,e=c.cartList.valid[t];e.cart_num++,e.attrInfo?e.cart_num>=e.attrInfo.stock&&c.$set(e,"cart_num",e.attrInfo.stock):e.cart_num>=e.stock&&c.$set(e,"cart_num",e.stock),c.carnum(),c.countMoney(),c.syncCartNum(e)},reduce:function(t){var c=this,e=c.cartList.valid[t];e.cart_num--,e.cart_num<1&&c.$set(e,"cart_num",1),c.carnum(),c.countMoney(),c.syncCartNum(e)},syncCartNum:function(t){t.sync||(t.sync=zt()(function(){Object(_["a"])(t.id,Math.max(t.cart_num,1)||1)},500)),t.sync()},switchSelect:function(t){var c=this,e=c.cartList.valid[t],i=this.checkedIds.indexOf(e.id);e.checked=!e.checked,-1!==i&&this.checkedIds.splice(i,1),e.checked&&this.checkedIds.push(e.id);for(var n=c.cartList.valid.length,a=[],o=0;o0?i("div",{staticClass:"vip-money"},[t._v("\n ¥"+t._s(c.vip_price)),i("img",{attrs:{src:e("69ed")}})]):t._e(),i("div",[t._v("已售"+t._s(c.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,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"noPictrue"},[i("img",{staticClass:"image",attrs:{src:e("0c36")}})])}],xt={name:"GoodsList",components:{Recommend:ct["a"],Loading:$["a"]},props:{},data:function(){var t=this.$route.query,c=t.s,e=void 0===c?"":c,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:e,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 c=t.query,e=c.s,i=void 0===e?"":e,n=c.id,a=void 0===n?0:n,o=c.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:zt()(function(){var t=this;if(!t.loading&&!t.loadend){t.loading=!0,this.setWhere();var c=t.where;Object(_["i"])(c).then(function(c){t.loading=!1,t.productList.push.apply(t.productList,c.data),t.loadend=c.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:e,method:c},r,i))},t},{});["get","delete","head"].forEach(function(t){u[t]=function(c){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h(Object.assign({url:c,params:e,method:t},r,i))}}),c["a"]=u},be35:function(t,c,e){},bf03:function(t,c,e){},c1eb:function(t,c){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpjZWU1NDIxMC00NTZlLTQzYzItYWQyOC02ZDBjZjA2MmU3ZTMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5k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N7CZPVPkNf/BgtZS/oBv8ZQ1GAI/DDe1NgclsSBiCxmWEoaY2yYU0N1UCXbxSQTCcNtrD4cVwOx/FUkaI7k3K4B4ivA+97AbohPE3d54RrcDYdorW8kbPgjDCEBFqjH7EUcW+hJCFu+gVMdD/N4jj6Q8IDqHpEDtqKHqY89rPX+PKiNWyghyzXyjG4dmjnIJIv1XZ2LcGtyH5kVTt/kpv4fOW5lvM96mlWqoQnuYR26ca6vZM4xy23qu9/FaOxBUnjJFeam8k7F/nQ9sVdCg6DLEqR3xiYmUImlMn/8eRcnfnWD+sxklloqyYSVFuV5MdJJ+/ifAAJDA3WZvcOygAAAAAElFTkSuQmCC"},c24f:function(t,c,e){"use strict";e.d(c,"F",function(){return n}),e.d(c,"G",function(){return a}),e.d(c,"Q",function(){return o}),e.d(c,"O",function(){return s}),e.d(c,"P",function(){return l}),e.d(c,"o",function(){return r}),e.d(c,"p",function(){return h}),e.d(c,"b",function(){return u}),e.d(c,"q",function(){return d}),e.d(c,"B",function(){return p}),e.d(c,"C",function(){return m}),e.d(c,"t",function(){return v}),e.d(c,"f",function(){return f}),e.d(c,"g",function(){return b}),e.d(c,"e",function(){return g}),e.d(c,"d",function(){return M}),e.d(c,"H",function(){return w}),e.d(c,"m",function(){return z}),e.d(c,"l",function(){return A}),e.d(c,"J",function(){return y}),e.d(c,"k",function(){return k}),e.d(c,"u",function(){return C}),e.d(c,"v",function(){return I}),e.d(c,"w",function(){return L}),e.d(c,"L",function(){return G}),e.d(c,"K",function(){return Z}),e.d(c,"y",function(){return R}),e.d(c,"A",function(){return S}),e.d(c,"z",function(){return O}),e.d(c,"n",function(){return N}),e.d(c,"r",function(){return j}),e.d(c,"i",function(){return Y}),e.d(c,"I",function(){return x}),e.d(c,"D",function(){return E}),e.d(c,"E",function(){return V}),e.d(c,"h",function(){return D}),e.d(c,"c",function(){return H}),e.d(c,"x",function(){return U}),e.d(c,"M",function(){return B}),e.d(c,"j",function(){return W}),e.d(c,"R",function(){return T}),e.d(c,"N",function(){return _}),e.d(c,"s",function(){return F}),e.d(c,"a",function(){return Q}),e.d(c,"S",function(){return P});var i=e("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 p(){return i["a"].get("/user")}function m(){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 M(t){return i["a"].get("/address/detail/"+t)}function w(t){return i["a"].post("/address/edit",t)}function z(t,c){return i["a"].get("/collect/user",{page:t,limit:c})}function A(t,c){return i["a"].post("/collect/del",{id:t,category:c})}function y(t){return i["a"].post("/collect/all",t)}function k(t,c){return i["a"].post("collect/add",{id:t,category:c})}function C(){return i["a"].get("/sign/config")}function I(t,c){return i["a"].get("/sign/list",{page:t,limit:c})}function L(t,c){return i["a"].get("/sign/month",{page:t,limit:c})}function G(t){return i["a"].post("/sign/user",t)}function Z(t){return i["a"].post("/sign/integral",t)}function R(){return i["a"].get("/commission")}function S(t){return i["a"].post("/spread/people",t)}function O(t){return i["a"].post("/spread/order",t)}function N(t,c){return i["a"].get("/spread/commission/"+c,t)}function j(t){return i["a"].get("/integral/list",t)}function Y(){return i["a"].get("/extract/bank")}function x(t){return i["a"].post("/extract/cash",t)}function E(){return i["a"].get("/user/level/grade")}function V(t){return i["a"].get("/user/level/task/"+t)}function D(){return i["a"].get("/user/balance")}function H(){return i["a"].get("/user/activity",{},{login:!1})}function U(){return i["a"].get("/spread/banner")}function B(t){return i["a"].post("/user/edit",t)}function W(t,c){return i["a"].get("user/service/record/"+t,c)}function T(){return i["a"].get("user/service/list")}function _(t){return i["a"].post("/recharge/wechat",t)}function F(){return i["a"].get("/logout")}function Q(t){return i["a"].post("binding",t)}function P(){return i["a"].post("switch_h5",{from:"wechat"})}},c901:function(t,c,e){t.exports=e.p+"h5/img/three.2162defb.png"},ca41:function(t,c,e){"use strict";e.d(c,"n",function(){return n}),e.d(c,"m",function(){return a}),e.d(c,"o",function(){return o}),e.d(c,"q",function(){return s}),e.d(c,"p",function(){return l}),e.d(c,"r",function(){return r}),e.d(c,"t",function(){return h}),e.d(c,"s",function(){return u}),e.d(c,"f",function(){return d}),e.d(c,"a",function(){return p}),e.d(c,"h",function(){return m}),e.d(c,"i",function(){return v}),e.d(c,"b",function(){return f}),e.d(c,"e",function(){return b}),e.d(c,"c",function(){return g}),e.d(c,"j",function(){return M}),e.d(c,"d",function(){return w}),e.d(c,"g",function(){return z}),e.d(c,"l",function(){return A}),e.d(c,"k",function(){return y});var i=e("b775");function n(t){return i["a"].get("/combination/list",t,{login:!1})}function a(t){return i["a"].get("/combination/detail/"+t,{},{login:!1})}function o(t){return i["a"].get("/combination/pink/"+t)}function s(t){return i["a"].post("/combination/remove",t)}function l(t){return i["a"].post("/combination/poster",t)}function r(){return i["a"].get("/seckill/index",{},{login:!1})}function h(t,c){return i["a"].get("/seckill/list/"+t,c,{login:!1})}function u(t){return i["a"].get("/seckill/detail/"+t,{},{login:!1})}function d(t){return i["a"].get("/bargain/list",t,{login:!1})}function p(t){return i["a"].get("/bargain/detail/"+t)}function m(t){return i["a"].post("/bargain/share",t)}function v(t){return i["a"].post("/bargain/start",t)}function f(t){return i["a"].post("/bargain/help",t)}function b(t){return i["a"].post("/bargain/help/price",t)}function g(t){return i["a"].post("/bargain/help/count",t)}function M(t){return i["a"].post("/bargain/start/user",t)}function w(t){return i["a"].post("/bargain/help/list",t)}function z(t){return i["a"].post("/bargain/poster",t)}function A(t){return i["a"].get("/bargain/user/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YkUKOROTKJIwhKLLzj4mGhDtU5Yy0sSLGcMFbYtdFJM9LftneI/VZtHQhWAqWaK4LZH085nP5rFB9jVSSq3Ax3aX9PKljYu2jyi/0HHeKO6GfQ0sVHFsQsWSJCsypRaEOILkizjyqndQa5xHbKVPoxXN0KwCPFih+lYnqWXkvSmF7ru9GmiysNYR3Ty0u5UWxpzyaiWreC66OTxXuS9uPsOEuf4ZHA4H49axc1GVNBLbQS0ls2X/jgqSw9DBq6xhJn5Lwhf8zgsKX0HfLqP0LbIEyfYZWUdf3T47qPa8p8eH700cSnSCw/ZfOJ469/4gNzCH6YMP6/FzKINmPt9yP719qcfLkonNfrEatsOaEjOy+a+6Q3qc1+PIIC08yI+hw2JKrzwIE8OukaP/BBgflv949rcAAwDDhq30SSGNegAAAABJRU5ErkJggg=="},cba2:function(t,c,e){"use strict";e.d(c,"b",function(){return s});var i=e("cebc"),n=(e("ac6a"),e("456d"),e("c908")),a={confirm:n["Confirm"],alert:n["Alert"],toast:n["Toast"],notify:n["Notify"],loading:n["Loading"]},o={error:"操作失败",success:"操作成功"};function s(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"message";return a[c](t.errors[0].message)}Object.keys(o).reduce(function(t,c){return t[c]=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(a){Object(n["Toast"])(Object(i["a"])({mes:t||o[c],timeout:1e3,icon:c,callback:function(){a()}},e))})},t},a),a.message=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"操作失败",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e){Object(n["Toast"])(Object(i["a"])({mes:t,timeout:1e3,callback:function(){e()}},c))})},a.validateError=function(){s.apply(void 0,arguments)},c["a"]=a},cf06:function(t,c,e){},d074:function(t,c,e){"use strict";var i=e("198c"),n=e.n(i);n.a},d0a4:function(t,c,e){"use strict";e("456d"),e("ac6a"),e("28a5"),e("3b2b"),e("a481");var i=e("ed08"),n=window.document;function a(t){if(!t||!h(t))return null;var c="(?:^|.*;\\s*)"+escape(t).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return JSON.parse(unescape(n.cookie.replace(new RegExp(c),"$1")))}function o(){for(var t=n.cookie.split(/; ?/g),c={},e=t.length-1;e>=0;e--)if(Object(i["f"])(t[e])){var a=t[e].split("="),o=unescape(a[0]);c[o]=unescape(a[1])}return c}function s(t,c,e){if(t){var a,o="Tue, 19 Jan 2038 03:14:07 GMT";if(e)Object(i["c"])(e,"Date")?a=e:(a=new Date,a.setTime(a.getTime()+6e4*e)),o=a.toGMTString();c=JSON.stringify(c),n.cookie=escape(t)+"="+escape(c)+"; 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)}c["a"]={get:a,all:o,set:s,remove:l,clearAll:r,has:h}},d30b:function(t,c,e){"use strict";e.d(c,"a",function(){return l});e("a481"),e("7f7f");var i=e("a18c"),n=e("4360"),a=e("d0a4"),o=e("ed08"),s=e("74f9");function l(t,c){n["a"].commit("LOGOUT");var e=i["a"].currentRoute,l=e.fullPath,r=e.name;a["a"].set("login_back_url",c||l),Object(o["d"])()?Object(s["oAuth"])():"Login"!==r&&(t?i["a"].push({path:"/login"}):i["a"].replace({path:"/login"}))}},d829:function(t,c,e){"use strict";var i=function(){var t=this,c=t.$createElement,i=t._self._c||c;return i("div",{staticClass:"goodList"},t._l(t.goodList,function(c,n){return i("router-link",{key:n,staticClass:"item acea-row row-between-wrapper",attrs:{to:{path:"/detail/"+c.id}}},[i("div",{staticClass:"pictrue"},[i("img",{staticClass:"image",attrs:{src:c.image}}),!0===t.isSort&&0===n?i("img",{staticClass:"numPic",attrs:{src:e("04fb")}}):t._e(),!0===t.isSort&&1===n?i("img",{staticClass:"numPic",attrs:{src:e("2e8f")}}):t._e(),!0===t.isSort&&2===n?i("img",{staticClass:"numPic",attrs:{src:e("c901")}}):t._e()]),i("div",{staticClass:"underline"},[i("div",{staticClass:"text"},[i("div",{staticClass:"line1"},[t._v(t._s(c.store_name))]),i("div",{staticClass:"money font-color-orange"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(c.price))])]),i("div",{staticClass:"vip-money acea-row row-middle"},[c.vip_price&&c.vip_price>0?i("div",{staticClass:"vip"},[t._v("\n ¥"+t._s(c.vip_price||0)),i("img",{staticClass:"image",attrs:{src:e("69ed")}})]):t._e(),i("span",{staticClass:"num"},[t._v("已售"+t._s(c.sales)+t._s(c.unit_name))])])])]),i("div",{staticClass:"iconfont icon-gouwuche cart-color-green 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=e("2877"),l=Object(s["a"])(o,i,n,!1,null,null,null);c["a"]=l.exports},dab9:function(t,c,e){},e222:function(t,c){!function(t){var c,e='',i=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(i&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var e=function t(){document.removeEventListener("DOMContentLoaded",t,!1),c()};document.addEventListener("DOMContentLoaded",e,!1)}else document.attachEvent&&(n=c,a=t.document,o=!1,(s=function(){try{a.documentElement.doScroll("left")}catch(c){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,c;(t=document.createElement("div")).innerHTML=e,e=null,(c=t.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",function(t,c){c.firstChild?function(t,c){c.parentNode.insertBefore(t,c)}(t,c.firstChild):c.appendChild(t)}(c,document.body))})}(window)},e4fb:function(t,c){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAATCAYAAABPwleqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxMGM0NTk3Mi0xZWRjLTc5NDktYmM5My01MmI5MGUwMjczMTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjEwRUYxQTkyMTE2MTFFOTk4QUVDRTRFNDMyRTZFNkUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjEwRUYxQTgyMTE2MTFFOTk4QUVDRTRFNDMyRTZFNkUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODJmOGJjOWEtNjNhNi1hZDRkLTk0NTMtYWQxYTg4NTU5YTFhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEwYzQ1OTcyLTFlZGMtNzk0OS1iYzkzLTUyYjkwZTAyNzMxOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjUxYEEAAAD9SURBVHjaYpw5cyYDDiANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+OLziB8TzoeowNE8A4mgG/AAk34euuRKI8xiIAwVAXAFisABxJhC3MZAGQOo/skBDVpmBdPAXpPkhA5kApFkeiJnJtdkLiKeRoTkLFNrTgbiGRI2g2JkOi6pWIJ5MpMaJQNyBnkjygXgpAY0g+UJsKew/NPttxqFxExAnQtVhzRi/gDgCiI+jiR8F4kgg/k0oS34DYk8gvgzlg2hvqDhRhcFHqAE7gNgdyscAAAEGAGMOLKKfpm4VAAAAAElFTkSuQmCC"},e5d0:function(t,c,e){},e876:function(t,c,e){"use strict";e.d(c,"f",function(){return n}),e.d(c,"a",function(){return a}),e.d(c,"b",function(){return o}),e.d(c,"d",function(){return s}),e.d(c,"e",function(){return l}),e.d(c,"h",function(){return r}),e.d(c,"c",function(){return h}),e.d(c,"i",function(){return u}),e.d(c,"k",function(){return d}),e.d(c,"g",function(){return p}),e.d(c,"j",function(){return m});var i=e("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,c){return i["a"].get("/article/list/"+c,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,c,e){return i["a"].get("/wechat/auth",{code:t,spread:c,login_type:e},{login:!1})}function p(){return i["a"].get("/logistics",{},{login:!1})}function m(t,c){return i["a"].post("/image_base64",{image:t,code:c},{login:!1})}},ed08:function(t,c,e){"use strict";e.d(c,"f",function(){return i}),e.d(c,"c",function(){return n}),e.d(c,"d",function(){return a}),e.d(c,"e",function(){return o}),e.d(c,"a",function(){return s}),e.d(c,"b",function(){return l});e("ac6a"),e("28a5"),e("a481"),e("6b54");function i(t){return String.prototype.trim.call(t)}function n(t,c){return Object.prototype.toString.call(t)==="[object "+c+"]"}function a(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}function o(){var t={},c=(location.href.split("?")[1]||"").trim().replace(/^(\?|#|&)/,"");return c?(c.split("&").forEach(function(c){var e=c.replace(/\+/g," ").split("="),i=decodeURIComponent(e.shift()),n=e.length>0?decodeURIComponent(e.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")},ed57:function(t,c,e){t.exports=e.p+"h5/img/noSearch.72221156.png"},f410:function(t,c,e){"use strict";var i=function(){var t=this,c=t.$createElement,e=t._self._c||c;return e("div",{ref:"container",staticClass:"recommend"},[t._m(0),e("div",{staticClass:"recommendList acea-row row-between-wrapper"},t._l(t.hostProduct,function(c,i){return e("router-link",{key:i,staticClass:"item",attrs:{to:{path:"/detail/"+c.id}}},[e("div",{staticClass:"pictrue"},[e("img",{staticClass:"image",attrs:{src:c.image}})]),e("div",{staticClass:"name line1"},[t._v(t._s(c.store_name))]),e("div",{staticClass:"money font-color-orange"},[t._v("\n ¥"),e("span",{staticClass:"num"},[t._v(t._s(c.price))])])])}),1),e("Loading",{attrs:{loaded:t.loadend,loading:t.loading}})],1)},n=[function(){var t=this,c=t.$createElement,e=t._self._c||c;return e("div",{staticClass:"title acea-row row-center-wrapper"},[e("span",{staticClass:"iconfont icon-zhuangshixian"}),e("span",{staticClass:"name"},[t._v("为你推荐")]),e("span",{staticClass:"iconfont icon-zhuangshixian lefticon"})])}],a=e("73f5"),o=e("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(c){t.loading=!1,t.hostProduct.push.apply(t.hostProduct,c.data),t.loadend=c.data.length