Commit 42922ad3 authored by xinzhedeai's avatar xinzhedeai

自动话运行

parent 796e3fcf
...@@ -112,8 +112,9 @@ export default { ...@@ -112,8 +112,9 @@ export default {
}, },
createVideo(item) { createVideo(item) {
this.getAccessToken(this.info.appKey, this.info.appSecret).then( // this.getAccessToken(this.info.appKey, this.info.appSecret).then(
(accessToken) => { // (accessToken) => {
const accessToken = 'at.9bf73w9c7z4a6bkb1iob0h479tve833z-8s35b0g4sg-0q1tkay-mtegb0yzd';
var url = this.getUrl(item); var url = this.getUrl(item);
this.player = new EZUIKit.EZUIKitPlayer({ this.player = new EZUIKit.EZUIKitPlayer({
autoplay: true, autoplay: true,
...@@ -141,12 +142,11 @@ export default { ...@@ -141,12 +142,11 @@ export default {
autoplay: true, autoplay: true,
id: "video-container2", id: "video-container2",
accessToken: accessToken, accessToken: accessToken,
url: 'ezopen://open.ys7.com/BA2171975/1.hd.live', url: 'ezopen://open.ys7.com/AA0667290/1.hd.live',
template: "simple",// simple - 极简版;standard-标准版;security - 安防版(预览回放);voice-语音版; template: "simple",// simple - 极简版;standard-标准版;security - 安防版(预览回放);voice-语音版;
footer: ["fullScreen"], footer: ["fullScreen"],
}); });
} // });
);
}, },
// createVideo2(item) { // createVideo2(item) {
......
...@@ -64,9 +64,6 @@ ...@@ -64,9 +64,6 @@
> >
</iframe> --> </iframe> -->
<EZUIKitJs ref="EZUIKit" selectSeat="right" autoPlayer="true"/> <EZUIKitJs ref="EZUIKit" selectSeat="right" autoPlayer="true"/>
<!-- <EZUIKitJs2 ref="EZUIKit2" selectSeat="right" autoPlayer="true"/> -->
</div> </div>
<div class="b_0"> <div class="b_0">
<!-- <iframe <!-- <iframe
...@@ -317,8 +314,23 @@ ...@@ -317,8 +314,23 @@
<div class="layerWd1"> <div class="layerWd1">
<div class="in-box"> <div class="in-box">
<div class="tit-bg"></div> <div class="tit-bg"></div>
<h3 class="el-icon-s-unfold">降雨量</h3> <h3 class="el-icon-s-unfold">自动化运行</h3>
<div class="indexjiankong1"></div> <!-- <div class="indexjiankong1"></div> -->
<div class="km-thead col02d upop scrollListTitle">
<div>监测项</div>
<div>监测值</div>
<div>监测时间</div>
</div>
<!-- :class-option="classOption" -->
<vue-seamless-scroll :data="listData4jiangyu" class="warp" >
<ul class="item">
<li v-for="(item, index) in listData4jiangyu" :key="index">
<span class="title qixiangspan" v-text="item.items"></span>
<span class="title qixiangspan" v-text="item.evalue"></span>
<span class="date qixiangspan" v-text="item.time"></span>
</li>
</ul>
</vue-seamless-scroll>
</div> </div>
</div> </div>
</div> </div>
...@@ -985,7 +997,7 @@ import { listMiddle } from "@/api/reSave/middle"; ...@@ -985,7 +997,7 @@ import { listMiddle } from "@/api/reSave/middle";
import vueSeamlessScroll from 'vue-seamless-scroll' import vueSeamlessScroll from 'vue-seamless-scroll'
import EZUIKitJs from '@/components/EZUIKitJs' import EZUIKitJs from '@/components/EZUIKitJs'
import EZUIKitJs2 from '@/components/EZUIKitJs2' // import EZUIKitJs2 from '@/components/EZUIKitJs2'
export default { export default {
...@@ -999,7 +1011,7 @@ export default { ...@@ -999,7 +1011,7 @@ export default {
proddev, proddev,
vueSeamlessScroll, vueSeamlessScroll,
EZUIKitJs, EZUIKitJs,
EZUIKitJs2 // EZUIKitJs2
// enviLeft, // enviLeft,
// videobig, // videobig,
}, },
...@@ -1010,6 +1022,7 @@ export default { ...@@ -1010,6 +1022,7 @@ export default {
step: 10 step: 10
}, },
listData4huanjing: [], listData4huanjing: [],
listData4jiangyu: [],
listData4gnss: [], listData4gnss: [],
listData4wushui: [], listData4wushui: [],
listData4wenshui: [], listData4wenshui: [],
...@@ -1440,7 +1453,7 @@ export default { ...@@ -1440,7 +1453,7 @@ export default {
// 40322034 气象站 // 40322034 气象站
// 40281845 污水水质 // 40281845 污水水质
// 40281855 温泉水质 // 40281855 温泉水质
// 40306684 自动化运 // 40306684 自动化运 降雨量
huanjingList('40322034') // huanjingList('40322034') //
.then((res) => { .then((res) => {
this.listData4huanjing = res.data || [] this.listData4huanjing = res.data || []
...@@ -1453,6 +1466,10 @@ export default { ...@@ -1453,6 +1466,10 @@ export default {
.then((res) => { .then((res) => {
this.listData4wenshui = res.data || [] this.listData4wenshui = res.data || []
}) })
huanjingList('40306684') //
.then((res) => {
this.listData4jiangyu = res.data || []
})
}, },
//首页企业介绍视频 //首页企业介绍视频
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment