| | |
| | | ></evan-upload> |
| | | </u-form-item> |
| | | |
| | | <video v-if="videoShow" :src="videoUrl"></video> |
| | | <!-- <video :src="videoUrl"></video> --> |
| | | |
| | | <u-form-item label-position="top" label="备注:"> |
| | | <u-input v-model="form.remark" type="textarea" /> |
| | |
| | | import {add} from "@/api/eventgm/eventgm.js" |
| | | import {getDicList} from "@/api/dict/dict.js" |
| | | import evanUpload from "@/components/evan-upload/evan-upload.vue"; |
| | | import {devUrl} from '@/common/setting' |
| | | export default { |
| | | components: {'evan-upload' :evanUpload }, |
| | | data() { |
| | |
| | | }] |
| | | |
| | | }, |
| | | //换用其他写法 |
| | | uploadOption:{ |
| | | url:"http://localhost/blade-resource/oss/endpoint/put-file-attach", |
| | | // url:"http://localhost/blade-resource/oss/endpoint/put-file-attach", |
| | | url:devUrl+"/blade-resource/oss/endpoint/put-file-attach", |
| | | header:{}, |
| | | }, |
| | | fileSuffix: 'fileType', |
| | | uploadList:[], |
| | | videoUrl:"", |
| | | videoShow:false, |
| | |
| | | // console.log(video) |
| | | // this.videoShow = true |
| | | this.videoUrl = video.url |
| | | // uni.previewMedia({ |
| | | // sources:[{ |
| | | // url:video.url |
| | | // }] |
| | | // }) |
| | | }, |
| | | } |
| | | }; |