no message

This commit is contained in:
小陌 2024-01-16 22:53:42 +08:00
commit 40e5198c79
479 changed files with 52166 additions and 0 deletions

View File

@ -0,0 +1,22 @@
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;
},
});

View File

@ -0,0 +1,9 @@
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;
});

View File

@ -0,0 +1,6 @@
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;

View File

@ -0,0 +1,4 @@
function _arrayWithHoles(r) {
if (Array.isArray(r)) return r;
}
module.exports = _arrayWithHoles;

View File

@ -0,0 +1,5 @@
var arrayLikeToArray = require("./arrayLikeToArray");
function _arrayWithoutHoles(r) {
if (Array.isArray(r)) return arrayLikeToArray(r);
}
module.exports = _arrayWithoutHoles;

View File

@ -0,0 +1,8 @@
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;

View File

@ -0,0 +1,26 @@
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;

View File

@ -0,0 +1,5 @@
function _classCallCheck(a, l) {
if (!(a instanceof l))
throw new TypeError("Cannot call a class as a function");
}
module.exports = _classCallCheck;

View File

@ -0,0 +1,17 @@
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;

View File

@ -0,0 +1,19 @@
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;

View File

@ -0,0 +1,52 @@
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;

View File

@ -0,0 +1,16 @@
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;

View File

@ -0,0 +1,15 @@
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;

View File

@ -0,0 +1,12 @@
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;

View File

@ -0,0 +1,11 @@
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;

View File

@ -0,0 +1,4 @@
function _isNativeFunction(n) {
return -1 !== Function.toString.call(n).indexOf("[native code]");
}
module.exports = _isNativeFunction;

View File

@ -0,0 +1,16 @@
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;

View File

@ -0,0 +1,8 @@
function _iterableToArray(r) {
if (
("undefined" != typeof Symbol && null != r[Symbol.iterator]) ||
null != r["@@iterator"]
)
return Array.from(r);
}
module.exports = _iterableToArray;

View File

@ -0,0 +1,37 @@
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;

View File

@ -0,0 +1,6 @@
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;

View File

@ -0,0 +1,6 @@
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;

View File

@ -0,0 +1,29 @@
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;

View File

@ -0,0 +1,11 @@
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;

View File

@ -0,0 +1,406 @@
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);

View File

@ -0,0 +1,12 @@
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;

View File

@ -0,0 +1,13 @@
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;

View File

@ -0,0 +1,13 @@
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;

View File

@ -0,0 +1,12 @@
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;

View File

@ -0,0 +1,7 @@
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;

View File

@ -0,0 +1,18 @@
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;

View File

@ -0,0 +1,17 @@
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;

View File

@ -0,0 +1,37 @@
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;

0
App.wxml Normal file
View File

38
app.js Normal file
View File

@ -0,0 +1,38 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
var e = require("./common/vendor.js");
require("./constant/index.js");
var t = require("./utils/ald-stat.js"),
n = require("./utils/mtj-wx-sdk.js"),
i = require("./utils/util.js");
Math;
var a = {
__name: "App",
setup: function (t) {
return (
e.onLaunch(function () {
i.checkForUpdate(),
setTimeout(function () {
var t = e.index.getStorageSync("openId");
t && (e.wx$1.aldstat.sendOpenid(t), e.wx$1.uma.setOpenid(t));
}, 5e3);
}),
function (e, t) {
return {};
}
);
},
};
function r() {
var t = e.createSSRApp(a);
return t.use(e.createPinia()), { app: t, Pinia: e.Pinia };
}
t.aldInit(),
n.mtjInit({}),
e.lib.init({
appKey: "65793213a7208a5af185764c",
useOpenid: !0,
autoGetOpenid: !1,
debug: !0,
}),
r().app.mount("#app"),
(exports.createApp = r);

69
app.json Normal file
View File

@ -0,0 +1,69 @@
{
"pages": [
"pages/splash/index",
"pages/home/index",
"pages/order-list/index",
"pages/order-list-mine/index",
"pages/user/index",
"pages/vin-info/index",
"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": {
"color": "#7A7E83",
"selectedColor": "#1F68E9",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/home/index",
"text": "首页",
"iconPath": "static/images/tabs/icon_home_default.png",
"selectedIconPath": "static/images/tabs/icon_home_selected.png"
},
{
"pagePath": "pages/order-list/index",
"text": "订单",
"iconPath": "static/images/tabs/icon_order_list_default.png",
"selectedIconPath": "static/images/tabs/icon_order_list_selected.png"
},
{
"pagePath": "pages/user/index",
"text": "我的",
"iconPath": "static/images/tabs/icon_user_default.png",
"selectedIconPath": "static/images/tabs/icon_user_selected.png"
}
]
}
}

