(function(t){function e(e){for(var n,i,s=e[0],l=e[1],r=e[2],u=0,h=[];udocument.body.clientHeight-150?e=document.body.clientHeight-150:e<55&&(e=55),this.top=e},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}},b=f,g=(c("11e4"),Object(u["a"])(b,p,m,!1,null,"7e3317a7",null)),y=g.exports,w=c("74f9"),z=c("e876"),M=c("ed08");function k(t){return void 0===t.meta.keepAlive||t.meta.keepAlive}var C={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:y},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(M["d"])()&&Object(z["k"])().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)}))}}},A=C,_=(c("5c0b"),Object(u["a"])(A,i,a,!1,null,null,null)),x=_.exports,I=c("a18c"),L=c("4360"),O=c("157a"),j=c.n(O),B=c("011c"),S=c.n(B),E=c("cba2"),N=(c("6d57"),[]),H=function(t,e){N.push({dom:t,fn:e}),e._index=N.length-1};H.remove=function(t){t._index&&N.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;N.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 D=H,G=c("d0a4"),V=(c("e222"),c("be35"),c("3bf2"));(function(t,e){var c=e.documentElement||e.body,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)}function l(){WeixinJSBridge.invoke("setFontSizeCallback",{fontSize:0}),WeixinJSBridge.on("menu:setfont",(function(){WeixinJSBridge.invoke("setFontSizeCallback",{fontSize:0})}))}"object"==("undefined"===typeof WeixinJSBridge?"undefined":Object(V["a"])(WeixinJSBridge))&&"function"==typeof WeixinJSBridge.invoke?l():e.addEventListener?e.addEventListener("WeixinJSBridgeReady",l,!1):e.attachEvent&&(e.attachEvent("WeixinJSBridgeReady",l),e.attachEvent("onWeixinJSBridgeReady",l))})(window,document);c("305b"),c("3aff"),c("4ee2"),c("6672");n["default"].use(j.a),n["default"].config.productionTip=!1,n["default"].config.devtools=!1,n["default"].prototype.$validator=function(t){return new S.a(t)},n["default"].prototype.$scroll=D,n["default"].prototype.$dialog=E["a"];var Z="clear_0.0.1";G["a"].has(Z)||(G["a"].clearAll(),G["a"].set(Z,1));var T="VCONSOLE",U=Object(M["e"])(),Y=U["spread"],W=U[T.toLowerCase()],P="b14d1e9baeced9bb7525ab19ee35f2d2",F="3dca2162c4e101b7656793a1af20295c";if(void 0!==Y){var Q=G["a"].get("spread");Y=parseInt(Y),(Number.isNaN(Y)||Q===Y)&&0!==Q&&"number"===typeof Q||G["a"].set("spread",Y||0)}var J=Object(M["d"])();if(void 0!==W?W===F&&G["a"].has(T)&&G["a"].remove(T):W=G["a"].get(T),void 0!==W&&W===P){G["a"].set(T,P,3600);var X=function(){return c.e("chunk-2d213144").then(c.t.bind(null,"aac1",7))};X().then((function(t){new t.default}))}if(J){var q=function(){return Promise.resolve().then(c.bind(null,"74f9"))};q().then((function(t){t.default().then((function(){return t.oAuth()}))}))}var K=new n["default"]({router:I["a"],store:L["a"],render:function(t){return t(x)}});setTimeout((function(){K.$mount("#app")}),300)},"5c0b":function(t,e,c){"use strict";var n=c("735e"),i=c.n(n);i.a},6501:function(t,e,c){"use strict";var n=c("d7b1"),i=c.n(n);i.a},6672:function(t,e,c){},6983:function(t,e,c){},"69ed":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAVCAYAAAA5BNxZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20ve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eVG5nXkFNZLjehl7uWFtJKaSmRqSqNIZkHPtzdUtBn/k748mCnio6WvxwhK6PB6ngo3s9RVD2hug9sf+277KvNiaTewl5rbtLlxsvjtHmxPlu/a4+dv5d+2xuHhbuepfTrZdwJt33p73OvL/t97vGp9PxFbznLSzd8dapcrkx281W86YxF4jlnpU37CxkLViJjIP1Boenq8iXuo97OVQpL+H1SSikVhDYU1XtRHRmVruSCOuy6gFfgU0nrzM1S0mL+cVCBt9tTvCW3K1d0prcz/qJKGQbNt4UPym01nvKdQda0eeI59rTqkhLNNLtu4BXchOJzBRq5dDmXshFBwbjYXa/NlNR2yn2P7NPqmtTTMbAJWru1AUXgFx8MJGkXRyalIv4fj/fSRqSVVsoJB+O/wHWp8pJWIGf3QKJcNWSPs9+DiSlQCph4XiMhLEziGOnRo+7RiPDznwADAFHt+7vHV3GfAAAAAElFTkSuQmCC"},"735e":function(t,e,c){},"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 u})),c.d(e,"c",(function(){return h})),c.d(e,"n",(function(){return d})),c.d(e,"b",(function(){return p})),c.d(e,"a",(function(){return m})),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 y})),c.d(e,"q",(function(){return w}));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 u(t){return n["a"].post("/cart/add",t)}function h(){return n["a"].get("/cart/list")}function d(t){return n["a"].post("/cart/del",{ids:t})}function p(t){return n["a"].get("/cart/count",t)}function m(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 y(t){return n["a"].post("/order/comment",t,{login:!1})}function w(t){return n["a"].get("store_list",t,{login:!1})}},"74f9":function(t,e,c){"use strict";c.r(e),c.d(e,"default",(function(){return M})),c.d(e,"clearAuthStatus",(function(){return k})),c.d(e,"oAuth",(function(){return C})),c.d(e,"auth",(function(){return A})),c.d(e,"toAuth",(function(){return _})),c.d(e,"pay",(function(){return L})),c.d(e,"openAddress",(function(){return O})),c.d(e,"openShareAll",(function(){return j})),c.d(e,"openShareAppMessage",(function(){return B})),c.d(e,"openShareTimeline",(function(){return S})),c.d(e,"wechatEvevt",(function(){return E})),c.d(e,"ready",(function(){return N})),c.d(e,"wxShowLocation",(function(){return H}));c("5ab2"),c("e10e"),c("cc57"),c("6d57");var n=c("3bf2"),i=c("289c"),a=(c("9a33"),c("c0c3"),c("f548"),c("83a0")),o=c.n(a),s=c("e876"),l=c("ed08"),r=c("d0a4"),u=c("4360");function h(t,e){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),c.push.apply(c,n)}return c}function d(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(c,n){t(d({},e,{success:function(t){c(t)},fail:function(t){n(t)},complete:function(t){n(t)},cancel:function(t){n(t)}}))}))}function L(t){return I(p.chooseWXPay,t)}function O(){return new Promise((function(t,e){E("openAddress",{}).then((function(e){t(e)})).catch((function(c){c.is_ready?c.wx.openAddress({fail:function(t){e(t)},success:function(e){t(e)}}):e(c)}))}))}function j(t){return t.type=void 0==t.type?"link":t.type,new Promise((function(e){Object(s["l"])().then((function(c){m.signSignature({nonceStr:c.data.nonceStr,signature:c.data.signature,timestamp:c.data.timestamp}),p=m.getOriginalWx(),p.ready((function(){p.updateAppMessageShareData(t),p.updateTimelineShareData(t),e()}))}))}))}function B(t){p.updateAppMessageShareData(t),p.onMenuShareAppMessage&&p.onMenuShareAppMessage(t)}function S(t){p.updateTimelineShareData(t),p.onMenuShareTimeline&&p.onMenuShareTimeline(t)}function E(t,e){return new Promise((function(c,i){var a,l={fail:function(t){if(console.log(t),a)return i({is_ready:!0,wx:a});Object(s["l"])().then((function(t){m.signSignature({nonceStr:t.data.nonceStr,signature:t.data.signature,timestamp:t.data.timestamp}),a=m.getOriginalWx(),i({is_ready:!0,wx:a})}))},success:function(t){c(t)},cancel:function(t){i(t)},complete:function(t){i(t)}};Object.assign(l,e),Object(s["l"])().then((function(e){var c=o()(e.data);c.initialize().then((function(){p=c.getOriginalWx(),p.ready((function(){"object"===Object(n["a"])(t)?t.forEach((function(t){p[t]&&p[t](l)})):p[t]&&p[t](l)}))}))}))}))}function N(){return new Promise((function(t){"undefined"!==typeof p?p.ready((function(){t(p)})):Object(s["l"])().then((function(e){var c=o()(e.data);c.initialize().then((function(){p=c.wx,p.ready((function(){t(p)}))}))}))}))}function H(){return new Promise((function(t,e){var c=r["a"].get(y),n=r["a"].get(w);if(c&&n)return t({longitude:c,latitude:n});E("getLocation",{type:"wgs84"}).then((function(e){var c=e.latitude,n=e.longitude;r["a"].set(w,c),r["a"].set(y,n),t(e)})).catch((function(c){r["a"].remove(w),r["a"].remove(y),e(c),c.is_ready?c.wx.getLocation({success:function(e){var c=e.latitude,n=e.longitude;r["a"].set(w,c),r["a"].set(y,n),t(e)},cancel:function(t){r["a"].remove(w),r["a"].remove(y),e(t)},fail:function(t){r["a"].remove(w),r["a"].remove(y),e(t)}}):(r["a"].remove(w),r["a"].remove(y),e(c))})).fail((function(t){e(t)}))}))}},"7c7c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoA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JmOGJjOWEtNjNhNi1hZDRkLTk0NTMtYWQxYTg4NTU5YTFhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEwYzQ1OTcyLTFlZGMtNzk0OS1iYzkzLTUyYjkwZTAyNzMxOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjqHv5oAAAD/SURBVHjaYpw5cyYDDiANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+OLziB8TzoeowNE8A4mgG/AAk34euuRKI8xiIAwVAXAFisABxJhC3MZAGQOo/skBDVpmBdPAXpPkhA5mA8aWxsjyQZibXZi8gnkaG5ixQaE8H4hoSNYJiZzosqlqBeDKRGicCcQd6IskH4qUENILkC7GlsP/Q7LcZh8ZNQJwIVYc1Y/wC4gggPo4mfhSII4H4N6Es+Q2IPYH4MpQPor2h4kQVBh+hBuwAYncoHwMABBgABy8t3vXX4OYAAAAASUVORK5CYII="},8715:function(t,e,c){"use strict";var n=c("6983"),i=c.n(n);i.a},"893f":function(t,e,c){},"8c33":function(t,e,c){"use strict";var n=c("2dc6"),i=c.n(n);i.a},"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("div",{key:n,staticClass:"item acea-row row-between-wrapper",on:{click:function(c){return t.goDetail(e)}}},[c("div",{staticClass:"pictrue"},[c("img",{staticClass:"image",attrs:{src:e.image}}),e.activity&&"1"===e.activity.type?c("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("秒杀")]):t._e(),e.activity&&"2"===e.activity.type?c("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("砍价")]):t._e(),e.activity&&"3"===e.activity.type?c("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("拼团")]):t._e()]),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))])])])])})),0):t._e()},i=[],a=c("00fd"),o={name:"PromotionGood",props:{benefit:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(t){var e=this;Object(a["c"])(t).then((function(){e.$router.push({path:"/detail/"+t.id})}))}}},s=o,l=c("623f"),r=Object(l["a"])(s,n,i,!1,null,null,null);e["a"]=r.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/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6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h2a/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("f548"),c("163d"),c("2b45"),c("9a33");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("cc57"),c("f548");var n=c("0bbb"),i=c("0261"),a=c("9bfb"),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("div",{staticClass:"item",on:{click:function(e){return t.goPagey("/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}}),n("GeneralWindow",{attrs:{generalActive:t.generalActive,generalContent:t.generalContent},on:{closeGeneralWindow:t.closeGeneralWindow}})],1)},s=[],l=c("c24f"),r=c("ed08"),u=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}})])},h=[],d=c("74f9"),p=c("d0a4"),m=c("4360"),v={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?(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["X"])().then((function(e){var c=e.data;t.$dialog.loading.close();var n=c.expires_time.substring(0,19);n=n.replace(/-/g,"/"),n=new Date(n).getTime()-288e5;var i={token:c.token,expires_time:n};m["a"].commit("LOGIN",i),t.$emit("changeswitch",!1),location.reload()})).catch((function(c){return t.$dialog.loading.close(),e.$dialog.toast({mes:c})}))}}},f=v,b=(c("8c33"),c("623f")),g=Object(b["a"])(f,u,h,!1,null,null,null),y=g.exports,w=c("ea53"),z="User",M={name:z,components:{SwitchWindow:y,GeneralWindow:w["a"]},props:{},data:function(){return{userInfo:{},MyMenus:[],orderStatusNum:{},switchActive:!1,isWeixin:!1,generalActive:!1,generalContent:{promoterNum:"",title:""}}},watch:{$route:function(t){t.name===z&&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,e=this;Object(l["F"])().then((function(c){e.userInfo=c.data,e.orderStatusNum=c.data.orderStatusNum,t.generalContent={promoterNum:'您在商城累计消费金额仅差 '.concat(c.data.promoter_price||0,"元即可开通推广权限"),title:"您未获得推广权限"}}))},MenuUser:function(){var t=this;Object(l["v"])().then((function(e){t.MyMenus=e.data.routine_my_menus}))},goPagey:function(t){return this.userInfo.is_promoter||1!=this.userInfo.statu?this.userInfo.is_promoter||2!=this.userInfo.statu?void this.$router.push({path:t}):this.generalActive=!0:this.$dialog.toast({mes:"您还没有推广权限!!"})},goPages:function(t){var e=this.MyMenus[t].wap_url;if("/user/user_promotion"===e){if(!this.userInfo.is_promoter&&1==this.userInfo.statu)return this.$dialog.toast({mes:"您还没有推广权限!!"});if(!this.userInfo.is_promoter&&2==this.userInfo.statu)return this.generalActive=!0}if("/customer/index"===e&&!this.userInfo.adminid)return this.$dialog.toast({mes:"您还不是客服!!"});this.$router.push({path:this.MyMenus[t].wap_url})},closeGeneralWindow:function(t){this.generalActive=t}}},k=M,C=(c("6501"),Object(b["a"])(k,o,s,!1,null,"7c724db0",null)),A=C.exports,_=[{path:"/user",name:"User",meta:{title:"个人中心",keepAlive:!0,footer:!0,auth:!0},component:A},{path:"/user/binding",name:"BindingPhone",meta:{title:"绑定手机",keepAlive:!0,backgroundColor:"#fff",auth:!0},component:function(){return Promise.all([c.e("chunk-787790ba"),c.e("chunk-798b8cab")]).then(c.bind(null,"3d16"))}},{path:"/user/add_address/:id?",name:"AddAddress",meta:{title:"添加收货地址",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2922fa8f").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-69351836").then(c.bind(null,"bb9a"))}},{path:"/user/poster",name:"Poster",meta:{title:"分销海报",keepAlive:!1,backgroundColor:"#a3a3a3",auth:!0},component:function(){return c.e("chunk-0640a528").then(c.bind(null,"707b"))}},{path:"/user/sign",name:"Sign",meta:{title:"签到",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-2a8af466").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-35d5973c").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-1d9e4e87"),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-63428207").then(c.bind(null,"b701"))}},{path:"/user/user_cash",name:"UserCash",meta:{title:"申请提现",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-35d5973c").then(c.bind(null,"c2af"))}},{path:"/customer/list/:productId?",name:"CustomerList",meta:{title:"客服列表",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-b06c9b54").then(c.bind(null,"f191"))}},{path:"/user/Recharge",name:"Recharge",meta:{title:"余额充值",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-25849407").then(c.bind(null,"64e8"))}},{path:"/user/promoter_rank",name:"PromoterRank",meta:{title:"推广人排行",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-08e2dc79").then(c.bind(null,"e436"))}},{path:"/user/commission/rank",name:"CommissionRank",meta:{title:"佣金排行",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-3615a42e").then(c.bind(null,"02ee"))}}],x=[{path:"/order/list/:type?",name:"MyOrder",meta:{title:"我的订单",keepAlive:!1,auth:!0},component:function(){return c.e("chunk-2e93d517").then(c.bind(null,"46d6"))}},{path:"/order/logistics/:id",name:"Logistics",meta:{title:"物流信息",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-6ef55f85").then(c.bind(null,"e483"))}},{path:"/order/detail/:id",name:"OrderDetails",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return c.e("chunk-c7885fa6").then(c.bind(null,"e68f"))}},{path:"/order/submit/:id",name:"OrderSubmission",meta:{title:"提交订单",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-38b146c0").then(c.bind(null,"6c69"))}},{path:"/order/status/:id/: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-1d9e4e87"),c.e("chunk-6769057f")]).then(c.bind(null,"8a7a"))}},{path:"/order/refund_list",name:"ReturnList",meta:{title:"退货列表",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-6a3e930a").then(c.bind(null,"13b9"))}}],I=[{path:"/activity"},{path:"/activity/poster/:id/:type",name:"Poster",meta:{title:"海报",keepAlive:!1,backgroundColor:"#d22516",auth:!0},component:function(){return c.e("chunk-05ea8763").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-863c5828").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-0f55f6af"),c.e("chunk-b3288ef4"),c.e("chunk-28249a0d")]).then(c.bind(null,"64c5"))}},{path:"/activity/group_rule/:id",name:"GroupRule",meta:{title:"拼团",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-7a920428").then(c.bind(null,"c32d"))}},{path:"/activity/goods_seckill",name:"GoodsSeckill",meta:{title:"限时抢购",keepAlive:!1,backgroundColor:"#ffffff"},component:function(){return Promise.all([c.e("chunk-7c9cf318"),c.e("chunk-c929bd1e")]).then(c.bind(null,"2b67"))}},{path:"/activity/seckill_detail/:id?/:time?/:status?",name:"SeckillDetails",meta:{title:"抢购详情页",keepAlive:!0},component:function(){return Promise.all([c.e("chunk-0f55f6af"),c.e("chunk-b3288ef4"),c.e("chunk-7c26c7a8")]).then(c.bind(null,"adbf"))}}],L=[{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-e1de45c4"),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-c56d8ebe").then(c.bind(null,"da81"))}},{path:"/customer/orderdetail/:oid?/:goname?",name:"AdminOrder",meta:{title:"订单详情",keepAlive:!1,auth:!0},component:function(){return Promise.all([c.e("chunk-e1de45c4"),c.e("chunk-6b29abcb")]).then(c.bind(null,"a162"))}},{path:"/customer/statistics/:type/:time?",name:"Statistics",meta:{title:"订单数据统计",keepAlive:!0,auth:!0},component:function(){return c.e("chunk-4f90706c").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-ac9cc710").then(c.bind(null,"5496"))}}],O=[].concat(Object(n["a"])(_),Object(n["a"])(x),Object(n["a"])(I),Object(n["a"])(L)),j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index"},[t.followHid&&t.isWeixin?n("div",{staticClass:"follow acea-row row-between-wrapper"},[n("div",[t._v("点击“立即关注”即可关注公众号")]),n("div",{staticClass:"acea-row row-middle"},[n("div",{staticClass:"bnt",on:{click:t.followTap}},[t._v("立即关注")]),n("span",{staticClass:"iconfont icon-guanbi",on:{click:t.closeFollow}})])]):t._e(),t.followCode?n("div",{staticClass:"followCode"},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.followUrl}})]),n("div",{staticClass:"mask",on:{click:t.closeFollowCode}})]):t._e(),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("img",{attrs:{src:t.pic}})])})),n("div",{staticClass:"swiper-pagination paginationBanner",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)]),void 0!==t.activityOne.wap_link||t.activity.length?n("div",{staticClass:"specialArea acea-row row-between-wrapper"},[void 0!==t.activityOne.wap_link?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))])])]):t._e(),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._e(),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||t.info.bastBanner.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 paginationBoutique"})],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.newGoodsBananr?n("div",[n("div",{staticClass:"adver"},[n("img",{attrs:{src:t.newGoodsBananr}})])]):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("div",{on:{click:function(c){return t.goDetail(e)}}},[n("div",{staticClass:"img-box"},[n("img",{attrs:{src:e.image}}),e.activity&&"1"===e.activity.type?n("span",{staticClass:"pictrue_log_medium pictrue_log_class"},[t._v("秒杀")]):t._e(),e.activity&&"2"===e.activity.type?n("span",{staticClass:"pictrue_log_medium pictrue_log_class"},[t._v("砍价")]):t._e(),e.activity&&"3"===e.activity.type?n("span",{staticClass:"pictrue_log_medium pictrue_log_class"},[t._v("拼团")]):t._e()]),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)]):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"}}),n("div",[t.mapKey&&!t.isWeixin?n("iframe",{ref:"geoPage",attrs:{width:"0",height:"0",frameborder:"0",scrolling:"no",src:"https://apis.map.qq.com/tools/geolocation?key="+t.mapKey+"&referer=myapp"}}):t._e()])],1)},B=[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~")])])}],S=c("6fe8"),E=(c("e5d0"),c("d829")),N=c("91c8"),H=function(){var t=this,e=t.$createElement,c=t._self._c||e;return t.couponList.length>0?c("div",[c("div",{staticClass:"coupon-window",class:t.value?"on":""},[c("div",{staticClass:"couponWinList"},[t._l(t.couponList,(function(e,n){return c("div",{key:n,staticClass:"item acea-row row-between-wrapper"},[c("div",{staticClass:"money font-color-red"},[c("div",[t._v("\n ¥"),c("span",{staticClass:"num"},[t._v(t._s(e.coupon_price))])]),c("div",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])]),c("div",{staticClass:"text acea-row row-between"},[c("div",{staticClass:"pic acea-row row-column row-center"},[c("div",{staticClass:"name line1"},[t._v(t._s(e.title))]),e.end_time?c("div",[t._v("\n "+t._s(e.start_time?e.start_time+"-":"")+t._s(e.end_time)+"\n ")]):t._e()]),0===e.type?c("div",{staticClass:"type"},[t._v("通用劵")]):1===e.type?c("div",{staticClass:"type"},[t._v("品类券")]):c("div",{staticClass:"type"},[t._v("商品券")])])])})),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()},R=[],D=c("08c1"),G=c("d30b"),V={name:"CouponWindow",props:{couponList:{type:Array,default:function(){return[]}}},computed:Object(D["b"])(["isLogin"]),data:function(){return{value:!0}},mounted:function(){},methods:{checked:function(){var t=this,e=this.isLogin;if(!e)return Object(G["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")}}},Z=V,T=(c("a1a5"),Object(b["a"])(Z,H,R,!1,null,"4ef0663d",null)),U=T.exports,Y=c("e876"),W=c("00fd"),P="has_coupon_window",F="user_longitude",Q="user_latitude",J="mapKey",X=null,q={name:"Index",components:{swiper:S["swiper"],swiperSlide:S["swiperSlide"],GoodList:E["a"],PromotionGood:N["a"],CouponWindow:U},props:{},data:function(){return{newGoodsBananr:"",isWeixin:Object(r["d"])(),followUrl:"",subscribe:!1,followHid:!1,followCode:!1,showCoupon:!1,logoUrl:"",banner:[],menus:[],roll:[],activity:[],activityOne:{},info:{fastList:[],bastBanner:[],firstList:[],bastList:[]},likeInfo:[],lovely:[],benefit:[],couponList:[],swiperOption:{pagination:{el:".paginationBanner",clickable:!0},autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0,on:{tap:function(){var t=this.realIndex;X.goUrl(t)}}},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:".paginationBoutique",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},mapKey:""}},created:function(){X=this},mounted:function(){var t=this;this.getFollow();var e=this;Object(Y["h"])().then((function(c){if(e.mapKey=c.data.tengxun_map_key,p["a"].set(J,e.mapKey),e.logoUrl=c.data.logoUrl,e.newGoodsBananr=c.data.newGoodsBananr,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.length?c.data.lovely[0]:{}),e.$set(e,"benefit",c.data.benefit),e.$set(e,"couponList",c.data.couponList),e.subscribe=c.data.subscribe,!e.subscribe&&e.followUrl?setTimeout((function(){e.followHid=!0}),200):e.followHid=!1,c.data.site_name&&(document.title=c.data.site_name),e.setOpenShare(),t.showCoupon=!p["a"].has(P)&&c.data.couponList.some((function(t){return t.is_use})),p["a"].get(Q)||p["a"].get(F)||t.getWXLocation()}))},methods:{goUrl:function(t){var e=this.banner[t].wap_url,c=0===e.indexOf("http");c?window.location.href=e:this.$router.push({path:e})},goDetail:function(t){var e=this;Object(W["c"])(t).then((function(){e.$router.push({path:"/detail/"+t.id})}))},getWXLocation:function(){var t;Object(r["d"])()?Object(d["wxShowLocation"])():(this.mapKey||console.log("暂无法使用查看地图,请配置您的腾讯地图key"),window.addEventListener("message",(function(e){t=e.data,console.log("location",t),t&&"geolocation"==t.module?(p["a"].set(Q,t.lat),p["a"].set(F,t.lng)):(p["a"].remove(Q),p["a"].remove(F),console.log("定位失败"))}),!1))},closeFollow:function(){this.followHid=!1},followTap:function(){this.followCode=!0,this.followHid=!1},closeFollowCode:function(){this.followCode=!1,this.followHid=!0},couponClose:function(){p["a"].set(P,1)},getFollow:function(){var t=this;Object(Y["a"])().then((function(e){t.followUrl=e.data.path})).catch((function(){}))},setOpenShare:function(){Object(r["d"])()&&Object(Y["k"])().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)}))}}},K=q,$=(c("ab74"),Object(b["a"])(K,j,B,!1,null,"61af2a08",null)),tt=$.exports,et=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"})])])},ct=[],nt=(c("c0c3"),c("73f5")),it={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(nt["l"])().then((function(e){t.keywords=e.data}))}}},at=it,ot=(c("1128"),Object(b["a"])(at,et,ct,!1,null,"39b87f26",null)),st=ot.exports,lt=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"}})])},rt=[],ut=(c("6d57"),c("4d7d")),ht=c.n(ut),dt={name:"GoodsClass",components:{},props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1}},watch:{"$route.params.pid":function(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(nt["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:ht()((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"},[c("input",{directives:[{name:"model",rawName:"v-model",value:e.cart_num,expression:"item.cart_num"}],staticClass:"ipt_num",attrs:{type:"number"},domProps:{value:e.cart_num},on:{input:[function(c){c.target.composing||t.$set(e,"cart_num",c.target.value)},function(e){return e.preventDefault(),t.specifiName(n)}],blur:function(e){return e.preventDefault(),t.blurName(n)}}})]),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()])},bt=[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")}})])}],gt=c("f410"),yt=c("9fd0"),wt="cart_checked",zt={name:"ShoppingCart",components:{Recommend:gt["a"]},props:{},data:function(){return{cartList:{invalid:[],valid:[]},isAllSelect:!1,cartCount:0,countmoney:0,goodsHidden:!0,footerswitch:!1,count:0,checkedIds:[],loaded:!1,index_num:0}},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(nt["c"])().then((function(c){e.cartList=c.data;var n=p["a"].get(wt)||[];Array.isArray(n)||(n=[]),t.cartList.valid.forEach((function(t){n.length?-1!==n.indexOf(t.id)?t.checked=!0:t.checked=!1:(t.checked=!0,e.checkedIds.push(t.id))})),n.length&&(e.checkedIds=n),e.isAllSelect=e.checkedIds.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(nt["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(nt["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(nt["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["N"])(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)},specifiName:function(t){var e=this.cartList.valid[t];this.index_num=t,this.carnum(),this.countMoney(),this.syncCartNum(e)},blurName:function(t){var e=this.cartList.valid[t];e.cart_num<1&&this.$set(e,"cart_num",1),this.carnum(),this.countMoney(),this.syncCartNum(e)},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=ht()((function(){Object(nt["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)+"件")])])])])})),0),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)},_t=[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")}})])}],xt=c("3a5e"),It={name:"GoodsList",components:{Recommend:gt["a"],Loading:xt["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:{goDetail:function(t){var e=this;Object(W["c"])(t).then((function(){e.$router.push({path:"/detail/"+t.id})}))},updateTitle:function(){document.title=this.title||this.$route.meta.title},get_product_list:ht()((function(){var t=this;if(!t.loading&&!t.loadend){t.loading=!0,this.setWhere();var e=t.where;Object(nt["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 u(Object.assign({url:t,data:c,method:e},r,n))},t}),{});["get","delete","head"].forEach((function(t){h[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 u(Object.assign({url:e,params:c,method:t},r,n))}})),e["a"]=h},be35:function(t,e,c){},c1eb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9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bVeYd0kfXX7K8jG1GXvwZfiEqIO0o36r6Sit9bPfgTXy2Iqm+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,"J",(function(){return i})),c.d(e,"K",(function(){return a})),c.d(e,"U",(function(){return o})),c.d(e,"S",(function(){return s})),c.d(e,"T",(function(){return l})),c.d(e,"q",(function(){return r})),c.d(e,"r",(function(){return u})),c.d(e,"b",(function(){return h})),c.d(e,"s",(function(){return d})),c.d(e,"F",(function(){return p})),c.d(e,"G",(function(){return m})),c.d(e,"v",(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 y})),c.d(e,"L",(function(){return w})),c.d(e,"o",(function(){return z})),c.d(e,"n",(function(){return M})),c.d(e,"N",(function(){return k})),c.d(e,"m",(function(){return C})),c.d(e,"y",(function(){return A})),c.d(e,"z",(function(){return _})),c.d(e,"A",(function(){return x})),c.d(e,"P",(function(){return I})),c.d(e,"O",(function(){return L})),c.d(e,"C",(function(){return O})),c.d(e,"E",(function(){return j})),c.d(e,"D",(function(){return B})),c.d(e,"p",(function(){return S})),c.d(e,"t",(function(){return E})),c.d(e,"i",(function(){return N})),c.d(e,"M",(function(){return H})),c.d(e,"H",(function(){return R})),c.d(e,"I",(function(){return D})),c.d(e,"h",(function(){return G})),c.d(e,"c",(function(){return V})),c.d(e,"B",(function(){return Z})),c.d(e,"Q",(function(){return T})),c.d(e,"k",(function(){return U})),c.d(e,"V",(function(){return Y})),c.d(e,"R",(function(){return W})),c.d(e,"u",(function(){return P})),c.d(e,"a",(function(){return F})),c.d(e,"X",(function(){return Q})),c.d(e,"w",(function(){return J})),c.d(e,"j",(function(){return X})),c.d(e,"W",(function(){return q})),c.d(e,"x",(function(){return K})),c.d(e,"l",(function(){return $}));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 u(t){return n["a"].post("/coupon/receive",{couponId:t},{login:!0})}function h(t){return n["a"].post("/coupon/receive/batch",{couponId:t})}function d(t){return n["a"].get("/coupons/user/"+t)}function p(){return n["a"].get("/user")}function m(){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 y(t){return n["a"].get("/address/detail/"+t)}function w(t){return n["a"].post("/address/edit",t)}function z(t,e){return n["a"].get("/collect/user",{page:t,limit:e})}function M(t,e){return n["a"].post("/collect/del",{id:t,category:e})}function k(t){return n["a"].post("/collect/all",t)}function C(t,e){return n["a"].post("collect/add",{id:t,category:e})}function A(){return n["a"].get("/sign/config")}function _(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 I(t){return n["a"].post("/sign/user",t)}function L(t){return n["a"].post("/sign/integral",t)}function O(){return n["a"].get("/commission")}function j(t){return n["a"].post("/spread/people",t)}function B(t){return n["a"].post("/spread/order",t)}function S(t,e){return n["a"].get("/spread/commission/"+e,t)}function E(t){return n["a"].get("/integral/list",t)}function N(){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 D(t){return n["a"].get("/user/level/task/"+t)}function G(){return n["a"].get("/user/balance")}function V(){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 W(t){return n["a"].post("/recharge/wechat",t)}function P(){return n["a"].get("/logout")}function F(t){return n["a"].post("binding",t)}function Q(){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)}function q(){return n["a"].get("user/level/detection")}function K(){return n["a"].get("recharge/index")}function $(){return n["a"].get("verify_code",{},{login:!1})}},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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjoz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+qRRtB/hfgevVAGvKyY7MDQzvhnqOYvDPGLTUEMdbtz5sayH6vfpJFMbK/WZtuA/5Q+S+EBhDv5NyAxSvFlEYEe9VKq4DAwFL/SgadlHilohSHLAGmYA8L6tB1hud0xD9tXpKgy3hpFb0PCOlmMAUB1+0T1P22yJfsEwINspC4tHTir4t5GMofYJCGX40FYCO0hieT5lP8kwTIHKsnecXt73BpVG5Lh4BRk1kn7iqLmPhMLP5brv3HbftGxT8SW5HhYjxJaOBtSDQPnNKEIEhayIfo1gCAX0rq8trQmAtNGGHDMdB4HO50L66lvHJ/wIMAB4Y0KasKiV5AAAAAElFTkSuQmCC"},cba2:function(t,e,c){"use strict";c.d(e,"b",(function(){return r}));c("5ab2");var n=c("289c"),i=(c("6d57"),c("e10e"),c("0367"));function a(t,e){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),c.push.apply(c,n)}return c}function o(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"message";return s[e](t.errors[0].message)}Object.keys(l).reduce((function(t,e){return t[e]=function(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n){Object(i["Toast"])(o({mes:t||l[e],timeout:1e3,icon:e,callback:function(){n()}},c))}))},t}),s),s.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"])(o({mes:t,timeout:1e3,callback:function(){c()}},e))}))},s.validateError=function(){r.apply(void 0,arguments)},e["a"]=s},d0a4:function(t,e,c){"use strict";c("e10e"),c("6d57"),c("9a33"),c("9dd9"),c("f548");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=l(c),console.log("cookie:",a)),o=a;var s=new Date(o.replace(/-/g,"/"));console.log("expiresds:",s),e=JSON.stringify(e),i.cookie=escape(t)+"="+escape(e)+"; expires="+s+"; path=/"}}function l(t){var e=new Date(t),c=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=e.getDate()<10?"0"+e.getDate():e.getDate(),a=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",o=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return c+n+i+" "+a+o+s}function r(t){t&&h(t)&&(i.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(){Object.keys(o()).forEach((function(t){r(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:r,clearAll:u,has:h}},d237:function(t,e,c){},d30b:function(t,e,c){"use strict";c.d(e,"a",(function(){return l}));c("f548"),c("cc57");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"}))}},d7b1:function(t,e,c){},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("div",{key:i,staticClass:"item acea-row row-between-wrapper",on:{click:function(c){return t.goDetail(e)}}},[n("div",{staticClass:"pictrue"},[n("img",{staticClass:"image",attrs:{src:e.image}}),e.activity&&"1"===e.activity.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("秒杀")]):t._e(),e.activity&&"2"===e.activity.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("砍价")]):t._e(),e.activity&&"3"===e.activity.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("拼团")]):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"})])})),0)},i=[],a=c("00fd"),o={name:"GoodList",props:{goodList:{type:Array,default:function(){return[]}},isSort:{type:Boolean,default:!0}},data:function(){return{}},methods:{goDetail:function(t){var e=this;Object(a["c"])(t).then((function(){e.$router.push({path:"/detail/"+t.id})}))}}},s=o,l=c("623f"),r=Object(l["a"])(s,n,i,!1,null,null,null);e["a"]=r.exports},e07e:function(t,e,c){"use strict";var n=c("2de3"),i=c.n(n);i.a},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/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA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},e876:function(t,e,c){"use strict";c.d(e,"h",(function(){return i})),c.d(e,"b",(function(){return a})),c.d(e,"c",(function(){return o})),c.d(e,"e",(function(){return s})),c.d(e,"f",(function(){return l})),c.d(e,"k",(function(){return r})),c.d(e,"d",(function(){return u})),c.d(e,"l",(function(){return h})),c.d(e,"n",(function(){return d})),c.d(e,"i",(function(){return p})),c.d(e,"j",(function(){return m})),c.d(e,"m",(function(){return v})),c.d(e,"a",(function(){return f})),c.d(e,"g",(function(){return b}));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 u(t){return n["a"].get("/article/details/"+t,{},{login:!1})}function h(){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 p(){return n["a"].get("/logistics",{},{login:!1})}function m(t){return n["a"].get("/wechat/get_logo",{type:t},{login:!1})}function v(t,e){return n["a"].post("/image_base64",{image:t,code:e},{login:!1})}function f(){return n["a"].get("/wechat/follow",{},{login:!1})}function b(){return n["a"].get("/city_list",{},{login:!1})}},ea53:function(t,e,c){"use strict";var n=function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"generalWindow"},[c("div",{staticClass:"generalTip",class:1==t.generalActive?"on":""},[t._m(0),c("div",{staticClass:"name",domProps:{textContent:t._s(t.generalContent.title)}}),c("div",{staticClass:"info",domProps:{innerHTML:t._s(t.generalContent.promoterNum)}}),c("div",{staticClass:"tipBnt",on:{click:t.close}},[t._v("我知道了")])]),c("div",{directives:[{name:"show",rawName:"v-show",value:t.generalActive,expression:"generalActive"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault()},click:t.close}})])},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:c("0b84")}})])}],a={name:"GeneralWindow",props:{generalActive:{type:Boolean,default:!1},generalContent:{type:Object,default:null}},data:function(){return{}},methods:{close:function(){this.$emit("closeGeneralWindow",!1)}}},o=a,s=(c("e07e"),c("623f")),l=Object(s["a"])(o,n,i,!1,null,"5de34052",null);e["a"]=l.exports},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("6d57"),c("9a33"),c("f548"),c("2b45");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")},f3b2: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("div",{key:n,staticClass:"item",on:{click:function(c){return t.goDetail(e)}}},[c("div",{staticClass:"pictrue"},[c("img",{staticClass:"image",attrs:{src:e.image}}),e.activity&&"1"===e.activity.type?c("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("秒杀")]):t._e(),e.activity&&"2"===e.activity.type?c("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("砍价")]):t._e(),e.activity&&"3"===e.activity.type?c("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("拼团")]):t._e()]),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))])])])})),0),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=c("00fd"),l={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:{goDetail:function(t){var e=this;Object(s["c"])(t).then((function(){e.$router.push({path:"/detail/"+t.id})}))},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