12345678910111213141516171819202122232425262728 |
- <template>
- <view>
- <video class="video" :src="upload_url+url" autoplay controls></video>
- </view>
- </template>
- <script>
- import {
- upload_url
- } from "../../config.js"
- export default {
- data(){
- return {
- upload_url: upload_url,
- url:""
- }
- },
- onLoad(options) {
- this.url = options.url
- },
- }
- </script>
- <style scoped>
- .video{
- width: 750rpx;
- }
- </style>
|