72
app.wxss Normal file
View File

@ -0,0 +1,72 @@
page {
background-color: #f8f9fe;
color: #2c2c34;
word-break: break-all;
}
view {
display: block;
}
scroll-view,
text,
view {
box-sizing: border-box;
}
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;
top: -1000px;
}
@-webkit-keyframes shadow-preload {
0% {
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
}
100% {
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
}
}
@keyframes shadow-preload {
0% {
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
}
100% {
background-image: url(https://cdn1.dcloud.net.cn/img/shadow-grey.png);
}
}
page {
--status-bar-height: 25px;
--top-window-height: 0px;
--window-top: 0px;
--window-bottom: 0px;
--window-left: 0px;
--window-right: 0px;
--window-magin: 0px;
}
[data-c-h="true"] {
display: none !important;
}

24690
common/vendor.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,85 @@
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);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,86 @@
<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>

View File

@ -0,0 +1,86 @@
.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;
}

View File

@ -0,0 +1,10 @@
var e = require("../../common/vendor.js")._export_sfc({}, [
[
"render",
function (e, r) {
return {};
},
],
["__scopeId", "data-v-e781bbeb"],
]);
wx.createComponent(e);

View File

@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@ -0,0 +1,5 @@
<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>

View File

@ -0,0 +1,18 @@
.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;
}

12
components/empty/index.js Normal file
View File

@ -0,0 +1,12 @@
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);

View File

@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@ -0,0 +1,4 @@
<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>

View File

@ -0,0 +1,20 @@
.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;
}

View File

@ -0,0 +1,24 @@
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);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

View File

@ -0,0 +1,15 @@
<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>

View File

@ -0,0 +1,15 @@
.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;
}

View File

@ -0,0 +1,15 @@
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);

View File

@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@ -0,0 +1,8 @@
<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>

View File

@ -0,0 +1,20 @@
.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;
}

View File

@ -0,0 +1,40 @@
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);

View File

@ -0,0 +1,7 @@
{
"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"
}
}

View File

@ -0,0 +1,23 @@
<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>

View File

@ -0,0 +1,15 @@
.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;
}

View File

@ -0,0 +1,10 @@
var e = require("../../common/vendor.js")._export_sfc({}, [
[
"render",
function (e, r) {
return {};
},
],
["__scopeId", "data-v-babab3c4"],
]);
wx.createComponent(e);

View File

@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@ -0,0 +1,11 @@
<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>

View File

@ -0,0 +1,20 @@
.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;
}

View File

@ -0,0 +1,189 @@
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);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,53 @@
<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>

View File

@ -0,0 +1,63 @@
.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;
}

View File

@ -0,0 +1,44 @@
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);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,36 @@
<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>

View File

@ -0,0 +1,53 @@
.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;
}

View File

@ -0,0 +1,71 @@
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);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uni-countdown": "../../uni_modules/uni-countdown/components/uni-countdown/uni-countdown",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,48 @@
<uni-popup
bind:__l="__l"
bindchange="{{e}}"
class="r data-v-68f7b9c0"
uI="68f7b9c0-0"
uP="{{f}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{f}}"
>
<view class="content data-v-68f7b9c0">
<view class="container data-v-68f7b9c0">
<image
class="background data-v-68f7b9c0"
src="/static/images/pic_coupon.png"
></image>
<view class="coupon data-v-68f7b9c0">
<text class="coupon-left data-v-68f7b9c0">┏</text>
<text class="coupon-text data-v-68f7b9c0">综合车况立减30元</text>
<text class="coupon-right data-v-68f7b9c0">┛</text>
</view>
<view class="count-down data-v-68f7b9c0">
<text class="count-down-text data-v-68f7b9c0">限时抢购:</text>
<uni-countdown
bind:__l="__l"
class="data-v-68f7b9c0"
uI="68f7b9c0-1,68f7b9c0-0"
uP="{{a}}"
wx:if="{{a}}"
></uni-countdown>
</view>
<view
bindtap="{{b}}"
class="button data-v-68f7b9c0"
hoverClass="default-hover-class"
hoverStayTime="100"
>
<text class="button-text data-v-68f7b9c0">领取使用</text>
</view>
</view>
<view bindtap="{{c}}" class="close data-v-68f7b9c0">
<image
class="close-image data-v-68f7b9c0"
src="/static/images/icon_close_3.png"
></image>
</view>
</view>
</uni-popup>

