参数名称修改

This commit is contained in:
wyw 2026-03-10 09:14:32 +08:00
parent 06539bb26b
commit 7446923eb0

View File

@ -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
}, },
} }
} }