no message
This commit is contained in:
477
pages/order-list/index.js
Normal file
477
pages/order-list/index.js
Normal file
@@ -0,0 +1,477 @@
|
||||
var e = require("../../common/vendor.js"),
|
||||
u = require("../../hooks/onMounted.js"),
|
||||
t = require("../../hooks/onShow.js"),
|
||||
n = require("../../hooks/onShareAppMessage.js"),
|
||||
r = require("../../service/index.js"),
|
||||
o = require("../../enums/index.js"),
|
||||
a = require("../../utils/util.js"),
|
||||
s = require("../../utils/navigate.js"),
|
||||
i = require("../../utils/common.js");
|
||||
require("../../hooks/useState.js"),
|
||||
require("../../store/app/index.js"),
|
||||
require("../../data/index.js"),
|
||||
require("../../config/index.js"),
|
||||
require("../../constant/index.js"),
|
||||
require("../../utils/request.js"),
|
||||
Array || e.resolveComponent("uni-load-more")();
|
||||
Math ||
|
||||
(
|
||||
e.unref(v) +
|
||||
function () {
|
||||
return "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
|
||||
} +
|
||||
e.unref(p) +
|
||||
e.unref(f) +
|
||||
e.unref(l) +
|
||||
e.unref(d) +
|
||||
e.unref(c)
|
||||
)();
|
||||
var d = function () {
|
||||
return "../../components/popup-upload-tips/index.js";
|
||||
},
|
||||
c = function () {
|
||||
return "../../components/popup-pay-again/index.js";
|
||||
},
|
||||
f = function () {
|
||||
return "../../components/float-refresh/index.js";
|
||||
},
|
||||
l = function () {
|
||||
return "../../components/float-back-to-top/index.js";
|
||||
},
|
||||
p = function () {
|
||||
return "../../components/empty/index.js";
|
||||
},
|
||||
v = function () {
|
||||
return "../../components/vehicle-number/index.js";
|
||||
},
|
||||
m = {
|
||||
__name: "index",
|
||||
setup: function (d) {
|
||||
var c = e.ref(!0),
|
||||
f = e.ref(!1),
|
||||
l = e.ref(!1),
|
||||
p = e.ref(1),
|
||||
v = e.ref(o.PageStatusEnum.LOADING),
|
||||
m = e.ref([]),
|
||||
E = e.ref(!1),
|
||||
_ = e.ref(!1),
|
||||
S = e.ref(!1),
|
||||
g = e.ref(null),
|
||||
N = function () {
|
||||
var e = _.value || S.value;
|
||||
return "height: 100%; overflow: "
|
||||
.concat(e ? "hidden" : "visible", "; position: ")
|
||||
.concat(e ? "fixed" : "relative");
|
||||
},
|
||||
h = function (u) {
|
||||
return e._.find(u.productList, function (e) {
|
||||
return e.status === o.ProductStatusEnum.TO_BE_UPLOADED;
|
||||
});
|
||||
},
|
||||
P = function (e) {
|
||||
var u = e.order_no,
|
||||
t = e.product_id,
|
||||
n = e.status;
|
||||
i.openReport({ orderNo: u, productId: t, status: n });
|
||||
},
|
||||
I = function () {
|
||||
a.showToast("已经帮您催了,请耐心等待一会儿...");
|
||||
},
|
||||
A = function () {
|
||||
i.queryWithoutDrivingLicense({ orderNo: g.value.order_no }).then(
|
||||
function () {
|
||||
s.navigateTo({ url: "/pages/upload-success/index" }),
|
||||
(_.value = !1);
|
||||
}
|
||||
);
|
||||
},
|
||||
T = function () {
|
||||
_.value = !1;
|
||||
},
|
||||
O = function () {
|
||||
S.value = !1;
|
||||
},
|
||||
x = function (e) {
|
||||
y(e), (S.value = !1);
|
||||
},
|
||||
y = function (e) {
|
||||
a.showLoading("支付中"),
|
||||
r
|
||||
.payOrderAgain({ payMethod: e, order_no: g.value.order_no })
|
||||
.then(function (u) {
|
||||
i.payForOrder({ payMethod: e, data: u })
|
||||
.then(function (e) {
|
||||
var u = e.orderNo;
|
||||
s.navigateTo({
|
||||
url: "/pages/pay-success/index",
|
||||
params: { orderNo: u },
|
||||
});
|
||||
})
|
||||
.catch(function (e) {
|
||||
var u = e.orderNo;
|
||||
s.navigateTo({
|
||||
url: "/pages/pay-fail/index",
|
||||
params: { orderNo: u },
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
D = function () {
|
||||
return v.value === o.PageStatusEnum.NOMORE
|
||||
? Promise.resolve()
|
||||
: ((v.value = o.PageStatusEnum.LOADING),
|
||||
r
|
||||
.getOrderList({ page: p.value, status: 0 })
|
||||
.then(function (u) {
|
||||
var t = u.data,
|
||||
n = u.per_page;
|
||||
0 === t.length && 0 === m.value.length
|
||||
? (l.value = !0)
|
||||
: ((l.value = !1),
|
||||
t.length < n && (v.value = o.PageStatusEnum.NOMORE),
|
||||
1 === p.value
|
||||
? (m.value = t)
|
||||
: (m.value = e._.concat(m.value, t)));
|
||||
})
|
||||
.catch(function () {
|
||||
l.value = !0;
|
||||
})
|
||||
.finally(function () {
|
||||
a.hideLoading(), e.index.stopPullDownRefresh();
|
||||
}));
|
||||
},
|
||||
L = function () {
|
||||
a.showLoading(),
|
||||
(E.value = !0),
|
||||
(v.value = ""),
|
||||
(p.value = 1),
|
||||
D().then(function () {
|
||||
(E.value = !1),
|
||||
a.hideLoading(),
|
||||
e.index.stopPullDownRefresh(),
|
||||
e.index.pageScrollTo({ scrollTop: 0, duration: 100 });
|
||||
});
|
||||
};
|
||||
return (
|
||||
u.onMounted(function () {
|
||||
e.index.$on("updateOrderList", function (u) {
|
||||
return (function (u) {
|
||||
var t = e._.findIndex(m.value, function (e) {
|
||||
return e.order_no === u;
|
||||
});
|
||||
-1 === t
|
||||
? L()
|
||||
: r.getOrderDetail({ order_no: u }).then(function (e) {
|
||||
var u = m.value[t];
|
||||
(u.vin = e.vin),
|
||||
(u.car_no = e.car_no),
|
||||
(u.status = e.status),
|
||||
(u.productList = e.productList),
|
||||
(m.value[t] = u);
|
||||
});
|
||||
})(u);
|
||||
}),
|
||||
D().then(function () {
|
||||
(c.value = !1),
|
||||
a.hideLoading(),
|
||||
e.index.pageScrollTo({ scrollTop: 0, duration: 100 });
|
||||
});
|
||||
}),
|
||||
e.onPullDownRefresh(function () {
|
||||
L();
|
||||
}),
|
||||
e.onReachBottom(function () {
|
||||
p.value++, D();
|
||||
}),
|
||||
e.onPageScroll(function (u) {
|
||||
var t = u.scrollTop;
|
||||
f.value = t >= e.index.getSystemInfoSync().windowHeight / 3;
|
||||
}),
|
||||
t.onShow(),
|
||||
n.onShareAppMessage(),
|
||||
function (u, t) {
|
||||
return e.e(
|
||||
{ a: N(), b: !c.value },
|
||||
c.value
|
||||
? {}
|
||||
: e.e(
|
||||
{ c: !l.value },
|
||||
l.value
|
||||
? {}
|
||||
: {
|
||||
d: e.f(m.value, function (u, t, n) {
|
||||
return e.e(
|
||||
{
|
||||
a: e.t(
|
||||
e.unref(i.getProduct)(u.product_id).product_name
|
||||
),
|
||||
b: u.status === e.unref(o.OrderStatusEnum).UNPAID,
|
||||
},
|
||||
(u.status, e.unref(o.OrderStatusEnum).UNPAID, {}),
|
||||
{ c: u.status === e.unref(o.OrderStatusEnum).PAID },
|
||||
u.status === e.unref(o.OrderStatusEnum).PAID
|
||||
? {
|
||||
d: e.t(
|
||||
e.unref(i.getOrderStatus)(u.productList)
|
||||
),
|
||||
}
|
||||
: {},
|
||||
{
|
||||
e: u.status === e.unref(o.OrderStatusEnum).REFUND,
|
||||
},
|
||||
(u.status, e.unref(o.OrderStatusEnum).REFUND, {}),
|
||||
{
|
||||
f:
|
||||
u.status ===
|
||||
e.unref(o.OrderStatusEnum).COMPLETE,
|
||||
},
|
||||
(u.status, e.unref(o.OrderStatusEnum).COMPLETE, {}),
|
||||
{ g: e.t(u.order_no), h: u.car_name },
|
||||
u.car_name ? { i: e.t(u.car_name) } : {},
|
||||
{ j: u.car_no },
|
||||
u.car_no
|
||||
? {
|
||||
k: "2f990aa7-0-" + n,
|
||||
l: e.p({ data: u.car_no }),
|
||||
}
|
||||
: {},
|
||||
{ m: u.vin },
|
||||
u.vin
|
||||
? {
|
||||
n: e.t(
|
||||
(u.vin || "")
|
||||
.toString()
|
||||
.replace(/^(.{5}).{6}/, "$1******")
|
||||
),
|
||||
}
|
||||
: {},
|
||||
{ o: e.t(u.create_time), p: u.productList },
|
||||
u.productList
|
||||
? {
|
||||
q: e.f(u.productList, function (t, r, a) {
|
||||
return e.e(
|
||||
{
|
||||
a: e.t(
|
||||
e.unref(i.getProduct)(t.product_id)
|
||||
.product_name
|
||||
),
|
||||
b: e.t(
|
||||
e.unref(i.getProduct)(t.product_id)
|
||||
.product_desc
|
||||
),
|
||||
c:
|
||||
u.status !==
|
||||
e.unref(o.OrderStatusEnum).REFUND &&
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.IN_QUERY,
|
||||
},
|
||||
u.status !==
|
||||
e.unref(o.OrderStatusEnum).REFUND &&
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum).IN_QUERY
|
||||
? {
|
||||
d: "2f990aa7-1-" + n + "-" + a,
|
||||
e: e.p({
|
||||
iconType: "snow",
|
||||
iconSize: 20,
|
||||
status: "loading",
|
||||
showText: !1,
|
||||
}),
|
||||
}
|
||||
: {},
|
||||
u.status !==
|
||||
e.unref(o.OrderStatusEnum).REFUND
|
||||
? e.e(
|
||||
{
|
||||
f:
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.SUCCESS,
|
||||
},
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.SUCCESS
|
||||
? {
|
||||
g: e.o(function (e) {
|
||||
return P(t);
|
||||
}, t.id),
|
||||
}
|
||||
: {},
|
||||
{
|
||||
h:
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.FAIL &&
|
||||
(t.product_id ==
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.INSURANCE_MAINTAIN ||
|
||||
t.product_id ===
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.ACCIDENT),
|
||||
},
|
||||
t.status !==
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.FAIL ||
|
||||
(t.product_id !=
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.INSURANCE_MAINTAIN &&
|
||||
t.product_id !==
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.ACCIDENT)
|
||||
? {}
|
||||
: {
|
||||
i: e.o(function (e) {
|
||||
return P(t);
|
||||
}, t.id),
|
||||
},
|
||||
{
|
||||
j:
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.IN_QUERY,
|
||||
},
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.IN_QUERY
|
||||
? { k: e.o(I, t.id) }
|
||||
: {},
|
||||
{
|
||||
l:
|
||||
t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.FAIL &&
|
||||
t.product_id !==
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.INSURANCE_MAINTAIN &&
|
||||
t.product_id !==
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.ACCIDENT,
|
||||
},
|
||||
(t.status ===
|
||||
e.unref(o.ProductStatusEnum)
|
||||
.FAIL &&
|
||||
t.product_id !==
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.INSURANCE_MAINTAIN &&
|
||||
(t.product_id,
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.ACCIDENT),
|
||||
{})
|
||||
)
|
||||
: {},
|
||||
{ m: t.id }
|
||||
);
|
||||
}),
|
||||
r:
|
||||
u.status !==
|
||||
e.unref(o.OrderStatusEnum).REFUND,
|
||||
}
|
||||
: {},
|
||||
{
|
||||
s: u.status !== e.unref(o.OrderStatusEnum).REFUND,
|
||||
},
|
||||
u.status !== e.unref(o.OrderStatusEnum).REFUND
|
||||
? e.e(
|
||||
{
|
||||
t:
|
||||
u.status ===
|
||||
e.unref(o.OrderStatusEnum).UNPAID,
|
||||
},
|
||||
u.status === e.unref(o.OrderStatusEnum).UNPAID
|
||||
? {
|
||||
v: e.o(function (e) {
|
||||
return (
|
||||
(t = u),
|
||||
(g.value = t),
|
||||
void y(o.PayMethodEnum.WECHAT_PAY)
|
||||
);
|
||||
var t;
|
||||
}, u.order_no),
|
||||
}
|
||||
: {},
|
||||
{ w: h(u) },
|
||||
h(u)
|
||||
? e.e(
|
||||
{
|
||||
x: e.o(function (e) {
|
||||
return (
|
||||
(t = u),
|
||||
void i
|
||||
.chooseDrivingLicense({
|
||||
orderNo: t.order_no,
|
||||
})
|
||||
.then(function () {
|
||||
s.navigateTo({
|
||||
url: "/pages/upload-success/index",
|
||||
});
|
||||
})
|
||||
);
|
||||
var t;
|
||||
}, u.order_no),
|
||||
y:
|
||||
u.vin ||
|
||||
u.type ===
|
||||
e.unref(o.ProductTypeEnum)
|
||||
.VIOLATION,
|
||||
},
|
||||
u.vin ||
|
||||
u.type ===
|
||||
e.unref(o.ProductTypeEnum).VIOLATION
|
||||
? {
|
||||
z: e.o(function (e) {
|
||||
return (
|
||||
(t = u),
|
||||
(_.value = !0),
|
||||
void (g.value = t)
|
||||
);
|
||||
var t;
|
||||
}, u.order_no),
|
||||
}
|
||||
: {}
|
||||
)
|
||||
: {}
|
||||
)
|
||||
: {},
|
||||
{
|
||||
A: u.order_no,
|
||||
B: e.o(function (e) {
|
||||
return (function (e) {
|
||||
var u = e.order_no,
|
||||
t = e.product_id;
|
||||
s.navigateTo({
|
||||
url: "/pages/order-detail/index",
|
||||
params: {
|
||||
orderNo: u,
|
||||
productName: i.getProduct(t).product_name,
|
||||
},
|
||||
});
|
||||
})(u);
|
||||
}, u.order_no),
|
||||
}
|
||||
);
|
||||
}),
|
||||
e: m.value.length,
|
||||
f: e.p({ iconType: "snow", status: v.value }),
|
||||
},
|
||||
{ g: l.value },
|
||||
l.value ? { h: e.p({ info: "暂无订单记录" }) } : {},
|
||||
{
|
||||
i: e.o(L),
|
||||
j: e.p({ loading: E.value }),
|
||||
k: e.p({ visible: f.value }),
|
||||
l: e.o(T),
|
||||
m: e.o(A),
|
||||
n: e.p({ visible: _.value }),
|
||||
o: e.o(O),
|
||||
p: e.o(x),
|
||||
q: e.p({ visible: S.value }),
|
||||
}
|
||||
)
|
||||
);
|
||||
}
|
||||
);
|
||||
},
|
||||
},
|
||||
E = e._export_sfc(m, [["__scopeId", "data-v-2f990aa7"]]);
|
||||
(m.__runtimeHooks = 3), wx.createPage(E);
|
||||
14
pages/order-list/index.json
Normal file
14
pages/order-list/index.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单",
|
||||
"enablePullDownRefresh": true,
|
||||
"onReachBottomDistance": 50,
|
||||
"usingComponents": {
|
||||
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more",
|
||||
"popup-upload-tips": "../../components/popup-upload-tips/index",
|
||||
"popup-pay-again": "../../components/popup-pay-again/index",
|
||||
"float-refresh": "../../components/float-refresh/index",
|
||||
"float-back-to-top": "../../components/float-back-to-top/index",
|
||||
"empty": "../../components/empty/index",
|
||||
"vehicle-number": "../../components/vehicle-number/index"
|
||||
}
|
||||
}
|
||||
209
pages/order-list/index.wxml
Normal file
209
pages/order-list/index.wxml
Normal file
@@ -0,0 +1,209 @@
|
||||
<page-meta class="data-v-2f990aa7" pageStyle="{{a}}"></page-meta>
|
||||
<view class="content data-v-2f990aa7" wx:if="{{b}}">
|
||||
<view class="data-v-2f990aa7" wx:if="{{c}}">
|
||||
<view
|
||||
bindtap="{{item.B}}"
|
||||
class="order data-v-2f990aa7"
|
||||
wx:for="{{d}}"
|
||||
wx:key="A"
|
||||
>
|
||||
<view class="title-content data-v-2f990aa7">
|
||||
<view class="product-name data-v-2f990aa7">{{item.a}}</view>
|
||||
<view class="status type1 data-v-2f990aa7" wx:if="{{item.b}}"
|
||||
>待付款</view
|
||||
>
|
||||
<view class="status type4 data-v-2f990aa7" wx:if="{{item.c}}">
|
||||
已付款{{item.d}}</view
|
||||
>
|
||||
<view class="status type3 data-v-2f990aa7" wx:if="{{item.e}}"
|
||||
>已退款</view
|
||||
>
|
||||
<view class="status type4 data-v-2f990aa7" wx:if="{{item.f}}"
|
||||
>已完成</view
|
||||
>
|
||||
</view>
|
||||
<view class="desc data-v-2f990aa7">
|
||||
<text class="label data-v-2f990aa7">订单编号:</text>
|
||||
<text class="value data-v-2f990aa7">{{item.g}}</text>
|
||||
</view>
|
||||
<view class="desc data-v-2f990aa7" wx:if="{{item.h}}">
|
||||
<text class="label data-v-2f990aa7">车辆型号:</text>
|
||||
<text class="value data-v-2f990aa7">{{item.i}}</text>
|
||||
</view>
|
||||
<view class="desc data-v-2f990aa7" wx:if="{{item.j}}">
|
||||
<text class="label data-v-2f990aa7">车牌号码:</text>
|
||||
<vehicle-number
|
||||
bind:__l="__l"
|
||||
class="data-v-2f990aa7"
|
||||
uI="{{item.k}}"
|
||||
uP="{{item.l}}"
|
||||
wx:if="{{item.l}}"
|
||||
></vehicle-number>
|
||||
</view>
|
||||
<view class="desc data-v-2f990aa7" wx:if="{{item.m}}">
|
||||
<text class="label data-v-2f990aa7">VIN 号码:</text>
|
||||
<text class="value vin data-v-2f990aa7">{{item.n}}</text>
|
||||
</view>
|
||||
<view class="desc data-v-2f990aa7">
|
||||
<text class="label data-v-2f990aa7">下单时间:</text>
|
||||
<text class="value data-v-2f990aa7">{{item.o}}</text>
|
||||
</view>
|
||||
<view class="product-list data-v-2f990aa7" wx:if="{{item.p}}">
|
||||
<view
|
||||
class="product data-v-2f990aa7"
|
||||
wx:for="{{item.q}}"
|
||||
wx:for-item="product"
|
||||
wx:key="m"
|
||||
>
|
||||
<view class="product-wrap data-v-2f990aa7">
|
||||
<view class="product-content data-v-2f990aa7">
|
||||
<view class="product-name data-v-2f990aa7">{{product.a}}</view>
|
||||
<view class="product-desc data-v-2f990aa7">{{product.b}}</view>
|
||||
<view class="loading data-v-2f990aa7" wx:if="{{product.c}}">
|
||||
<uni-load-more
|
||||
bind:__l="__l"
|
||||
class="data-v-2f990aa7"
|
||||
uI="{{product.d}}"
|
||||
uP="{{product.e}}"
|
||||
wx:if="{{product.e}}"
|
||||
></uni-load-more>
|
||||
</view>
|
||||
</view>
|
||||
<view class="data-v-2f990aa7" wx:if="{{item.r}}">
|
||||
<view
|
||||
class="button-content data-v-2f990aa7"
|
||||
wx:if="{{product.f}}"
|
||||
>
|
||||
<view
|
||||
catchtap="{{product.g}}"
|
||||
class="button type1 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
查看报告
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
class="button-content data-v-2f990aa7"
|
||||
wx:if="{{product.h}}"
|
||||
>
|
||||
<view
|
||||
catchtap="{{product.i}}"
|
||||
class="button type1 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
查看报告
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
class="button-content data-v-2f990aa7"
|
||||
wx:if="{{product.j}}"
|
||||
>
|
||||
<view
|
||||
catchtap="{{product.k}}"
|
||||
class="button type2 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
我要催单
|
||||
</view>
|
||||
<view class="button type4 data-v-2f990aa7"
|
||||
>正在查询中,请耐心等待</view
|
||||
>
|
||||
</view>
|
||||
<view
|
||||
class="button-content data-v-2f990aa7"
|
||||
wx:if="{{product.l}}"
|
||||
>
|
||||
<view class="button type3 data-v-2f990aa7"
|
||||
>查询失败,请联系客服</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-content data-v-2f990aa7" wx:if="{{item.s}}">
|
||||
<view
|
||||
catchtap="{{item.v}}"
|
||||
class="button type1 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
wx:if="{{item.t}}"
|
||||
>
|
||||
去付款
|
||||
</view>
|
||||
<block wx:if="{{item.w}}">
|
||||
<view
|
||||
catchtap="{{item.x}}"
|
||||
class="button type2 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
上传行驶证
|
||||
</view>
|
||||
<view
|
||||
catchtap="{{item.z}}"
|
||||
class="button type3 data-v-2f990aa7"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
wx:if="{{item.y}}"
|
||||
>
|
||||
无法提供行驶证
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="loading-content data-v-2f990aa7">
|
||||
<uni-load-more
|
||||
bind:__l="__l"
|
||||
class="data-v-2f990aa7"
|
||||
data-c-h="{{!e}}"
|
||||
uI="2f990aa7-2"
|
||||
uP="{{f}}"
|
||||
wx:if="{{f}}"
|
||||
></uni-load-more>
|
||||
</view>
|
||||
</view>
|
||||
<empty
|
||||
bind:__l="__l"
|
||||
class="data-v-2f990aa7"
|
||||
uI="2f990aa7-3"
|
||||
uP="{{h}}"
|
||||
wx:if="{{g}}"
|
||||
></empty>
|
||||
<float-refresh
|
||||
bind:__l="__l"
|
||||
bindclick="{{i}}"
|
||||
class="data-v-2f990aa7"
|
||||
uI="2f990aa7-4"
|
||||
uP="{{j}}"
|
||||
wx:if="{{j}}"
|
||||
></float-refresh>
|
||||
<float-back-to-top
|
||||
bind:__l="__l"
|
||||
class="data-v-2f990aa7"
|
||||
uI="2f990aa7-5"
|
||||
uP="{{k}}"
|
||||
wx:if="{{k}}"
|
||||
></float-back-to-top>
|
||||
<popup-upload-tips
|
||||
bind:__l="__l"
|
||||
bindcancel="{{l}}"
|
||||
bindconfirm="{{m}}"
|
||||
class="data-v-2f990aa7"
|
||||
uI="2f990aa7-6"
|
||||
uP="{{n}}"
|
||||
wx:if="{{n}}"
|
||||
></popup-upload-tips>
|
||||
<popup-pay-again
|
||||
bind:__l="__l"
|
||||
bindclose="{{o}}"
|
||||
bindconfirm="{{p}}"
|
||||
class="data-v-2f990aa7"
|
||||
uI="2f990aa7-7"
|
||||
uP="{{q}}"
|
||||
wx:if="{{q}}"
|
||||
></popup-pay-again>
|
||||
</view>
|
||||
235
pages/order-list/index.wxss
Normal file
235
pages/order-list/index.wxss
Normal file
@@ -0,0 +1,235 @@
|
||||
.content.data-v-2f990aa7 {
|
||||
padding-bottom: 10rpx;
|
||||
}
|
||||
.content .loading-content.data-v-2f990aa7 {
|
||||
margin: 30rpx;
|
||||
}
|
||||
.content .order.data-v-2f990aa7 {
|
||||
background: #fff;
|
||||
border-radius: 10rpx;
|
||||
margin: 25rpx;
|
||||
padding: 25rpx 30rpx;
|
||||
}
|
||||
.content .order .title-content.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
border-bottom: 2rpx solid #f2f2f2;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 30rpx;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.content .order .title-content .product-name.data-v-2f990aa7 {
|
||||
color: #333;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.content .order .title-content .status.data-v-2f990aa7 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.content .order .title-content .status.type1.data-v-2f990aa7 {
|
||||
color: #eb010b;
|
||||
}
|
||||
.content .order .title-content .status.type2.data-v-2f990aa7 {
|
||||
color: #1f68e9;
|
||||
}
|
||||
.content .order .title-content .status.type3.data-v-2f990aa7 {
|
||||
color: #999;
|
||||
}
|
||||
.content .order .title-content .status.type4.data-v-2f990aa7 {
|
||||
color: #333;
|
||||
}
|
||||
.content .order .desc.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
font-size: 30rpx;
|
||||
margin: 15rpx 0;
|
||||
}
|
||||
.content .order .desc .label.data-v-2f990aa7 {
|
||||
color: #333;
|
||||
flex-shrink: 0;
|
||||
width: 155rpx;
|
||||
}
|
||||
.content .order .desc .value.data-v-2f990aa7 {
|
||||
color: #333;
|
||||
}
|
||||
.content .order .desc .value.vin.data-v-2f990aa7 {
|
||||
color: #1f68e9;
|
||||
}
|
||||
.content .order .product-list.data-v-2f990aa7 {
|
||||
margin-top: 20rpx;
|
||||
padding: 5rpx 0;
|
||||
}
|
||||
.content .order .product-list .product.data-v-2f990aa7 {
|
||||
border-top: 2rpx solid #f2f2f2;
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
.content .order .product-list .product .product-wrap.data-v-2f990aa7 {
|
||||
background-color: rgba(234, 241, 248, 0.408);
|
||||
border-radius: 10rpx;
|
||||
padding: 20rpx;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.product-content.data-v-2f990aa7 {
|
||||
color: #555;
|
||||
position: relative;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.product-content
|
||||
.product-name.data-v-2f990aa7 {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.product-content
|
||||
.product-desc.data-v-2f990aa7 {
|
||||
color: #5f5f5f;
|
||||
font-size: 28rpx;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.product-content
|
||||
.loading.data-v-2f990aa7 {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.product-content
|
||||
.upload.data-v-2f990aa7 {
|
||||
color: #1f68e9;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content
|
||||
.button.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
border-radius: 30rpx;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
font-size: 28rpx;
|
||||
height: 60rpx;
|
||||
justify-content: center;
|
||||
margin-top: 10rpx;
|
||||
width: 165rpx;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content
|
||||
.button.type1.data-v-2f990aa7 {
|
||||
border: 2rpx solid #1f68e9;
|
||||
color: #1f68e9;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content
|
||||
.button.type2.data-v-2f990aa7 {
|
||||
border: 2rpx solid #c4c8d1;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content
|
||||
.button.type3.data-v-2f990aa7 {
|
||||
border: none;
|
||||
color: brown;
|
||||
width: auto;
|
||||
}
|
||||
.content
|
||||
.order
|
||||
.product-list
|
||||
.product
|
||||
.product-wrap
|
||||
.button-content
|
||||
.button.type4.data-v-2f990aa7 {
|
||||
color: #ff7038;
|
||||
font-size: 26rpx;
|
||||
margin-right: 10rpx;
|
||||
width: 300rpx;
|
||||
}
|
||||
.content .order .bottom-content.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
border-top: 2rpx solid #f2f2f2;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
flex-grow: 1;
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
.content .order .bottom-content .button.data-v-2f990aa7 {
|
||||
align-items: center;
|
||||
border-radius: 30rpx;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
font-size: 28rpx;
|
||||
height: 60rpx;
|
||||
justify-content: center;
|
||||
width: 165rpx;
|
||||
}
|
||||
.content .order .bottom-content .button.type1.data-v-2f990aa7 {
|
||||
background: #1f68e9;
|
||||
color: #fff;
|
||||
}
|
||||
.content .order .bottom-content .button.type2.data-v-2f990aa7 {
|
||||
border: 2rpx solid #c4c8d1;
|
||||
}
|
||||
.content .order .bottom-content .button.type3.data-v-2f990aa7 {
|
||||
color: #1f68e9;
|
||||
margin-right: 10rpx;
|
||||
width: 220rpx;
|
||||
}
|
||||
.content .order .tips.data-v-2f990aa7 {
|
||||
color: #ff7038;
|
||||
font-size: 25rpx;
|
||||
margin-top: 20rpx;
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user