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,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>

View File

@@ -0,0 +1,6 @@
.content.data-v-42b6c56e {
background-color: #fffbe8;
color: #ed6a0c;
font-size: 26rpx;
padding: 20rpx;
}

View File

@@ -0,0 +1,64 @@
var e = require("../../common/vendor.js"),
t = require("../../enums/index.js"),
n = {
__name: "index",
props: {
data: { type: Array, default: [] },
type: { type: String, default: "" },
},
setup: function (n) {
return function (a, r) {
return {
a: e.f(n.data, function (a, r, i) {
return e.e(
{ a: r !== n.data.length - 1 && n.data.length > 1 },
(r !== n.data.length - 1 && n.data.length, {}),
n.type === e.unref(t.TimeLineEnum).MILEAGE
? e.e(
{
b: e.t(a.date),
c: e.t(a.mile),
d: a.important ? 1 : "",
e: a.important,
},
(a.important, {}),
{ f: r === n.data.length - 1 ? 1 : "" }
)
: {},
n.type === e.unref(t.TimeLineEnum).RECORD
? e.e(
{ g: e.t(a.date), h: a.amount },
a.amount ? { i: e.t(a.amount) } : {},
{ j: a.mile },
a.mile ? { k: e.t(a.mile) } : {},
{ l: a.detail || a.other },
a.detail || a.other
? { m: e.t(a.detail || "-"), n: e.t(a.other || "-") }
: {},
{ o: a.type || a.remark },
a.type || a.remark
? { p: e.t(a.type || "-"), q: e.t(a.remark || "-") }
: {}
)
: {},
n.type === e.unref(t.TimeLineEnum).VIOLATION
? {
r: e.t(a.date),
s: e.t(a.location),
t: e.t(a.reason),
v: e.t(a.score),
w: e.t(a.pay),
}
: {},
{ x: r }
);
}),
b: n.type === e.unref(t.TimeLineEnum).MILEAGE,
c: n.type === e.unref(t.TimeLineEnum).RECORD,
d: n.type === e.unref(t.TimeLineEnum).VIOLATION,
};
};
},
},
a = e._export_sfc(n, [["__scopeId", "data-v-03179962"]]);
wx.createComponent(a);

View File

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

View File

@@ -0,0 +1,88 @@
<view class="content data-v-03179962">
<view class="item data-v-03179962" wx:for="{{a}}" wx:key="x">
<view class="dot data-v-03179962"></view>
<view class="tail data-v-03179962" wx:if="{{item.a}}"></view>
<view class="body data-v-03179962">
<view
class="{{['mileage-content','data-v-03179962',item.f&&'last']}}"
wx:if="{{b}}"
>
<view class="date data-v-03179962">{{item.b}}</view>
<view class="{{['unit','data-v-03179962',item.d&&'important']}}"
>{{item.c}}公里
</view>
<image
class="wraning data-v-03179962"
src="/static/svgs/icon_warning_1.svg"
wx:if="{{item.e}}"
></image>
</view>
<view class="record-content data-v-03179962" wx:if="{{c}}">
<view class="title data-v-03179962">
<view class="data-v-03179962">{{item.g}}</view>
<view class="data-v-03179962" wx:if="{{item.h}}">{{item.i}}元</view>
<view class="data-v-03179962" wx:if="{{item.j}}">{{item.k}}公里</view>
</view>
<view class="record-info data-v-03179962" wx:if="{{item.l}}">
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>明细:</text
>
{{item.m}}</text
>
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>材料:</text
>
{{item.n}}</text
>
</view>
<view class="record-info data-v-03179962" wx:if="{{item.o}}">
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>类型:</text
>
{{item.p}}</text
>
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>备注:</text
>
{{item.q}}</text
>
</view>
</view>
<view class="record-content data-v-03179962" wx:if="{{d}}">
<view class="title data-v-03179962">
<view class="data-v-03179962">{{item.r}}</view>
</view>
<view class="record-info data-v-03179962">
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>地点:</text
>
{{item.s}}</text
>
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>原因:</text
>
{{item.t}}</text
>
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>扣分:</text
>
{{item.v}}</text
>
<text class="data-v-03179962">
<text class="data-v-03179962" style="font-weight: bold"
>付款:</text
>
{{item.w}}</text
>
</view>
</view>
</view>
</view>
</view>

View File

