Commit 42922ad3 authored by xinzhedeai's avatar xinzhedeai

自动话运行

parent 796e3fcf
......@@ -112,8 +112,9 @@ export default {
},
createVideo(item) {
this.getAccessToken(this.info.appKey, this.info.appSecret).then(
(accessToken) => {
// this.getAccessToken(this.info.appKey, this.info.appSecret).then(
// (accessToken) => {
const accessToken = 'at.9bf73w9c7z4a6bkb1iob0h479tve833z-8s35b0g4sg-0q1tkay-mtegb0yzd';
var url = this.getUrl(item);
this.player = new EZUIKit.EZUIKitPlayer({
autoplay: true,
......@@ -141,12 +142,11 @@ export default {
autoplay: true,
id: "video-container2",
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-语音版;
footer: ["fullScreen"],
});
}
);
// });
},
// createVideo2(item) {
......
......@@ -64,9 +64,6 @@
>
</iframe> -->
<EZUIKitJs ref="EZUIKit" selectSeat="right" autoPlayer="true"/>
<!-- <EZUIKitJs2 ref="EZUIKit2" selectSeat="right" autoPlayer="true"/> -->
</div>
<div class="b_0">
<!-- <iframe
......@@ -317,8 +314,23 @@
<div class="layerWd1">
<div class="in-box">
<div class="tit-bg"></div>
<h3 class="el-icon-s-unfold">降雨量</h3>
<div class="indexjiankong1"></div>
<h3 class="el-icon-s-unfold">自动化运行</h3>
<!-- <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>
......@@ -985,7 +997,7 @@ import { listMiddle } from "@/api/reSave/middle";
import vueSeamlessScroll from 'vue-seamless-scroll'
import EZUIKitJs from '@/components/EZUIKitJs'
import EZUIKitJs2 from '@/components/EZUIKitJs2'
// import EZUIKitJs2 from '@/components/EZUIKitJs2'
export default {
......@@ -999,7 +1011,7 @@ export default {
proddev,
vueSeamlessScroll,
EZUIKitJs,
EZUIKitJs2
// EZUIKitJs2
// enviLeft,
// videobig,
},
......@@ -1010,6 +1022,7 @@ export default {
step: 10
},
listData4huanjing: [],
listData4jiangyu: [],
listData4gnss: [],
listData4wushui: [],
listData4wenshui: [],
......@@ -1440,7 +1453,7 @@ export default {
// 40322034 气象站
// 40281845 污水水质
// 40281855 温泉水质
// 40306684 自动化运
// 40306684 自动化运 降雨量
huanjingList('40322034') //
.then((res) => {
this.listData4huanjing = res.data || []
......@@ -1453,6 +1466,10 @@ export default {
.then((res) => {
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