|
@@ -75,7 +75,7 @@ export default defineComponent({
|
|
|
const query = route.query;
|
|
|
const headeRef = ref();
|
|
|
const data = reactive({
|
|
|
- visiableStatus: true,
|
|
|
+ visiableStatus: false,
|
|
|
visiableConfirmText: '下一题',
|
|
|
isLastIndex: false,
|
|
|
itemIndex: 0,
|
|
@@ -257,7 +257,7 @@ export default defineComponent({
|
|
|
const trainings: any[] = await getTrainingRecord();
|
|
|
if (Array.isArray(trainings)) {
|
|
|
const item = trainings.find((n: any) => n.id == data.videoData?.id);
|
|
|
- console.log(item, 'item');
|
|
|
+ // console.log(item, 'item');
|
|
|
if (item) {
|
|
|
data.videoData.trainingTimes = item.trainingTimes;
|
|
|
handleExerciseCompleted();
|
|
@@ -386,12 +386,12 @@ export default defineComponent({
|
|
|
}}
|
|
|
onTimeupdate={() => {
|
|
|
const activeVideoRef = m.videoEle;
|
|
|
- console.log(
|
|
|
- videoIntervalRef.isActive.value,
|
|
|
- activeVideoRef?.currentTime(),
|
|
|
- activeVideoRef?.paused(),
|
|
|
- 'activeVideoRef?.paused()'
|
|
|
- );
|
|
|
+ // console.log(
|
|
|
+ // videoIntervalRef.isActive.value,
|
|
|
+ // activeVideoRef?.currentTime(),
|
|
|
+ // activeVideoRef?.paused(),
|
|
|
+ // 'activeVideoRef?.paused()'
|
|
|
+ // );
|
|
|
if (
|
|
|
!videoIntervalRef.isActive.value &&
|
|
|
activeVideoRef?.currentTime() > 0 &&
|