View File

@ -0,0 +1,98 @@
.content.data-v-68f7b9c0 {
height: 1000rpx;
justify-content: center;
}
.container.data-v-68f7b9c0,
.content.data-v-68f7b9c0 {
align-items: center;
display: -webkit-flex;
display: flex;
flex-direction: column;
}
.container.data-v-68f7b9c0 {
height: 670rpx;
padding: 40rpx;
position: relative;
width: 525rpx;
}
.background.data-v-68f7b9c0 {
height: 670rpx;
left: 0;
position: absolute;
top: 0;
width: 525rpx;
z-index: 9;
}
.coupon.data-v-68f7b9c0 {
align-items: center;
display: -webkit-flex;
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 200rpx;
padding: 25rpx 40rpx;
position: relative;
z-index: 20;
}
.coupon-text.data-v-68f7b9c0 {
color: #e95857;
font-size: 44rpx;
font-weight: 700;
}
.coupon-left.data-v-68f7b9c0 {
color: #e95857;
left: 0;
position: absolute;
top: 0;
z-index: 21;
}
.coupon-right.data-v-68f7b9c0 {
bottom: 0;
color: #e95857;
position: absolute;
right: 0;
z-index: 21;
}
.count-down.data-v-68f7b9c0 {
align-items: center;
display: -webkit-flex;
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 60rpx;
position: relative;
z-index: 20;
}
.count-down-text.data-v-68f7b9c0 {
color: #910f0e;
font-size: 30rpx;
font-weight: 700;
margin-right: 10rpx;
}
.button.data-v-68f7b9c0 {
align-items: center;
background-color: #ffe1af;
border-radius: 100rpx;
display: -webkit-flex;
display: flex;
height: 70rpx;
justify-content: center;
line-height: 70rpx;
margin-top: 95rpx;
position: relative;
width: 200rpx;
z-index: 10;
}
.button-text.data-v-68f7b9c0 {
color: #690000;
font-size: 32rpx;
font-weight: 700;
}
.close.data-v-68f7b9c0 {
margin-top: 10rpx;
}
.close-image.data-v-68f7b9c0 {
height: 90rpx;
padding: 20rpx;
width: 90rpx;
}

View File

@ -0,0 +1,94 @@
var e = require("../../common/vendor.js"),
n = require("../../constant/index.js"),
r = require("../../service/index.js"),
o = require("../../hooks/useState.js"),
t = require("../../config/index.js"),
i = require("../../utils/navigate.js"),
s = require("../../utils/util.js");
require("../../utils/request.js"),
require("../../enums/index.js"),
require("../../store/app/index.js"),
require("../../data/index.js"),
Array || e.resolveComponent("uni-popup")(),
Math;
var u = {
__name: "index",
props: { visible: { type: Boolean, default: !1 } },
emits: ["close"],
setup: function (u, a) {
var l = a.emit,
c = u,
p = o.useState().setUserData,
v = e.ref(!0),
f = e.ref(null);
e.watch(
function () {
return c.visible;
},
function () {
c.visible ? f.value.open() : f.value.close();
}
);
var d = function (e) {
e.show || l("close");
},
m = function () {
l("close");
},
g = function (e) {
var n = e.detail;
if (v.value) {
var o = n.errMsg,
t = n.code;
"getPhoneNumber:ok" === o
? r.getUserMobileForMpWeixin({ code: t }).then(function () {
r.getUserInfo().then(function (e) {
var n = e.token,
r = e.openId,
o = e.userId,
t = e.userInfo;
s.showToast("登录成功"),
p({ token: n, openId: r, userId: o, userInfo: t }),
l("close");
});
})
: "getPhoneNumber:fail user deny" === o &&
s.showToast("授权登录之后才能继续操作");
} else s.showToast("请先阅读并同意协议");
},
h = function () {
v.value = !v.value;
},
j = function () {
i.navigateTo({
url: "/pages/web-view/index",
params: { url: n.userAgreementUrl, title: "用户协议" },
});
},
q = function () {
i.navigateTo({
url: "/pages/web-view/index",
params: { url: n.concealAgreementUrl, title: "隐私协议" },
});
};
return function (n, r) {
return {
a: e.o(m),
b: e.t(e.unref(t.appName)),
c: e.o(function () {}),
d: e.o(g),
e: v.value,
f: e.o(h),
g: !v.value,
h: e.o(h),
i: e.o(j),
j: e.o(q),
k: e.sr(f, "1095514c-0", { k: "popup" }),
l: e.o(d),
m: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
};
};
},
},
a = e._export_sfc(u, [["__scopeId", "data-v-1095514c"]]);
wx.createComponent(a);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,59 @@
<uni-popup
bind:__l="__l"
bindchange="{{l}}"
class="r data-v-1095514c"
uI="1095514c-0"
uP="{{m}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{m}}"
>
<view class="content data-v-1095514c">
<image
bindtap="{{a}}"
class="close data-v-1095514c"
src="/static/svgs/icon_close_2.svg"
></image>
<view class="title data-v-1095514c">用户登录</view>
<image
class="app-logo data-v-1095514c"
src="/static/images/logo_app.png"
></image>
<view class="app-name data-v-1095514c">{{b}}</view>
<button
bindgetphonenumber="{{d}}"
catchtap="{{c}}"
class="data-v-1095514c"
hoverClass="default-hover-class"
hoverStayTime="100"
openType="getPhoneNumber"
>
<image class="data-v-1095514c" src="/static/svgs/icon_wechat.svg"></image>
<text class="data-v-1095514c">微信一键登录</text>
</button>
<view class="tips data-v-1095514c">
<image
bindtap="{{f}}"
class="data-v-1095514c"
hidden="{{!e}}"
src="/static/images/icon_checked_1.png"
></image>
<image
bindtap="{{h}}"
class="data-v-1095514c"
hidden="{{!g}}"
src="/static/images/icon_unchecked_1.png"
></image>
<text class="data-v-1095514c">
<text class="data-v-1095514c">已阅读并同意</text>
<text bindtap="{{i}}" class="agreement data-v-1095514c"
>《用户协议》</text
>
<text class="data-v-1095514c">和</text>
<text bindtap="{{j}}" class="agreement data-v-1095514c"
>《隐私协议》</text
>
</text>
</view>
</view>
</uni-popup>

