diff --git a/src/components/article/index.vue b/src/components/article/index.vue index 980587c..20c6199 100644 --- a/src/components/article/index.vue +++ b/src/components/article/index.vue @@ -24,7 +24,11 @@ - + @@ -38,12 +42,12 @@ import { onShareAppMessage, onShareTimeline, } from "@dcloudio/uni-app"; -import articleMock from "@/mock/article.js"; +// import articleMock from "@/mock/article.js"; const props = defineProps({ data: { type: Object, - default: () => { }, + default: () => {}, }, }); diff --git a/src/components/article/indexNewsInfo.vue b/src/components/article/indexNewsInfo.vue index 1b68820..3e41c80 100644 --- a/src/components/article/indexNewsInfo.vue +++ b/src/components/article/indexNewsInfo.vue @@ -16,17 +16,31 @@ - + - {{ item }} + {{ item }} - + - {{ item }} + {{ item }} @@ -42,15 +56,17 @@ - - + - - + @@ -32,7 +41,12 @@ - + @@ -44,7 +58,7 @@ import { onLoad, onShow } from "@dcloudio/uni-app"; import List from "@/components/articleList/index.vue"; import Pay from "@/components/pay/index.vue"; import articleListMock from "@/mock/articleList.js"; -import { newsList } from "@/mock/list.js"; +// import { newsList } from "@/mock/list.js"; const articleList = ref([...articleListMock]); @@ -88,8 +102,7 @@ function back() { }); } -onShow(() => { -}); +onShow(() => {}); function handleSubListItem(id: any) { uni.setStorageSync("newsItem", id);