更换版本
@ -1,22 +0,0 @@
|
|||||||
Array.prototype.includes ||
|
|
||||||
Object.defineProperty(Array.prototype, "includes", {
|
|
||||||
value: function (r, e) {
|
|
||||||
if (null == this) throw new TypeError('"this" is null or not defined');
|
|
||||||
var t = Object(this),
|
|
||||||
n = t.length >>> 0;
|
|
||||||
if (0 == n) return !1;
|
|
||||||
for (
|
|
||||||
var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0);
|
|
||||||
u < n;
|
|
||||||
|
|
||||||
) {
|
|
||||||
if (
|
|
||||||
(i = t[u]) === (o = r) ||
|
|
||||||
("number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o))
|
|
||||||
)
|
|
||||||
return !0;
|
|
||||||
u++;
|
|
||||||
}
|
|
||||||
return !1;
|
|
||||||
},
|
|
||||||
});
|
|
@ -1,9 +0,0 @@
|
|||||||
Object.values ||
|
|
||||||
(Object.values = function (e) {
|
|
||||||
if (e !== Object(e))
|
|
||||||
throw new TypeError("Object.values called on a non-object");
|
|
||||||
var t,
|
|
||||||
r = [];
|
|
||||||
for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(e[t]);
|
|
||||||
return r;
|
|
||||||
});
|
|
@ -1,6 +0,0 @@
|
|||||||
function _arrayLikeToArray(r, a) {
|
|
||||||
(null == a || a > r.length) && (a = r.length);
|
|
||||||
for (var e = 0, n = new Array(a); e < a; e++) n[e] = r[e];
|
|
||||||
return n;
|
|
||||||
}
|
|
||||||
module.exports = _arrayLikeToArray;
|
|
@ -1,4 +0,0 @@
|
|||||||
function _arrayWithHoles(r) {
|
|
||||||
if (Array.isArray(r)) return r;
|
|
||||||
}
|
|
||||||
module.exports = _arrayWithHoles;
|
|
@ -1,5 +0,0 @@
|
|||||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
|
||||||
function _arrayWithoutHoles(r) {
|
|
||||||
if (Array.isArray(r)) return arrayLikeToArray(r);
|
|
||||||
}
|
|
||||||
module.exports = _arrayWithoutHoles;
|
|
@ -1,8 +0,0 @@
|
|||||||
function _assertThisInitialized(e) {
|
|
||||||
if (void 0 === e)
|
|
||||||
throw new ReferenceError(
|
|
||||||
"this hasn't been initialised - super() hasn't been called"
|
|
||||||
);
|
|
||||||
return e;
|
|
||||||
}
|
|
||||||
module.exports = _assertThisInitialized;
|
|
@ -1,26 +0,0 @@
|
|||||||
function asyncGeneratorStep(n, e, r, t, o, a, c) {
|
|
||||||
try {
|
|
||||||
var i = n[a](c),
|
|
||||||
u = i.value;
|
|
||||||
} catch (n) {
|
|
||||||
return void r(n);
|
|
||||||
}
|
|
||||||
i.done ? e(u) : Promise.resolve(u).then(t, o);
|
|
||||||
}
|
|
||||||
function _asyncToGenerator(n) {
|
|
||||||
return function () {
|
|
||||||
var e = this,
|
|
||||||
r = arguments;
|
|
||||||
return new Promise(function (t, o) {
|
|
||||||
var a = n.apply(e, r);
|
|
||||||
function c(n) {
|
|
||||||
asyncGeneratorStep(a, t, o, c, i, "next", n);
|
|
||||||
}
|
|
||||||
function i(n) {
|
|
||||||
asyncGeneratorStep(a, t, o, c, i, "throw", n);
|
|
||||||
}
|
|
||||||
c(void 0);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
}
|
|
||||||
module.exports = _asyncToGenerator;
|
|
@ -1,5 +0,0 @@
|
|||||||
function _classCallCheck(a, l) {
|
|
||||||
if (!(a instanceof l))
|
|
||||||
throw new TypeError("Cannot call a class as a function");
|
|
||||||
}
|
|
||||||
module.exports = _classCallCheck;
|
|
@ -1,17 +0,0 @@
|
|||||||
var setPrototypeOf = require("./setPrototypeOf"),
|
|
||||||
isNativeReflectConstruct = require("./isNativeReflectConstruct");
|
|
||||||
function _construct(t, e, r) {
|
|
||||||
return (
|
|
||||||
isNativeReflectConstruct()
|
|
||||||
? (module.exports = _construct = Reflect.construct.bind())
|
|
||||||
: (module.exports = _construct =
|
|
||||||
function (t, e, r) {
|
|
||||||
var o = [null];
|
|
||||||
o.push.apply(o, e);
|
|
||||||
var c = new (Function.bind.apply(t, o))();
|
|
||||||
return r && setPrototypeOf(c, r.prototype), c;
|
|
||||||
}),
|
|
||||||
_construct.apply(null, arguments)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _construct;
|
|
@ -1,19 +0,0 @@
|
|||||||
var toPropertyKey = require("./toPropertyKey");
|
|
||||||
function _defineProperties(e, r) {
|
|
||||||
for (var t = 0; t < r.length; t++) {
|
|
||||||
var o = r[t];
|
|
||||||
(o.enumerable = o.enumerable || !1),
|
|
||||||
(o.configurable = !0),
|
|
||||||
"value" in o && (o.writable = !0),
|
|
||||||
Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function _createClass(e, r, t) {
|
|
||||||
return (
|
|
||||||
r && _defineProperties(e.prototype, r),
|
|
||||||
t && _defineProperties(e, t),
|
|
||||||
Object.defineProperty(e, "prototype", { writable: !1 }),
|
|
||||||
e
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _createClass;
|
|
@ -1,52 +0,0 @@
|
|||||||
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
|
|
||||||
function _createForOfIteratorHelper(r, e) {
|
|
||||||
var t =
|
|
||||||
("undefined" != typeof Symbol && r[Symbol.iterator]) || r["@@iterator"];
|
|
||||||
if (!t) {
|
|
||||||
if (
|
|
||||||
Array.isArray(r) ||
|
|
||||||
(t = unsupportedIterableToArray(r)) ||
|
|
||||||
(e && r && "number" == typeof r.length)
|
|
||||||
) {
|
|
||||||
t && (r = t);
|
|
||||||
var n = 0,
|
|
||||||
o = function () {};
|
|
||||||
return {
|
|
||||||
s: o,
|
|
||||||
n: function () {
|
|
||||||
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
||||||
},
|
|
||||||
e: function (r) {
|
|
||||||
throw r;
|
|
||||||
},
|
|
||||||
f: o,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
throw new TypeError(
|
|
||||||
"Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
var a,
|
|
||||||
u = !0,
|
|
||||||
i = !1;
|
|
||||||
return {
|
|
||||||
s: function () {
|
|
||||||
t = t.call(r);
|
|
||||||
},
|
|
||||||
n: function () {
|
|
||||||
var r = t.next();
|
|
||||||
return (u = r.done), r;
|
|
||||||
},
|
|
||||||
e: function (r) {
|
|
||||||
(i = !0), (a = r);
|
|
||||||
},
|
|
||||||
f: function () {
|
|
||||||
try {
|
|
||||||
u || null == t.return || t.return();
|
|
||||||
} finally {
|
|
||||||
if (i) throw a;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
};
|
|
||||||
}
|
|
||||||
module.exports = _createForOfIteratorHelper;
|
|
@ -1,16 +0,0 @@
|
|||||||
var getPrototypeOf = require("./getPrototypeOf"),
|
|
||||||
isNativeReflectConstruct = require("./isNativeReflectConstruct"),
|
|
||||||
possibleConstructorReturn = require("./possibleConstructorReturn");
|
|
||||||
function _createSuper(t) {
|
|
||||||
var e = isNativeReflectConstruct();
|
|
||||||
return function () {
|
|
||||||
var r,
|
|
||||||
o = getPrototypeOf(t);
|
|
||||||
if (e) {
|
|
||||||
var s = getPrototypeOf(this).constructor;
|
|
||||||
r = Reflect.construct(o, arguments, s);
|
|
||||||
} else r = o.apply(this, arguments);
|
|
||||||
return possibleConstructorReturn(this, r);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
module.exports = _createSuper;
|
|
@ -1,15 +0,0 @@
|
|||||||
var toPropertyKey = require("./toPropertyKey");
|
|
||||||
function _defineProperty(e, r, t) {
|
|
||||||
return (
|
|
||||||
(r = toPropertyKey(r)) in e
|
|
||||||
? Object.defineProperty(e, r, {
|
|
||||||
value: t,
|
|
||||||
enumerable: !0,
|
|
||||||
configurable: !0,
|
|
||||||
writable: !0,
|
|
||||||
})
|
|
||||||
: (e[r] = t),
|
|
||||||
e
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _defineProperty;
|
|
@ -1,12 +0,0 @@
|
|||||||
function _getPrototypeOf(t) {
|
|
||||||
return (
|
|
||||||
(module.exports = _getPrototypeOf =
|
|
||||||
Object.setPrototypeOf
|
|
||||||
? Object.getPrototypeOf.bind()
|
|
||||||
: function (t) {
|
|
||||||
return t.__proto__ || Object.getPrototypeOf(t);
|
|
||||||
}),
|
|
||||||
_getPrototypeOf(t)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _getPrototypeOf;
|
|
@ -1,11 +0,0 @@
|
|||||||
var setPrototypeOf = require("./setPrototypeOf");
|
|
||||||
function _inherits(e, t) {
|
|
||||||
if ("function" != typeof t && null !== t)
|
|
||||||
throw new TypeError("Super expression must either be null or a function");
|
|
||||||
(e.prototype = Object.create(t && t.prototype, {
|
|
||||||
constructor: { value: e, writable: !0, configurable: !0 },
|
|
||||||
})),
|
|
||||||
Object.defineProperty(e, "prototype", { writable: !1 }),
|
|
||||||
t && setPrototypeOf(e, t);
|
|
||||||
}
|
|
||||||
module.exports = _inherits;
|
|
@ -1,4 +0,0 @@
|
|||||||
function _isNativeFunction(n) {
|
|
||||||
return -1 !== Function.toString.call(n).indexOf("[native code]");
|
|
||||||
}
|
|
||||||
module.exports = _isNativeFunction;
|
|
@ -1,16 +0,0 @@
|
|||||||
function _isNativeReflectConstruct() {
|
|
||||||
if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
|
|
||||||
if (Reflect.construct.sham) return !1;
|
|
||||||
if ("function" == typeof Proxy) return !0;
|
|
||||||
try {
|
|
||||||
return (
|
|
||||||
Boolean.prototype.valueOf.call(
|
|
||||||
Reflect.construct(Boolean, [], function () {})
|
|
||||||
),
|
|
||||||
!0
|
|
||||||
);
|
|
||||||
} catch (t) {
|
|
||||||
return !1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
module.exports = _isNativeReflectConstruct;
|
|
@ -1,8 +0,0 @@
|
|||||||
function _iterableToArray(r) {
|
|
||||||
if (
|
|
||||||
("undefined" != typeof Symbol && null != r[Symbol.iterator]) ||
|
|
||||||
null != r["@@iterator"]
|
|
||||||
)
|
|
||||||
return Array.from(r);
|
|
||||||
}
|
|
||||||
module.exports = _iterableToArray;
|
|
@ -1,37 +0,0 @@
|
|||||||
function _iterableToArrayLimit(r, e) {
|
|
||||||
var l =
|
|
||||||
null == r
|
|
||||||
? null
|
|
||||||
: ("undefined" != typeof Symbol && r[Symbol.iterator]) || r["@@iterator"];
|
|
||||||
if (null != l) {
|
|
||||||
var t,
|
|
||||||
n,
|
|
||||||
i,
|
|
||||||
a,
|
|
||||||
u = [],
|
|
||||||
o = !0,
|
|
||||||
f = !1;
|
|
||||||
try {
|
|
||||||
if (((i = (l = l.call(r)).next), 0 === e)) {
|
|
||||||
if (Object(l) !== l) return;
|
|
||||||
o = !1;
|
|
||||||
} else
|
|
||||||
for (
|
|
||||||
;
|
|
||||||
!(o = (t = i.call(l)).done) && (u.push(t.value), u.length !== e);
|
|
||||||
o = !0
|
|
||||||
);
|
|
||||||
} catch (r) {
|
|
||||||
(f = !0), (n = r);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
if (!o && null != l.return && ((a = l.return()), Object(a) !== a))
|
|
||||||
return;
|
|
||||||
} finally {
|
|
||||||
if (f) throw n;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return u;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
module.exports = _iterableToArrayLimit;
|
|
@ -1,6 +0,0 @@
|
|||||||
function _nonIterableRest() {
|
|
||||||
throw new TypeError(
|
|
||||||
"Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _nonIterableRest;
|
|
@ -1,6 +0,0 @@
|
|||||||
function _nonIterableSpread() {
|
|
||||||
throw new TypeError(
|
|
||||||
"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _nonIterableSpread;
|
|
@ -1,29 +0,0 @@
|
|||||||
var defineProperty = require("./defineProperty");
|
|
||||||
function ownKeys(e, r) {
|
|
||||||
var t = Object.keys(e);
|
|
||||||
if (Object.getOwnPropertySymbols) {
|
|
||||||
var o = Object.getOwnPropertySymbols(e);
|
|
||||||
r &&
|
|
||||||
(o = o.filter(function (r) {
|
|
||||||
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
||||||
})),
|
|
||||||
t.push.apply(t, o);
|
|
||||||
}
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
function _objectSpread2(e) {
|
|
||||||
for (var r = 1; r < arguments.length; r++) {
|
|
||||||
var t = null != arguments[r] ? arguments[r] : {};
|
|
||||||
r % 2
|
|
||||||
? ownKeys(Object(t), !0).forEach(function (r) {
|
|
||||||
defineProperty(e, r, t[r]);
|
|
||||||
})
|
|
||||||
: Object.getOwnPropertyDescriptors
|
|
||||||
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t))
|
|
||||||
: ownKeys(Object(t)).forEach(function (r) {
|
|
||||||
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return e;
|
|
||||||
}
|
|
||||||
module.exports = _objectSpread2;
|
|
@ -1,11 +0,0 @@
|
|||||||
var _typeof = require("./typeof"),
|
|
||||||
assertThisInitialized = require("./assertThisInitialized");
|
|
||||||
function _possibleConstructorReturn(e, r) {
|
|
||||||
if (r && ("object" === _typeof(r) || "function" == typeof r)) return r;
|
|
||||||
if (void 0 !== r)
|
|
||||||
throw new TypeError(
|
|
||||||
"Derived constructors may only return object or undefined"
|
|
||||||
);
|
|
||||||
return assertThisInitialized(e);
|
|
||||||
}
|
|
||||||
module.exports = _possibleConstructorReturn;
|
|
@ -1,406 +0,0 @@
|
|||||||
var t = require("./typeof");
|
|
||||||
function r() {
|
|
||||||
(module.exports = r =
|
|
||||||
function () {
|
|
||||||
return e;
|
|
||||||
}),
|
|
||||||
(module.exports.__esModule = !0),
|
|
||||||
(module.exports.default = module.exports);
|
|
||||||
var e = {},
|
|
||||||
n = Object.prototype,
|
|
||||||
o = n.hasOwnProperty,
|
|
||||||
i =
|
|
||||||
Object.defineProperty ||
|
|
||||||
function (t, r, e) {
|
|
||||||
t[r] = e.value;
|
|
||||||
},
|
|
||||||
a = "function" == typeof Symbol ? Symbol : {},
|
|
||||||
c = a.iterator || "@@iterator",
|
|
||||||
u = a.asyncIterator || "@@asyncIterator",
|
|
||||||
l = a.toStringTag || "@@toStringTag";
|
|
||||||
function h(t, r, e) {
|
|
||||||
return (
|
|
||||||
Object.defineProperty(t, r, {
|
|
||||||
value: e,
|
|
||||||
enumerable: !0,
|
|
||||||
configurable: !0,
|
|
||||||
writable: !0,
|
|
||||||
}),
|
|
||||||
t[r]
|
|
||||||
);
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
h({}, "");
|
|
||||||
} catch (t) {
|
|
||||||
h = function (t, r, e) {
|
|
||||||
return (t[r] = e);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
function f(t, r, e, n) {
|
|
||||||
var o = r && r.prototype instanceof d ? r : d,
|
|
||||||
a = Object.create(o.prototype),
|
|
||||||
c = new k(n || []);
|
|
||||||
return i(a, "_invoke", { value: E(t, e, c) }), a;
|
|
||||||
}
|
|
||||||
function s(t, r, e) {
|
|
||||||
try {
|
|
||||||
return { type: "normal", arg: t.call(r, e) };
|
|
||||||
} catch (t) {
|
|
||||||
return { type: "throw", arg: t };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
e.wrap = f;
|
|
||||||
var p = {};
|
|
||||||
function d() {}
|
|
||||||
function v() {}
|
|
||||||
function y() {}
|
|
||||||
var g = {};
|
|
||||||
h(g, c, function () {
|
|
||||||
return this;
|
|
||||||
});
|
|
||||||
var m = Object.getPrototypeOf,
|
|
||||||
w = m && m(m(G([])));
|
|
||||||
w && w !== n && o.call(w, c) && (g = w);
|
|
||||||
var x = (y.prototype = d.prototype = Object.create(g));
|
|
||||||
function L(t) {
|
|
||||||
["next", "throw", "return"].forEach(function (r) {
|
|
||||||
h(t, r, function (t) {
|
|
||||||
return this._invoke(r, t);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function b(r, e) {
|
|
||||||
function n(i, a, c, u) {
|
|
||||||
var l = s(r[i], r, a);
|
|
||||||
if ("throw" !== l.type) {
|
|
||||||
var h = l.arg,
|
|
||||||
f = h.value;
|
|
||||||
return f && "object" == t(f) && o.call(f, "__await")
|
|
||||||
? e.resolve(f.__await).then(
|
|
||||||
function (t) {
|
|
||||||
n("next", t, c, u);
|
|
||||||
},
|
|
||||||
function (t) {
|
|
||||||
n("throw", t, c, u);
|
|
||||||
}
|
|
||||||
)
|
|
||||||
: e.resolve(f).then(
|
|
||||||
function (t) {
|
|
||||||
(h.value = t), c(h);
|
|
||||||
},
|
|
||||||
function (t) {
|
|
||||||
return n("throw", t, c, u);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
u(l.arg);
|
|
||||||
}
|
|
||||||
var a;
|
|
||||||
i(this, "_invoke", {
|
|
||||||
value: function (t, r) {
|
|
||||||
function o() {
|
|
||||||
return new e(function (e, o) {
|
|
||||||
n(t, r, e, o);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return (a = a ? a.then(o, o) : o());
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function E(t, r, e) {
|
|
||||||
var n = "suspendedStart";
|
|
||||||
return function (o, i) {
|
|
||||||
if ("executing" === n) throw new Error("Generator is already running");
|
|
||||||
if ("completed" === n) {
|
|
||||||
if ("throw" === o) throw i;
|
|
||||||
return N();
|
|
||||||
}
|
|
||||||
for (e.method = o, e.arg = i; ; ) {
|
|
||||||
var a = e.delegate;
|
|
||||||
if (a) {
|
|
||||||
var c = _(a, e);
|
|
||||||
if (c) {
|
|
||||||
if (c === p) continue;
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ("next" === e.method) e.sent = e._sent = e.arg;
|
|
||||||
else if ("throw" === e.method) {
|
|
||||||
if ("suspendedStart" === n) throw ((n = "completed"), e.arg);
|
|
||||||
e.dispatchException(e.arg);
|
|
||||||
} else "return" === e.method && e.abrupt("return", e.arg);
|
|
||||||
n = "executing";
|
|
||||||
var u = s(t, r, e);
|
|
||||||
if ("normal" === u.type) {
|
|
||||||
if (((n = e.done ? "completed" : "suspendedYield"), u.arg === p))
|
|
||||||
continue;
|
|
||||||
return { value: u.arg, done: e.done };
|
|
||||||
}
|
|
||||||
"throw" === u.type &&
|
|
||||||
((n = "completed"), (e.method = "throw"), (e.arg = u.arg));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
function _(t, r) {
|
|
||||||
var e = r.method,
|
|
||||||
n = t.iterator[e];
|
|
||||||
if (void 0 === n)
|
|
||||||
return (
|
|
||||||
(r.delegate = null),
|
|
||||||
("throw" === e &&
|
|
||||||
t.iterator.return &&
|
|
||||||
((r.method = "return"),
|
|
||||||
(r.arg = void 0),
|
|
||||||
_(t, r),
|
|
||||||
"throw" === r.method)) ||
|
|
||||||
("return" !== e &&
|
|
||||||
((r.method = "throw"),
|
|
||||||
(r.arg = new TypeError(
|
|
||||||
"The iterator does not provide a '" + e + "' method"
|
|
||||||
)))),
|
|
||||||
p
|
|
||||||
);
|
|
||||||
var o = s(n, t.iterator, r.arg);
|
|
||||||
if ("throw" === o.type)
|
|
||||||
return (r.method = "throw"), (r.arg = o.arg), (r.delegate = null), p;
|
|
||||||
var i = o.arg;
|
|
||||||
return i
|
|
||||||
? i.done
|
|
||||||
? ((r[t.resultName] = i.value),
|
|
||||||
(r.next = t.nextLoc),
|
|
||||||
"return" !== r.method && ((r.method = "next"), (r.arg = void 0)),
|
|
||||||
(r.delegate = null),
|
|
||||||
p)
|
|
||||||
: i
|
|
||||||
: ((r.method = "throw"),
|
|
||||||
(r.arg = new TypeError("iterator result is not an object")),
|
|
||||||
(r.delegate = null),
|
|
||||||
p);
|
|
||||||
}
|
|
||||||
function O(t) {
|
|
||||||
var r = { tryLoc: t[0] };
|
|
||||||
1 in t && (r.catchLoc = t[1]),
|
|
||||||
2 in t && ((r.finallyLoc = t[2]), (r.afterLoc = t[3])),
|
|
||||||
this.tryEntries.push(r);
|
|
||||||
}
|
|
||||||
function j(t) {
|
|
||||||
var r = t.completion || {};
|
|
||||||
(r.type = "normal"), delete r.arg, (t.completion = r);
|
|
||||||
}
|
|
||||||
function k(t) {
|
|
||||||
(this.tryEntries = [{ tryLoc: "root" }]),
|
|
||||||
t.forEach(O, this),
|
|
||||||
this.reset(!0);
|
|
||||||
}
|
|
||||||
function G(t) {
|
|
||||||
if (t) {
|
|
||||||
var r = t[c];
|
|
||||||
if (r) return r.call(t);
|
|
||||||
if ("function" == typeof t.next) return t;
|
|
||||||
if (!isNaN(t.length)) {
|
|
||||||
var e = -1,
|
|
||||||
n = function r() {
|
|
||||||
for (; ++e < t.length; )
|
|
||||||
if (o.call(t, e)) return (r.value = t[e]), (r.done = !1), r;
|
|
||||||
return (r.value = void 0), (r.done = !0), r;
|
|
||||||
};
|
|
||||||
return (n.next = n);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return { next: N };
|
|
||||||
}
|
|
||||||
function N() {
|
|
||||||
return { value: void 0, done: !0 };
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
(v.prototype = y),
|
|
||||||
i(x, "constructor", { value: y, configurable: !0 }),
|
|
||||||
i(y, "constructor", { value: v, configurable: !0 }),
|
|
||||||
(v.displayName = h(y, l, "GeneratorFunction")),
|
|
||||||
(e.isGeneratorFunction = function (t) {
|
|
||||||
var r = "function" == typeof t && t.constructor;
|
|
||||||
return (
|
|
||||||
!!r && (r === v || "GeneratorFunction" === (r.displayName || r.name))
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
(e.mark = function (t) {
|
|
||||||
return (
|
|
||||||
Object.setPrototypeOf
|
|
||||||
? Object.setPrototypeOf(t, y)
|
|
||||||
: ((t.__proto__ = y), h(t, l, "GeneratorFunction")),
|
|
||||||
(t.prototype = Object.create(x)),
|
|
||||||
t
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
(e.awrap = function (t) {
|
|
||||||
return { __await: t };
|
|
||||||
}),
|
|
||||||
L(b.prototype),
|
|
||||||
h(b.prototype, u, function () {
|
|
||||||
return this;
|
|
||||||
}),
|
|
||||||
(e.AsyncIterator = b),
|
|
||||||
(e.async = function (t, r, n, o, i) {
|
|
||||||
void 0 === i && (i = Promise);
|
|
||||||
var a = new b(f(t, r, n, o), i);
|
|
||||||
return e.isGeneratorFunction(r)
|
|
||||||
? a
|
|
||||||
: a.next().then(function (t) {
|
|
||||||
return t.done ? t.value : a.next();
|
|
||||||
});
|
|
||||||
}),
|
|
||||||
L(x),
|
|
||||||
h(x, l, "Generator"),
|
|
||||||
h(x, c, function () {
|
|
||||||
return this;
|
|
||||||
}),
|
|
||||||
h(x, "toString", function () {
|
|
||||||
return "[object Generator]";
|
|
||||||
}),
|
|
||||||
(e.keys = function (t) {
|
|
||||||
var r = Object(t),
|
|
||||||
e = [];
|
|
||||||
for (var n in r) e.push(n);
|
|
||||||
return (
|
|
||||||
e.reverse(),
|
|
||||||
function t() {
|
|
||||||
for (; e.length; ) {
|
|
||||||
var n = e.pop();
|
|
||||||
if (n in r) return (t.value = n), (t.done = !1), t;
|
|
||||||
}
|
|
||||||
return (t.done = !0), t;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
(e.values = G),
|
|
||||||
(k.prototype = {
|
|
||||||
constructor: k,
|
|
||||||
reset: function (t) {
|
|
||||||
if (
|
|
||||||
((this.prev = 0),
|
|
||||||
(this.next = 0),
|
|
||||||
(this.sent = this._sent = void 0),
|
|
||||||
(this.done = !1),
|
|
||||||
(this.delegate = null),
|
|
||||||
(this.method = "next"),
|
|
||||||
(this.arg = void 0),
|
|
||||||
this.tryEntries.forEach(j),
|
|
||||||
!t)
|
|
||||||
)
|
|
||||||
for (var r in this)
|
|
||||||
"t" === r.charAt(0) &&
|
|
||||||
o.call(this, r) &&
|
|
||||||
!isNaN(+r.slice(1)) &&
|
|
||||||
(this[r] = void 0);
|
|
||||||
},
|
|
||||||
stop: function () {
|
|
||||||
this.done = !0;
|
|
||||||
var t = this.tryEntries[0].completion;
|
|
||||||
if ("throw" === t.type) throw t.arg;
|
|
||||||
return this.rval;
|
|
||||||
},
|
|
||||||
dispatchException: function (t) {
|
|
||||||
if (this.done) throw t;
|
|
||||||
var r = this;
|
|
||||||
function e(e, n) {
|
|
||||||
return (
|
|
||||||
(a.type = "throw"),
|
|
||||||
(a.arg = t),
|
|
||||||
(r.next = e),
|
|
||||||
n && ((r.method = "next"), (r.arg = void 0)),
|
|
||||||
!!n
|
|
||||||
);
|
|
||||||
}
|
|
||||||
for (var n = this.tryEntries.length - 1; n >= 0; --n) {
|
|
||||||
var i = this.tryEntries[n],
|
|
||||||
a = i.completion;
|
|
||||||
if ("root" === i.tryLoc) return e("end");
|
|
||||||
if (i.tryLoc <= this.prev) {
|
|
||||||
var c = o.call(i, "catchLoc"),
|
|
||||||
u = o.call(i, "finallyLoc");
|
|
||||||
if (c && u) {
|
|
||||||
if (this.prev < i.catchLoc) return e(i.catchLoc, !0);
|
|
||||||
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
||||||
} else if (c) {
|
|
||||||
if (this.prev < i.catchLoc) return e(i.catchLoc, !0);
|
|
||||||
} else {
|
|
||||||
if (!u) throw new Error("try statement without catch or finally");
|
|
||||||
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
abrupt: function (t, r) {
|
|
||||||
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
||||||
var n = this.tryEntries[e];
|
|
||||||
if (
|
|
||||||
n.tryLoc <= this.prev &&
|
|
||||||
o.call(n, "finallyLoc") &&
|
|
||||||
this.prev < n.finallyLoc
|
|
||||||
) {
|
|
||||||
var i = n;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
i &&
|
|
||||||
("break" === t || "continue" === t) &&
|
|
||||||
i.tryLoc <= r &&
|
|
||||||
r <= i.finallyLoc &&
|
|
||||||
(i = null);
|
|
||||||
var a = i ? i.completion : {};
|
|
||||||
return (
|
|
||||||
(a.type = t),
|
|
||||||
(a.arg = r),
|
|
||||||
i
|
|
||||||
? ((this.method = "next"), (this.next = i.finallyLoc), p)
|
|
||||||
: this.complete(a)
|
|
||||||
);
|
|
||||||
},
|
|
||||||
complete: function (t, r) {
|
|
||||||
if ("throw" === t.type) throw t.arg;
|
|
||||||
return (
|
|
||||||
"break" === t.type || "continue" === t.type
|
|
||||||
? (this.next = t.arg)
|
|
||||||
: "return" === t.type
|
|
||||||
? ((this.rval = this.arg = t.arg),
|
|
||||||
(this.method = "return"),
|
|
||||||
(this.next = "end"))
|
|
||||||
: "normal" === t.type && r && (this.next = r),
|
|
||||||
p
|
|
||||||
);
|
|
||||||
},
|
|
||||||
finish: function (t) {
|
|
||||||
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
||||||
var e = this.tryEntries[r];
|
|
||||||
if (e.finallyLoc === t)
|
|
||||||
return this.complete(e.completion, e.afterLoc), j(e), p;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
catch: function (t) {
|
|
||||||
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
||||||
var e = this.tryEntries[r];
|
|
||||||
if (e.tryLoc === t) {
|
|
||||||
var n = e.completion;
|
|
||||||
if ("throw" === n.type) {
|
|
||||||
var o = n.arg;
|
|
||||||
j(e);
|
|
||||||
}
|
|
||||||
return o;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
throw new Error("illegal catch attempt");
|
|
||||||
},
|
|
||||||
delegateYield: function (t, r, e) {
|
|
||||||
return (
|
|
||||||
(this.delegate = { iterator: G(t), resultName: r, nextLoc: e }),
|
|
||||||
"next" === this.method && (this.arg = void 0),
|
|
||||||
p
|
|
||||||
);
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
e
|
|
||||||
);
|
|
||||||
}
|
|
||||||
(module.exports = r),
|
|
||||||
(module.exports.__esModule = !0),
|
|
||||||
(module.exports.default = module.exports);
|
|
@ -1,12 +0,0 @@
|
|||||||
function _setPrototypeOf(t, e) {
|
|
||||||
return (
|
|
||||||
(module.exports = _setPrototypeOf =
|
|
||||||
Object.setPrototypeOf
|
|
||||||
? Object.setPrototypeOf.bind()
|
|
||||||
: function (t, e) {
|
|
||||||
return (t.__proto__ = e), t;
|
|
||||||
}),
|
|
||||||
_setPrototypeOf(t, e)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _setPrototypeOf;
|
|
@ -1,13 +0,0 @@
|
|||||||
var arrayWithHoles = require("./arrayWithHoles"),
|
|
||||||
iterableToArrayLimit = require("./iterableToArrayLimit"),
|
|
||||||
unsupportedIterableToArray = require("./unsupportedIterableToArray"),
|
|
||||||
nonIterableRest = require("./nonIterableRest");
|
|
||||||
function _slicedToArray(r, e) {
|
|
||||||
return (
|
|
||||||
arrayWithHoles(r) ||
|
|
||||||
iterableToArrayLimit(r, e) ||
|
|
||||||
unsupportedIterableToArray(r, e) ||
|
|
||||||
nonIterableRest()
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _slicedToArray;
|
|
@ -1,13 +0,0 @@
|
|||||||
var arrayWithoutHoles = require("./arrayWithoutHoles"),
|
|
||||||
iterableToArray = require("./iterableToArray"),
|
|
||||||
unsupportedIterableToArray = require("./unsupportedIterableToArray"),
|
|
||||||
nonIterableSpread = require("./nonIterableSpread");
|
|
||||||
function _toConsumableArray(r) {
|
|
||||||
return (
|
|
||||||
arrayWithoutHoles(r) ||
|
|
||||||
iterableToArray(r) ||
|
|
||||||
unsupportedIterableToArray(r) ||
|
|
||||||
nonIterableSpread()
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _toConsumableArray;
|
|
@ -1,12 +0,0 @@
|
|||||||
var _typeof = require("./typeof");
|
|
||||||
function _toPrimitive(r, t) {
|
|
||||||
if ("object" !== _typeof(r) || null === r) return r;
|
|
||||||
var e = r[Symbol.toPrimitive];
|
|
||||||
if (void 0 !== e) {
|
|
||||||
var i = e.call(r, t || "default");
|
|
||||||
if ("object" !== _typeof(i)) return i;
|
|
||||||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
||||||
}
|
|
||||||
return ("string" === t ? String : Number)(r);
|
|
||||||
}
|
|
||||||
module.exports = _toPrimitive;
|
|
@ -1,7 +0,0 @@
|
|||||||
var _typeof = require("./typeof"),
|
|
||||||
toPrimitive = require("./toPrimitive");
|
|
||||||
function _toPropertyKey(r) {
|
|
||||||
var t = toPrimitive(r, "string");
|
|
||||||
return "symbol" === _typeof(t) ? t : String(t);
|
|
||||||
}
|
|
||||||
module.exports = _toPropertyKey;
|
|
@ -1,18 +0,0 @@
|
|||||||
function _typeof2(o) {
|
|
||||||
"@babel/helpers - typeof";
|
|
||||||
return (_typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
||||||
return typeof o;
|
|
||||||
} : function (o) {
|
|
||||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
||||||
})(o);
|
|
||||||
}
|
|
||||||
|
|
||||||
function _typeof(o) {
|
|
||||||
return "function" == typeof Symbol && "symbol" === _typeof2(Symbol.iterator) ? module.exports = _typeof = function (o) {
|
|
||||||
return _typeof2(o);
|
|
||||||
} : module.exports = _typeof = function (o) {
|
|
||||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : _typeof2(o);
|
|
||||||
}, _typeof(o);
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = _typeof;
|
|
@ -1,17 +0,0 @@
|
|||||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
|
||||||
function _unsupportedIterableToArray(r, e) {
|
|
||||||
if (r) {
|
|
||||||
if ("string" == typeof r) return arrayLikeToArray(r, e);
|
|
||||||
var t = Object.prototype.toString.call(r).slice(8, -1);
|
|
||||||
return (
|
|
||||||
"Object" === t && r.constructor && (t = r.constructor.name),
|
|
||||||
"Map" === t || "Set" === t
|
|
||||||
? Array.from(r)
|
|
||||||
: "Arguments" === t ||
|
|
||||||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)
|
|
||||||
? arrayLikeToArray(r, e)
|
|
||||||
: void 0
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
module.exports = _unsupportedIterableToArray;
|
|
@ -1,37 +0,0 @@
|
|||||||
var getPrototypeOf = require("./getPrototypeOf"),
|
|
||||||
setPrototypeOf = require("./setPrototypeOf"),
|
|
||||||
isNativeFunction = require("./isNativeFunction"),
|
|
||||||
construct = require("./construct");
|
|
||||||
function _wrapNativeSuper(t) {
|
|
||||||
var e = "function" == typeof Map ? new Map() : void 0;
|
|
||||||
return (
|
|
||||||
(module.exports = _wrapNativeSuper =
|
|
||||||
function (t) {
|
|
||||||
if (null === t || !isNativeFunction(t)) return t;
|
|
||||||
if ("function" != typeof t)
|
|
||||||
throw new TypeError(
|
|
||||||
"Super expression must either be null or a function"
|
|
||||||
);
|
|
||||||
if (void 0 !== e) {
|
|
||||||
if (e.has(t)) return e.get(t);
|
|
||||||
e.set(t, r);
|
|
||||||
}
|
|
||||||
function r() {
|
|
||||||
return construct(t, arguments, getPrototypeOf(this).constructor);
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
(r.prototype = Object.create(t.prototype, {
|
|
||||||
constructor: {
|
|
||||||
value: r,
|
|
||||||
enumerable: !1,
|
|
||||||
writable: !0,
|
|
||||||
configurable: !0,
|
|
||||||
},
|
|
||||||
})),
|
|
||||||
setPrototypeOf(r, t)
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
_wrapNativeSuper(t)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
module.exports = _wrapNativeSuper;
|
|
351
app.js
@ -1,41 +1,312 @@
|
|||||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
!(function () {
|
||||||
var e = require("./common/vendor.js");
|
require("/towxml/main");
|
||||||
require("./constant/index.js");
|
var e = require("we7/resource/js/util.js");
|
||||||
// var t = require("./utils/ald-stat.js"), // Removed ald-stat import
|
App({
|
||||||
// n = require("./utils/mtj-wx-sdk.js"), // Removed mtj-wx-sdk import
|
siteInfo: require("siteinfo.js"),
|
||||||
i = require("./utils/util.js");
|
data: { appscene: 123 },
|
||||||
Math;
|
globalData: {
|
||||||
var a = {
|
wzchack: "",
|
||||||
__name: "App",
|
texchack: "",
|
||||||
setup: function () {
|
picchack: "",
|
||||||
return (
|
code: "",
|
||||||
e.onLaunch(function () {
|
words: "",
|
||||||
i.checkForUpdate(),
|
files: "",
|
||||||
setTimeout(function () {
|
showPrivacy: !1,
|
||||||
var t = e.index.getStorageSync("openId");
|
myDevice: wx.getSystemInfoSync(),
|
||||||
if (t) {
|
},
|
||||||
// e.wx$1.aldstat.sendOpenid(t); // Removed ald-stat usage
|
util: require("we7/resource/js/util.js"),
|
||||||
e.wx$1.uma.setOpenid(t);
|
onLaunch: function (e) {
|
||||||
}
|
(this.data.appscene = e.scene), this.gengxin();
|
||||||
}, 5e3);
|
},
|
||||||
}),
|
wxlogin: function () {
|
||||||
function () {
|
var e = this;
|
||||||
return {};
|
return new Promise((t, n) => {
|
||||||
|
e.util.getUserInfo(function (n) {
|
||||||
|
n.memberInfo && wx.setStorageSync("uid", n.memberInfo.uid),
|
||||||
|
console.log("自动登录", wx.getStorageSync("uid")),
|
||||||
|
(e.globalData.showPrivacy = !1),
|
||||||
|
t(e.globalData.showPrivacy);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
appdengl: function (e) {
|
||||||
|
wx.getStorageSync("uid") ||
|
||||||
|
wx.showModal({
|
||||||
|
title: "温馨提示",
|
||||||
|
content: "请先登录授权使用",
|
||||||
|
success: function (e) {
|
||||||
|
e.confirm
|
||||||
|
? wx.navigateTo({ url: "/pages/login/login" })
|
||||||
|
: console.log("点击取消回调");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
xcxlogo: function (e) {
|
||||||
|
console.log("uid", wx.getStorageSync("uid")),
|
||||||
|
wx.getStorageSync("uid") ||
|
||||||
|
wx.showModal({
|
||||||
|
title: "温馨提示",
|
||||||
|
content: "请去个人中心授权登录用户信息",
|
||||||
|
success: function (e) {
|
||||||
|
e.confirm
|
||||||
|
? wx.reLaunch({ url: "/pages/mine/index" })
|
||||||
|
: console.log("点击取消回调");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
gengxin: function () {
|
||||||
|
if (wx.canIUse("getUpdateManager")) {
|
||||||
|
const e = wx.getUpdateManager();
|
||||||
|
e.onCheckForUpdate(function (t) {
|
||||||
|
t.hasUpdate &&
|
||||||
|
(e.onUpdateReady(function () {
|
||||||
|
wx.showModal({
|
||||||
|
title: "更新提示",
|
||||||
|
content: "新版本已经准备好,是否重启应用?",
|
||||||
|
success: function (t) {
|
||||||
|
t.confirm && e.applyUpdate();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}),
|
||||||
|
e.onUpdateFailed(function () {
|
||||||
|
wx.showModal({
|
||||||
|
title: "已经有新版本了哟~",
|
||||||
|
content:
|
||||||
|
"新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~",
|
||||||
|
});
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
} else
|
||||||
|
wx.showModal({
|
||||||
|
title: "提示",
|
||||||
|
content:
|
||||||
|
"当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。",
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getuid: function (t) {
|
||||||
|
var n = wx.getStorageSync("uid");
|
||||||
|
if (n) return n;
|
||||||
|
e.getUserInfo(function (e) {
|
||||||
|
if (e.memberInfo) {
|
||||||
|
var t = e.memberInfo.uid;
|
||||||
|
return wx.setStorageSync("uid", t), t;
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
});
|
||||||
|
},
|
||||||
|
showToast: function (e) {
|
||||||
|
wx.showToast({ title: e, icon: "none", duration: 2e3 });
|
||||||
|
},
|
||||||
|
getAttr: function (e, t) {
|
||||||
|
return e.currentTarget.dataset[t];
|
||||||
|
},
|
||||||
|
back: !1,
|
||||||
|
toDate: function (e) {
|
||||||
|
var t = new Date(1e3 * e);
|
||||||
|
return (
|
||||||
|
t.getFullYear() +
|
||||||
|
"." +
|
||||||
|
(t.getMonth() + 1 < 10 ? "0" + (t.getMonth() + 1) : t.getMonth() + 1) +
|
||||||
|
"." +
|
||||||
|
(t.getDate() < 10 ? "0" + t.getDate() : t.getDate())
|
||||||
|
);
|
||||||
|
},
|
||||||
|
upimgs: function (e) {
|
||||||
|
var t = this,
|
||||||
|
n = e || {};
|
||||||
|
if ((wx.showLoading({ title: "正在上传..." }), n == {} || !n)) {
|
||||||
|
if (!e.fail || "function" != typeof e.fail) return !1;
|
||||||
|
e.fail({ errno: 500, message: "缺少必要参数" });
|
||||||
}
|
}
|
||||||
);
|
var i = n.scannums ? n.scannums : 1,
|
||||||
},
|
a = n.filename ? n.filename : "images",
|
||||||
};
|
o = t.util.url("entry/wxapp/Api", {
|
||||||
function r() {
|
m: "monai_market",
|
||||||
var t = e.createSSRApp(a);
|
uid: t.getuid(),
|
||||||
return t.use(e.createPinia()), { app: t, Pinia: e.Pinia };
|
r: "upimg",
|
||||||
}
|
});
|
||||||
// t.aldInit(), // Removed ald-stat initialization
|
wx.chooseImage({
|
||||||
// n.mtjInit({}), // Removed mtj-wx-sdk initialization
|
count: i,
|
||||||
e.lib.init({
|
sizeType: ["compressed"],
|
||||||
appKey: "65793213a7208a5af185764c",
|
sourceType: ["album", "camera"],
|
||||||
useOpenid: !0,
|
success: function (n) {
|
||||||
autoGetOpenid: !1,
|
wx.showLoading({ title: "正在上传..." });
|
||||||
debug: !0,
|
var i = n.tempFilePaths,
|
||||||
}),
|
s = (n.tempFiles, new Array(i.length)),
|
||||||
r().app.mount("#app"),
|
c = 0;
|
||||||
(exports.createApp = r);
|
for (var u in i)
|
||||||
|
!(function (n) {
|
||||||
|
wx.uploadFile({
|
||||||
|
url: o,
|
||||||
|
filePath: i[n],
|
||||||
|
name: "file",
|
||||||
|
formData: { names: a },
|
||||||
|
success: function (a) {
|
||||||
|
var o = JSON.parse(a.data);
|
||||||
|
return 0 != o.errno
|
||||||
|
? (t.util.message({ title: o.message, type: "error" }),
|
||||||
|
void wx.hideLoading())
|
||||||
|
: (c++,
|
||||||
|
(s[n] = o.data),
|
||||||
|
c == i.length &&
|
||||||
|
e.success &&
|
||||||
|
"function" == typeof e.success
|
||||||
|
? (e.success(s), void wx.hideLoading())
|
||||||
|
: void 0);
|
||||||
|
},
|
||||||
|
fail: function (t) {
|
||||||
|
wx.hideLoading();
|
||||||
|
var n = JSON.parse(t.data);
|
||||||
|
e.fail && "function" == typeof e.fail && e.fail(n);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
})(u);
|
||||||
|
setTimeout(function () {
|
||||||
|
wx.hideLoading();
|
||||||
|
}, 5e3);
|
||||||
|
},
|
||||||
|
fail: function () {
|
||||||
|
wx.hideLoading(), e.fail && "function" == typeof e.fail && e.fail();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
upimg: function (e) {
|
||||||
|
var t = this,
|
||||||
|
n = t.util.url("entry/wxapp/Api", {
|
||||||
|
m: "monai_market",
|
||||||
|
uid: t.getuid(),
|
||||||
|
r: "upimg",
|
||||||
|
}),
|
||||||
|
i = e.filename ? e.filename : "images";
|
||||||
|
wx.uploadFile({
|
||||||
|
url: n,
|
||||||
|
filePath: e.img,
|
||||||
|
name: "file",
|
||||||
|
formData: { names: i },
|
||||||
|
success: function (n) {
|
||||||
|
console.log(n);
|
||||||
|
var i = JSON.parse(n.data);
|
||||||
|
return 0 != i.errno
|
||||||
|
? (t.util.message({ title: i.message, type: "error" }),
|
||||||
|
void wx.hideLoading())
|
||||||
|
: i.data && e.success && "function" == typeof e.success
|
||||||
|
? (e.success(i.data), void wx.hideLoading())
|
||||||
|
: void 0;
|
||||||
|
},
|
||||||
|
fail: function (t) {
|
||||||
|
console.log(t), wx.hideLoading();
|
||||||
|
var n = JSON.parse(t.data);
|
||||||
|
e.fail && "function" == typeof e.fail && e.fail(n);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
gengxin: function () {
|
||||||
|
if (wx.canIUse("getUpdateManager")) {
|
||||||
|
const e = wx.getUpdateManager();
|
||||||
|
e.onCheckForUpdate(function (t) {
|
||||||
|
t.hasUpdate &&
|
||||||
|
(e.onUpdateReady(function () {
|
||||||
|
wx.showModal({
|
||||||
|
title: "更新提示",
|
||||||
|
content: "新版本已经准备好,是否重启应用?",
|
||||||
|
success: function (t) {
|
||||||
|
t.confirm && e.applyUpdate();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}),
|
||||||
|
e.onUpdateFailed(function () {
|
||||||
|
wx.showModal({
|
||||||
|
title: "已经有新版本了哟~",
|
||||||
|
content:
|
||||||
|
"新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~",
|
||||||
|
});
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
} else
|
||||||
|
wx.showModal({
|
||||||
|
title: "提示",
|
||||||
|
content:
|
||||||
|
"当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。",
|
||||||
|
});
|
||||||
|
},
|
||||||
|
picchack: function (e) {
|
||||||
|
var t = this,
|
||||||
|
n = util.url("entry/wxapp/imgup") + "&m=" + this.siteInfo.m;
|
||||||
|
return (
|
||||||
|
wx.showLoading({ title: "图片检测..." }),
|
||||||
|
new Promise((i, a) => {
|
||||||
|
wx.uploadFile({
|
||||||
|
url: n,
|
||||||
|
filePath: e,
|
||||||
|
name: "file",
|
||||||
|
success: function (e) {
|
||||||
|
wx.hideLoading(),
|
||||||
|
e &&
|
||||||
|
((t.globalData.picchack = e.data), i(t.globalData.picchack));
|
||||||
|
},
|
||||||
|
});
|
||||||
|
})
|
||||||
|
);
|
||||||
|
},
|
||||||
|
getdata: function (e, t) {
|
||||||
|
var n = this;
|
||||||
|
return new Promise((i, a) => {
|
||||||
|
n.util.request({
|
||||||
|
url: "entry/wxapp/" + t,
|
||||||
|
data: e,
|
||||||
|
dataType: "json",
|
||||||
|
success: function (e) {
|
||||||
|
e && ((n.globalData.wzchack = e.data), i(n.globalData.wzchack));
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
delimg: function (e) {
|
||||||
|
var t = e.uid ? e.uid : "";
|
||||||
|
if ("" == t)
|
||||||
|
return (
|
||||||
|
e.fail &&
|
||||||
|
"function" == typeof e.fail &&
|
||||||
|
e.fail({ errno: 500, message: "请允许获取用户信息" }),
|
||||||
|
!1
|
||||||
|
);
|
||||||
|
var n = e.url ? e.url : "";
|
||||||
|
if ("" == n)
|
||||||
|
return (
|
||||||
|
e.fail &&
|
||||||
|
"function" == typeof e.fail &&
|
||||||
|
e.fail({ errno: 500, message: "图片路径错误" }),
|
||||||
|
!1
|
||||||
|
);
|
||||||
|
this.util.request({
|
||||||
|
url: "entry/wxapp/Api",
|
||||||
|
data: { m: "monai_market", uid: t, imgurl: n, r: "upimg.delImg" },
|
||||||
|
cachetime: "0",
|
||||||
|
success: function (t) {
|
||||||
|
e.success && "function" == typeof e.success && e.success();
|
||||||
|
},
|
||||||
|
fail: function () {
|
||||||
|
e.fail && "function" == typeof e.fail && e.fail();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
delseverimg: function (e) {
|
||||||
|
this.util.request({
|
||||||
|
url: "entry/wxapp/Api",
|
||||||
|
data: { m: "monai_sharing", imgurl: e, r: "Upimg.delserverImg" },
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getSystemPlatform: function () {
|
||||||
|
var e = "";
|
||||||
|
return (
|
||||||
|
wx.getSystemInfo({
|
||||||
|
success: function (t) {
|
||||||
|
e = t.platform;
|
||||||
|
},
|
||||||
|
fail: function () {},
|
||||||
|
}),
|
||||||
|
e
|
||||||
|
);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
200
app.json
@ -1,69 +1,161 @@
|
|||||||
{
|
{
|
||||||
"pages": [
|
"debug": false,
|
||||||
"pages/splash/index",
|
"permission": {},
|
||||||
"pages/home/index",
|
"networkTimeout": {
|
||||||
"pages/order-list/index",
|
"request": 20000,
|
||||||
"pages/order-list-mine/index",
|
"connectSocket": 20000,
|
||||||
"pages/user/index",
|
"uploadFile": 20000,
|
||||||
"pages/vin-info/index",
|
"downloadFile": 20000
|
||||||
"pages/web-view/index",
|
|
||||||
"pages/report-query/index",
|
|
||||||
"pages/insurance-maintain-detail/index",
|
|
||||||
"pages/insurance-maintain-blank/index",
|
|
||||||
"pages/accident-detail/index",
|
|
||||||
"pages/accident-blank/index",
|
|
||||||
"pages/accident-web-view/index",
|
|
||||||
"pages/vehicle-info-query/index",
|
|
||||||
"pages/vehicle-info-detail/index",
|
|
||||||
"pages/vehicle-five-query/index",
|
|
||||||
"pages/vehicle-five-detail/index",
|
|
||||||
"pages/commercial-insurance-query/index",
|
|
||||||
"pages/commercial-insurance-detail/index",
|
|
||||||
"pages/sali-query/index",
|
|
||||||
"pages/sali-detail/index",
|
|
||||||
"pages/sali-check-query/index",
|
|
||||||
"pages/sali-check-detail/index",
|
|
||||||
"pages/vehicle-status-query/index",
|
|
||||||
"pages/vehicle-status-detail/index",
|
|
||||||
"pages/order-confirm/index",
|
|
||||||
"pages/order-detail/index",
|
|
||||||
"pages/pay-success/index",
|
|
||||||
"pages/pay-fail/index",
|
|
||||||
"pages/upload-success/index",
|
|
||||||
"pages/question/index",
|
|
||||||
"pages/easter-egg/index"
|
|
||||||
],
|
|
||||||
"window": {
|
|
||||||
"navigationBarTextStyle": "white",
|
|
||||||
"navigationBarBackgroundColor": "#1F68E9",
|
|
||||||
"backgroundColor": "#f8f9fe",
|
|
||||||
"backgroundColorTop": "#f8f9fe",
|
|
||||||
"backgroundTextStyle": "dark"
|
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#7A7E83",
|
"color": "#000000",
|
||||||
"selectedColor": "#1F68E9",
|
"selectedColor": "#0ac2ae",
|
||||||
"borderStyle": "black",
|
"borderStyle": "black",
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor": "#ffffff",
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"pagePath": "pages/home/index",
|
"text": "查车",
|
||||||
"text": "首页",
|
"pagePath": "pages/index/index",
|
||||||
"iconPath": "static/images/tabs/icon_home_default.png",
|
"iconPath": "pages/image/shouyewdj_btn.png",
|
||||||
"selectedIconPath": "static/images/tabs/icon_home_selected.png"
|
"selectedIconPath": "pages/image/shouyedj_btn.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/order-list/index",
|
"text": "报告",
|
||||||
"text": "订单",
|
"pagePath": "pages/reporlist/reporlist",
|
||||||
"iconPath": "static/images/tabs/icon_order_list_default.png",
|
"iconPath": "pages/image/partOrderb.png",
|
||||||
"selectedIconPath": "static/images/tabs/icon_order_list_selected.png"
|
"selectedIconPath": "pages/image/partOrder.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/user/index",
|
|
||||||
"text": "我的",
|
"text": "我的",
|
||||||
"iconPath": "static/images/tabs/icon_user_default.png",
|
"pagePath": "pages/mine/index",
|
||||||
"selectedIconPath": "static/images/tabs/icon_user_selected.png"
|
"iconPath": "pages/image/wodewdj_btn.png",
|
||||||
|
"selectedIconPath": "pages/image/wodedj_btn.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"subPackages": [
|
||||||
|
{
|
||||||
|
"root": "packageA/",
|
||||||
|
"pages": [
|
||||||
|
"pages/vinsb/vinsb",
|
||||||
|
"pages/xszsb/xszsb",
|
||||||
|
"pages/jszsb/jszsb",
|
||||||
|
"pages/carobd/incxjl",
|
||||||
|
"pages/carwb/inwxjl",
|
||||||
|
"pages/carwbjzb/inwxjl",
|
||||||
|
"pages/carwbjzb/cbsxz",
|
||||||
|
"pages/carwbjzb/carwxjl",
|
||||||
|
"pages/carcx/index",
|
||||||
|
"pages/carcx/incxjl",
|
||||||
|
"pages/carcx/carcxjl",
|
||||||
|
"pages/carcxzx/incxjl",
|
||||||
|
"pages/carcxzx/carcxjl",
|
||||||
|
"pages/carjqx/incxjl",
|
||||||
|
"pages/carjqx/carInfob",
|
||||||
|
"pages/carjqx/carcxjl",
|
||||||
|
"pages/carnj/incxjl",
|
||||||
|
"pages/carnj/carcxjl",
|
||||||
|
"pages/carwzcx/incxjl",
|
||||||
|
"pages/carwzcx/carcxjl",
|
||||||
|
"pages/carvin/incxjl",
|
||||||
|
"pages/cardzbd/incxjl",
|
||||||
|
"pages/cardzbd/carInfo",
|
||||||
|
"pages/cardzbd/carcxjl",
|
||||||
|
"pages/carclzt/incxjl",
|
||||||
|
"pages/carclzt/carInfo",
|
||||||
|
"pages/carclzt/carcxjl",
|
||||||
|
"pages/zxbg/incxjl",
|
||||||
|
"pages/zxbg/carcxjl",
|
||||||
|
"pages/rengong/rengong",
|
||||||
|
"pages/caresgz/selectCar/selectCar",
|
||||||
|
"pages/caresgz/selectTime/selectTime",
|
||||||
|
"pages/caresgz/selectCity/selectCity",
|
||||||
|
"pages/caresgz/carpg/carpg",
|
||||||
|
"pages/caresgz/index",
|
||||||
|
"pages/caresgznew/selectCar/selectCar",
|
||||||
|
"pages/caresgznew/selectTime/selectTime",
|
||||||
|
"pages/caresgznew/selectCity/selectCity",
|
||||||
|
"pages/caresgznew/carpg/carpg",
|
||||||
|
"pages/caresgznew/index",
|
||||||
|
"pages/carobd/carcxjl",
|
||||||
|
"pages/carvin/carvin",
|
||||||
|
"pages/carcxzx/carInfo",
|
||||||
|
"pages/carwbjzb/carInfo",
|
||||||
|
"pages/cphsb/cphsb",
|
||||||
|
"pages/yjcx/yjcx",
|
||||||
|
"pages/cphy/incxjl",
|
||||||
|
"pages/cphy/carcxjl",
|
||||||
|
"pages/sfzhy/incxjl",
|
||||||
|
"pages/sfzhy/carcxjl",
|
||||||
|
"pages/cpcx/incxjl",
|
||||||
|
"pages/cpcx/carcxjl",
|
||||||
|
"pages/carcx/carInfo",
|
||||||
|
"pages/dcbg/incxjl",
|
||||||
|
"pages/dcbg/carInfo",
|
||||||
|
"pages/dcbg/carcxjl",
|
||||||
|
"pages/gscx/incxjl",
|
||||||
|
"pages/gscx/carcxjl",
|
||||||
|
"pages/gslxcx/incxjl",
|
||||||
|
"pages/gslxcx/carcxjl",
|
||||||
|
"pages/carsyx/incxjl",
|
||||||
|
"pages/carsyx/carInfob",
|
||||||
|
"pages/carsyx/carcxjl",
|
||||||
|
"pages/wannen/incxjl",
|
||||||
|
"pages/wannen/carInfob",
|
||||||
|
"pages/wannen/carcxjl"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"window": {
|
||||||
|
"backgroundTextStyle": "light",
|
||||||
|
"navigationBarBackgroundColor": "#fff",
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationBarTextStyle": "black"
|
||||||
|
},
|
||||||
|
"pages": [
|
||||||
|
"pages/index/index",
|
||||||
|
"pages/index/chars",
|
||||||
|
"pages/sale_fast/index",
|
||||||
|
"pages/disclaimers/disclaimers",
|
||||||
|
"pages/sale/index",
|
||||||
|
"pages/mine/index",
|
||||||
|
"pages/gzh/gzh",
|
||||||
|
"pages/login/login",
|
||||||
|
"pages/fensi/fensi",
|
||||||
|
"pages/mine/info/index",
|
||||||
|
"pages/mine/sale/index",
|
||||||
|
"pages/mine/publicity/index",
|
||||||
|
"pages/mine/fensi/fensi",
|
||||||
|
"pages/mine/tixian/tixian",
|
||||||
|
"pages/mine/tixianjilu/tixianjilu",
|
||||||
|
"pages/mine/yongjinjilu/yongjinjilu",
|
||||||
|
"pages/selectscards/index",
|
||||||
|
"pages/store/index",
|
||||||
|
"pages/alert/index",
|
||||||
|
"pages/publicity/index",
|
||||||
|
"pages/salelist/index",
|
||||||
|
"pages/saledetail/index",
|
||||||
|
"pages/home/index/index",
|
||||||
|
"pages/home/carMessage/carMessage",
|
||||||
|
"pages/home/searchShop/searchShop",
|
||||||
|
"pages/dting/index",
|
||||||
|
"pages/enter/enter",
|
||||||
|
"pages/collection/index",
|
||||||
|
"pages/home/jubao/jubao",
|
||||||
|
"pages/home/liuyan/liuyan",
|
||||||
|
"pages/space/index",
|
||||||
|
"pages/gujia/index",
|
||||||
|
"pages/saleindex/index",
|
||||||
|
"pages/loan/index",
|
||||||
|
"pages/weizhang/weizhang",
|
||||||
|
"pages/weizhang/add/index",
|
||||||
|
"pages/weizhang/selectcar/index",
|
||||||
|
"pages/home/poster/index",
|
||||||
|
"pages/part/apply/index",
|
||||||
|
"pages/part/order/index",
|
||||||
|
"pages/part/pay/index",
|
||||||
|
"pages/reporlist/reporlist",
|
||||||
|
"pages/reporlist/reporlistor",
|
||||||
|
"pages/website/website"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
513
app.wxss
@ -1,72 +1,473 @@
|
|||||||
page {
|
.topbb .title .main {
|
||||||
background-color: #f8f9fe;
|
background: #3d61f0;
|
||||||
color: #2c2c34;
|
border: 1px solid #3d61f0;
|
||||||
word-break: break-all;
|
border-radius: 0.5rem 3rem 3rem 3rem;
|
||||||
|
color: #fff;
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: 300;
|
||||||
|
margin: 16px 10px 10px;
|
||||||
|
padding: 8px;
|
||||||
}
|
}
|
||||||
view {
|
|
||||||
display: block;
|
.contact_box {
|
||||||
}
|
bottom: 0rpx;
|
||||||
scroll-view,
|
|
||||||
text,
|
|
||||||
view {
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
justify-content: center;
|
||||||
image {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
button:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.default-hover-class {
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
.divider {
|
|
||||||
background-color: #f7f8fa;
|
|
||||||
height: 2px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.divider-box {
|
|
||||||
background-color: #f8f9fe;
|
|
||||||
height: 18rpx;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.uni-collapse-item__title-arrow {
|
|
||||||
margin-right: 0 !important;
|
|
||||||
}
|
|
||||||
page::after {
|
|
||||||
animation: shadow-preload 0.1s;
|
|
||||||
animation-delay: 3s;
|
|
||||||
content: "";
|
|
||||||
left: -1000px;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: -1000px;
|
z-index: 5;
|
||||||
}
|
}
|
||||||
@-webkit-keyframes shadow-preload {
|
|
||||||
|
.contact,
|
||||||
|
.contact_box {
|
||||||
|
align-items: center;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
height: 90rpx;
|
||||||
|
width: 750rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact {
|
||||||
|
background: hsla(0, 0%, 100%, 0.795);
|
||||||
|
justify-content: space-around;
|
||||||
|
opacity: 0.95;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_icon {
|
||||||
|
align-items: center;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
height: 90rpx;
|
||||||
|
justify-content: center;
|
||||||
|
width: 90rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weixin_icon {
|
||||||
|
height: 50rpx;
|
||||||
|
width: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_content {
|
||||||
|
color: #629ff0;
|
||||||
|
flex: 1;
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 90rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-break: keep-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_content,
|
||||||
|
.contact_copy_box {
|
||||||
|
align-items: center;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
height: 90rpx;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_copy_box {
|
||||||
|
width: 180rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_copy {
|
||||||
|
border: 2rpx solid #376eb6;
|
||||||
|
border-radius: 26rpx;
|
||||||
|
color: #368dff;
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 700;
|
||||||
|
height: 50rpx;
|
||||||
|
line-height: 50rpx !important;
|
||||||
|
width: 150rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact_copy,
|
||||||
|
.question-btn {
|
||||||
|
font-size: 26rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
align-items: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgbbs {
|
||||||
|
border-radius: 10rpx;
|
||||||
|
margin: 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-white {
|
||||||
|
background-color: #f6f7f8;
|
||||||
|
background-image: linear-gradient(180deg, #3688ff, #5a52ec);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% 580rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo_body {
|
||||||
|
margin-top: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
margin: 10rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-text {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 50rpx;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 60rpx;
|
||||||
|
opacity: 0.88;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-ver {
|
||||||
|
font-weight: 700;
|
||||||
|
margin-left: 16rpx;
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-desc,
|
||||||
|
.logo-ver {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 26rpx;
|
||||||
|
line-height: 38rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-desc {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.white-body {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-top: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.white-body,
|
||||||
|
.white-bodyb {
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
padding: 20rpx 25rpx;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grace-title-border {
|
||||||
|
background: #3688ff;
|
||||||
|
flex-shrink: 0;
|
||||||
|
height: 28rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
width: 8rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grace-list-icon {
|
||||||
|
color: #3688ff;
|
||||||
|
font-size: 32rpx !important;
|
||||||
|
width: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grace-list-body {
|
||||||
|
margin-left: 12rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding: 25rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wss text {
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demobutong {
|
||||||
|
border-left: 1px solid #f8f8f8;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demobutong view {
|
||||||
|
margin: 10rpx;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SegmentedControlIn {
|
||||||
|
margin-top: 38rpx;
|
||||||
|
padding: 0 125rpx;
|
||||||
|
width: 500rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-button {
|
||||||
|
background: #3d61f0 !important;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
color: #fff !important;
|
||||||
|
height: 100rpx !important;
|
||||||
|
line-height: 100rpx !important;
|
||||||
|
margin-top: 40rpx;
|
||||||
|
padding: 0rpx !important;
|
||||||
|
width: 93% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju {
|
||||||
|
height: 250rpx;
|
||||||
|
padding-top: 1rpx;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju_img {
|
||||||
|
display: block;
|
||||||
|
height: 110rpx;
|
||||||
|
margin: 30rpx auto 0;
|
||||||
|
width: 84rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju_title {
|
||||||
|
color: #555;
|
||||||
|
font-size: 30rpx;
|
||||||
|
margin-top: 30rpx;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shop_modle_title_center_right {
|
||||||
|
float: right;
|
||||||
|
height: 30rpx;
|
||||||
|
width: 84rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu {
|
||||||
|
border-radius: 100%;
|
||||||
|
bottom: 45rpx;
|
||||||
|
display: block;
|
||||||
|
height: 102rpx;
|
||||||
|
position: fixed;
|
||||||
|
right: 20rpx;
|
||||||
|
width: 102rpx;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleIndex {
|
||||||
|
bottom: 35rpx;
|
||||||
|
right: 190rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleIndex,
|
||||||
|
.Menu_modleSecond {
|
||||||
|
border-radius: 100%;
|
||||||
|
display: block;
|
||||||
|
height: 0rpx;
|
||||||
|
position: fixed;
|
||||||
|
width: 0rpx;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleSecond {
|
||||||
|
bottom: 150rpx;
|
||||||
|
right: 165rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleThird {
|
||||||
|
border-radius: 100%;
|
||||||
|
bottom: 208rpx;
|
||||||
|
display: block;
|
||||||
|
height: 0rpx;
|
||||||
|
position: fixed;
|
||||||
|
right: 45rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleThird_active {
|
||||||
|
-webkit-animation: ThirdActive 0.5s;
|
||||||
|
height: 68rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes ThirdActive {
|
||||||
0% {
|
0% {
|
||||||
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
|
bottom: 68rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 41rpx;
|
||||||
|
width: 0rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
|
bottom: 208rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 45rpx;
|
||||||
|
width: 68rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@keyframes shadow-preload {
|
|
||||||
|
.Menu_modleSecond_active {
|
||||||
|
-webkit-animation: SecondActive 0.5s;
|
||||||
|
height: 68rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes SecondActive {
|
||||||
0% {
|
0% {
|
||||||
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
|
bottom: 65rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 43rpx;
|
||||||
|
width: 0rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
|
bottom: 150rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 165rpx;
|
||||||
|
width: 68rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
page {
|
|
||||||
--status-bar-height: 25px;
|
.Menu_modleIndex_active {
|
||||||
--top-window-height: 0px;
|
-webkit-animation: IndexActive 0.5s;
|
||||||
--window-top: 0px;
|
height: 68rpx;
|
||||||
--window-bottom: 0px;
|
width: 68rpx;
|
||||||
--window-left: 0px;
|
|
||||||
--window-right: 0px;
|
|
||||||
--window-magin: 0px;
|
|
||||||
}
|
}
|
||||||
[data-c-h="true"] {
|
|
||||||
display: none !important;
|
@-webkit-keyframes IndexActive {
|
||||||
|
0% {
|
||||||
|
bottom: 66rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 43rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
bottom: 35rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 190rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modle_active {
|
||||||
|
-webkit-animation: Active 0.5s;
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes Active {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleThird_noactive {
|
||||||
|
-webkit-animation: ThirdnoActive 0.5s;
|
||||||
|
bottom: 208rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 45rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes ThirdnoActive {
|
||||||
|
0% {
|
||||||
|
bottom: 208rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 45rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
bottom: 68rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 41rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleSecond_noactive {
|
||||||
|
-webkit-animation: SecondnoActive 0.5s;
|
||||||
|
bottom: 150rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 165rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes SecondnoActive {
|
||||||
|
0% {
|
||||||
|
bottom: 150rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 165rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
bottom: 65rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 43rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modleIndex_noactive {
|
||||||
|
-webkit-animation: IndexnoActive 0.5s;
|
||||||
|
bottom: 66rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 43rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes IndexnoActive {
|
||||||
|
0% {
|
||||||
|
bottom: 35rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
right: 190rpx;
|
||||||
|
width: 68rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
bottom: 66rpx;
|
||||||
|
height: 0rpx;
|
||||||
|
right: 43rpx;
|
||||||
|
width: 0rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.Menu_modle_noactive {
|
||||||
|
-webkit-animation: noActive 0.5s;
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes noActive {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju_border {
|
||||||
|
position: absolute;
|
||||||
|
top: 408rpx;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju_border_img {
|
||||||
|
display: block;
|
||||||
|
height: 180rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 180rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zanwushuju_border_title {
|
||||||
|
color: #9295a8;
|
||||||
|
font-size: 24rpx;
|
||||||
|
margin: 10rpx auto 0;
|
||||||
|
text-align: center;
|
||||||
|
width: 550rpx;
|
||||||
}
|
}
|
BIN
assets/images/ban-list-sel@1.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/images/ban-list-sel@2.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
assets/images/ban-list@1.png
Normal file
After Width: | Height: | Size: 804 B |
BIN
assets/images/ban-list@2.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/images/ban-search-sel@1.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
assets/images/ban-search-sel@2.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
assets/images/ban-search@1.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/images/ban-search@2.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
assets/images/ban-user-sel@1.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/ban-user-sel@2.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
assets/images/ban-user@1.png
Normal file
After Width: | Height: | Size: 852 B |
BIN
assets/images/ban-user@2.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/images/info-bg@1.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/info-bg@2.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
assets/images/logo@1.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
assets/images/logo@2.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/scan.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
assets/images/ser-bg@1.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
assets/images/ser-danger@1.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
assets/images/ser-danger@2.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
assets/images/ser-repair@1.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/images/ser-repair@2.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
assets/images/ser-valuation@1.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
assets/images/ser-valuation@2.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
assets/images/ser-violation@1.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
assets/images/ser-violation@2.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
assets/images/share@1.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
assets/images/share@2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/images/success@1.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
assets/images/success@2.png
Normal file
After Width: | Height: | Size: 11 KiB |
24690
common/vendor.js
@ -1,85 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js"),
|
|
||||||
n = require("../../hooks/useState.js"),
|
|
||||||
t = require("../../constant/index.js"),
|
|
||||||
o = require("../../utils/navigate.js"),
|
|
||||||
a = require("../../utils/util.js");
|
|
||||||
require("../../store/app/index.js"),
|
|
||||||
require("../../enums/index.js"),
|
|
||||||
require("../../data/index.js"),
|
|
||||||
Array || e.resolveComponent("uni-popup")(),
|
|
||||||
Math;
|
|
||||||
var r = {
|
|
||||||
__name: "index",
|
|
||||||
props: { checked: { type: Boolean, default: !0 } },
|
|
||||||
emits: ["change"],
|
|
||||||
setup: function (r, i) {
|
|
||||||
var u = i.emit,
|
|
||||||
s = n.useState().setAgreementPopupShow,
|
|
||||||
c = e.ref(null),
|
|
||||||
l = e.ref(!1),
|
|
||||||
p = function () {
|
|
||||||
u("change");
|
|
||||||
},
|
|
||||||
d = function () {
|
|
||||||
o.navigateTo({
|
|
||||||
url: "/pages/web-view/index",
|
|
||||||
params: { url: t.userAgreementUrl, title: "用户协议" },
|
|
||||||
});
|
|
||||||
},
|
|
||||||
g = function () {
|
|
||||||
o.navigateTo({
|
|
||||||
url: "/pages/web-view/index",
|
|
||||||
params: { url: t.userNoticeUrl, title: "用户须知" },
|
|
||||||
});
|
|
||||||
},
|
|
||||||
v = function () {
|
|
||||||
l.value = !l.value;
|
|
||||||
},
|
|
||||||
m = function () {
|
|
||||||
s(!1), c.value.close();
|
|
||||||
},
|
|
||||||
f = function () {
|
|
||||||
if (l.value) {
|
|
||||||
var n = e.index.getStorageSync("hasClickAgreement");
|
|
||||||
n ? n++ : (n = 1),
|
|
||||||
e.index.setStorageSync("hasClickAgreement", n),
|
|
||||||
s(!1),
|
|
||||||
c.value.close(),
|
|
||||||
u("change");
|
|
||||||
} else a.showToast("请先阅读并同意协议");
|
|
||||||
};
|
|
||||||
return (
|
|
||||||
e.onMounted(function () {
|
|
||||||
!e.index.getStorageSync("hasClickAgreement") ||
|
|
||||||
e.index.getStorageSync("hasClickAgreement") < 1
|
|
||||||
? setTimeout(function () {
|
|
||||||
c.value.open(), s(!0);
|
|
||||||
}, 300)
|
|
||||||
: (u("change"), s(!1));
|
|
||||||
}),
|
|
||||||
function (n, t) {
|
|
||||||
return {
|
|
||||||
a: r.checked,
|
|
||||||
b: e.o(p),
|
|
||||||
c: !r.checked,
|
|
||||||
d: e.o(p),
|
|
||||||
e: e.o(p),
|
|
||||||
f: e.o(d),
|
|
||||||
g: e.o(g),
|
|
||||||
h: e.o(d),
|
|
||||||
i: e.o(g),
|
|
||||||
j: l.value,
|
|
||||||
k: !l.value,
|
|
||||||
l: e.o(v),
|
|
||||||
m: e.o(m),
|
|
||||||
n: e.n(l.value ? "canClick" : ""),
|
|
||||||
o: e.o(f),
|
|
||||||
p: e.sr(c, "14559edd-0", { k: "popup" }),
|
|
||||||
q: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
i = e._export_sfc(r, [["__scopeId", "data-v-14559edd"]]);
|
|
||||||
wx.createComponent(i);
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"component": true,
|
|
||||||
"usingComponents": {
|
|
||||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
<view class="data-v-14559edd">
|
|
||||||
<view class="container data-v-14559edd">
|
|
||||||
<image
|
|
||||||
bindtap="{{b}}"
|
|
||||||
class="data-v-14559edd"
|
|
||||||
hidden="{{!a}}"
|
|
||||||
src="/static/images/icon_checked_1.png"
|
|
||||||
></image>
|
|
||||||
<image
|
|
||||||
bindtap="{{d}}"
|
|
||||||
class="data-v-14559edd"
|
|
||||||
hidden="{{!c}}"
|
|
||||||
src="/static/images/icon_unchecked_1.png"
|
|
||||||
></image>
|
|
||||||
<text class="data-v-14559edd">
|
|
||||||
<text bindtap="{{e}}" class="data-v-14559edd">我已阅读并同意</text>
|
|
||||||
<text bindtap="{{f}}" class="agreement data-v-14559edd"
|
|
||||||
>《用户协议》</text
|
|
||||||
>
|
|
||||||
<text class="data-v-14559edd">和</text>
|
|
||||||
<text bindtap="{{g}}" class="agreement data-v-14559edd"
|
|
||||||
>《用户须知》</text
|
|
||||||
>
|
|
||||||
</text>
|
|
||||||
</view>
|
|
||||||
<uni-popup
|
|
||||||
bind:__l="__l"
|
|
||||||
class="r data-v-14559edd"
|
|
||||||
uI="14559edd-0"
|
|
||||||
uP="{{q}}"
|
|
||||||
uR="popup"
|
|
||||||
uS="{{['d']}}"
|
|
||||||
wx:if="{{q}}"
|
|
||||||
>
|
|
||||||
<view class="popup data-v-14559edd">
|
|
||||||
<view class="popup-title data-v-14559edd">用户须知</view>
|
|
||||||
<view class="popup-content data-v-14559edd">
|
|
||||||
<view class="tip data-v-14559edd">
|
|
||||||
<text class="data-v-14559edd">使用本服务意味着您已阅读并同意</text>
|
|
||||||
<text bindtap="{{h}}" class="agreement data-v-14559edd"
|
|
||||||
>《用户协议》</text
|
|
||||||
>
|
|
||||||
<text class="data-v-14559edd">和</text>
|
|
||||||
<text bindtap="{{i}}" class="agreement data-v-14559edd"
|
|
||||||
>《用户须知》</text
|
|
||||||
>
|
|
||||||
</view>
|
|
||||||
<view bindtap="{{l}}" class="confirm data-v-14559edd">
|
|
||||||
<image
|
|
||||||
class="data-v-14559edd"
|
|
||||||
hidden="{{!j}}"
|
|
||||||
src="/static/images/icon_checked_1.png"
|
|
||||||
></image>
|
|
||||||
<image
|
|
||||||
class="data-v-14559edd"
|
|
||||||
hidden="{{!k}}"
|
|
||||||
src="/static/images/icon_unchecked_1.png"
|
|
||||||
></image>
|
|
||||||
<view class="data-v-14559edd">
|
|
||||||
<text class="data-v-14559edd">我已阅读以上协议并确认是</text>
|
|
||||||
<text class="important data-v-14559edd">车主本人/经过车主授权</text>
|
|
||||||
<text class="data-v-14559edd">同意使用该服务</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="popup-buttons data-v-14559edd">
|
|
||||||
<view
|
|
||||||
bindtap="{{m}}"
|
|
||||||
class="button normal data-v-14559edd"
|
|
||||||
hoverClass="hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
取消
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
bindtap="{{o}}"
|
|
||||||
class="{{['button','data-v-14559edd',n]}}"
|
|
||||||
hoverClass="hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
确认
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</uni-popup>
|
|
||||||
</view>
|
|
@ -1,86 +0,0 @@
|
|||||||
.container.data-v-14559edd {
|
|
||||||
align-items: center;
|
|
||||||
color: #9a9a9a;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
font-size: 26rpx;
|
|
||||||
margin-top: 30rpx;
|
|
||||||
}
|
|
||||||
.container image.data-v-14559edd {
|
|
||||||
height: 44rpx;
|
|
||||||
margin-right: 10rpx;
|
|
||||||
width: 44rpx;
|
|
||||||
}
|
|
||||||
.agreement.data-v-14559edd {
|
|
||||||
color: #1f68e9;
|
|
||||||
}
|
|
||||||
.popup.data-v-14559edd {
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 20rpx;
|
|
||||||
margin-bottom: 15vh;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 625rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-title.data-v-14559edd {
|
|
||||||
color: #333;
|
|
||||||
font-size: 32rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 50rpx 0 40rpx;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.popup .popup-content.data-v-14559edd {
|
|
||||||
align-items: center;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 0 60rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-content .tip.data-v-14559edd {
|
|
||||||
color: #333;
|
|
||||||
font-size: 32rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-content .confirm.data-v-14559edd {
|
|
||||||
align-items: center;
|
|
||||||
color: #8a8a8a;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
font-size: 28rpx;
|
|
||||||
margin-top: 10rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-content .confirm image.data-v-14559edd {
|
|
||||||
flex-shrink: 0;
|
|
||||||
height: 40rpx;
|
|
||||||
margin-right: 10rpx;
|
|
||||||
width: 40rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-content .important.data-v-14559edd {
|
|
||||||
color: #ff8453;
|
|
||||||
}
|
|
||||||
.popup .popup-buttons.data-v-14559edd {
|
|
||||||
align-items: center;
|
|
||||||
border-top: 2rpx solid #f2f2f2;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
margin-top: 40rpx;
|
|
||||||
}
|
|
||||||
.popup .popup-buttons .button.data-v-14559edd {
|
|
||||||
flex-grow: 1;
|
|
||||||
font-size: 32rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
padding: 30rpx;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.popup .popup-buttons .button.normal.data-v-14559edd {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
.popup .popup-buttons .button.canClick.data-v-14559edd {
|
|
||||||
color: #1f68e9;
|
|
||||||
}
|
|
||||||
.popup .popup-buttons .button.data-v-14559edd:nth-child(1) {
|
|
||||||
border-right: 2rpx solid #f2f2f2;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
.hover-class.data-v-14559edd {
|
|
||||||
background-color: #e5e5e5;
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js")._export_sfc({}, [
|
|
||||||
[
|
|
||||||
"render",
|
|
||||||
function (e, r) {
|
|
||||||
return {};
|
|
||||||
},
|
|
||||||
],
|
|
||||||
["__scopeId", "data-v-e781bbeb"],
|
|
||||||
]);
|
|
||||||
wx.createComponent(e);
|
|
@ -1,5 +0,0 @@
|
|||||||
<view class="content data-v-e781bbeb">
|
|
||||||
<view class="before data-v-e781bbeb"></view>
|
|
||||||
<view class="text data-v-e781bbeb">本服务数据由第三方提供</view>
|
|
||||||
<view class="after data-v-e781bbeb"></view>
|
|
||||||
</view>
|
|
@ -1,18 +0,0 @@
|
|||||||
.content.data-v-e781bbeb {
|
|
||||||
align-items: center;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
margin-top: 30rpx;
|
|
||||||
}
|
|
||||||
.content .after.data-v-e781bbeb,
|
|
||||||
.content .before.data-v-e781bbeb {
|
|
||||||
background-color: #ebedf0;
|
|
||||||
flex-grow: 1;
|
|
||||||
height: 1px;
|
|
||||||
margin: 0 20rpx;
|
|
||||||
}
|
|
||||||
.content .text.data-v-e781bbeb {
|
|
||||||
color: #bebebe;
|
|
||||||
font-size: 26rpx;
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js"),
|
|
||||||
n = {
|
|
||||||
__name: "index",
|
|
||||||
props: { info: { type: String, default: "" } },
|
|
||||||
setup: function (n) {
|
|
||||||
return function (t, r) {
|
|
||||||
return { a: e.t(n.info) };
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
t = e._export_sfc(n, [["__scopeId", "data-v-574ebeda"]]);
|
|
||||||
wx.createComponent(t);
|
|
@ -1,4 +0,0 @@
|
|||||||
<view class="content data-v-574ebeda">
|
|
||||||
<image class="data-v-574ebeda" src="/static/images/pic_empty.png"></image>
|
|
||||||
<text class="data-v-574ebeda">{{a}}</text>
|
|
||||||
</view>
|
|
@ -1,20 +0,0 @@
|
|||||||
.content.data-v-574ebeda {
|
|
||||||
align-items: center;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
height: 100%;
|
|
||||||
justify-content: center;
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
.content image.data-v-574ebeda {
|
|
||||||
height: 300rpx;
|
|
||||||
margin-top: -150rpx;
|
|
||||||
width: 300rpx;
|
|
||||||
}
|
|
||||||
.content text.data-v-574ebeda {
|
|
||||||
color: #9a9a9a;
|
|
||||||
font-size: 30rpx;
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js");
|
|
||||||
Array || e.resolveComponent("uni-icons")(), Math;
|
|
||||||
var o = {
|
|
||||||
__name: "index",
|
|
||||||
props: { visible: { type: Boolean, default: !1 } },
|
|
||||||
setup: function (o) {
|
|
||||||
var r = function () {
|
|
||||||
e.index.pageScrollTo({ scrollTop: 0, duration: 100 });
|
|
||||||
};
|
|
||||||
return function (n, t) {
|
|
||||||
return e.e(
|
|
||||||
{ a: o.visible },
|
|
||||||
o.visible
|
|
||||||
? {
|
|
||||||
b: e.p({ type: "arrow-up", size: "24", color: "#1F68E9" }),
|
|
||||||
c: e.o(r),
|
|
||||||
}
|
|
||||||
: {}
|
|
||||||
);
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
r = e._export_sfc(o, [["__scopeId", "data-v-f87a1e9e"]]);
|
|
||||||
wx.createComponent(r);
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"component": true,
|
|
||||||
"usingComponents": {
|
|
||||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
<view
|
|
||||||
catchtap="{{c}}"
|
|
||||||
class="button data-v-f87a1e9e"
|
|
||||||
hoverClass="default-hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
wx:if="{{a}}"
|
|
||||||
>
|
|
||||||
<uni-icons
|
|
||||||
bind:__l="__l"
|
|
||||||
class="data-v-f87a1e9e"
|
|
||||||
uI="f87a1e9e-0"
|
|
||||||
uP="{{b}}"
|
|
||||||
wx:if="{{b}}"
|
|
||||||
></uni-icons>
|
|
||||||
</view>
|
|
@ -1,15 +0,0 @@
|
|||||||
.button.data-v-f87a1e9e {
|
|
||||||
align-items: center;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 100%;
|
|
||||||
bottom: 180rpx;
|
|
||||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
height: 80rpx;
|
|
||||||
justify-content: center;
|
|
||||||
position: fixed;
|
|
||||||
right: 40rpx;
|
|
||||||
width: 80rpx;
|
|
||||||
z-index: 88;
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js"),
|
|
||||||
n = require("../../utils/navigate.js"),
|
|
||||||
t = {
|
|
||||||
__name: "index",
|
|
||||||
setup: function (t) {
|
|
||||||
var r = function () {
|
|
||||||
n.navigateTo({ url: "/pages/question/index" });
|
|
||||||
};
|
|
||||||
return function (n, t) {
|
|
||||||
return { a: e.o(r) };
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
r = e._export_sfc(t, [["__scopeId", "data-v-75efef85"]]);
|
|
||||||
wx.createComponent(r);
|
|
@ -1,8 +0,0 @@
|
|||||||
<view
|
|
||||||
catchtap="{{a}}"
|
|
||||||
class="button data-v-75efef85"
|
|
||||||
hoverClass="default-hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
<image class="icon data-v-75efef85" src="/static/svgs/icon_help.svg"></image>
|
|
||||||
</view>
|
|
@ -1,20 +0,0 @@
|
|||||||
.button.data-v-75efef85 {
|
|
||||||
align-items: center;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 100%;
|
|
||||||
bottom: 180rpx;
|
|
||||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
height: 80rpx;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 0;
|
|
||||||
position: fixed;
|
|
||||||
right: 40rpx;
|
|
||||||
width: 80rpx;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
.button image.data-v-75efef85 {
|
|
||||||
height: 40rpx;
|
|
||||||
width: 40rpx;
|
|
||||||
}
|
|
@ -1,40 +0,0 @@
|
|||||||
var o = require("../../common/vendor.js");
|
|
||||||
Array ||
|
|
||||||
(o.resolveComponent("uni-load-more") + o.resolveComponent("uni-icons"))(),
|
|
||||||
Math ||
|
|
||||||
(
|
|
||||||
function () {
|
|
||||||
return "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
|
|
||||||
} +
|
|
||||||
function () {
|
|
||||||
return "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
|
||||||
}
|
|
||||||
)();
|
|
||||||
var n = {
|
|
||||||
__name: "index",
|
|
||||||
props: { loading: { type: Boolean, default: !1 } },
|
|
||||||
emits: ["click"],
|
|
||||||
setup: function (n, e) {
|
|
||||||
var i = e.emit,
|
|
||||||
r = function () {
|
|
||||||
i("click");
|
|
||||||
};
|
|
||||||
return function (e, i) {
|
|
||||||
return {
|
|
||||||
a: n.loading,
|
|
||||||
b: o.p({
|
|
||||||
iconType: "circle",
|
|
||||||
iconSize: 20,
|
|
||||||
status: "loading",
|
|
||||||
showText: !1,
|
|
||||||
color: "#1F68E9",
|
|
||||||
}),
|
|
||||||
c: !n.loading,
|
|
||||||
d: o.p({ type: "refreshempty", size: "24", color: "#1F68E9" }),
|
|
||||||
e: o.o(r),
|
|
||||||
};
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
e = o._export_sfc(n, [["__scopeId", "data-v-8535e783"]]);
|
|
||||||
wx.createComponent(e);
|
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"component": true,
|
|
||||||
"usingComponents": {
|
|
||||||
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more",
|
|
||||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<view
|
|
||||||
catchtap="{{e}}"
|
|
||||||
class="button data-v-8535e783"
|
|
||||||
hoverClass="default-hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
<uni-load-more
|
|
||||||
bind:__l="__l"
|
|
||||||
class="data-v-8535e783"
|
|
||||||
data-c-h="{{!a}}"
|
|
||||||
uI="8535e783-0"
|
|
||||||
uP="{{b}}"
|
|
||||||
wx:if="{{b}}"
|
|
||||||
></uni-load-more>
|
|
||||||
<uni-icons
|
|
||||||
bind:__l="__l"
|
|
||||||
class="data-v-8535e783"
|
|
||||||
data-c-h="{{!c}}"
|
|
||||||
uI="8535e783-1"
|
|
||||||
uP="{{d}}"
|
|
||||||
wx:if="{{d}}"
|
|
||||||
></uni-icons>
|
|
||||||
</view>
|
|
@ -1,15 +0,0 @@
|
|||||||
.button.data-v-8535e783 {
|
|
||||||
align-items: center;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 100%;
|
|
||||||
bottom: 80rpx;
|
|
||||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
height: 80rpx;
|
|
||||||
justify-content: center;
|
|
||||||
position: fixed;
|
|
||||||
right: 40rpx;
|
|
||||||
width: 80rpx;
|
|
||||||
z-index: 88;
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js")._export_sfc({}, [
|
|
||||||
[
|
|
||||||
"render",
|
|
||||||
function (e, r) {
|
|
||||||
return {};
|
|
||||||
},
|
|
||||||
],
|
|
||||||
["__scopeId", "data-v-babab3c4"],
|
|
||||||
]);
|
|
||||||
wx.createComponent(e);
|
|
@ -1 +0,0 @@
|
|||||||
{ "component": true, "usingComponents": {} }
|
|
@ -1,11 +0,0 @@
|
|||||||
<button
|
|
||||||
class="button data-v-babab3c4"
|
|
||||||
hoverClass="default-hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
openType="share"
|
|
||||||
>
|
|
||||||
<image
|
|
||||||
class="icon data-v-babab3c4"
|
|
||||||
src="/static/svgs/icon_share_1.svg"
|
|
||||||
></image>
|
|
||||||
</button>
|
|
@ -1,20 +0,0 @@
|
|||||||
.button.data-v-babab3c4 {
|
|
||||||
align-items: center;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 100%;
|
|
||||||
bottom: 80rpx;
|
|
||||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
height: 80rpx;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 0;
|
|
||||||
position: fixed;
|
|
||||||
right: 40rpx;
|
|
||||||
width: 80rpx;
|
|
||||||
z-index: 88;
|
|
||||||
}
|
|
||||||
.button image.data-v-babab3c4 {
|
|
||||||
height: 40rpx;
|
|
||||||
width: 40rpx;
|
|
||||||
}
|
|
@ -1,189 +0,0 @@
|
|||||||
require("../../@babel/runtime/helpers/Arrayincludes");
|
|
||||||
var e = require("../../common/vendor.js"),
|
|
||||||
n = require("../../enums/index.js"),
|
|
||||||
a = require("../../utils/util.js");
|
|
||||||
require("../../constant/index.js"),
|
|
||||||
Array || e.resolveComponent("uni-popup")(),
|
|
||||||
Math;
|
|
||||||
var r = {
|
|
||||||
__name: "index",
|
|
||||||
props: {
|
|
||||||
visible: { type: Boolean, default: !1 },
|
|
||||||
keyboardType: { type: String, default: n.KeyboardEnum.ABC },
|
|
||||||
vin: { type: String, default: "" },
|
|
||||||
vehicleNoList: { type: Array, default: ["", "", "", "", "", "", "", ""] },
|
|
||||||
vehicleNoIndex: { type: Number, default: 0 },
|
|
||||||
canSwitch: { type: Boolean, default: !0 },
|
|
||||||
initCopy: { type: Boolean, default: !0 },
|
|
||||||
},
|
|
||||||
emits: ["close", "change", "type-change"],
|
|
||||||
setup: function (r, o) {
|
|
||||||
var u = o.emit,
|
|
||||||
t = r,
|
|
||||||
i = [
|
|
||||||
[1, 2, 3, 4, 5, 6, 7, 8, 9, 0],
|
|
||||||
["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"],
|
|
||||||
["A", "S", "D", "F", "G", "H", "J", "K", "L", "Z"],
|
|
||||||
[
|
|
||||||
n.KeyboardEnum.AREA,
|
|
||||||
"X",
|
|
||||||
"C",
|
|
||||||
"V",
|
|
||||||
"B",
|
|
||||||
"N",
|
|
||||||
"M",
|
|
||||||
n.KeyboardEnum.DELETE,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
d = [
|
|
||||||
["京", "津", "渝", "沪", "冀", "晋", "辽", "吉", "黑", "苏"],
|
|
||||||
["浙", "皖", "闽", "赣", "鲁", "豫", "鄂", "湘", "粤", "琼"],
|
|
||||||
["川", "贵", "云", "陕", "甘", "青", "蒙", "桂", "宁", "新"],
|
|
||||||
[
|
|
||||||
n.KeyboardEnum.ABC,
|
|
||||||
"藏",
|
|
||||||
"使",
|
|
||||||
"警",
|
|
||||||
"学",
|
|
||||||
"港",
|
|
||||||
"澳",
|
|
||||||
n.KeyboardEnum.DELETE,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
c = ["I", "O"],
|
|
||||||
l = e.ref(null),
|
|
||||||
y = e.ref("");
|
|
||||||
e.watch(
|
|
||||||
function () {
|
|
||||||
return t.visible;
|
|
||||||
},
|
|
||||||
function () {
|
|
||||||
t.visible
|
|
||||||
? (t.initCopy || m(), l.value.open(), l.value.closeMask())
|
|
||||||
: l.value.close();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
var b = function () {
|
|
||||||
u("close");
|
|
||||||
},
|
|
||||||
E = function (e) {
|
|
||||||
e.show || u("close");
|
|
||||||
},
|
|
||||||
f = function (r) {
|
|
||||||
if (
|
|
||||||
((r !== n.KeyboardEnum.AREA && r !== n.KeyboardEnum.ABC) ||
|
|
||||||
t.canSwitch) &&
|
|
||||||
!c.includes(r)
|
|
||||||
)
|
|
||||||
if ((a.vibrate(), t.canSwitch)) {
|
|
||||||
var o = e._.cloneDeep(t.vehicleNoList),
|
|
||||||
i = e._.cloneDeep(t.vehicleNoIndex);
|
|
||||||
r === n.KeyboardEnum.AREA || r === n.KeyboardEnum.ABC
|
|
||||||
? u("type-change")
|
|
||||||
: r === n.KeyboardEnum.DELETE
|
|
||||||
? (o[i] ? (o[i] = "") : (o[i - 1] = ""),
|
|
||||||
i > 0 && i--,
|
|
||||||
u("change", { value: o, index: i }))
|
|
||||||
: ((o[i] = r),
|
|
||||||
i < 7 &&
|
|
||||||
(0 === i &&
|
|
||||||
u("change", { keyboardType: n.KeyboardEnum.ABC }),
|
|
||||||
i++),
|
|
||||||
u("change", { value: o, index: i }));
|
|
||||||
} else {
|
|
||||||
var d = e._.cloneDeep(t.vin);
|
|
||||||
if (r === n.KeyboardEnum.DELETE)
|
|
||||||
(d = d.substring(0, d.length - 1)), u("change", { value: d });
|
|
||||||
else {
|
|
||||||
if (r === n.KeyboardEnum.AREA) return;
|
|
||||||
if (d.length >= 17) return;
|
|
||||||
u("change", { value: (d += r) });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
s = function () {
|
|
||||||
u("change", { value: y.value });
|
|
||||||
},
|
|
||||||
m = function () {
|
|
||||||
e.index.getClipboardData().then(function (a) {
|
|
||||||
var r = a.data;
|
|
||||||
e.index.hideToast(),
|
|
||||||
17 === r.trim().length && t.keyboardType === n.KeyboardEnum.ABC
|
|
||||||
? (y.value = r.trim())
|
|
||||||
: (y.value = "");
|
|
||||||
});
|
|
||||||
};
|
|
||||||
return (
|
|
||||||
e.onMounted(function () {
|
|
||||||
t.initCopy && m();
|
|
||||||
}),
|
|
||||||
function (a, o) {
|
|
||||||
return e.e(
|
|
||||||
{ a: r.keyboardType === e.unref(n.KeyboardEnum).ABC && y.value },
|
|
||||||
r.keyboardType === e.unref(n.KeyboardEnum).ABC && y.value
|
|
||||||
? { b: e.t(y.value) }
|
|
||||||
: {},
|
|
||||||
{
|
|
||||||
c: e.o(s),
|
|
||||||
d: e.o(b),
|
|
||||||
e: e.f(
|
|
||||||
r.keyboardType === e.unref(n.KeyboardEnum).ABC ? i : d,
|
|
||||||
function (a, o, u) {
|
|
||||||
return {
|
|
||||||
a: e.f(a, function (a, o, u) {
|
|
||||||
return e.e(
|
|
||||||
{ a: a === e.unref(n.KeyboardEnum).DELETE },
|
|
||||||
a === e.unref(n.KeyboardEnum).DELETE
|
|
||||||
? {
|
|
||||||
b: e.o(function (e) {
|
|
||||||
return f(a);
|
|
||||||
}, o),
|
|
||||||
}
|
|
||||||
: a === e.unref(n.KeyboardEnum).AREA ||
|
|
||||||
a === e.unref(n.KeyboardEnum).ABC
|
|
||||||
? {
|
|
||||||
d: e.t(a),
|
|
||||||
e: e.n(r.canSwitch ? "" : "disabled"),
|
|
||||||
f: r.canSwitch ? "keyboard-hover" : "",
|
|
||||||
g: e.o(function (e) {
|
|
||||||
return f(a);
|
|
||||||
}, o),
|
|
||||||
}
|
|
||||||
: {
|
|
||||||
h: e.t(a),
|
|
||||||
i: e.n(c.includes(a) ? "disabled" : ""),
|
|
||||||
j: c.includes(a) ? "" : "keyboard-hover",
|
|
||||||
k: e.o(function (e) {
|
|
||||||
return f(a);
|
|
||||||
}, o),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
c:
|
|
||||||
a === e.unref(n.KeyboardEnum).AREA ||
|
|
||||||
a === e.unref(n.KeyboardEnum).ABC,
|
|
||||||
l: o,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}),
|
|
||||||
b: o,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
),
|
|
||||||
f: e.sr(l, "8922672d-0", { k: "popup" }),
|
|
||||||
g: e.o(E),
|
|
||||||
h: e.p({
|
|
||||||
type: "bottom",
|
|
||||||
"background-color": "#F2F2F2",
|
|
||||||
"mask-background-color": "rgba(0, 0, 0, 0)",
|
|
||||||
"safe-area": !1,
|
|
||||||
animation: !0,
|
|
||||||
"is-mask-click": !1,
|
|
||||||
}),
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
o = e._export_sfc(r, [["__scopeId", "data-v-8922672d"]]);
|
|
||||||
wx.createComponent(o);
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"component": true,
|
|
||||||
"usingComponents": {
|
|
||||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
<uni-popup
|
|
||||||
bind:__l="__l"
|
|
||||||
bindchange="{{g}}"
|
|
||||||
class="r data-v-8922672d"
|
|
||||||
uI="8922672d-0"
|
|
||||||
uP="{{h}}"
|
|
||||||
uR="popup"
|
|
||||||
uS="{{['d']}}"
|
|
||||||
wx:if="{{h}}"
|
|
||||||
>
|
|
||||||
<view class="content data-v-8922672d">
|
|
||||||
<view class="close data-v-8922672d">
|
|
||||||
<view bindtap="{{c}}" class="copy-value data-v-8922672d">
|
|
||||||
<view class="data-v-8922672d" wx:if="{{a}}">
|
|
||||||
粘贴<text class="data-v-8922672d">({{b}})</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view bindtap="{{d}}" class="hide data-v-8922672d">收起</view>
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
class="key-row data-v-8922672d"
|
|
||||||
wx:for="{{e}}"
|
|
||||||
wx:for-item="list"
|
|
||||||
wx:key="b"
|
|
||||||
>
|
|
||||||
<block wx:for="{{list.a}}" wx:for-item="value" wx:key="l">
|
|
||||||
<view
|
|
||||||
bindtap="{{value.b}}"
|
|
||||||
class="key big delete data-v-8922672d"
|
|
||||||
hoverClass="delete-hover"
|
|
||||||
hoverStayTime="100"
|
|
||||||
wx:if="{{value.a}}"
|
|
||||||
></view>
|
|
||||||
<view
|
|
||||||
bindtap="{{value.g}}"
|
|
||||||
class="{{['key','big','data-v-8922672d',value.e]}}"
|
|
||||||
hoverClass="{{value.f}}"
|
|
||||||
hoverStayTime="100"
|
|
||||||
wx:elif="{{value.c}}"
|
|
||||||
>{{value.d}}</view
|
|
||||||
>
|
|
||||||
<view
|
|
||||||
bindtap="{{value.k}}"
|
|
||||||
class="{{['key','data-v-8922672d',value.i]}}"
|
|
||||||
hoverClass="{{value.j}}"
|
|
||||||
hoverStayTime="100"
|
|
||||||
wx:else
|
|
||||||
>{{value.h}}</view
|
|
||||||
>
|
|
||||||
</block>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</uni-popup>
|
|
@ -1,63 +0,0 @@
|
|||||||
.content.data-v-8922672d {
|
|
||||||
color: #2c2c34;
|
|
||||||
padding: 0 30rpx 40rpx;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.content .close.data-v-8922672d {
|
|
||||||
align-items: center;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
font-weight: 700;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
.content .close .copy-value.data-v-8922672d {
|
|
||||||
color: #1f68e9;
|
|
||||||
font-size: 34rpx;
|
|
||||||
padding: 25rpx 0 15rpx;
|
|
||||||
}
|
|
||||||
.content .close .copy-value text.data-v-8922672d {
|
|
||||||
color: #2c2c34;
|
|
||||||
}
|
|
||||||
.content .close .hide.data-v-8922672d {
|
|
||||||
color: #1f68e9;
|
|
||||||
display: block;
|
|
||||||
font-size: 34rpx;
|
|
||||||
padding: 25rpx 0 15rpx 20rpx;
|
|
||||||
}
|
|
||||||
.content .key-row .key.data-v-8922672d,
|
|
||||||
.content .key-row.data-v-8922672d {
|
|
||||||
align-items: center;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.content .key-row .key.data-v-8922672d {
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 8rpx;
|
|
||||||
font-size: 34rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
height: 78rpx;
|
|
||||||
margin: 10rpx 6rpx;
|
|
||||||
min-width: 60rpx;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.content .key-row .key.big.data-v-8922672d {
|
|
||||||
width: 200rpx;
|
|
||||||
}
|
|
||||||
.content .key-row .key.disabled.data-v-8922672d {
|
|
||||||
color: #ccc;
|
|
||||||
}
|
|
||||||
.content .key-row .key.delete.data-v-8922672d {
|
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAMAAACdUboEAAAAflBMVEUAAAAtLS0sLDUrKzQvLy8sLDMsLDQpKTosLDQsLDQsLDQsLDQsLDQrKzQsLDQsLDQrKzMrKzQtLTMsLDMsLDQqKjEsLDMtLTMsLDQsLDUsLDQsLDMsLDQsLDUtLTMsLDMuLjgqKjErKzUsLDQsLDQsLDMtLTMrKzQrKzMsLDT8XkmbAAAAKXRSTlMAEcdIBa56CHP5qfXu1722mYRaRjUM4yjz6cyPfW8sIBsUwpeKZ1VUQbJFaDkAAAFMSURBVFjD7ZfdboJAEIXHSlVQsSqCbbWt/Z/3f8HW6cVJN1mm4EnKxX5XZAkfBJizM5JIJBKJDoyKvXZm8TKVGFmpvVhLjLX241kijLUnVxHh44JsnN7Z2ftRJz5ajDc/t8ukE+O4cWPC2ydhGR/mZtwKy7hbmnAiNGNhwpXQjDMT1ieascrP63klLOOp1jNvwfLnsQquPjZ/NJYmLILVg6rOBGSFar51jciH5S4oobn+UmbX+k3pGZEP+0YCY66mhNCu9YzIh/dIVZrShMbGMyIfJACSSXAcNfr5AA2OfCPyoUV5gNAxOvkAJYRxo58PUELoG1+RD65yIp4RxdJIC9Nacdt/eEb2e+R/a/7/yK8Zfl3zs4efj/wMB6sL9hn2Xujv1wPuKQR9z4B7M0FmDLfHvbAP588K/HmGP3Px50L+7MqfrxOJRCIR5QtvTr9dFVXplQAAAABJRU5ErkJggg==);
|
|
||||||
background-position: 50%;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 55rpx 55rpx;
|
|
||||||
}
|
|
||||||
.content .key-row .key.delete-hover.data-v-8922672d {
|
|
||||||
background-color: #1f68e9 !important;
|
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAMAAACdUboEAAAAh1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9qkf8RAAAALHRSTlMAEcdIBa56+bypCAv17teYhHRaS0Yc4/PpzLSPcm9UNCwofiIVwpqKZ0E4DWyPr9sAAAFbSURBVFjD7Zdpb8IwDIbdretBB2UcZQewDdiJ///vA1Iho0iJaZ0CH/x8qiL1SY/kjQ2KoihKA6J8ho3plz1wEWfYiiG4GGI7vsDBGFty5xCu+4GNvRc88BY1YukxftfTxdCIe7dxZITPUwhl/Hg0xgmEMhYDI0wgmDE3wlcIZpwbYRUFM/6nuCd9h1DGTYUHfq3hv4U1xXjxeaaxzofcGl0h4hyIOEdMJ6yR8mFQWFvILKcnEj7gnowzUj7M7BcqUjRKEtK9fuO0zocl2JR4VJIQR5yR8gEsSJJY14yR8sGnpCveSPngUa5IyBiZfCAlCTnjlssHoyQhb/yhfGCVCXBG2ixr8FBUaMgArvKM8u8o/9eh1mPCr8cTSuGeke/ry2ePPB/lGd75OSM/C6Xntbym2MAN1z0ntdnt1o8d1LiUGUKjvFe4VD8j77m67wvlvWv4/lpRFEVxsgO4qs1ntHZ77QAAAABJRU5ErkJggg==);
|
|
||||||
}
|
|
||||||
.content .keyboard-hover.data-v-8922672d {
|
|
||||||
background-color: #1f68e9 !important;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
var e = require("../../common/vendor.js");
|
|
||||||
Array || e.resolveComponent("uni-popup")(), Math;
|
|
||||||
var n = {
|
|
||||||
__name: "index",
|
|
||||||
props: {
|
|
||||||
visible: { type: Boolean, default: !1 },
|
|
||||||
copyVin: { type: String, default: "" },
|
|
||||||
},
|
|
||||||
emits: ["cancel", "confirm"],
|
|
||||||
setup: function (n, o) {
|
|
||||||
var t = o.emit,
|
|
||||||
c = n,
|
|
||||||
i = e.ref(null);
|
|
||||||
e.watch(
|
|
||||||
function () {
|
|
||||||
return c.visible;
|
|
||||||
},
|
|
||||||
function () {
|
|
||||||
c.visible ? i.value.open() : i.value.close();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
var r = function (e) {
|
|
||||||
e.show || t("cancel");
|
|
||||||
},
|
|
||||||
a = function () {
|
|
||||||
t("cancel");
|
|
||||||
},
|
|
||||||
u = function () {
|
|
||||||
t("confirm");
|
|
||||||
};
|
|
||||||
return function (o, t) {
|
|
||||||
return {
|
|
||||||
a: e.t(n.copyVin),
|
|
||||||
b: e.o(a),
|
|
||||||
c: e.o(u),
|
|
||||||
d: e.sr(i, "fa16f1de-0", { k: "popup" }),
|
|
||||||
e: e.o(r),
|
|
||||||
f: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
|
|
||||||
};
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
o = e._export_sfc(n, [["__scopeId", "data-v-fa16f1de"]]);
|
|
||||||
wx.createComponent(o);
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"component": true,
|
|
||||||
"usingComponents": {
|
|
||||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<uni-popup
|
|
||||||
bind:__l="__l"
|
|
||||||
bindchange="{{e}}"
|
|
||||||
class="r data-v-fa16f1de"
|
|
||||||
uI="fa16f1de-0"
|
|
||||||
uP="{{f}}"
|
|
||||||
uR="popup"
|
|
||||||
uS="{{['d']}}"
|
|
||||||
wx:if="{{f}}"
|
|
||||||
>
|
|
||||||
<view class="content data-v-fa16f1de">
|
|
||||||
<view class="popup-title data-v-fa16f1de">提示</view>
|
|
||||||
<view class="popup-content data-v-fa16f1de">
|
|
||||||
<view class="data-v-fa16f1de">是否要查询这个车架号?</view>
|
|
||||||
<view class="data-v-fa16f1de" style="margin-top: 5rpx">{{a}}</view>
|
|
||||||
</view>
|
|
||||||
<view class="popup-buttons data-v-fa16f1de">
|
|
||||||
<view
|
|
||||||
bindtap="{{b}}"
|
|
||||||
class="button data-v-fa16f1de"
|
|
||||||
hoverClass="hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
不用了
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
bindtap="{{c}}"
|
|
||||||
class="button data-v-fa16f1de"
|
|
||||||
hoverClass="hover-class"
|
|
||||||
hoverStayTime="100"
|
|
||||||
>
|
|
||||||
马上查询
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</uni-popup>
|
|
@ -1,53 +0,0 @@
|
|||||||
.content.data-v-fa16f1de {
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 20rpx;
|
|
||||||
margin-bottom: 15vh;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 625rpx;
|
|
||||||
}
|
|
||||||
.content .popup-title.data-v-fa16f1de {
|
|
||||||
color: #333;
|
|
||||||
font-size: 32rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 50rpx 0 40rpx;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.content .popup-content.data-v-fa16f1de {
|
|
||||||
align-items: center;
|
|
||||||
color: #8a8a8a;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
font-size: 32rpx;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.content .popup-content .important.data-v-fa16f1de {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.content .popup-content .type.data-v-fa16f1de {
|
|
||||||
color: #ff8453;
|
|
||||||
}
|
|
||||||
.content .popup-buttons.data-v-fa16f1de {
|
|
||||||
align-items: center;
|
|
||||||
border-top: 2rpx solid #f2f2f2;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
margin-top: 40rpx;
|
|
||||||
}
|
|
||||||
.content .popup-buttons .button.data-v-fa16f1de {
|
|
||||||
flex-grow: 1;
|
|
||||||
font-size: 32rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
padding: 30rpx;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.content .popup-buttons .button.data-v-fa16f1de:nth-child(1) {
|
|
||||||
border-right: 2rpx solid #f2f2f2;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
.content .popup-buttons .button.data-v-fa16f1de:nth-child(2) {
|
|
||||||
color: #1f68e9;
|
|
||||||
}
|
|
||||||
.hover-class.data-v-fa16f1de {
|
|
||||||
background-color: #e5e5e5;
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
var n = require("../../common/vendor.js"),
|
|
||||||
e = require("../../utils/navigate.js"),
|
|
||||||
o = require("../../enums/index.js");
|
|
||||||
Array ||
|
|
||||||
(n.resolveComponent("uni-countdown") + n.resolveComponent("uni-popup"))(),
|
|
||||||
Math ||
|
|
||||||
(
|
|
||||||
function () {
|
|
||||||
return "../../uni_modules/uni-countdown/components/uni-countdown/uni-countdown.js";
|
|
||||||
} +
|
|
||||||
function () {
|
|
||||||
return "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
|
||||||
}
|
|
||||||
)();
|
|
||||||
var t = {
|
|
||||||
__name: "index",
|
|
||||||
props: { visible: { type: Boolean, default: !1 } },
|
|
||||||
emits: ["close"],
|
|
||||||
setup: function (t, r) {
|
|
||||||
var u = r.emit,
|
|
||||||
i = t,
|
|
||||||
c = n.ref(null);
|
|
||||||
n.watch(
|
|
||||||
function () {
|
|
||||||
return i.visible;
|
|
||||||
},
|
|
||||||
function () {
|
|
||||||
i.visible ? c.value.open() : c.value.close();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
var s = function (n) {
|
|
||||||
n.show || u("close");
|
|
||||||
},
|
|
||||||
p = function () {
|
|
||||||
u("close");
|
|
||||||
var e = n.index.getStorageSync("fisrtIn");
|
|
||||||
e ? e++ : (e = 1), n.index.setStorageSync("fisrtIn", e);
|
|
||||||
},
|
|
||||||
a = function () {
|
|
||||||
u("close"),
|
|
||||||
e.navigateTo({
|
|
||||||
url: "/pages/report-query/index",
|
|
||||||
params: {
|
|
||||||
title: "综合车况",
|
|
||||||
productType: o.ProductTypeEnum.OVERALL,
|
|
||||||
queryType: o.QueryTypeEnum.VIN,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
var t = n.index.getStorageSync("fisrtIn");
|
|
||||||
t ? t++ : (t = 1), n.index.setStorageSync("fisrtIn", t);
|
|
||||||
};
|
|
||||||
return function (e, o) {
|
|
||||||
return {
|
|
||||||
a: n.p({
|
|
||||||
minute: 10,
|
|
||||||
"font-size": 30,
|
|
||||||
color: "#ffffff",
|
|
||||||
"splitor-color": "#910F0E",
|
|
||||||
"background-color": "#F11220",
|
|
||||||
}),
|
|
||||||
b: n.o(a),
|
|
||||||
c: n.o(p),
|
|
||||||
d: n.sr(c, "68f7b9c0-0", { k: "popup" }),
|
|
||||||
e: n.o(s),
|
|
||||||
f: n.p({ type: "center", animation: !0, "is-mask-click": !1 }),
|
|
||||||
};
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
r = n._export_sfc(t, [["__scopeId", "data-v-68f7b9c0"]]);
|
|
||||||
wx.createComponent(r);
|
|