View File

@ -0,0 +1,72 @@
.content.data-v-1095514c {
align-items: center;
background-color: #fff;
border-radius: 20rpx;
display: -webkit-flex;
display: flex;
flex-direction: column;
height: 520rpx;
padding: 0 30rpx 40rpx;
width: 600rpx;
}
.content .close.data-v-1095514c {
height: 30rpx;
padding: 20rpx;
position: absolute;
right: 20rpx;
top: 20rpx;
width: 30rpx;
}
.content .title.data-v-1095514c {
font-size: 32rpx;
font-weight: 700;
height: 120rpx;
line-height: 120rpx;
}
.content .app-logo.data-v-1095514c {
border-radius: 100%;
height: 128rpx;
width: 128rpx;
}
.content .app-name.data-v-1095514c {
font-size: 32rpx;
font-weight: 700;
margin-top: 20rpx;
}
.content button.data-v-1095514c {
align-items: center;
background-color: #1f68e9;
border: 0;
border-radius: 100rpx;
display: -webkit-flex;
display: flex;
justify-content: center;
margin-top: 40rpx;
padding: 0;
width: 500rpx;
}
.content button image.data-v-1095514c {
height: 44rpx;
margin-right: 40rpx;
width: 44rpx;
}
.content button text.data-v-1095514c {
color: #fff;
font-size: 28rpx;
}
.content .tips.data-v-1095514c {
align-items: center;
color: #9a9a9a;
display: -webkit-flex;
display: flex;
font-size: 24rpx;
margin-top: 30rpx;
}
.content .tips image.data-v-1095514c {
height: 38rpx;
margin-right: 10rpx;
width: 38rpx;
}
.content .tips .agreement.data-v-1095514c {
color: #1f68e9;
}

View File

