This commit is contained in:
@@ -39,7 +39,7 @@ export default function CourseDetail() {
|
||||
|
||||
useShareAppMessage(() => {
|
||||
return {
|
||||
title: detail?.title || 'VB 课程详情',
|
||||
title: detail?.title || 'VC 课程详情',
|
||||
path: `/pages/courses/detail?id=${detail?.id}`,
|
||||
imageUrl: detail?.cover_image_url
|
||||
}
|
||||
@@ -47,7 +47,7 @@ export default function CourseDetail() {
|
||||
|
||||
useShareTimeline(() => {
|
||||
return {
|
||||
title: detail?.title || 'VB 课程详情',
|
||||
title: detail?.title || 'VC 课程详情',
|
||||
query: `id=${detail?.id}`,
|
||||
imageUrl: detail?.cover_image_url
|
||||
}
|
||||
@@ -80,7 +80,7 @@ export default function CourseDetail() {
|
||||
<View className='header-section'>
|
||||
<Text className='title'>{detail.title}</Text>
|
||||
<View className='tags-row'>
|
||||
<Text className='tag'>{typeMap[detail.course_type] || 'VB课程'}</Text>
|
||||
<Text className='tag'>{typeMap[detail.course_type] || 'VC课程'}</Text>
|
||||
{detail.tag && <Text className='tag highlight'>{detail.tag}</Text>}
|
||||
</View>
|
||||
<Text className='price'>¥{detail.price}</Text>
|
||||
|
||||
@@ -26,14 +26,14 @@ export default function CourseIndex() {
|
||||
|
||||
useShareAppMessage(() => {
|
||||
return {
|
||||
title: 'VB COURSES - 探索 VB 编程课程',
|
||||
title: 'VC COURSES - 探索 VC 编程课程',
|
||||
path: '/pages/courses/index'
|
||||
}
|
||||
})
|
||||
|
||||
useShareTimeline(() => {
|
||||
return {
|
||||
title: 'VB COURSES - 探索 VB 编程课程'
|
||||
title: 'VC COURSES - 探索 VC 编程课程'
|
||||
}
|
||||
})
|
||||
|
||||
@@ -48,14 +48,14 @@ export default function CourseIndex() {
|
||||
<View className='bg-decoration' />
|
||||
|
||||
<View className='header'>
|
||||
<Text className='title'>VB <Text className='highlight'>COURSES</Text></Text>
|
||||
<Text className='desc'>探索 VB 编程课程</Text>
|
||||
<Text className='title'>VC <Text className='highlight'>COURSES</Text></Text>
|
||||
<Text className='desc'>探索 VC 编程课程</Text>
|
||||
</View>
|
||||
|
||||
<View className='ar-grid'>
|
||||
{courseList.length === 0 ? (
|
||||
<View style={{ width: '100%', textAlign: 'center', color: '#666', marginTop: 50 }}>
|
||||
<Text>暂无 VB 课程内容</Text>
|
||||
<Text>暂无 VC 课程内容</Text>
|
||||
</View>
|
||||
) : (
|
||||
courseList.map((item) => (
|
||||
@@ -64,7 +64,7 @@ export default function CourseIndex() {
|
||||
{item.cover_image_url ? (
|
||||
<Image src={item.cover_image_url} className='cover-img' mode='aspectFill' />
|
||||
) : (
|
||||
<Text className='placeholder-icon'>VB</Text>
|
||||
<Text className='placeholder-icon'>VC</Text>
|
||||
)}
|
||||
</View>
|
||||
<View className='content'>
|
||||
|
||||
Reference in New Issue
Block a user