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

32 lines
858 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 23:47:03 +00:00
a: "2b6dbdfd-0-" + i0,
2024-06-14 01:11:29 +00:00
b: common_vendor.p({
info: i
})
};
})
};
};
}
};
2024-06-16 23:47:03 +00:00
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "C:/Users/33043/Desktop/文件/work/newStud学习/greenStu/pages/news/news.vue"]]);
2024-06-14 01:11:29 +00:00
wx.createPage(MiniProgramPage);