提交 a10470bd 作者: ZhangLingKun

功能:问题修复

上级 590a0325
流水线 #8790 已通过 于阶段
in 5 分 58 秒
import React, { useState } from 'react';
import { Empty } from 'antd';
import { useRouter } from 'next/router';
import styled from 'styled-components';
import { HomeAPI, MallAPI } from '@/api';
import { InterDataType } from '@/api/interface';
......@@ -82,8 +81,6 @@ const StoreProductDetailPage: React.FC<{
categoryList: CategoryType;
goodsInfoList: GoodsInfoListType;
}> = ({ storeDetail, categoryList, goodsInfoList }) => {
// 路由钩子
const router = useRouter();
// 当前选择的目录
const [currentIndex, setCurrentIndex] = useState<number>(0);
// 分页数据
......
......@@ -31,7 +31,7 @@ const StoreProductHeadView: React.FC<{ detail: DetailType }> = ({ detail }) => {
className="text-xs text-primary"
/>
</div>
<div className="text text-666 text-ellipsis">{detail?.content}</div>
<div className="text text-ellipsis text-[#666]">{detail?.content}</div>
</div>
<div className="head-search">
<Input.Search
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论