21 lines
665 B
JavaScript
21 lines
665 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", "C:/Users/33043/Desktop/文件/work/newStud学习/greenStu/components/newsCard.vue"]]);
|
|
wx.createComponent(Component);
|