@ -0,0 +1,90 @@
var e = require("../../common/vendor.js");
Array || e.resolveComponent("uni-popup")();
Math ||
(
e.unref(n) +
function () {
return "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
}
)();
var n = function () {
return "../keyboard/index.js";
},
u = {
__name: "index",
props: {
visible: { type: Boolean, default: !1 },
copyVin: { type: String, default: "" },
},
emits: ["close", "confirm"],
setup: function (n, u) {
var o = u.emit,
t = n,
i = e.ref(null),
l = e.ref(""),
a = e.ref(!1);
e.watch(
function () {
return t.visible;
},
function () {
t.visible
? ((l.value = t.copyVin),
setTimeout(function () {
return (a.value = !0);
}, 100),
i.value.open())
: ((a.value = !1), i.value.close());
}
);
var c = function (e) {
e.show || o("close");
},
r = function () {
o("close");
},
p = function () {
a.value = !1;
},
v = function (e) {
l.value = e.value;
},
s = function () {
l.value = "";
},
f = function () {
(a.value = !1), o("confirm", l.value);
};
return function (n, u) {
return e.e(
{ a: e.o(r), b: 0 === l.value.length },
(l.value.length, {}),
{
c: e.t(l.value),
d: e.o(function (e) {
a.value = !0;
}),
e: l.value.length > 0,
},
l.value.length > 0 ? { f: e.o(s) } : {},
{
g: e.t(l.value.length),
h: e.o(f),
i: e.o(p),
j: e.o(v),
k: e.p({
visible: a.value,
"can-switch": !1,
vin: l.value,
"init-copy": !1,
}),
l: e.sr(i, "665bd5fd-0", { k: "popup" }),
m: e.o(c),
n: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
}
);
};
},
},
o = e._export_sfc(u, [["__scopeId", "data-v-665bd5fd"]]);
wx.createComponent(o);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup",
"keyboard": "../keyboard/index"
}
}

View File

@ -0,0 +1,52 @@
<uni-popup
bind:__l="__l"
bindchange="{{m}}"
class="r data-v-665bd5fd"
uI="665bd5fd-0"
uP="{{n}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{n}}"
>
<view class="content data-v-665bd5fd">
<image
bindtap="{{a}}"
class="close data-v-665bd5fd"
src="/static/svgs/icon_close_2.svg"
></image>
<view class="popup-title data-v-665bd5fd">修改VIN车架号</view>
<view class="input-content data-v-665bd5fd">
<view bindtap="{{d}}" class="input data-v-665bd5fd">
<text class="placeholder data-v-665bd5fd" wx:if="{{b}}"
>请输入17位VIN车架号</text
>
<text userSelect class="default data-v-665bd5fd">{{c}}</text>
<text class="cursor data-v-665bd5fd"></text>
</view>
<image
bindtap="{{f}}"
class="clear data-v-665bd5fd"
src="/static/svgs/icon_clear.svg"
wx:if="{{e}}"
></image>
<view class="input-length data-v-665bd5fd">{{g}}/17 </view>
</view>
<view
bindtap="{{h}}"
class="button data-v-665bd5fd"
hoverClass="default-ihover-class"
hoverStayTime="100"
>
确认修改
</view>
</view>
<keyboard
bind:__l="__l"
bindchange="{{j}}"
bindclose="{{i}}"
class="data-v-665bd5fd"
uI="665bd5fd-1,665bd5fd-0"
uP="{{k}}"
wx:if="{{k}}"
></keyboard>
</uni-popup>

View File

@ -0,0 +1,104 @@
.content.data-v-665bd5fd {
background-color: #fff;
border-radius: 20rpx;
margin-bottom: 15vh;
overflow: hidden;
padding: 50rpx;
width: 625rpx;
}
.content .close.data-v-665bd5fd {
height: 30rpx;
padding: 20rpx;
position: absolute;
right: 20rpx;
top: 20rpx;
width: 30rpx;
}
.content .popup-title.data-v-665bd5fd {
color: #333;
font-size: 32rpx;
font-weight: 700;
text-align: center;
}
.content .input-content.data-v-665bd5fd {
background-color: #f7f7f7;
border-radius: 10rpx;
height: 90rpx;
margin-top: 50rpx;
padding: 0 20rpx;
}
.content .input-content .input.data-v-665bd5fd,
.content .input-content.data-v-665bd5fd {
align-items: center;
display: -webkit-flex;
display: flex;
position: relative;
}
.content .input-content .input.data-v-665bd5fd {
flex-grow: 1;
font-size: 32rpx;
overflow-y: scroll;
}
.content .input-content .input .placeholder.data-v-665bd5fd {
color: silver;
left: 0;
position: absolute;
}
.content .input-content .input .cursor.data-v-665bd5fd {
animation: cursor-blinks-665bd5fd 1.5s step-start infinite;
background: #1f68e9;
height: 40rpx;
width: 4rpx;
}
.content .input-content .clear.data-v-665bd5fd {
flex-shrink: 0;
height: 32rpx;
padding: 0 10rpx 0 20rpx;
width: 32rpx;
}
.content .input-content .input-length.data-v-665bd5fd {
color: #232323;
flex-shrink: 0;
font-size: 26rpx;
}
.content .button.data-v-665bd5fd {
align-items: center;
background-color: #1f68e9;
border-radius: 100rpx;
color: #fff;
display: -webkit-flex;
display: flex;
font-size: 30rpx;
font-weight: 700;
height: 80rpx;
justify-content: center;
margin-top: 50rpx;
}
@-webkit-keyframes cursor-blinks-665bd5fd {
0% {
display: block;
opacity: 1;
}
50% {
display: none;
opacity: 0;
}
to {
display: block;
opacity: 1;
}
}
@keyframes cursor-blinks-665bd5fd {
0% {
display: block;
opacity: 1;
}
50% {
display: none;
opacity: 0;
}
to {
display: block;
opacity: 1;
}
}

