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