参数名称修改
This commit is contained in:
parent
06539bb26b
commit
7446923eb0
@ -61,7 +61,7 @@
|
|||||||
</u--form>
|
</u--form>
|
||||||
</uni-card>
|
</uni-card>
|
||||||
</view>
|
</view>
|
||||||
<u-sticky offset-top="20" v-if="isViedoEnd">
|
<u-sticky offset-top="20" v-if="isVideoEnd">
|
||||||
<view class="sub-form">
|
<view class="sub-form">
|
||||||
<view class="sub-form-wrap">
|
<view class="sub-form-wrap">
|
||||||
<u--form labelPosition="left" labelWidth="auto" labelAlign="center" errorType="border-bottom"
|
<u--form labelPosition="left" labelWidth="auto" labelAlign="center" errorType="border-bottom"
|
||||||
@ -169,7 +169,7 @@
|
|||||||
ORG_ID: uni.getStorageSync('orgId'),
|
ORG_ID: uni.getStorageSync('orgId'),
|
||||||
isCourEdit: false, //是否 有课件的考试
|
isCourEdit: false, //是否 有课件的考试
|
||||||
isViedo: false,
|
isViedo: false,
|
||||||
isViedoEnd: true,
|
isVideoEnd: true,
|
||||||
filepath: '',
|
filepath: '',
|
||||||
filepathf: [],
|
filepathf: [],
|
||||||
btnText: '提交', //'下一题'
|
btnText: '提交', //'下一题'
|
||||||
@ -318,7 +318,7 @@
|
|||||||
// if (this.isCourEdit) {
|
// if (this.isCourEdit) {
|
||||||
// if (this.filepath.indexOf('/VIDEO/') > -1) {
|
// if (this.filepath.indexOf('/VIDEO/') > -1) {
|
||||||
// this.isViedo = true
|
// this.isViedo = true
|
||||||
// this.isViedoEnd = false
|
// this.isVideoEnd = false
|
||||||
// this.filepath = config.uni_app_web_video_source_url + this.filepath
|
// this.filepath = config.uni_app_web_video_source_url + this.filepath
|
||||||
// this.filepathf = []
|
// this.filepathf = []
|
||||||
// } else {
|
// } else {
|
||||||
@ -495,19 +495,19 @@
|
|||||||
|
|
||||||
if (this.filepath.indexOf('/VIDEO/') > -1) {
|
if (this.filepath.indexOf('/VIDEO/') > -1) {
|
||||||
this.isViedo = true
|
this.isViedo = true
|
||||||
this.isViedoEnd = false
|
this.isVideoEnd = false
|
||||||
this.filepath = config.uni_app_web_video_source_url + this.filepath
|
this.filepath = config.uni_app_web_video_source_url + this.filepath
|
||||||
this.filepathf = []
|
this.filepathf = []
|
||||||
} else if (this.filepath.indexOf('.mp4') > -1 || this.filepath
|
} else if (this.filepath.indexOf('.mp4') > -1 || this.filepath
|
||||||
.indexOf('.avi') > -1) {
|
.indexOf('.avi') > -1) {
|
||||||
//暂时不应该进来
|
//暂时不应该进来
|
||||||
this.isViedo = true
|
this.isViedo = true
|
||||||
this.isViedoEnd = false
|
this.isVideoEnd = false
|
||||||
this.filepath = config.uni_app_web_source_url + this.filepath
|
this.filepath = config.uni_app_web_source_url + this.filepath
|
||||||
this.filepathf = []
|
this.filepathf = []
|
||||||
} else {
|
} else {
|
||||||
this.isViedo = false
|
this.isViedo = false
|
||||||
this.isViedoEnd = true
|
this.isVideoEnd = true
|
||||||
this.filepath = this.filepath
|
this.filepath = this.filepath
|
||||||
this.filepathf = getFileShow(this.filepath)
|
this.filepathf = getFileShow(this.filepath)
|
||||||
}
|
}
|
||||||
@ -525,7 +525,7 @@
|
|||||||
},
|
},
|
||||||
//播放结束
|
//播放结束
|
||||||
onEnd() {
|
onEnd() {
|
||||||
this.isViedoEnd = true
|
this.isVideoEnd = true
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user