trainSchedule.js 1.58 KB
"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);