@@ -0,0 +1,89 @@
.content.data-v-03179962 {
padding-top: 40rpx;
}
.content .item.data-v-03179962 {
align-items: flex-start;
display: -webkit-flex;
display: flex;
overflow: visible;
position: relative;
}
.content .item .dot.data-v-03179962 {
background-color: #1f68e9;
border-radius: 100%;
height: 20rpx;
left: 0;
position: absolute;
top: 10rpx;
width: 20rpx;
z-index: 10;
}
.content .item .tail.data-v-03179962 {
background-color: #e4e7ed;
height: 100%;
left: 8rpx;
position: absolute;
top: 20rpx;
width: 4rpx;
z-index: 9;
}
.content .item .body.data-v-03179962 {
font-size: 30rpx;
margin-left: 10rpx;
width: 100%;
}
.content .item .body .mileage-content.data-v-03179962 {
align-items: center;
display: -webkit-flex;
display: flex;
justify-content: space-between;
padding-bottom: 30rpx;
padding-left: 30rpx;
position: relative;
}
.content .item .body .mileage-content.last.data-v-03179962 {
padding-bottom: 0;
}
.content .item .body .mileage-content .date.data-v-03179962 {
color: #9a9a9a;
}
.content .item .body .mileage-content .unit.data-v-03179962 {
color: #000;
}
.content .item .body .mileage-content .unit.important.data-v-03179962 {
color: #ff7038;
}
.content .item .body .mileage-content .wraning.data-v-03179962 {
height: 28rpx;
left: 210rpx;
position: absolute;
top: 5rpx;
width: 28rpx;
}
.content .item .body .record-content.data-v-03179962 {
font-size: 30rpx;
padding-bottom: 30rpx;
padding-left: 30rpx;
}
.content .item .body .record-content .title.data-v-03179962 {
align-items: center;
color: #515151;
display: -webkit-flex;
display: flex;
font-weight: 700;
justify-content: space-between;
}
.content .item .body .record-content .record-info.data-v-03179962 {
background-color: #eaf1f8;
border-radius: 6rpx;
color: #515151;
display: -webkit-flex;
display: flex;
flex-direction: column;
line-height: 42rpx;
margin-top: 20rpx;
padding: 20rpx;
}
.content .item .body .record-content .record-info .title.data-v-03179962 {
font-weight: 700;
}

10
components/tips/index.js Normal file
View File

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

View File

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

View File

@@ -0,0 +1,6 @@
<view class="content data-v-1cadef20">
<view class="blank data-v-1cadef20"></view>
<view class="info data-v-1cadef20"
>用户通知:查询需车主本人/经过车主授权同意才可使用,若未经车主同意使用,需自行承担因此导致的法律责任。</view
>
</view>

View File

@@ -0,0 +1,27 @@
.content.data-v-1cadef20 {
height: 120rpx;
position: relative;
}
.content .blank.data-v-1cadef20 {
background-color: #fff9ea;
z-index: 1;
}
.content .blank.data-v-1cadef20,
.content .info.data-v-1cadef20 {
height: 120rpx;
left: -30rpx;
position: absolute;
top: -30rpx;
width: 750rpx;
}
.content .info.data-v-1cadef20 {
align-items: center;
background-color: #fffbe8;
color: #ed6a0c;
display: -webkit-flex;
display: flex;
font-size: 28rpx;
justify-content: center;
padding: 0 18rpx;
z-index: 2;
}

View File

@@ -0,0 +1,28 @@
var t = require("../../common/vendor.js"),
e = {
__name: "index",
props: {
data: { type: String, default: "" },
fontSize: { type: String, default: "28rpx" },
},
setup: function (e) {
return function (a, r) {
return t.e(
{ a: e.data.trim().length < 7 },
e.data.trim().length < 7
? { b: t.t(e.data.trim()) }
: {
c: t.t(e.data.trim().substring(0, 2)),
d: t.t(e.data.trim().substring(2)),
},
{
e: e.data.trim().length > 7 ? 1 : "",
f: e.data.trim().length < 7 ? 1 : "",
g: e.fontSize,
}
);
};
},
},
a = t._export_sfc(e, [["__scopeId", "data-v-78f4d0b2"]]);
wx.createComponent(a);

View File

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

View File

@@ -0,0 +1,7 @@
<view
class="{{['number','data-v-78f4d0b2',e&&'new',f&&'abnormal']}}"
style="{{'font-size:'+g}}"
>
<view class="data-v-78f4d0b2" wx:if="{{a}}">{{b}}</view>
<view class="data-v-78f4d0b2" wx:else>{{c}}·{{d}}</view>
</view>

View File

@@ -0,0 +1,15 @@
.number.data-v-78f4d0b2 {
background: #2862c7;
border-radius: 8rpx;
color: #fff;
padding: 5rpx 10rpx;
text-align: center;
}
.number.new.data-v-78f4d0b2 {
background: linear-gradient(180deg, #ebebe7, #03b022);
color: #000;
}
.number.abnormal.data-v-78f4d0b2 {
background: #dbdbdb;
color: #000;
}