(function (t) {
function e(e) {
for (var n, i, s = e[0], l = e[1], r = e[2], u = 0, h = []; u < s.length; u++) i = s[u], Object.prototype.hasOwnProperty.call(a, i) && a[i] && h.push(a[i][0]), a[i] = 0;
for (n in l) Object.prototype.hasOwnProperty.call(l, n) && (t[n] = l[n]);
d && d(e);
while (h.length) h.shift()();
return o.push.apply(o, r || []), c()
}
function c() {
for (var t, e = 0; e < o.length; e++) {
for (var c = o[e], n = !0, i = 1; i < c.length; i++) {
var s = c[i];
0 !== a[s] && (n = !1)
}
n && (o.splice(e--, 1), t = l(l.s = c[0]))
}
return t
}
var n = {}, i = {app: 0}, a = {app: 0}, o = [];
function s(t) {
return l.p + "h5/js/" + ({login: "login"}[t] || t) + "." + {
"chunk-05ea8763": "4e128db2",
"chunk-0640a528": "5139017e",
"chunk-074d26c0": "80d82bff",
"chunk-08e2dc79": "c22e6cf8",
"chunk-0f55f6af": "fc4a2cf8",
"chunk-4abea3da": "4b4e002e",
"chunk-b3288ef4": "2dcd86b6",
"chunk-2650e5ab": "c2ec6d4f",
"chunk-28249a0d": "0a3651b5",
"chunk-7c26c7a8": "c2c01ca5",
"chunk-126715f2": "71bda1c1",
"chunk-1d9e4e87": "51e09774",
"chunk-3b2541e2": "ab6c50c9",
"chunk-6769057f": "061d7f20",
"chunk-7884052e": "8e6255d2",
"chunk-b6e494f4": "9c1674b0",
"chunk-25849407": "9b7d06bd",
"chunk-2922fa8f": "3f68750f",
"chunk-2a8af466": "97d669ab",
"chunk-2d0b995a": "4cdcd8d5",
"chunk-2d0c09da": "2eb976a2",
"chunk-2d0c1002": "0e2fbf85",
"chunk-2d0d0177": "c4befb36",
"chunk-2d0d3247": "724193fd",
"chunk-2d0d6b8d": "878614ba",
"chunk-2d0da964": "7fd25d04",
"chunk-2d0f0b4a": "e5e77f46",
"chunk-2d213144": "dc91208d",
"chunk-2d21f45b": "700a5680",
"chunk-2d5271a2": "b3bcf7cc",
"chunk-2e93d517": "3416d77c",
"chunk-35d5973c": "0af6aa5b",
"chunk-3615a42e": "be70f9a8",
"chunk-38b146c0": "4c7a8639",
"chunk-38b7b883": "81538932",
"chunk-3c12acd2": "a9736c52",
"chunk-4d3f5c13": "308b6350",
"chunk-4f90706c": "c9c4f180",
"chunk-63428207": "3dd3af01",
"chunk-684a81fe": "9a284102",
"chunk-69351836": "e13fdfc3",
"chunk-6a3e930a": "be91c6aa",
"chunk-6ef55f85": "ae0f11ef",
"chunk-715c4f57": "95f2dfce",
"chunk-787790ba": "3734cea3",
"chunk-798b8cab": "2dfba7aa",
login: "2781d2e2",
"chunk-7a920428": "6aa89515",
"chunk-7c9cf318": "0a5da5a3",
"chunk-443f3894": "a3dcf849",
"chunk-c929bd1e": "43713bf7",
"chunk-7f08916c": "008254f8",
"chunk-863c5828": "987cc91e",
"chunk-9cb98e8c": "2a649705",
"chunk-ac9cc710": "d5616cab",
"chunk-b06c9b54": "9e3f5699",
"chunk-c56d8ebe": "bfe6279c",
"chunk-c70af1fc": "ae78ee0a",
"chunk-c7885fa6": "9954434f",
"chunk-d764fe90": "27e21206",
"chunk-e14b291c": "772fc495",
"chunk-e1de45c4": "aa66671a",
"chunk-2d0e2116": "90a729e5",
"chunk-6b29abcb": "3cbb82cf"
}[t] + ".js"
}
function l(e) {
if (n[e]) return n[e].exports;
var c = n[e] = {i: e, l: !1, exports: {}};
return t[e].call(c.exports, c, c.exports, l), c.l = !0, c.exports
}
l.e = function (t) {
var e = [], c = {
"chunk-05ea8763": 1,
"chunk-0640a528": 1,
"chunk-08e2dc79": 1,
"chunk-0f55f6af": 1,
"chunk-4abea3da": 1,
"chunk-b3288ef4": 1,
"chunk-2650e5ab": 1,
"chunk-28249a0d": 1,
"chunk-7c26c7a8": 1,
"chunk-1d9e4e87": 1,
"chunk-3b2541e2": 1,
"chunk-6769057f": 1,
"chunk-7884052e": 1,
"chunk-25849407": 1,
"chunk-2a8af466": 1,
"chunk-2e93d517": 1,
"chunk-3615a42e": 1,
"chunk-38b146c0": 1,
"chunk-38b7b883": 1,
"chunk-4f90706c": 1,
"chunk-63428207": 1,
"chunk-684a81fe": 1,
"chunk-69351836": 1,
"chunk-6a3e930a": 1,
"chunk-6ef55f85": 1,
"chunk-798b8cab": 1,
login: 1,
"chunk-7a920428": 1,
"chunk-7c9cf318": 1,
"chunk-c929bd1e": 1,
"chunk-863c5828": 1,
"chunk-ac9cc710": 1,
"chunk-b06c9b54": 1,
"chunk-c7885fa6": 1,
"chunk-e1de45c4": 1
};
i[t] ? e.push(i[t]) : 0 !== i[t] && c[t] && e.push(i[t] = new Promise((function (e, c) {
for (var n = "h5/css/" + ({login: "login"}[t] || t) + "." + {
"chunk-05ea8763": "bf372789",
"chunk-0640a528": "30674964",
"chunk-074d26c0": "31d6cfe0",
"chunk-08e2dc79": "ab18b94f",
"chunk-0f55f6af": "2d6af223",
"chunk-4abea3da": "20e47d23",
"chunk-b3288ef4": "1cc2e0ed",
"chunk-2650e5ab": "3ac9a06d",
"chunk-28249a0d": "9fde3280",
"chunk-7c26c7a8": "3c75bfa6",
"chunk-126715f2": "31d6cfe0",
"chunk-1d9e4e87": "2aaf19ad",
"chunk-3b2541e2": "724444f4",
"chunk-6769057f": "f67527fa",
"chunk-7884052e": "312c5aa9",
"chunk-b6e494f4": "31d6cfe0",
"chunk-25849407": "ef3500b3",
"chunk-2922fa8f": "31d6cfe0",
"chunk-2a8af466": "439010b6",
"chunk-2d0b995a": "31d6cfe0",
"chunk-2d0c09da": "31d6cfe0",
"chunk-2d0c1002": "31d6cfe0",
"chunk-2d0d0177": "31d6cfe0",
"chunk-2d0d3247": "31d6cfe0",
"chunk-2d0d6b8d": "31d6cfe0",
"chunk-2d0da964": "31d6cfe0",
"chunk-2d0f0b4a": "31d6cfe0",
"chunk-2d213144": "31d6cfe0",
"chunk-2d21f45b": "31d6cfe0",
"chunk-2d5271a2": "31d6cfe0",
"chunk-2e93d517": "3c7542ae",
"chunk-35d5973c": "31d6cfe0",
"chunk-3615a42e": "5dae48a7",
"chunk-38b146c0": "e76cd3f2",
"chunk-38b7b883": "527fb7b5",
"chunk-3c12acd2": "31d6cfe0",
"chunk-4d3f5c13": "31d6cfe0",
"chunk-4f90706c": "461d1dfa",
"chunk-63428207": "d9104d8f",
"chunk-684a81fe": "bb2dd156",
"chunk-69351836": "2b656289",
"chunk-6a3e930a": "d02dea3c",
"chunk-6ef55f85": "12862fbb",
"chunk-715c4f57": "31d6cfe0",
"chunk-787790ba": "31d6cfe0",
"chunk-798b8cab": "c25821e7",
login: "090284eb",
"chunk-7a920428": "fecce486",
"chunk-7c9cf318": "1726948b",
"chunk-443f3894": "31d6cfe0",
"chunk-c929bd1e": "fd16ee03",
"chunk-7f08916c": "31d6cfe0",
"chunk-863c5828": "b5ada5eb",
"chunk-9cb98e8c": "31d6cfe0",
"chunk-ac9cc710": "cdcf3495",
"chunk-b06c9b54": "8f9ed549",
"chunk-c56d8ebe": "31d6cfe0",
"chunk-c70af1fc": "31d6cfe0",
"chunk-c7885fa6": "8806647d",
"chunk-d764fe90": "31d6cfe0",
"chunk-e14b291c": "31d6cfe0",
"chunk-e1de45c4": "76f86e0e",
"chunk-2d0e2116": "31d6cfe0",
"chunk-6b29abcb": "31d6cfe0"
}[t] + ".css", a = l.p + n, o = document.getElementsByTagName("link"), s = 0; s < o.length; s++) {
var r = o[s], u = r.getAttribute("data-href") || r.getAttribute("href");
if ("stylesheet" === r.rel && (u === n || u === a)) return e()
}
var h = document.getElementsByTagName("style");
for (s = 0; s < h.length; s++) {
r = h[s], u = r.getAttribute("data-href");
if (u === n || u === a) return e()
}
var d = document.createElement("link");
d.rel = "stylesheet", d.type = "text/css", d.onload = e, d.onerror = function (e) {
var n = e && e.target && e.target.src || a,
o = new Error("Loading CSS chunk " + t + " failed.\n(" + n + ")");
o.code = "CSS_CHUNK_LOAD_FAILED", o.request = n, delete i[t], d.parentNode.removeChild(d), c(o)
}, d.href = a;
var p = document.getElementsByTagName("head")[0];
p.appendChild(d)
})).then((function () {
i[t] = 0
})));
var n = a[t];
if (0 !== n) if (n) e.push(n[2]); else {
var o = new Promise((function (e, c) {
n = a[t] = [e, c]
}));
e.push(n[2] = o);
var r, u = document.createElement("script");
u.charset = "utf-8", u.timeout = 120, l.nc && u.setAttribute("nonce", l.nc), u.src = s(t);
var h = new Error;
r = function (e) {
u.onerror = u.onload = null, clearTimeout(d);
var c = a[t];
if (0 !== c) {
if (c) {
var n = e && ("load" === e.type ? "missing" : e.type), i = e && e.target && e.target.src;
h.message = "Loading chunk " + t + " failed.\n(" + n + ": " + i + ")", h.name = "ChunkLoadError", h.type = n, h.request = i, c[1](h)
}
a[t] = void 0
}
};
var d = setTimeout((function () {
r({type: "timeout", target: u})
}), 12e4);
u.onerror = u.onload = r, document.head.appendChild(u)
}
return Promise.all(e)
}, l.m = t, l.c = n, l.d = function (t, e, c) {
l.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: c})
}, l.r = function (t) {
"undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
}, l.t = function (t, e) {
if (1 & e && (t = l(t)), 8 & e) return t;
if (4 & e && "object" === typeof t && t && t.__esModule) return t;
var c = Object.create(null);
if (l.r(c), Object.defineProperty(c, "default", {
enumerable: !0,
value: t
}), 2 & e && "string" != typeof t) for (var n in t) l.d(c, n, function (e) {
return t[e]
}.bind(null, n));
return c
}, l.n = function (t) {
var e = t && t.__esModule ? function () {
return t["default"]
} : function () {
return t
};
return l.d(e, "a", e), e
}, l.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}, l.p = "/", l.oe = function (t) {
throw console.error(t), t
};
var r = window["webpackJsonp"] = window["webpackJsonp"] || [], u = r.push.bind(r);
r.push = e, r = r.slice();
for (var h = 0; h < r.length; h++) e(r[h]);
var d = u;
o.push([0, "chunk-vendors"]), c()
})({
0: function (t, e, c) {
t.exports = c("56d7")
}, "0051": function (t, e, c) {
"use strict";
var n = c("f3b2"), i = c.n(n);
i.a
}, "00fd": function (t, e, c) {
"use strict";
c.d(e, "a", (function () {
return s
})), c.d(e, "e", (function () {
return l
})), c.d(e, "b", (function () {
return r
})), c.d(e, "d", (function () {
return u
})), c.d(e, "c", (function () {
return h
}));
c("f548");
var n = c("f8b7"), i = c("cba2"), a = c("74f9"), o = c("a18c");
function s(t) {
return new Promise((function (e, c) {
i["a"].confirm({
mes: "确认取消该订单?", opts: function () {
Object(n["a"])(t).then((function (t) {
i["a"].success("取消成功"), e(t)
})).catch((function (t) {
i["a"].error("取消失败"), c(t)
}))
}
})
}))
}
function l(t) {
return new Promise((function (e, c) {
Object(n["p"])(t).then((function (t) {
e(t)
})).catch((function (t) {
i["a"].error("收货失败"), c(t)
}))
}))
}
function r(t) {
return new Promise((function (e, c) {
i["a"].confirm({
mes: "确认删除该订单?", opts: function () {
Object(n["c"])(t).then((function (t) {
i["a"].success("删除成功"), e(t)
})).catch((function (t) {
i["a"].error("删除失败"), c(t)
}))
}
})
}))
}
function u(t, e, c) {
return new Promise((function (o, s) {
i["a"].loading.open(""), Object(n["l"])(t, e, c).then((function (t) {
var e = t.data;
switch (i["a"].loading.close(), e.status) {
case"WECHAT_H5_PAY":
s(e), setTimeout((function () {
location.replace(e.result.jsConfig.mweb_url)
}), 100);
break;
case"ORDER_EXIST":
case"EXTEND_ORDER":
case"PAY_ERROR":
case"PAY_DEFICIENCY":
i["a"].toast({mes: t.msg}), s(e);
break;
case"SUCCESS":
i["a"].success(t.msg), o(e);
break;
case"WECHAT_PAY":
Object(a["pay"])(e.result.jsConfig).then((function () {
o(e)
}))
}
})).catch((function (t) {
i["a"].loading.close(), i["a"].toast({mes: t.msg || "订单支付失败"})
}))
}))
}
function h(t) {
return new Promise((function (e) {
t.activity && "1" === t.activity.type ? o["a"].push({path: "/activity/seckill_detail/" + t.activity.id + "/" + t.activity.time + "/1"}) : t.activity && "2" === t.activity.type ? o["a"].push({path: "/activity/dargain_detail/" + t.activity.id}) : t.activity && "3" === t.activity.type ? o["a"].push({path: "/activity/group_detail/" + t.activity.id}) : e(t)
}))
}
}, "04fb": function (t, e, c) {
t.exports = c.p + "h5/img/one.2814de22.png"
}, "062a": function (t, e, c) {
t.exports = c.p + "h5/img/sh.d28fb46a.png"
}, "0af8": function (t, e) {
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHwAAAAcCAYAAACj6tvkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDphNmVhODdiZC0zYWY5LTEzNDYtYjYyYy1hZGE1MDVmMDUxMTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzVEMDQxOUYxRjhDMTFFOUIwQkJCMEMyMkY3MzdBQUQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzVEMDQ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y89EZKoj/relpxDmigR+Cda8A+g0hQIHHe+ZBjbKhKT3VaIvK5lSNKC9O6A5F/z3NqyrMPxdxH9L7apEjuPDpFjuno/Bk0uc66DQsQXCnQDS92XP/1CIE4LJYUKc2ygM2Ajx+yDBHTSJGapaGb+JxP57QWDH8BnuizmLX9KcB8peoRzFNMMHXZ+ZRnR3LldgowV+6CfQQC3siYVE0Mqka1aCUh4IyNWjODymNOg7ci/3Au+YAP8fJakUap1oYZyCoB97T2PxyxmfY9rvc6QFuWANteDfUOgzVBaYcj5eAShDlxMniVm2ijboeyZfnPCpzAJkrrivNgJh4/MxAgE1iXP+sk/+2BPNM9jjJiGcS7LwHYARDjkjurU6FlKapZL90hi6URIRydCqpHpjysjn0woWeBDfk3CieYcg4VII5C8Wjhm6yixdnJzY7yuU7MlJODz8MgILDMsVCCtCwpV6+wVdeuhygDPi5I5+v0TGTz2sSUUW1+4tMQz1mUGp313E1W4T4vJnB/ncj+dCGtEA5p0SIm0SGLAm8IaEvkiVNrtD727RnNMtmSzC0KXTtT5ZtlZQ6FZZdxHLIygIWIFxlgAZGwnSw8HXgrA2Gb7eFFrWXGPAQFjH3oHzySDvblrhlkydHZ6/lwIk9zkeXmeHR8Afx5LKFSRJsQyd1EnzRCHfBaV0T0Eo/aWcsFMyd8rVgJOzxkO1wJQbcL79vy7ALxtFOP/F+CGD1+qFt2Fb6VBGKv8KMABeOD4KOYN81AAAAABJRU5ErkJggg=="
}, "0b84": function (t, e, c) {
t.exports = c.p + "h5/img/promoter.af8f88db.png"
}, "0c36": function (t, e, c) {
t.exports = c.p + "h5/img/noGood.7aec7edd.png"
}, 1128: function (t, e, c) {
"use strict";
var n = c("3d28"), i = c.n(n);
i.a
}, "11e4": function (t, e, c) {
"use strict";
var n = c("d237"), i = c.n(n);
i.a
}, "159f": function (t, e, c) {
"use strict";
var n = c("e758"), i = c.n(n);
i.a
}, "163e": function (t, e, c) {
t.exports = c.p + "h5/img/open.7da41017.gif"
}, "19bd": function (t, e)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Os4iLDNSpd2P6ME0qJ42agLH+StzFkgpZIfDswOznYWFDAipIBHIUL5BE5YVBQndajLsfpiHis9OiIdAUnFe/8FKIaTsY8z9QQdmPaIsiwUhcTKitlXlkKIEyewok0KcC+n4+F2c0hgQjFbdAnzp+EqUXjQtsKkxW9NkNr96mYwjcQ1wPb3zNl3dyl6fe+rTowit/R1ICppczZlEnogKnSPKIN6GIb4iXtgRyYqLCdeIZol2t1DYjPlsRCBdsYmOJ+TkMLSAjXUP8UHtIJ9QuRiyB3PoV18WWvj48Rzwk/r66BYFQsYtzJ1b67DSJ6Ffr5iYbArk2sWoAoRw14WlEqo33JhJrCShXyzGddP6tSfB76RL8Cc/JZwmO+pbW2CVsufWztARTaxAZF/Utm8jviS+ZCq7s3MQkBAVgASes29ji7xfpsg9y74iBJq17AvDukXtPOuOpZKE3zby9Lb+nYF5/Qbx7bCVoCdAfVg8BQxm9ocbk6orphzO/15KXwN+EM5QylfMmg/9T/31mbKglEfo//Bj/T4ABABh6EjfzHXnBAAAAAElFTkSuQmCC"
}, 2397: function (t, e, c) {
"use strict";
var n = c("4a72"), i = c.n(n);
i.a
}, 2949: function (t, e, c) {
}, "2dc3": function (t, e, c) {
t.exports = c.p + "h5/img/h5.d1ea1d34.png"
}, "2dc6": function (t, e, c) {
}, "2de3": function (t, e, c) {
}, "2e8f": function (t, e, c) {
t.exports = c.p + "h5/img/two.1ea1d146.png"
}, 3857: function (t, e, c) {
t.exports = c.p + "h5/img/live-logo.419313da.gif"
}, "38a9": function (t, e) {
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iY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Gp+AQy0PFWPhCuVEur0lDAggXk7m59djMTN7UQAoAJDQwhA90K0Kb5N4hdjiCL5RZyrVkLncNgxQTmew6FrAMyiwNHCEKGUZ1VFEu2Jyc751yOCgIl+X/DytrbLR3FBATgNEGgMZIALD2J/gJ5k7to6Nyq1azgBin9YEeKzb1MKdRULvZLCPkrsEXmqM0IV0+5hGuE4FZ8/FxmUZNrG/8RdDHM6ap3hUJTROylzlNMQhm7yeYQHMS3SiMKdhnG90+EZh2SLMSixbNnnFPhipToISDfpmRlnZQiy1j04+E1IerfXc2xq8BNfaeVpYVlsXUgszpLn5WcfsmwNzIFpap9ug/BXrX5sn5dCRi73fEW+ZiR7wVFJ2us/kJnb/Ewy2lxkwBe3jDUqBzGmpe3C8PeJZOuiLNf9b2j26eY4cT72d8tVezNmKmgGzv3ljLlbxOPG/KptoJ86zCN4u9it9NcBEN1fnqe+DcFPhEzpblNivZiH6FfFcDNEFNAHkb03kTs6DOAb4Wcgo+qHm3pZhkJSNkDUwAiR7gnQu4XoaZ3AGYOrsnQ7Yp2Wp2U2NnIKmfGNkWZB+ee75QeA7nT+qlZoKuKVlFdfAdFFxG7WvUcUqk6LEAAwB5tmf34LdbzAAAAABJRU5ErkJggg=="
}, "3a5e": function (t, e, c) {
"use strict";
var n = function () {
var t = this, e = t.$createElement, c = t._self._c || e;
return c("div", [t.loading && !t.loaded ? c("div", {
staticClass: "Loads acea-row row-center-wrapper",
staticStyle: {"margin-top": ".2rem"}
}, [t.loading ? c("div", [c("div", {staticClass: "iconfont icon-jiazai loading acea-row row-center-wrapper"}), t._v("\n 正在加载中\n ")]) : c("div", [t._v("\n 上拉加载更多\n ")])]) : t._e()])
}, i = [],
a = {name: "Loading", props: {loaded: {type: Boolean, default: !1}, loading: {type: Boolean, default: !1}}},
o = a, s = c("623f"), l = Object(s["a"])(o, n, i, !1, null, null, null);
e["a"] = l.exports
}, "3aff": function (t, e, c) {
}, "3d28": function (t, e, c) {
}, "3dfc": function (t, e, c) {
t.exports = c.p + "h5/img/404.c67ac50c.png"
}, 4360: function (t, e, c) {
"use strict";
var n = c("0261"), i = c("08c1"), a = c("d0a4"), o = c("c24f"), s = c("cba2"), l = "login_status", r = {
footer: !0,
home: !0,
homeActive: !1,
token: a["a"].get(l) || null,
backgroundColor: "#fff",
userInfo: null,
storeItems: a["a"].get("storeItems") || null,
goName: a["a"].get("goName") || ""
}, u = {
SHOW_FOOTER: function (t) {
t.footer = !0
}, HIDE_FOOTER: function (t) {
t.footer = !1
}, SHOW_HOME: function (t) {
t.home = !0
}, HIDE_HOME: function (t) {
t.home = !1
}, OPEN_HOME: function (t) {
t.homeActive = !0
}, CLOSE_HOME: function (t) {
t.homeActive = !1
}, LOGIN: function (t, e) {
t.token = e.token, t.expires_time = e.expires_time, a["a"].set(l, e.token, e.expires_time), a["a"].set("expires", e.expires_time)
}, LOGOUT: function (t) {
t.token = void 0, a["a"].remove(l)
}, BACKGROUND_COLOR: function (t, e) {
t.color = e, document.body.style.backgroundColor = e
}, UPDATE_USERINFO: function (t, e) {
t.userInfo = e
}, GET_STORE: function (t, e) {
t.storeItems = e, a["a"].set("storeItems", e)
}, GET_TO: function (t, e) {
t.goName = e, a["a"].set("goName", e)
}
}, h = {
USERINFO: function (t, e) {
var c = t.state, n = t.commit;
return null === c.userInfo || e ? new Promise((function (t) {
Object(o["G"])().then((function (e) {
n("UPDATE_USERINFO", e.data), t(e.data)
}))
})).catch((function () {
s["a"].error("获取信息失败!")
})) : Promise.resolve(c.userInfo)
}
}, d = {state: r, mutations: u, actions: h}, p = {app: d}, m = {
footer: function (t) {
return t.app.footer
}, homeActive: function (t) {
return t.app.homeActive
}, home: function (t) {
return t.app.home
}, token: function (t) {
return t.app.token
}, isLogin: function (t) {
return !!t.app.token
}, backgroundColor: function (t) {
return t.app.backgroundColor
}, userInfo: function (t) {
return t.app.userInfo || {}
}, storeItems: function (t) {
return t.app.storeItems || {}
}, goName: function (t) {
return t.app.goName
}
};
n["default"].use(i["a"]);
var v = !1;
e["a"] = new i["a"].Store({modules: p, getters: m, strict: v})
}, "4a72": function (t, e, c) {
}, "4ee2": function (t, e, c) {
}, "56d7": function (t, e, c) {
"use strict";
c.r(e);
c("163d"), c("9d30"), c("e44b"), c("6648"), c("5f54"), c("f0e6");
var n = c("0261"), i = function () {
var t = this, e = t.$createElement, c = t._self._c || e;
return c("div", [c("div", {staticClass: "app"}, [c("keep-alive", {
attrs: {
include: t.include,
max: 10
}
}, [c("router-view", {
ref: "router",
staticClass: "router"
})], 1)], 1), !0 === t.footer ? c("Footer") : t._e(), !0 === t.home ? c("Home") : t._e()], 1)
}, a = [], o = (c("ed63"), c("8cf2"), c("cc57"), function () {
var t = this, e = t.$createElement, c = t._self._c || e;
return c("div", {
staticClass: "acea-row row-middle",
attrs: {id: "footer"}
}, t._l(t.footerList, (function (e, n) {
return c("router-link", {
key: n,
staticClass: "item",
class: {on: e.url === t.$route.path},
attrs: {to: e.url}
}, [c("div", {
staticClass: "iconfont",
class: e.icon1 + " " + (e.url === t.$route.path ? e.icon2 : "")
}), c("div", [t._v(t._s(e.name))])])
})), 1)
}), s = [], l = {
name: "Footer", props: {}, data: function () {
return {
footerList: [{
name: "首页",
icon1: "icon-shouye-xianxing",
icon2: "icon-shouye",
url: "/"
}, {
name: "分类",
icon1: "icon-yingyongchengxu-xianxing",
icon2: "icon-yingyongchengxu",
url: "/category"
}, {name: "购物车", icon1: "icon-caigou-xianxing", icon2: "icon-caigou", url: "/cart"}, {
name: "我的",
icon1: "icon-yonghu-xianxing",
icon2: "icon-yonghu",
url: "/user"
}]
}
}, methods: {}
}, r = l, u = c("623f"), h = Object(u["a"])(r, o, s, !1, null, null, null), d = h.exports, p = function () {
var t = this, e = t.$createElement, n = t._self._c || e;
return n("div", {staticStyle: {"touch-action": "none"}}, [n("div", {
staticClass: "home",
staticStyle: {position: "fixed"},
style: {top: t.top + "px", bottom: t.bottom},
attrs: {id: "right-nav"},
on: {
touchmove: function (e) {
return t.touchmove(e)
}
}
}, [t.homeActive ? n("div", {
staticClass: "homeCon bg-color-red",
class: !0 === t.homeActive ? "on" : ""
}, [n("router-link", {
staticClass: "iconfont icon-shouye-xianxing",
attrs: {to: "/"}
}), n("router-link", {
staticClass: "iconfont icon-caigou-xianxing",
attrs: {to: "/cart"}
}), n("router-link", {
staticClass: "iconfont icon-yonghu1",
attrs: {to: "/user"}
})], 1) : t._e(), n("div", {
staticClass: "pictrueBox",
on: {click: t.open}
}, [n("div", {staticClass: "pictrue"}, [n("img", {
staticClass: "image",
attrs: {src: !0 === t.homeActive ? c("927b") : c("163e")}
})])])])])
}, m = [], v = c("08c1"), f = {
name: "Home", props: {}, data: function () {
return {top: "", bottom: ""}
}, computed: Object(v["b"])(["homeActive"]), methods: {
touchmove: function (t) {
this.bottom = "auto", t.preventDefault();
var e = t.touches[0].pageY - (document.documentElement.scrollTop || document.body.scrollTop) - this.$el.clientHeight;
e > document.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/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Wp8pJWIGf3QKJcNWSPs9+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; e < arguments.length; e++) {
var c = null != arguments[e] ? arguments[e] : {};
e % 2 ? h(Object(c), !0).forEach((function (e) {
Object(i["a"])(t, e, c[e])
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(c)) : h(Object(c)).forEach((function (e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(c, e))
}))
}
return t
}
var p, m, v = "wx_authorize_state", f = "wx_auth", b = "login_back_url", g = "loginType", y = "user_longitude",
w = "user_latitude", z = "//res.wx.qq.com/open/js/jweixin-1.6.0.js";
function M() {
return new Promise((function (t, e) {
if (p) return t(p);
Object(s["l"])().then((function (c) {
c.data.customUrl = z;
var n = o()(c.data);
m = n, n.initialize().then((function () {
p = n.wx, p.initConfig = c.data, t(p)
})).catch(e)
})).catch((function (t) {
console.log(t), e(t)
}))
}))
}
function k() {
r["a"].remove(f), r["a"].remove(v)
}
function C() {
if (!r["a"].has(f) || !u["a"].state.app.token) {
var t = Object(l["e"])(), e = t.code;
return e ? void 0 : _()
}
}
function A(t) {
return new Promise((function (e, c) {
var n = r["a"].get(g);
Object(s["n"])(t, parseInt(r["a"].get("spread")), n).then((function (c) {
var i = c.data, a = i.expires_time.substring(0, 19);
a = a.replace(/-/g, "/"), a = new Date(a).getTime() - 288e5;
var o = {token: i.token, expires_time: a};
u["a"].commit("LOGIN", o), r["a"].set(f, t, a), r["a"].remove(v), n && r["a"].remove(g), e()
})).catch(c)
}))
}
function _() {
M().then((function (t) {
location.href = x(t.initConfig.appId)
}))
}
function x(t) {
var e = encodeURIComponent("".concat(location.origin, "/auth/") + encodeURIComponent(encodeURIComponent(r["a"].has(b) ? r["a"].get(b) : location.pathname + location.search)));
r["a"].remove(b);
var c = encodeURIComponent(("" + Math.random()).split(".")[1] + "authorizestate");
return r["a"].set(v, c), "https://open.weixin.qq.com/connect/oauth2/authorize?appid=".concat(t, "&redirect_uri=").concat(e, "&response_type=code&scope=snsapi_userinfo&state=").concat(c, "#wechat_redirect")
}
function I(t) {
var e = arguments.length > 1 && 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,iVBORw0KGgoAAAANSUhEUgAAAA8AAA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hZDRkLTk0NTMtYWQxYTg4NTU5YTFhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEwYzQ1OTcyLTFlZGMtNzk0OS1iYzkzLTUyYjkwZTAyNzMxOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW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9pCBTACyWR6ImcmyGUh4AfE0MjRngUJ7OhDXkKgRFDvTYVHVCsSTidQ4EYg70BNJPhAvJaARJF+ILYX9h2a/zTg0bgLiRKg6rBnjFxBHAPFxNPGjQBwJxL8JZclvQOwJxJehfBDtDRUnqjD4CDVgBxC7Q/kYACDAAJfhLaK8zH0rAAAAAElFTkSuQmCC"
}, "9fd0": function (t, e, c) {
"use strict";
c.d(e, "b", (function () {
return i
})), c.d(e, "a", (function () {
return a
})), c.d(e, "c", (function () {
return o
}));
c("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 + 15 < i.offsetTop + o.offsetHeight && (c = !0, t.navActive = a), c
}), !1)
}
}), 500)
}, beforeDestroy: function () {
document.removeEventListener("scroll", this.onScroll, !1)
}
}, pt = dt, mt = Object(b["a"])(pt, lt, rt, !1, null, null, null), vt = mt.exports, ft = function () {
var t = this, e = t.$createElement, c = t._self._c || e;
return c("div", {staticClass: "shoppingCart"}, [t._m(0), c("div", {staticClass: "nav acea-row row-between-wrapper"}, [c("div", [t._v("\n 购物数量 "), c("span", {staticClass: "num font-color-red"}, [t._v(t._s(t.count))])]), t.cartList.valid.length > 0 ? 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; o < i; o++) !0 === e.cartList.valid[o].checked && a.push(!0);
e.isAllSelect = a.length === i, e.$set(e, "cartList", e.cartList), e.$set(e, "isAllSelect", e.isAllSelect), p["a"].set(wt, e.checkedIds), e.carnum(), e.countMoney()
}, allChecked: function () {
var t = this, e = t.isAllSelect;
e = !e;
var c = [];
t.cartList.valid.forEach((function (t) {
t.checked = e, e && c.push(t.id)
})), t.$set(t, "cartList", t.cartList), t.$set(t, "isAllSelect", e), this.checkedIds = c, p["a"].set(wt, c), t.carnum(), t.countMoney()
}, carnum: function () {
for (var t = this, e = 0, c = t.cartList.valid, n = 0; n < c.length; n++) !0 === c[n].checked && c[n].cart_num && (e += parseInt(c[n].cart_num));
t.$set(t, "cartCount", e)
}, countMoney: function () {
for (var t = this, e = 0, c = t.cartList.valid, n = 0; n < c.length; n++) !0 === c[n].checked && (e = Object(yt["a"])(e, Object(yt["b"])(c[n].cart_num, c[n].truePrice)));
t.countmoney = e
}
}
}, Mt = zt, kt = (c("159f"), Object(b["a"])(Mt, ft, bt, !1, null, "0adb247e", null)), Ct = kt.exports,
At = function () {
var t = this, e = t.$createElement, n = t._self._c || e;
return n("div", {ref: "container", staticClass: "productList"}, [n("form", {
on: {
submit: function (e) {
return e.preventDefault(), t.submitForm(e)
}
}
}, [n("div", {staticClass: "search bg-color-red acea-row row-between-wrapper"}, [n("div", {staticClass: "input acea-row row-between-wrapper"}, [n("span", {staticClass: "iconfont icon-sousuo"}), n("input", {
directives: [{
name: "model",
rawName: "v-model",
value: t.where.keyword,
expression: "where.keyword"
}], attrs: {placeholder: "搜索商品信息"}, domProps: {value: t.where.keyword}, on: {
input: function (e) {
e.target.composing || t.$set(t.where, "keyword", e.target.value)
}
}
})]), n("div", {
staticClass: "iconfont",
class: !0 === t.Switch ? "icon-pailie" : "icon-tupianpailie",
on: {click: t.switchTap}
})])]), n("div", {staticClass: "nav acea-row row-middle"}, [n("div", {
staticClass: "item",
class: t.title ? "font-color-red" : "",
on: {
click: function (e) {
return t.set_where(0)
}
}
}, [t._v("\n " + t._s(t.title ? t.title : "默认") + "\n ")]), n("div", {
staticClass: "item",
on: {
click: function (e) {
return t.set_where(1)
}
}
}, [t._v("\n 价格\n "), 0 === t.price ? n("img", {attrs: {src: c("e4fb")}}) : t._e(), 1 === t.price ? n("img", {attrs: {src: c("9b31")}}) : t._e(), 2 === t.price ? n("img", {attrs: {src: c("7c7c")}}) : t._e()]), n("div", {
staticClass: "item",
on: {
click: function (e) {
return t.set_where(2)
}
}
}, [t._v("\n 销量\n "), 0 === t.stock ? n("img", {attrs: {src: c("e4fb")}}) : t._e(), 1 === t.stock ? n("img", {attrs: {src: c("9b31")}}) : t._e(), 2 === t.stock ? n("img", {attrs: {src: c("7c7c")}}) : t._e()]), n("div", {
staticClass: "item",
class: t.nows ? "font-color-red" : "",
on: {
click: function (e) {
return t.set_where(3)
}
}
}, [t._v("\n 新品\n ")])]), n("div", {
ref: "container",
staticClass: "list acea-row row-between-wrapper",
class: !0 === t.Switch ? "" : "on"
}, t._l(t.productList, (function (e, i) {
return n("div", {
key: i,
staticClass: "item",
class: !0 === t.Switch ? "" : "on",
attrs: {title: e.store_name},
on: {
click: function (c) {
return t.goDetail(e)
}
}
}, [n("div", {
staticClass: "pictrue",
class: !0 === t.Switch ? "" : "on"
}, [n("img", {
class: !0 === t.Switch ? "" : "on",
attrs: {src: e.image}
}), e.activity && "1" === e.activity.type ? n("span", {
staticClass: "pictrue_log_class",
class: !0 === t.Switch ? "pictrue_log_big" : "pictrue_log"
}, [t._v("秒杀")]) : t._e(), e.activity && "2" === e.activity.type ? n("span", {
staticClass: "pictrue_log_class",
class: !0 === t.Switch ? "pictrue_log_big" : "pictrue_log"
}, [t._v("砍价")]) : t._e(), e.activity && "3" === e.activity.type ? n("span", {
staticClass: "pictrue_log_class",
class: !0 === t.Switch ? "pictrue_log_big" : "pictrue_log"
}, [t._v("拼团")]) : t._e()]), n("div", {
staticClass: "text",
class: !0 === t.Switch ? "" : "on"
}, [n("div", {staticClass: "name line1"}, [t._v(t._s(e.store_name))]), n("div", {
staticClass: "money font-color-red",
class: !0 === t.Switch ? "" : "on"
}, [t._v("\n ¥"), n("span", {staticClass: "num"}, [t._v(t._s(e.price))])]), n("div", {
staticClass: "vip acea-row row-between-wrapper",
class: !0 === t.Switch ? "" : "on"
}, [e.vip_price && e.vip_price > 0 ? 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.length < t.where.limit, t.where.page = t.where.page + 1
}))
}
}), 300), submitForm: function () {
this.$set(this, "productList", []), this.where.page = 1, this.loadend = !1, this.loading = !1, this.get_product_list()
}, set_where: function (t) {
var e = this;
switch (t) {
case 0:
return e.$router.push({path: "/category"});
case 1:
0 === e.price ? e.price = 1 : 1 === e.price ? e.price = 2 : 2 === e.price && (e.price = 0), e.stock = 0;
break;
case 2:
0 === e.stock ? e.stock = 1 : 1 === e.stock ? e.stock = 2 : 2 === e.stock && (e.stock = 0), e.price = 0;
break;
case 3:
e.nows = !e.nows;
break;
default:
break
}
e.$set(e, "productList", []), e.where.page = 1, e.loadend = !1, e.get_product_list()
}, setWhere: function () {
var t = this;
0 === t.price ? t.where.priceOrder = "" : 1 === t.price ? t.where.priceOrder = "asc" : 2 === t.price && (t.where.priceOrder = "desc"), 0 === t.stock ? t.where.salesOrder = "" : 1 === t.stock ? t.where.salesOrder = "asc" : 2 === t.stock && (t.where.salesOrder = "desc"), t.where.news = t.nows ? "1" : "0"
}, switchTap: function () {
var t = this;
t.Switch = !t.Switch
}
}
}, Lt = It, Ot = (c("0051"), Object(b["a"])(Lt, At, _t, !1, null, "92c5d346", null)), jt = Ot.exports,
Bt = function () {
var t = this, e = t.$createElement, n = t._self._c || e;
return n("div", {staticClass: "not-defined"}, [n("img", {attrs: {src: c("3dfc")}}), t._m(0), n("div", {
staticClass: "btn",
on: {
click: function (e) {
return t.$router.replace({path: "/"})
}
}
}, [t._v("\n 返回首页\n ")])])
}, St = [function () {
var t = this, e = t.$createElement, c = t._self._c || e;
return c("div", {staticClass: "content"}, [c("h3", {staticClass: "title"}, [t._v("页面未找到")]), c("span", [t._v("抱歉!您访问的页面不存在,请返回上一级或点击下方按钮返回首页...")])])
}], Et = {name: "NotDefined"}, Nt = Et,
Ht = (c("8715"), Object(b["a"])(Nt, Bt, St, !1, null, "6476693e", null)), Rt = Ht.exports,
Dt = function () {
var t = this, e = t.$createElement;
t._self._c;
return t._m(0)
}, Gt = [function () {
var t = this, e = t.$createElement, n = t._self._c || e;
return n("div", {staticClass: "lottie-bg"}, [n("div", {attrs: {id: "lottie"}}, [n("img", {
staticStyle: {width: "100%"},
attrs: {src: c("3857"), rel: "preload"}
})])])
}], Vt = {
name: "Loading", mounted: function () {
var t = this, e = this.$route.query, c = e.code, n = e.state;
Object(d["auth"])(c, n).then((function () {
location.href = decodeURIComponent(decodeURIComponent(t.$route.params.url))
})).catch((function () {
location.replace("/")
}))
}
}, Zt = Vt, Tt = (c("2397"), Object(b["a"])(Zt, Dt, Gt, !1, null, "f4cefdce", null)), Ut = Tt.exports;
i["default"].use(a["a"]);
var Yt = new a["a"]({
mode: "history",
routes: [{
path: "/",
name: "Index",
meta: {title: "首页", keepAlive: !0, footer: !0, backgroundColor: "#fff"},
component: tt
}, {
path: "/customer/chat/:id/:productId?",
name: "CustomerService",
meta: {title: "客服聊天", keepAlive: !1, auth: !0},
component: function () {
return Promise.all([c.e("chunk-1d9e4e87"), c.e("chunk-3b2541e2")]).then(c.bind(null, "488a"))
}
}, {
path: "/category/:pid?",
name: "GoodsClass",
meta: {title: "产品分类", keepAlive: !0, footer: !0, backgroundColor: "#fff"},
component: vt
}, {
path: "/collection",
name: "GoodsCollection",
meta: {title: "收藏商品", keepAlive: !1, auth: !0},
component: function () {
return c.e("chunk-d764fe90").then(c.bind(null, "fa64"))
}
}, {
path: "/search",
name: "GoodSearch",
meta: {title: "搜索商品", keepAlive: !0, backgroundColor: "#fff"},
component: st
}, {
path: "/news_detail/:id",
name: "NewsDetail",
meta: {title: "新闻详情", keepAlive: !0, backgroundColor: "#fff"},
component: function () {
return c.e("chunk-684a81fe").then(c.bind(null, "be73"))
}
}, {
path: "/news_list",
name: "NewsList",
meta: {title: "新闻", keepAlive: !0, backgroundColor: "#fff"},
component: function () {
return Promise.all([c.e("chunk-7c9cf318"), c.e("chunk-443f3894")]).then(c.bind(null, "e3f6"))
}
}, {
path: "/evaluate_list/:id",
name: "EvaluateList",
meta: {title: "商品评分", keepAlive: !0, auth: !0},
component: function () {
return Promise.all([c.e("chunk-0f55f6af"), c.e("chunk-4abea3da")]).then(c.bind(null, "f40b"))
}
}, {
path: "/goods_evaluate/:id",
name: "GoodsEvaluate",
meta: {title: "商品评价", keepAlive: !0, auth: !0},
component: function () {
return Promise.all([c.e("chunk-1d9e4e87"), c.e("chunk-7884052e")]).then(c.bind(null, "f3d2"))
}
}, {
path: "/promotion",
name: "GoodsPromotion",
meta: {title: "促销单品", keepAlive: !1},
component: function () {
return c.e("chunk-2d21f45b").then(c.bind(null, "d8b3"))
}
}, {
path: "/hot_new_goods/:type",
name: "HotNewGoods",
meta: {title: "热门榜单", keepAlive: !1},
component: function () {
return c.e("chunk-2d0f0b4a").then(c.bind(null, "9e08"))
}
}, {
path: "/detail/:id", name: "GoodsCon", meta: {title: "商品详情", keepAlive: !1}, component: function () {
return Promise.all([c.e("chunk-0f55f6af"), c.e("chunk-b3288ef4"), c.e("chunk-2650e5ab")]).then(c.bind(null, "8f99"))
}
}, {
path: "/shop/storeList/:gonames?",
name: "StoreList",
meta: {title: "门店列表", keepAlive: !1},
component: function () {
return c.e("chunk-38b7b883").then(c.bind(null, "fcd5"))
}
}, {
path: "/cart",
name: "ShoppingCart",
meta: {title: "购物车", keepAlive: !0, footer: !0, auth: !0},
component: Ct
}, {
path: "/goods_list",
name: "GoodsList",
meta: {title: "商品列表", keepAlive: !0},
component: jt
}, {
path: "/register", name: "Register", meta: {title: "注册", keepAlive: !0}, component: function () {
return Promise.all([c.e("chunk-787790ba"), c.e("login")]).then(c.bind(null, "1348"))
}
}, {
path: "/change_password",
name: "ChangePassword",
meta: {title: "修改密码", keepAlive: !0, backgroundColor: "#fff", auth: !0},
component: function () {
return Promise.all([c.e("chunk-787790ba"), c.e("login")]).then(c.bind(null, "c242"))
}
}, {
path: "/retrieve_password",
name: "RetrievePassword",
meta: {title: "找回密码", keepAlive: !0},
component: function () {
return Promise.all([c.e("chunk-787790ba"), c.e("login")]).then(c.bind(null, "7d2e"))
}
}, {
path: "/login", name: "Login", meta: {title: "登录", keepAlive: !0}, component: function () {
return Promise.all([c.e("chunk-787790ba"), c.e("login")]).then(c.bind(null, "ac2a"))
}
}].concat(Object(n["a"])(O), [{
path: "/auth/:url",
name: "Loading",
meta: {title: " 加载中", keepAlive: !0},
component: Ut
}, {
path: "*",
name: "NotDefined",
meta: {title: "页面找不到", keepAlive: !0, home: !1, backgroundColor: "#F4F6FB"},
component: Rt
}]),
scrollBehavior: function (t, e) {
return e.meta.scrollTop = window.scrollY, {x: 0, y: t.meta.scrollTop || 0}
}
}), Wt = Yt.back, Pt = Yt.replace;
Yt.back = function () {
this.isBack = !0, Wt.call(Yt)
}, Yt.replace = function () {
this.isReplace = !0;
for (var t = arguments.length, e = new Array(t), c = 0; c < t; c++) e[c] = arguments[c];
Pt.call.apply(Pt, [Yt].concat(e))
}, Yt.beforeEach((function (t, e, c) {
var n = t.meta, i = n.title, a = n.backgroundColor, o = n.footer, s = n.home, l = n.auth;
if (console.log(t.name, e.name), !0 === l && !m["a"].state.app.token) {
if ("Login" === e.name) return;
return Object(G["a"])(!0, t.fullPath)
}
document.title = i || "CRMEB", !0 === o ? m["a"].commit("SHOW_FOOTER") : m["a"].commit("HIDE_FOOTER"), !1 === s ? m["a"].commit("HIDE_HOME") : m["a"].commit("SHOW_HOME"), m["a"].commit("BACKGROUND_COLOR", a || "#F5F5F5"), l ? m["a"].dispatch("USERINFO").then((function () {
c()
})) : c()
}));
e["a"] = Yt
}, a1a5: function (t, e, c) {
"use strict";
var n = c("2949"), i = c.n(n);
i.a
}, a884: function (t, e, c) {
t.exports = c.p + "h5/img/support.37442214.png"
}, ab74: function (t, e, c) {
"use strict";
var n = c("893f"), i = c.n(n);
i.a
}, b775: function (t, e, c) {
"use strict";
c("6d57");
var n = c("82ae"), i = c.n(n), a = c("4360"), o = c("d30b"), s = c("ed08"),
l = i.a.create({baseURL: s["a"], timeout: 5e3}), r = {login: !0};
function u(t) {
var e = a["a"].state.app.token, c = t.headers || {};
return c["Authori-zation"] = "Bearer " + e, t.headers = c, t.login && !e ? (Object(o["a"])(), Promise.reject({
msg: "未登录",
toLogin: !0
})) : l(t).then((function (t) {
var e = t.data || {};
return 200 !== t.status ? Promise.reject({
msg: "请求失败",
res: t,
data: e
}) : -1 !== [41e4, 410001, 410002].indexOf(e.status) ? (Object(o["a"])(), Promise.reject({
msg: t.data.msg,
res: t,
data: e,
toLogin: !0
})) : 200 === e.status ? Promise.resolve(e, t) : Promise.reject({msg: t.data.msg, res: t, data: e})
}))
}
var h = ["post", "put", "patch"].reduce((function (t, e) {
return t[e] = function (t) {
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: 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,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAA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qIO0o36r6Sit9bPfgTXy2Iqm+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,iVBORw0KGgoAAAANSUhEUgAAADEAAAAqCAYAAAAajbNEAAAAGX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bGwXRF6GOs33DW2jx1k2typuQWxnN6jHI1hZ99ftuQJYzmpGZPMcthrP/ssRO02mh+BcS6H5I8tXNHx4mb+iJcFZWMsgS5Hpsx6tAXZc+Wd7FGrxTLIbjBzQ2MYkzTQPA5ddfKKP8I8buBGREgDyOQefgI4vxnQHHm2JDPd6Alqv/6ExHa09ZkxQSuFesePFyjnWTEz4Z3F/ElzhYivqQv4S2j2Ap29FyEY93Df505UEzTaCR92LABbxmGwZN4m0LyTPVQ2S83G8+396DXIP8K3ItJkDjj/ROg6E+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; e < arguments.length; e++) {
var c = null != arguments[e] ? arguments[e] : {};
e % 2 ? a(Object(c), !0).forEach((function (e) {
Object(n["a"])(t, e, c[e])
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(c)) : a(Object(c)).forEach((function (e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(c, e))
}))
}
return t
}
var s = {
confirm: i["Confirm"],
alert: i["Alert"],
toast: i["Toast"],
notify: i["Notify"],
loading: i["Loading"]
}, l = {error: "操作失败", success: "操作成功"};
function r(t) {
var e = arguments.length > 1 && 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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxMGM0NTk3Mi0xZWRjLTc5NDktYmM5My01MmI5MGUwMjczMTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjEwRUYxQTkyMTE2MTFFOTk4QUVDRTRFNDMyRTZFNkUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjEwRUYxQTgyMTE2MTFFOTk4QUVDRTRFNDMyRTZFNkUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODJmOGJjOWEtNjNhNi1hZDRkLTk0NTMtYWQxYTg4NTU5YTFhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEwYzQ1OTcyLTFlZGMtNzk0OS1iYzkzLTUyYjkwZTAyNzMxOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjUxYEEAAAD9SURBVHjaYpw5cyYDDiANxHOAOAmIn2NTwIRDIz8QbwdiDyDeCeUTpZkLiLcBsS6UD6K3QMXxamYD4hVAbIUmbgPEy4GYFZdmRiCeB8S+OLziB8TzoeowNE8A4mgG/AAk34euuRKI8xiIAwVAXAFisABxJhC3MZAGQOo/skBDVpmBdPAXpPkhA5kApFkeiJnJtdkLiKeRoTkLFNrTgbiGRI2g2JkOi6pWIJ5MpMaJQNyBnkjygXgpAY0g+UJsKew/NPttxqFxExAnQtVhzRi/gDgCiI+jiR8F4kgg/k0oS34DYk8gvgzlg2hvqDhRhcFHqAE7gNgdyscAAAEGAGMOLKKfpm4VAAAAAElFTkSuQmCC"
}, e5d0: function (t, e, c) {
}, e758: function (t, e, c) {
}, 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 < t.limit, t.page = t.page + 1
})))
}
}
}, r = l, u = c("623f"), h = Object(u["a"])(r, n, i, !1, null, null, null);
e["a"] = h.exports
}, f8b7: function (t, e, c) {
"use strict";
c.d(e, "n", (function () {
return i
})), c.d(e, "m", (function () {
return a
})), c.d(e, "e", (function () {
return o
})), c.d(e, "b", (function () {
return s
})), c.d(e, "f", (function () {
return l
})), c.d(e, "g", (function () {
return r
})), c.d(e, "a", (function () {
return u
})), c.d(e, "j", (function () {
return h
})), c.d(e, "h", (function () {
return d
})), c.d(e, "o", (function () {
return p
})), c.d(e, "p", (function () {
return m
})), c.d(e, "c", (function () {
return v
})), c.d(e, "d", (function () {
return f
})), c.d(e, "l", (function () {
return b
})), c.d(e, "k", (function () {
return g
})), c.d(e, "i", (function () {
return y
}));
var n = c("b775");
function i(t) {
return n["a"].post("/order/confirm", {cartId: t})
}
function a(t, e) {
return n["a"].post("/order/computed/" + t, e)
}
function o(t, e) {
return n["a"].get("/coupons/order/" + (parseFloat(t) || 0), e)
}
function s(t, e) {
return n["a"].post("/order/create/" + t, e || {})
}
function l() {
return n["a"].get("/order/data")
}
function r(t) {
return n["a"].get("/order/list", t)
}
function u(t) {
return n["a"].post("/order/cancel", {id: t})
}
function h(t) {
return n["a"].get("/order/detail/" + t)
}
function d() {
return n["a"].get("/order/refund/reason")
}
function p(t) {
return n["a"].post("/order/refund/verify", t)
}
function m(t) {
return n["a"].post("/order/take", {uni: t})
}
function v(t) {
return n["a"].post("/order/del", {uni: t})
}
function f(t) {
return n["a"].get("order/express/" + t)
}
function b(t, e, c) {
return n["a"].post("order/pay", {uni: t, paytype: e, from: c})
}
function g(t, e) {
return n["a"].post("order/order_verific", {verify_code: t, is_confirm: e})
}
function y(t) {
return n["a"].post("order/again", {uni: t})
}
}
});
//# sourceMappingURL=app.b2f972ec.js.map