orderdetail.js
2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"use strict";
const common_vendor = require("../../../common/vendor.js");
require("../../../ty/api/index.js");
require("../../../store/index.js");
require("../../../ty/helper/index.js");
require("../../../ty/api/user.js");
require("../../../ty/request/index.js");
require("../../../ty/config/index.js");
require("../../../store/user.js");
require("../../../store/wxInfo.js");
require("../../../ty/helper/test.js");
require("../../../ty/helper/digit.js");
const _sfc_main = {
__name: "orderdetail",
setup(__props) {
let list = common_vendor.reactive({
code: "123456781618945618465",
price: "99.8",
title: "保养服务汽车换油保养",
date: "2023-05-25",
name: "藤桑",
mobile: "131 **** 1234",
image: "https://ts1.cn.mm.bing.net/th?id=OIP-C.ASJfoomQK8-kjf68G7XxuwHaFb&w=292&h=213&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2"
});
let arr = common_vendor.reactive([
{
price: "178",
title: "四门限位保养一次",
date: "2023-12-31"
},
{
price: "178",
title: "四门限位保养一次",
date: "2023-12-31"
},
{
price: "178",
title: "四门限位保养一次",
date: "2023-12-31"
},
{
price: "178",
title: "四门限位保养一次",
date: "2023-12-31"
}
]);
let refresh = () => {
common_vendor.index.showToast({
icon: "none",
title: "更新成功",
duration: 1e3
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.t(common_vendor.unref(list).code),
b: common_vendor.unref(list).image,
c: common_vendor.t(common_vendor.unref(list).title),
d: common_vendor.t(common_vendor.unref(list).price),
e: common_vendor.t(common_vendor.unref(list).date),
f: common_vendor.t(common_vendor.unref(list).name),
g: common_vendor.t(common_vendor.unref(list).mobile),
h: common_vendor.unref(list).name,
i: common_vendor.o(($event) => common_vendor.unref(list).name = $event.detail.value),
j: common_vendor.unref(list).mobile,
k: common_vendor.o(($event) => common_vendor.unref(list).mobile = $event.detail.value),
l: common_vendor.o((...args) => common_vendor.unref(refresh) && common_vendor.unref(refresh)(...args)),
m: common_vendor.o((...args) => common_vendor.unref(refresh) && common_vendor.unref(refresh)(...args)),
n: common_vendor.f(common_vendor.unref(arr), (item, k0, i0) => {
return {
a: common_vendor.t(item.price),
b: common_vendor.t(item.title),
c: common_vendor.t(item.date)
};
})
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-44020b67"], ["__file", "D:/xiangmu/kajuan/pages/me/order/orderdetail.vue"]]);
wx.createPage(MiniProgramPage);