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