添加代码
This commit is contained in:
+12
-4
@@ -69,7 +69,7 @@ const _sfc_main = {
|
||||
this.form.page++;
|
||||
}
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at pages/news/news.vue:147", "加载数据失败:", error);
|
||||
common_vendor.index.__f__("error", "at pages/news/news.vue:152", "加载数据失败:", error);
|
||||
} finally {
|
||||
this.loading = false;
|
||||
}
|
||||
@@ -158,12 +158,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
k: common_vendor.f($data.newsList, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: item.content,
|
||||
b: item.subTitle,
|
||||
c: common_vendor.t($options.formatDate(item.ctdate)),
|
||||
d: "24bc9d41-3-" + i0,
|
||||
e: common_vendor.t(item.browses),
|
||||
f: item.id,
|
||||
g: common_vendor.o(($event) => $options.jumpInfo(item), item.id)
|
||||
f: "24bc9d41-4-" + i0,
|
||||
g: common_vendor.p({
|
||||
src: item.coverImage,
|
||||
width: "100",
|
||||
height: "100",
|
||||
bgColor: "#f1f6ff00",
|
||||
radius: "8"
|
||||
}),
|
||||
h: item.id,
|
||||
i: common_vendor.o(($event) => $options.jumpInfo(item), item.id)
|
||||
};
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
|
||||
Reference in New Issue
Block a user