trainSchedule.js
1.58 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
"use strict";
const common_vendor = require("../../../common/vendor.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = {
__name: "trainSchedule",
props: {
scheduleList: {}
},
setup(__props) {
const props = __props;
return (_ctx, _cache) => {
var _a, _b;
return common_vendor.e({
a: common_vendor.f(props.scheduleList, (item, k0, i0) => {
return {
a: "8f99c184-0-" + i0,
b: common_vendor.t(item.dayStr),
c: common_vendor.t(item.event),
d: "8f99c184-1-" + i0,
e: common_vendor.t(item.place),
f: item.id
};
}),
b: common_vendor.p({
["custom-prefix"]: "iconfont",
type: "icon-ai253",
color: "#1ec886",
size: "20"
}),
c: common_vendor.p({
["custom-prefix"]: "iconfont",
type: "icon-loufangfangzi"
}),
d: ((_a = props == null ? void 0 : props.scheduleList) == null ? void 0 : _a.length) == 0
}, ((_b = props == null ? void 0 : props.scheduleList) == null ? void 0 : _b.length) == 0 ? {} : {});
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8f99c184"], ["__file", "/Users/yangyang/project/j-mini/Venue/components/train/trainSchedule/trainSchedule.vue"]]);
wx.createComponent(Component);