diff --git a/web_src/src/assets/loading.png b/web_src/src/assets/loading.png new file mode 100644 index 00000000..fa490e6b Binary files /dev/null and b/web_src/src/assets/loading.png differ diff --git a/web_src/src/assets/login-bg.jpg b/web_src/src/assets/login-bg.jpg new file mode 100644 index 00000000..ee27d8e0 Binary files /dev/null and b/web_src/src/assets/login-bg.jpg differ diff --git a/web_src/src/assets/login-cloud.png b/web_src/src/assets/login-cloud.png new file mode 100644 index 00000000..02b1958b Binary files /dev/null and b/web_src/src/assets/login-cloud.png differ diff --git a/web_src/src/assets/logo.png b/web_src/src/assets/logo.png new file mode 100644 index 00000000..f3d2503f Binary files /dev/null and b/web_src/src/assets/logo.png differ diff --git a/web_src/src/assets/play.png b/web_src/src/assets/play.png new file mode 100644 index 00000000..e4b33f33 Binary files /dev/null and b/web_src/src/assets/play.png differ diff --git a/web_src/src/components/Loading.vue b/web_src/src/components/Loading.vue new file mode 100644 index 00000000..433705e8 --- /dev/null +++ b/web_src/src/components/Loading.vue @@ -0,0 +1,98 @@ +//loading效果组件 + + + + + + diff --git a/web_src/src/components/Login.vue b/web_src/src/components/Login.vue new file mode 100644 index 00000000..030d3eec --- /dev/null +++ b/web_src/src/components/Login.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/web_src/src/components/UiHeader.vue b/web_src/src/components/UiHeader.vue new file mode 100644 index 00000000..67f310a6 --- /dev/null +++ b/web_src/src/components/UiHeader.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue new file mode 100644 index 00000000..5cd108e9 --- /dev/null +++ b/web_src/src/components/channelList.vue @@ -0,0 +1,304 @@ + + + + + diff --git a/web_src/src/components/control.vue b/web_src/src/components/control.vue new file mode 100644 index 00000000..316db30f --- /dev/null +++ b/web_src/src/components/control.vue @@ -0,0 +1,346 @@ + + + + + diff --git a/web_src/src/components/gb28181/devicePlayer.vue b/web_src/src/components/gb28181/devicePlayer.vue new file mode 100644 index 00000000..e193d7cf --- /dev/null +++ b/web_src/src/components/gb28181/devicePlayer.vue @@ -0,0 +1,377 @@ + + + + + diff --git a/web_src/src/components/videoList.vue b/web_src/src/components/videoList.vue new file mode 100644 index 00000000..234ddc88 --- /dev/null +++ b/web_src/src/components/videoList.vue @@ -0,0 +1,241 @@ + + + + + diff --git a/web_src/src/main.js b/web_src/src/main.js new file mode 100644 index 00000000..1b31f7b6 --- /dev/null +++ b/web_src/src/main.js @@ -0,0 +1,25 @@ +import Vue from 'vue'; +import App from './App.vue'; +Vue.config.productionTip = false; +import ElementUI from 'element-ui'; +import 'element-ui/lib/theme-chalk/index.css'; +import router from './router/index.js'; +import axios from 'axios'; +import VueCookies from 'vue-cookies'; + +import echarts from 'echarts'; +import VueClipboard from 'vue-clipboard2' +Vue.use(VueClipboard) +Vue.use(ElementUI); +Vue.use(VueCookies); +Vue.prototype.$axios = axios; + +axios.defaults.baseURL = (process.env.NODE_ENV === 'development') ? process.env.BASE_API : ""; + +Vue.prototype.$cookies.config(60*30); + + +new Vue({ + router: router, + render: h => h(App), +}).$mount('#app')