hookehuyr

fix 推荐列表显示文字隐藏

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-07-16 14:07:14 4 + * @LastEditTime: 2025-08-14 15:17:16
5 * @FilePath: /jgdl/src/pages/recommendCarList/index.vue 5 * @FilePath: /jgdl/src/pages/recommendCarList/index.vue
6 * @Description: 精品推荐页面 6 * @Description: 精品推荐页面
7 --> 7 -->
...@@ -58,10 +58,10 @@ ...@@ -58,10 +58,10 @@
58 <view class="w-32 h-24 relative p-2"> 58 <view class="w-32 h-24 relative p-2">
59 <image :src="car.front_photo" :alt="car.name" mode="aspectFill" 59 <image :src="car.front_photo" :alt="car.name" mode="aspectFill"
60 class="w-full h-full object-cover rounded-lg" /> 60 class="w-full h-full object-cover rounded-lg" />
61 - <view v-if="car.isRecommend" 61 + <!-- <view v-if="car.isRecommend"
62 class="absolute bottom-3 right-3 bg-green-500 text-white text-xs px-1 rounded flex items-center"> 62 class="absolute bottom-3 right-3 bg-green-500 text-white text-xs px-1 rounded flex items-center">
63 <text class="text-white">荐</text> 63 <text class="text-white">荐</text>
64 - </view> 64 + </view> -->
65 </view> 65 </view>
66 <view class="flex-1 p-3 relative"> 66 <view class="flex-1 p-3 relative">
67 <view class="absolute top-3 right-4" @tap.stop="() => toggleFavorite(car)"> 67 <view class="absolute top-3 right-4" @tap.stop="() => toggleFavorite(car)">
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
87 <text class="text-xs text-gray-500 mt-1 block">{{ car.school_name }}</text> 87 <text class="text-xs text-gray-500 mt-1 block">{{ car.school_name }}</text>
88 </view> 88 </view>
89 <!-- 推荐理由 --> 89 <!-- 推荐理由 -->
90 - <view class="mt-1"> 90 + <!-- <view class="mt-1">
91 <text class="text-xs text-green-600">精品推荐</text> 91 <text class="text-xs text-green-600">精品推荐</text>
92 - </view> 92 + </view> -->
93 </view> 93 </view>
94 </view> 94 </view>
95 </view> 95 </view>
......