gree_leran/unpackage/dist/dev/mp-weixin/pages/news/news.js

32 lines
846 B
JavaScript
Raw Normal View History

2024-06-14 01:11:29 +00:00
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Math) {
newsCard();
}
const newsCard = () => "../../components/newsCard.js";
const _sfc_main = {
__name: "news",
setup(__props) {
const newsList = common_vendor.reactive([{
title: "测试",
image: "/static/stu.png",
detile: "这是一个测试",
time: "2024-6-1"
}]);
return (_ctx, _cache) => {
return {
a: common_vendor.f(newsList, (i, k0, i0) => {
return {
2024-06-16 15:32:15 +00:00
a: "5399d236-0-" + i0,
2024-06-14 01:11:29 +00:00
b: common_vendor.p({
info: i
})
};
})
};
};
}
};
2024-06-16 15:32:15 +00:00
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "E:/DAN/wexinxiaochengxude/NewCode2/gree_leran/pages/news/news.vue"]]);
2024-06-14 01:11:29 +00:00
wx.createPage(MiniProgramPage);