View File

@ -0,0 +1,45 @@
var e = require("../../common/vendor.js"),
t = require("../../utils/navigate.js");
Array || e.resolveComponent("uni-popup")(), Math;
var n = {
__name: "index",
props: {
visible: { type: Boolean, default: !1 },
title: { type: String, default: "" },
},
emits: ["close"],
setup: function (n, o) {
var i = o.emit,
r = n,
s = e.ref(null);
e.watch(
function () {
return r.visible;
},
function () {
r.visible ? s.value.open() : s.value.close();
}
);
var a = function (e) {
e.show || i("close");
},
u = function () {
i("close");
},
c = function () {
i("close"), t.switchTab({ url: "/pages/order-list/index" });
};
return function (t, o) {
return {
a: e.t(n.title),
b: e.o(c),
c: e.o(u),
d: e.sr(s, "149b6e75-0", { k: "popup" }),
e: e.o(a),
f: e.p({ type: "center", animation: !0, "is-mask-click": !1 }),
};
};
},
},
o = e._export_sfc(n, [["__scopeId", "data-v-149b6e75"]]);
wx.createComponent(o);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,37 @@
<uni-popup
bind:__l="__l"
bindchange="{{e}}"
class="r data-v-149b6e75"
uI="149b6e75-0"
uP="{{f}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{f}}"
>
<view class="content data-v-149b6e75">
<view class="wrap data-v-149b6e75">
<view class="container data-v-149b6e75">
<text class="title data-v-149b6e75">{{a}}</text>
<text class="title2 data-v-149b6e75">查看历史车况,杜绝事故车</text>
<view
bindtap="{{b}}"
class="button data-v-149b6e75"
hoverClass="default-hover-class"
hoverStayTime="100"
>
<text class="button-text data-v-149b6e75">立即查看</text>
</view>
</view>
<image
class="notice data-v-149b6e75"
src="/static/images/pic_notice.png"
></image>
</view>
<view bindtap="{{c}}" class="close data-v-149b6e75">
<image
class="close-image data-v-149b6e75"
src="/static/images/icon_close_3.png"
></image>
</view>
</view>
</uni-popup>

View File

@ -0,0 +1,72 @@
.content.data-v-149b6e75 {
align-items: center;
display: -webkit-flex;
display: flex;
flex-direction: column;
height: 1000rpx;
justify-content: center;
}
.wrap.data-v-149b6e75 {
position: relative;
}
.notice.data-v-149b6e75 {
height: 550rpx;
position: absolute;
top: -125rpx;
width: 490rpx;
}
.container.data-v-149b6e75 {
align-items: center;
background-color: #fff;
border-radius: 20rpx;
display: -webkit-flex;
display: flex;
flex-direction: column;
height: 450rpx;
margin-top: 100rpx;
padding: 40rpx;
position: relative;
width: 490rpx;
}
.title.data-v-149b6e75 {
color: #1f68e9;
font-size: 34rpx;
font-weight: 700;
margin-top: 125rpx;
position: relative;
z-index: 10;
}
.title2.data-v-149b6e75 {
color: #666;
font-size: 28rpx;
margin-top: 25rpx;
position: relative;
z-index: 10;
}
.button.data-v-149b6e75 {
align-items: center;
background-color: #1f68e9;
border-radius: 100rpx;
display: -webkit-flex;
display: flex;
height: 75rpx;
justify-content: center;
line-height: 75rpx;
margin-bottom: 10rpx;
margin-top: 50rpx;
position: relative;
width: 350rpx;
z-index: 10;
}
.button-text.data-v-149b6e75 {
color: #fff;
font-size: 30rpx;
}
.close.data-v-149b6e75 {
margin-top: 10rpx;
}
.close-image.data-v-149b6e75 {
height: 90rpx;
padding: 20rpx;
width: 90rpx;
}

View File

