From 736f9387b66abc678740003874ce7b4275733a4b Mon Sep 17 00:00:00 2001
From: king <2229249788@qq.com>
Date: Mon, 21 Aug 2023 16:52:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/brand/info/info.tsx | 4 ++--
src/pages/business/sort/sort.tsx | 2 +-
src/pages/home/components/feature.tsx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pages/brand/info/info.tsx b/src/pages/brand/info/info.tsx
index 395ec1c..943f7be 100644
--- a/src/pages/brand/info/info.tsx
+++ b/src/pages/brand/info/info.tsx
@@ -1,4 +1,4 @@
-import {FC, useCallback, useEffect, useState} from "react";
+import {FC, useEffect, useState} from "react";
import {Image, Swiper, SwiperItem, View} from "@tarojs/components";
import {brandApi, BrandRecord} from "@/api";
import Taro, {useRouter} from "@tarojs/taro";
@@ -43,7 +43,7 @@ const MeetingsConfig: FC = () => {
indicatorDots
>
{ brandInfo?.brand_album?.length
- && brandInfo?.brand_album.map((d) =>
+ && brandInfo?.brand_album?.map((d) =>
)
diff --git a/src/pages/business/sort/sort.tsx b/src/pages/business/sort/sort.tsx
index f01c221..e2cd428 100644
--- a/src/pages/business/sort/sort.tsx
+++ b/src/pages/business/sort/sort.tsx
@@ -7,7 +7,7 @@ type SortType = ''
interface Params {
id: number
type: SortType
- jumpUrl: () => void
+ jumpUrl: (data:Record) => void
}
const Sort: FC = () => {
diff --git a/src/pages/home/components/feature.tsx b/src/pages/home/components/feature.tsx
index c430b5f..c70cd79 100644
--- a/src/pages/home/components/feature.tsx
+++ b/src/pages/home/components/feature.tsx
@@ -8,7 +8,7 @@ import Taro from "@tarojs/taro";
const Feature: FC = () => {
const list = [
- {url: '', image: article, text: '品牌'},
+ {url: '/pages/brand/list/list', image: article, text: '品牌'},
{url: '', image: health, text: '健康管理'},
{url: '', image: profession, text: '专业技能'},
{url: '', image: illness, text: '疾病知识'},