gree_leran/unpackage/dist/dev/mp-weixin/components/newsCard.js

21 lines
629 B
JavaScript

"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
__name: "newsCard",
props: ["info"],
setup(__props) {
return (_ctx, _cache) => {
return common_vendor.e({
a: __props.info
}, __props.info ? {
b: __props.info.image,
c: common_vendor.t(__props.info.title),
d: common_vendor.t(__props.info.detile),
e: common_vendor.t(__props.info.time)
} : {});
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/uniapp1/gree_leran/components/newsCard.vue"]]);
wx.createComponent(Component);