|
|
@@ -142,7 +142,7 @@ export default function IndexPage() {
|
|
|
{advertisements.map((ad) => (
|
|
|
<SwiperItem key={ad.id} onClick={() => handleAdClick(ad)}>
|
|
|
<Image
|
|
|
- src={ad.imageUrl}
|
|
|
+ src={ad.imageFile?.fullUrl || ''}
|
|
|
className="w-full h-full"
|
|
|
mode="aspectFill"
|
|
|
/>
|
|
|
@@ -172,11 +172,9 @@ export default function IndexPage() {
|
|
|
{stocks.map((stock) => (
|
|
|
<Card key={stock.id} className="overflow-hidden">
|
|
|
<CardHeader className="p-0">
|
|
|
- <Image
|
|
|
- src={stock.coverImage}
|
|
|
- className="w-full h-32"
|
|
|
- mode="aspectFill"
|
|
|
- />
|
|
|
+ <View className="w-full h-32 bg-gradient-to-r from-red-500 to-orange-500 flex items-center justify-center">
|
|
|
+ <Text className="text-white text-xl font-bold">代金券</Text>
|
|
|
+ </View>
|
|
|
</CardHeader>
|
|
|
<CardContent className="p-4">
|
|
|
<View className="flex justify-between items-start mb-2">
|
|
|
@@ -188,9 +186,7 @@ export default function IndexPage() {
|
|
|
</Text>
|
|
|
</View>
|
|
|
|
|
|
- <Text className="text-sm text-gray-600 mb-2">
|
|
|
- {stock.stockDescription}
|
|
|
- </Text>
|
|
|
+
|
|
|
|
|
|
<View className="flex justify-between items-center">
|
|
|
<Text className="text-xs text-gray-500">
|