MOV格式
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
</div>
|
||||
<div class="img-list" v-if="info.files && info.files.length && !isEdit">
|
||||
<div v-for="(item, index) in info.files" :key="index">
|
||||
<div v-if="item.postfix == '.mp4'" class="video-item" @click="choose(item)" >
|
||||
<div v-if="item.postfix == '.mp4' || item.postfix == '.MOV'" class="video-item" @click="choose(item)" >
|
||||
<img :src="item.facePicture" alt="" class="pic-img">
|
||||
<img :src="`${$cdn}video/play-icon.png`" alt="" class="play-icon">
|
||||
</div>
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
if(res?.data) {
|
||||
this.info = res.data
|
||||
this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.name.split('.')[1])))
|
||||
this.info.videos = res.data.files.filter(e => (['mp4'].includes(e.name.split('.')[1])))
|
||||
this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.name.split('.')[1])))
|
||||
this.flag = false
|
||||
}
|
||||
})
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
previewImages(img) {
|
||||
var imgs = []
|
||||
this.info.files.map((item) => {
|
||||
if(item.postfix != '.mp4') {
|
||||
if(item.postfix != '.mp4' || item.postfix != '.MOV') {
|
||||
imgs.push(item.accessUrl)
|
||||
}
|
||||
})
|
||||
@@ -197,11 +197,6 @@ export default {
|
||||
this.$http.post(`/app/appintegraluserapply/updateByGirdMember`,{
|
||||
...this.info,
|
||||
userId: this.info.integralUserId,
|
||||
// phone: this.info.phone,
|
||||
// applyItemId: this.info.applyItemId,
|
||||
// content: this.info.content,
|
||||
// girdId: this.info.girdId,
|
||||
// id: this.info.id
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.$u.toast('提交成功')
|
||||
|
||||
Reference in New Issue
Block a user