提交 d4c0a480 作者: ZhangLingKun

Merge branch 'develop'

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