first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
import Vant from 'vant';
import 'vant/lib/index.css';
import 'videojs-contrib-hls'
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import service from './../service/_'
import utils from './../utils'
import VideoComponent from "../components/video";
import tvList from "@c/tvList";
export default {
devBaseUrl: '/api',
testBaseUrl: 'http://127.0.0.1:3000/test/api/json',
prodBaseUrl: 'http://127.0.0.1:3000/prod/api/json',
apiList: {
videoPlay: '/videoPlay',
tvInfo:'/tvInfo',
radio: '/radio',
tv: '/tv',
news:'/news',
},
checkStage: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
default:
break;
}
},
VueComponent: [VideoComponent, tvList],
VuePlugs: [ Vant, VueVideoPlayer ],
NotVuePlugs: [
{ n: '$http', v: service },
{ n: '$util', v: utils },
]
}