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,27 @@
export default {
devUrl: 'https://zbhapi.ahtv.cn/h5',
testUrl: '',
prodUrl: 'https://zbhapi.ahtv.cn/h5',
apiList: {
radio: '/radio',
channelList: '/channelList',
liveList: '/liveList',
getMenuList: '/getMenuList',
liveComment: '/liveComment',
newsDetail: '/newsDetail',
interactDetail: '/interactDetail'
},
checkUrl: function () {
switch (process.env.NODE_ENV) {
case 'development':
return this.devUrl;
break;
case 'test':
return this.testUrl;
break;
case 'production':
return this.prodUrl;
break;
}
}
}

View File

@@ -0,0 +1,27 @@
import $http from '@/service/_'
import $util from '@/util'
import Vant from 'vant';
import 'vant/lib/index.css';
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import "videojs-contrib-hls";
import header from '@/components/header'
import Video from '@/components/Video'
import TvList from '@/components/TvList'
import pubHeader from '@/components/pubHeader'
import listTitle from '@/components/listTitle'
import relevantRecommend from '@/components/relevantRecommend'
import comment from '@/components/comment'
export default {
VueComponents: [ header, Video, TvList, pubHeader ,listTitle, relevantRecommend, comment],
VuePlugIn: [ Vant, VueVideoPlayer ],
NotVuePlugIn: {
$http, $util
}
}