hookehuyr

fix(HomePage): 根据课程价格显示不同的按钮文本

1 <!-- 1 <!--
2 * @Date: 2025-03-20 19:55:21 2 * @Date: 2025-03-20 19:55:21
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-06-15 20:07:21 4 + * @LastEditTime: 2025-09-25 11:54:13
5 * @FilePath: /mlaj/src/views/HomePage.vue 5 * @FilePath: /mlaj/src/views/HomePage.vue
6 * @Description: 美乐爱觉教育首页组件 6 * @Description: 美乐爱觉教育首页组件
7 * 7 *
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
225 :to="`/courses/${course.id}`" 225 :to="`/courses/${course.id}`"
226 class="bg-white/90 text-green-600 px-3 py-1 rounded-full text-xs font-medium" 226 class="bg-white/90 text-green-600 px-3 py-1 rounded-full text-xs font-medium"
227 > 227 >
228 - 立即学习 228 + {{ course.price === '0.00' ? '免费学习' : '立即学习' }}
229 </router-link> 229 </router-link>
230 </div> 230 </div>
231 </div> 231 </div>
......