@ -0,0 +1,77 @@
var e = require("../../common/vendor.js"),
u = require("../../enums/index.js"),
r = require("../../utils/common.js");
require("../../service/index.js"),
require("../../utils/request.js"),
require("../../hooks/useState.js"),
require("../../store/app/index.js"),
require("../../data/index.js"),
require("../../config/index.js"),
require("../../constant/index.js"),
require("../../utils/util.js"),
require("../../utils/navigate.js"),
Array || e.resolveComponent("uni-popup")(),
Math;
var n = {
__name: "index",
props: { visible: { type: Boolean, default: !1 } },
emits: ["close", "confirm"],
setup: function (n, i) {
var t = i.emit,
o = n,
a = e.ref(null),
s = e.ref(null);
e.watch(
function () {
return o.visible;
},
function () {
o.visible
? (r.isSupportWeChatPay()
? (s.value = u.PayMethodEnum.WECHAT_PAY)
: r.isSupportAliPay && (s.value = u.PayMethodEnum.ALI_PAY),
a.value.open())
: a.value.close();
}
);
var l = function (e) {
e.show || t("close");
},
c = function () {
t("close");
},
p = function () {
t("confirm", s.value);
},
f = function (e) {
s.value = e.detail.value;
};
return function (n, i) {
return e.e(
{ a: e.o(c), b: e.unref(r.isSupportWeChatPay)() },
e.unref(r.isSupportWeChatPay)()
? {
c: e.unref(u.PayMethodEnum).WECHAT_PAY,
d: s.value === e.unref(u.PayMethodEnum).WECHAT_PAY,
}
: {},
{ e: e.unref(r.isSupportAliPay)() },
e.unref(r.isSupportAliPay)()
? {
f: e.unref(u.PayMethodEnum).ALI_PAY,
g: s.value === e.unref(u.PayMethodEnum).ALI_PAY,
}
: {},
{
h: e.o(f),
i: e.o(p),
j: e.sr(a, "c238c94e-0", { k: "popup" }),
k: e.o(l),
l: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
}
);
};
},
},
i = e._export_sfc(n, [["__scopeId", "data-v-c238c94e"]]);
wx.createComponent(i);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,55 @@
<uni-popup
bind:__l="__l"
bindchange="{{k}}"
class="r data-v-c238c94e"
uI="c238c94e-0"
uP="{{l}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{l}}"
>
<view class="content data-v-c238c94e">
<image
bindtap="{{a}}"
class="close data-v-c238c94e"
src="/static/svgs/icon_close_2.svg"
></image>
<view class="title data-v-c238c94e">支付订单</view>
<radio-group bindchange="{{h}}" class="pay-group data-v-c238c94e">
<label class="data-v-c238c94e" wx:if="{{b}}">
<image
class="data-v-c238c94e"
src="/static/images/logo_wechat.png"
></image>
<text class="pay-name data-v-c238c94e">微信支付</text>
<radio
checked="{{d}}"
class="data-v-c238c94e"
color="#FA5E29"
value="{{c}}"
></radio>
</label>
<label class="data-v-c238c94e" wx:if="{{e}}">
<image
class="data-v-c238c94e"
src="/static/images/logo_alipay.png"
></image>
<text class="pay-name data-v-c238c94e">支付宝支付</text>
<radio
checked="{{g}}"
class="data-v-c238c94e"
color="#FA5E29"
value="{{f}}"
></radio>
</label>
</radio-group>
<view
bindtap="{{i}}"
class="button data-v-c238c94e"
hoverClass="default-ihover-class"
hoverStayTime="100"
>
确认支付
</view>
</view>
</uni-popup>

View File

@ -0,0 +1,69 @@
.content.data-v-c238c94e {
align-items: center;
background-color: #fff;
border-radius: 20rpx;
display: -webkit-flex;
display: flex;
flex-direction: column;
padding: 0 40rpx;
width: 600rpx;
}
.content .close.data-v-c238c94e {
height: 30rpx;
padding: 20rpx;
position: absolute;
right: 20rpx;
top: 20rpx;
width: 30rpx;
}
.content .title.data-v-c238c94e {
font-size: 32rpx;
font-weight: 700;
height: 120rpx;
line-height: 120rpx;
}
.content .pay-group.data-v-c238c94e {
flex-direction: column;
font-size: 32rpx;
}
.content .pay-group label.data-v-c238c94e,
.content .pay-group.data-v-c238c94e {
align-items: center;
display: -webkit-flex;
display: flex;
width: 100%;
}
.content .pay-group label.data-v-c238c94e {
border-bottom: 2rpx solid #f2f2f2;
justify-content: space-between;
padding: 25rpx 0;
}
.content .pay-group label image.data-v-c238c94e {
flex-shrink: 0;
height: 56rpx;
width: 56rpx;
}
.content .pay-group label text.data-v-c238c94e {
flex-grow: 1;
font-size: 30rpx;
margin-left: 30rpx;
}
.content .button.data-v-c238c94e {
align-items: center;
background-color: #1f68e9;
border-radius: 100rpx;
color: #fff;
display: -webkit-flex;
display: flex;
font-size: 30rpx;
font-weight: 700;
height: 80rpx;
justify-content: center;
margin: 50rpx 0;
text-align: center;
width: 100%;
}
radio.data-v-c238c94e {
flex-shrink: 0;
transform: scale(0.8);
}

