参数名称修改

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