|
|
@@ -70,35 +70,42 @@
|
|
|
ref="rightNenuRef"
|
|
|
@videoSpeed="videoSpeed"
|
|
|
@videoStopTime="videoStopTime"
|
|
|
+ :videoObj="videoObj"
|
|
|
+ :classDetailParams="classDetailParams"
|
|
|
></rightMenu>
|
|
|
</a-card>
|
|
|
<a-card :bordered="false" class="mt-3">
|
|
|
<div>
|
|
|
<div>
|
|
|
- <div v-for="(item,idx) in webCon" >
|
|
|
+ <div v-for="(item, idx) in webCon">
|
|
|
<a :href="item.href" target="_blank">{{ item.title }}</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<a-divider />
|
|
|
<div>
|
|
|
在小学和初中,我们已经接触过一些集合.例如,自然数的集合,同一平面内到一个定点的距离等于定长的点的集合(即圆)等.为了更有效地使用集合语言,我们需要进一步了解集合的有关知识.下面先从集合的含义开始.
|
|
|
- 看下面的例子:<br/>
|
|
|
- (1)1~10之间的所有偶数;<br/>
|
|
|
- (2)立德中学今年人学的全体高一学生;<br/>
|
|
|
- (3)所有的正方形;<br/>
|
|
|
- (4)到直线l的距离等于定长d的所有点<br/>
|
|
|
- (5)方程x’-3x+2=0的所有实数根;<br/>
|
|
|
- (6)地球上的四大洋.<br/>
|
|
|
- 例(1)中,我们把1~10之间的每一个偶数作为元素,这些元素的全体就是一个集合;同样地,<br/>
|
|
|
+ 看下面的例子:<br />
|
|
|
+ (1)1~10之间的所有偶数;<br />
|
|
|
+ (2)立德中学今年人学的全体高一学生;<br />
|
|
|
+ (3)所有的正方形;<br />
|
|
|
+ (4)到直线l的距离等于定长d的所有点<br />
|
|
|
+ (5)方程x’-3x+2=0的所有实数根;<br />
|
|
|
+ (6)地球上的四大洋.<br />
|
|
|
+ 例(1)中,我们把1~10之间的每一个偶数作为元素,这些元素的全体就是一个集合;同样地,<br />
|
|
|
例(2)中,把立德中学今年人学的每一位高一学生作为元素,这些元素的全体也是一个集合.
|
|
|
</div>
|
|
|
</div>
|
|
|
</a-card>
|
|
|
<div style="display: flex; justify-content: center">
|
|
|
- <a-card :bordered="false" class="mt-2" style="width: 100%;padding-right: 30px;">
|
|
|
+ <a-card :bordered="false" class="mt-2" style="width: 100%; padding-right: 30px">
|
|
|
<a-tabs v-model:activeKey="tabsActiveKey">
|
|
|
<a-tab-pane key="1" tab="讲义" style="height: 800px">
|
|
|
- <handouts :itemObj="itemObj" :hourId="classHourData.id" v-if="classHourData"></handouts>
|
|
|
+ <handouts
|
|
|
+ :itemObj="itemObj"
|
|
|
+ :hourId="classHourData.id"
|
|
|
+ v-if="classHourData"
|
|
|
+ :videoObj="videoObj"
|
|
|
+ ></handouts>
|
|
|
</a-tab-pane>
|
|
|
<a-tab-pane key="2" tab="字幕" style="height: 800px">
|
|
|
<subtitleBox :url="danmuObj.url" v-if="tabsActiveKey == 2" @videoSpeed="videoSpeed"></subtitleBox>
|
|
|
@@ -258,6 +265,12 @@
|
|
|
const allTime = ref()
|
|
|
const biNum = ref()
|
|
|
const currentTime = ref()
|
|
|
+ const videoObj = computed(() => {
|
|
|
+ return {
|
|
|
+ initialtime: initialtime.value,
|
|
|
+ currentTime: videoRef.value?.currentTime
|
|
|
+ }
|
|
|
+ })
|
|
|
const videoStart = () => {
|
|
|
videoContext.value = videoRef.value
|
|
|
if (initialtime.value > 0) {
|
|
|
@@ -386,15 +399,15 @@
|
|
|
}
|
|
|
const classDetailParams = computed(() => {
|
|
|
return {
|
|
|
- hourName: classHourData.value.name,
|
|
|
- chapterName: classHourData.value.name,
|
|
|
- courseName: classDetail.value.courseName,
|
|
|
- hourId: classHourData.value.id,
|
|
|
+ hourName: classHourData.value?.name,
|
|
|
+ chapterName: classHourData.value?.name,
|
|
|
+ courseName: classDetail.value?.courseName,
|
|
|
+ hourId: classHourData.value?.id,
|
|
|
chapterId: selectedKeys.value[0],
|
|
|
- courseId: classDetail.value.courseId,
|
|
|
- fileId: classHourData.value.courseRelates.find((r) => r.funcType == 1)?.relateId,
|
|
|
- fileName: classHourData.value.courseRelates.find((r) => r.funcType == 1)?.name,
|
|
|
- filePath: classHourData.value.courseRelates.find((r) => r.funcType == 1)?.url
|
|
|
+ courseId: classDetail.value?.courseId,
|
|
|
+ fileId: classHourData.value?.courseRelates.find((r) => r.funcType == 1)?.relateId,
|
|
|
+ fileName: classHourData.value?.courseRelates.find((r) => r.funcType == 1)?.name,
|
|
|
+ filePath: classHourData.value?.courseRelates.find((r) => r.funcType == 1)?.url
|
|
|
}
|
|
|
})
|
|
|
//足迹
|
|
|
@@ -415,25 +428,25 @@
|
|
|
}
|
|
|
const webCon = ref([
|
|
|
{
|
|
|
- title:'1.1 集合的概念',
|
|
|
- href:'/webEmpty'
|
|
|
+ title: '1.1 集合的概念',
|
|
|
+ href: '/webEmpty'
|
|
|
},
|
|
|
{
|
|
|
- title:'1.2 集合间的基本关系',
|
|
|
- href:'/webEmpty'
|
|
|
+ title: '1.2 集合间的基本关系',
|
|
|
+ href: '/webEmpty'
|
|
|
},
|
|
|
{
|
|
|
- title:'1.3 集合的基本运算',
|
|
|
- href:'/webEmpty'
|
|
|
+ title: '1.3 集合的基本运算',
|
|
|
+ href: '/webEmpty'
|
|
|
},
|
|
|
{
|
|
|
- title:'1.4 充分条件与必要条件',
|
|
|
- href:'/webEmpty'
|
|
|
+ title: '1.4 充分条件与必要条件',
|
|
|
+ href: '/webEmpty'
|
|
|
},
|
|
|
{
|
|
|
- title:'1.5 全称量词与存在量词',
|
|
|
- href:'/webEmpty'
|
|
|
- },
|
|
|
+ title: '1.5 全称量词与存在量词',
|
|
|
+ href: '/webEmpty'
|
|
|
+ }
|
|
|
])
|
|
|
onMounted(() => {
|
|
|
getClassData()
|