Showing
2 changed files
with
8 additions
and
8 deletions
| ... | @@ -17,10 +17,10 @@ | ... | @@ -17,10 +17,10 @@ |
| 17 | <div class="flex-1 p-3 flex flex-col justify-between"> | 17 | <div class="flex-1 p-3 flex flex-col justify-between"> |
| 18 | <div> | 18 | <div> |
| 19 | <h3 class="font-medium text-sm mb-1 line-clamp-2">{{ course.title }}</h3> | 19 | <h3 class="font-medium text-sm mb-1 line-clamp-2">{{ course.title }}</h3> |
| 20 | - <div class="text-gray-500 text-xs">{{ course.subtitle || '空数据' }}</div> | 20 | + <div class="text-gray-500 text-xs">{{ course.subtitle || 'N/A' }}</div> |
| 21 | </div> | 21 | </div> |
| 22 | <div class="flex justify-between items-end mt-1"> | 22 | <div class="flex justify-between items-end mt-1"> |
| 23 | - <div class="text-orange-500 font-semibold">¥{{ course.price || '空数据' }}</div> | 23 | + <div class="text-orange-500 font-semibold">¥{{ course.price || 'N/A' }}</div> |
| 24 | <div class="text-gray-400 text-xs"> | 24 | <div class="text-gray-400 text-xs"> |
| 25 | {{ course.subscribers || '没字段' }}人订阅 | 25 | {{ course.subscribers || '没字段' }}人订阅 |
| 26 | </div> | 26 | </div> | ... | ... |
| ... | @@ -10,13 +10,13 @@ | ... | @@ -10,13 +10,13 @@ |
| 10 | <h1 class="text-2xl text-white font-bold mb-1">{{ course?.title }}</h1> | 10 | <h1 class="text-2xl text-white font-bold mb-1">{{ course?.title }}</h1> |
| 11 | <h2 class="text-lg text-white/90">{{ course?.subtitle || '没有字段' }}</h2> | 11 | <h2 class="text-lg text-white/90">{{ course?.subtitle || '没有字段' }}</h2> |
| 12 | <div class="mt-4 flex justify-between items-center"> | 12 | <div class="mt-4 flex justify-between items-center"> |
| 13 | - <div class="text-orange-300 font-bold text-2xl">¥{{ course?.price || '空数据' }}</div> | 13 | + <div class="text-orange-300 font-bold text-2xl">¥{{ course?.price || 'N/A' }}</div> |
| 14 | <div class="bg-orange-500/30 text-orange-100 text-xs px-3 py-1 rounded-full"> | 14 | <div class="bg-orange-500/30 text-orange-100 text-xs px-3 py-1 rounded-full"> |
| 15 | 限时优惠 | 15 | 限时优惠 |
| 16 | </div> | 16 | </div> |
| 17 | </div> | 17 | </div> |
| 18 | <div class="flex justify-between text-xs text-white/80 mt-3"> | 18 | <div class="flex justify-between text-xs text-white/80 mt-3"> |
| 19 | - <div>已更新{{ course?.count || '空数据' }}期</div> | 19 | + <div>已更新{{ course?.count || 'N/A' }}期</div> |
| 20 | <div>{{ course?.subscribers || '没有字段' }}人订阅</div> | 20 | <div>{{ course?.subscribers || '没有字段' }}人订阅</div> |
| 21 | </div> | 21 | </div> |
| 22 | <div v-if="course?.expireDate" class="text-xs text-white/80 mt-1"> | 22 | <div v-if="course?.expireDate" class="text-xs text-white/80 mt-1"> |
| ... | @@ -73,14 +73,14 @@ | ... | @@ -73,14 +73,14 @@ |
| 73 | <li>随堂练习,巩固知识</li> | 73 | <li>随堂练习,巩固知识</li> |
| 74 | <li>及时反馈,调整教学</li> | 74 | <li>及时反馈,调整教学</li> |
| 75 | </ul> --> | 75 | </ul> --> |
| 76 | - <div v-html="course?.feature || '空数据'"></div> | 76 | + <div v-html="course?.feature || 'N/A'"></div> |
| 77 | </div> | 77 | </div> |
| 78 | 78 | ||
| 79 | <div v-if="activeTab === '课程大纲'"> | 79 | <div v-if="activeTab === '课程大纲'"> |
| 80 | <div class="space-y-4"> | 80 | <div class="space-y-4"> |
| 81 | <div v-for="(item, index) in displayedSchedule" :key="index" class="border-l-2 border-green-500 pl-3"> | 81 | <div v-for="(item, index) in displayedSchedule" :key="index" class="border-l-2 border-green-500 pl-3"> |
| 82 | <h4 class="font-medium text-gray-800">{{ item.title }}</h4> | 82 | <h4 class="font-medium text-gray-800">{{ item.title }}</h4> |
| 83 | - <p class="text-sm text-gray-600 mt-1">{{ item.duration }}分钟 · {{ item.schedule_time || '空数据' }}个小节</p> | 83 | + <p class="text-sm text-gray-600 mt-1">{{ item.duration }}分钟 · {{ item.schedule_time || 'N/A' }}个小节</p> |
| 84 | </div> | 84 | </div> |
| 85 | <div v-if="course?.schedule?.length > 4" class="flex justify-center mt-4"> | 85 | <div v-if="course?.schedule?.length > 4" class="flex justify-center mt-4"> |
| 86 | <button @click="toggleSchedule" class="p-2 rounded-full hover:bg-green-50 text-green-600 hover:text-green-700 transition-all duration-300"> | 86 | <button @click="toggleSchedule" class="p-2 rounded-full hover:bg-green-50 text-green-600 hover:text-green-700 transition-all duration-300"> |
| ... | @@ -92,13 +92,13 @@ | ... | @@ -92,13 +92,13 @@ |
| 92 | 92 | ||
| 93 | <div v-if="activeTab === '课程亮点'"> | 93 | <div v-if="activeTab === '课程亮点'"> |
| 94 | <div class="space-y-3 text-gray-700"> | 94 | <div class="space-y-3 text-gray-700"> |
| 95 | - <div v-html="course?.highlights || '空数据'"></div> | 95 | + <div v-html="course?.highlights || 'N/A'"></div> |
| 96 | </div> | 96 | </div> |
| 97 | </div> | 97 | </div> |
| 98 | 98 | ||
| 99 | <div v-if="activeTab === '学习目标'"> | 99 | <div v-if="activeTab === '学习目标'"> |
| 100 | <div class="space-y-3 text-gray-700"> | 100 | <div class="space-y-3 text-gray-700"> |
| 101 | - <div v-html="course?.learning_goal || '空数据'"></div> | 101 | + <div v-html="course?.learning_goal || 'N/A'"></div> |
| 102 | </div> | 102 | </div> |
| 103 | </div> | 103 | </div> |
| 104 | </div> | 104 | </div> | ... | ... |
-
Please register or login to post a comment