main
king 1 year ago
parent fb4a6736d7
commit b0c75b3e16
  1. 4
      src/pages/brand/info/info.tsx
  2. 2
      src/pages/business/sort/sort.tsx
  3. 2
      src/pages/home/components/feature.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 {Image, Swiper, SwiperItem, View} from "@tarojs/components";
import {brandApi, BrandRecord} from "@/api"; import {brandApi, BrandRecord} from "@/api";
import Taro, {useRouter} from "@tarojs/taro"; import Taro, {useRouter} from "@tarojs/taro";
@ -43,7 +43,7 @@ const MeetingsConfig: FC = () => {
indicatorDots indicatorDots
> >
{ brandInfo?.brand_album?.length { brandInfo?.brand_album?.length
&& brandInfo?.brand_album.map((d) => && brandInfo?.brand_album?.map((d) =>
<SwiperItem> <SwiperItem>
<Image src={d}></Image> <Image src={d}></Image>
</SwiperItem>) </SwiperItem>)

@ -7,7 +7,7 @@ type SortType = ''
interface Params { interface Params {
id: number id: number
type: SortType type: SortType
jumpUrl: () => void jumpUrl: (data:Record<string, any>) => void
} }
const Sort: FC = () => { const Sort: FC = () => {

@ -8,7 +8,7 @@ import Taro from "@tarojs/taro";
const Feature: FC = () => { const Feature: FC = () => {
const list = [ const list = [
{url: '', image: article, text: '品牌'}, {url: '/pages/brand/list/list', image: article, text: '品牌'},
{url: '', image: health, text: '健康管理'}, {url: '', image: health, text: '健康管理'},
{url: '', image: profession, text: '专业技能'}, {url: '', image: profession, text: '专业技能'},
{url: '', image: illness, text: '疾病知识'}, {url: '', image: illness, text: '疾病知识'},

Loading…
Cancel
Save