From 9d934feaa21802eddeb479e722430d426c429570 Mon Sep 17 00:00:00 2001 From: king <2229249788@qq.com> Date: Mon, 28 Aug 2023 15:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.ts | 8 ++++++-- .../home/components/feature_recommended.tsx | 4 +--- src/pages/home/home.tsx | 6 ++---- src/static/img/arrow-right.png | Bin 0 -> 2871 bytes 4 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 src/static/img/arrow-right.png diff --git a/src/api/home.ts b/src/api/home.ts index aa884b5..70ee5e3 100644 --- a/src/api/home.ts +++ b/src/api/home.ts @@ -33,8 +33,12 @@ export interface HomeData { adverts: AdwareType[] skill: Kill[] health: Health[] - brand: Brand[] - illness: Illness[] + brand: { + list: Brand[] + } + illness: { + list: Illness[] + } } export const HomeApi = { diff --git a/src/pages/home/components/feature_recommended.tsx b/src/pages/home/components/feature_recommended.tsx index 936de39..6283013 100644 --- a/src/pages/home/components/feature_recommended.tsx +++ b/src/pages/home/components/feature_recommended.tsx @@ -75,9 +75,7 @@ const FeatureRecommended: FC = (props) => { description: d.graphic_introduction, path: `?id=${d.id}`, })) - } catch (e) { - console.log(e) - } + } catch (e) {} return [] } diff --git a/src/pages/home/home.tsx b/src/pages/home/home.tsx index acc1adf..2cd8a6c 100644 --- a/src/pages/home/home.tsx +++ b/src/pages/home/home.tsx @@ -1,7 +1,6 @@ import {FC, useEffect, useState} from "react"; import {View} from "@tarojs/components"; import styles from "./home.module.scss"; -// import {Search} from "@/pages/home/components/search"; import Adware from "@/pages/home/components/adware"; import Feature from "@/pages/home/components/feature"; import FeatureRecommended from "@/pages/home/components/feature_recommended"; @@ -29,13 +28,12 @@ const Home: FC = () => { return ( - {/**/} diff --git a/src/static/img/arrow-right.png b/src/static/img/arrow-right.png new file mode 100644 index 0000000000000000000000000000000000000000..e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