diff --git a/caokao-h5.zip b/caokao-h5.zip deleted file mode 100644 index e840f48..0000000 Binary files a/caokao-h5.zip and /dev/null differ diff --git a/src/components/ArticleList.vue b/src/components/ArticleList.vue index 07fbded..8af7d48 100644 --- a/src/components/ArticleList.vue +++ b/src/components/ArticleList.vue @@ -1,11 +1,6 @@ @@ -12,13 +14,31 @@ import { ref, onMounted, onUnmounted, reactive } from "vue"; import tabbar from "@/components/mini/Tabbar.vue"; import Navbar from '@/components/mini/Navbar.vue' +import RankListMini from "@/components/RankListMini.vue"; +import { + getindustryCount, + getConceptCount, + getTopNews, + getTopIndustry_d, + getTopConcept_d, + getNews_cnt_d, + newsInfoScore, +} from "@/api/newsInfo"; + +const newsList = ref([]); +// 概念标签贴标 +async function getNewsList() { + newsList.value = await getTopNews({}); +} const tabIndex = ref(0); function tabChange(index) { tabIndex.value = index; } -onMounted(async () => { }); +onMounted(async () => { + getNewsList() +}); diff --git a/src/pages/news/index.vue b/src/pages/news/index.vue index 129f191..9ff88a2 100644 --- a/src/pages/news/index.vue +++ b/src/pages/news/index.vue @@ -182,7 +182,7 @@ const handleSwiperClick = () => { height: 168rpx; position: absolute; // background-color: #f2505d; - background-image: url(@/static/news_bg.png); + background-image: url(https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/static/news_bg.png); background-size: cover; top: -2rpx; left: 0;