|
@@ -3,7 +3,6 @@ import Empty from "@/components/Empty";
|
|
|
import { server } from "@/utils/server";
|
|
|
|
|
|
import Box from "@/components/Box";
|
|
|
-
|
|
|
const getPromotionApi = () => {
|
|
|
return server
|
|
|
.request<BannerRep[]>({
|
|
@@ -23,6 +22,8 @@ const Promo = async () => {
|
|
|
{promotion.map((item, index) => (
|
|
|
<Box key={item.id} action={item.action_type} actionData={item.action_params}>
|
|
|
<img
|
|
|
+ width={0}
|
|
|
+ height={0}
|
|
|
src={item.content!}
|
|
|
alt={"Image"}
|
|
|
className={"h-[1.16rem] w-[100%] rounded-[0.0833rem]"}
|