View File

@ -0,0 +1,40 @@
var e = require("../../common/vendor.js");
Array || e.resolveComponent("uni-popup")(), Math;
var n = {
__name: "index",
props: { visible: { type: Boolean, default: !1 } },
emits: ["cancel", "confirm"],
setup: function (n, o) {
var t = o.emit,
a = n,
c = e.ref(null);
e.watch(
function () {
return a.visible;
},
function () {
a.visible ? c.value.open() : c.value.close();
}
);
var i = function (e) {
e.show || t("cancel");
},
r = function () {
t("cancel");
},
u = function () {
t("confirm");
};
return function (n, o) {
return {
a: e.o(r),
b: e.o(u),
c: e.sr(c, "58a85bba-0", { k: "popup" }),
d: e.o(i),
e: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
};
};
},
},
o = e._export_sfc(n, [["__scopeId", "data-v-58a85bba"]]);
wx.createComponent(o);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@ -0,0 +1,35 @@
<uni-popup
bind:__l="__l"
bindchange="{{d}}"
class="r data-v-58a85bba"
uI="58a85bba-0"
uP="{{e}}"
uR="popup"
uS="{{['d']}}"
wx:if="{{e}}"
>
<view class="content data-v-58a85bba">
<view class="title data-v-58a85bba">提示</view>
<view class="txt data-v-58a85bba"
>非常建议您上传行驶证提高报告的精准度。同时您作为查询服务的发起方,应确保被查询车辆与您相关或已获取车主授权,且不侵犯任何第三方利益。</view
>
<view class="popup-buttons data-v-58a85bba">
<view
bindtap="{{a}}"
class="button data-v-58a85bba"
hoverClass="hover-class"
hoverStayTime="100"
>
我再想想
</view>
<view
bindtap="{{b}}"
class="button data-v-58a85bba"
hoverClass="hover-class"
hoverStayTime="100"
>
确认查询
</view>
</view>
</view>
</uni-popup>

View File

@ -0,0 +1,45 @@
.content.data-v-58a85bba {
background-color: #fff;
border-radius: 20rpx;
margin-bottom: 15vh;
overflow: hidden;
width: 625rpx;
}
.content .title.data-v-58a85bba {
color: #333;
font-size: 32rpx;
font-weight: 700;
margin: 50rpx 0 40rpx;
text-align: center;
}
.content .txt.data-v-58a85bba {
color: #8a8a8a;
font-size: 30rpx;
line-height: 46rpx;
margin-bottom: 30rpx;
padding: 0 55rpx;
}
.content .popup-buttons.data-v-58a85bba {
align-items: center;
border-top: 2rpx solid #f2f2f2;
display: -webkit-flex;
display: flex;
margin-top: 40rpx;
}
.content .popup-buttons .button.data-v-58a85bba {
flex-grow: 1;
font-size: 32rpx;
font-weight: 700;
padding: 30rpx;
text-align: center;
}
.content .popup-buttons .button.data-v-58a85bba:nth-child(1) {
border-right: 2rpx solid #f2f2f2;
color: #333;
}
.content .popup-buttons .button.data-v-58a85bba:nth-child(2) {
color: #1f68e9;
}
.hover-class.data-v-58a85bba {
background-color: #e5e5e5;
}

View File

@ -0,0 +1,10 @@
var e = require("../../common/vendor.js")._export_sfc({}, [
[
"render",
function (e, r) {
return {};
},
],
["__scopeId", "data-v-42b6c56e"],
]);
wx.createComponent(e);

View File

@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@ -0,0 +1,3 @@
<view class="content data-v-42b6c56e">
查到的报告可能与本样例有所不同,请以实际报告为准。
</view>

Some files were not shown because too many files have changed in this diff Show More