|  | @@ -1,7 +1,7 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |    <view style="overflow: auto; height: 100%">
 | 
	
		
			
				|  |  |      <!-- 建议放在外层 -->
 | 
	
		
			
				|  |  | -    <u-navbar :title="name" @leftClick="backPage" :bgImage="backPic">
 | 
	
		
			
				|  |  | +    <u-navbar :title="name" @leftClick="backPage" :bgImage="backPic" style="margin-top: 30px">
 | 
	
		
			
				|  |  |        <view class="u-nav-slot" slot="left">
 | 
	
		
			
				|  |  |          <u-icon name="arrow-left" size="20"> </u-icon>
 | 
	
		
			
				|  |  |        </view>
 | 
	
	
		
			
				|  | @@ -167,28 +167,28 @@
 | 
	
		
			
				|  |  |                      backgroundImage:
 | 
	
		
			
				|  |  |                        item.monitorcode === 'frontRearDP' ||
 | 
	
		
			
				|  |  |                        item.monitorcode === 'frontRearDifference'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/Pa.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/Pa.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'sourcePressure'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/MPa.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/MPa.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'frontGateOpen'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/doorNet.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/doorNet.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'rearGateOpen'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/doorNet.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/doorNet.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'midGateOpen'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/doorNet.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/doorNet.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'warnFlag'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/9432.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/9432.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'netStatus'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/9431.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/9431.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'm3'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/windM3.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/windM3.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'fsectarea'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/duanArea.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/duanArea.png\')'
 | 
	
		
			
				|  |  |                          : item.monitorcode === 'incipientWindSpeed1' ||
 | 
	
		
			
				|  |  |                            item.monitorcode === 'incipientWindSpeed2' ||
 | 
	
		
			
				|  |  |                            item.monitorcode === 'incipientWindSpeed3' ||
 | 
	
		
			
				|  |  |                            item.monitorcode === 'va'
 | 
	
		
			
				|  |  | -                        ? 'url(\'../../../../static/model/fengsu.png\')'
 | 
	
		
			
				|  |  | +                        ? 'url(\'/static/model/fengsu.png\')'
 | 
	
		
			
				|  |  |                          : 'url(\'\')',
 | 
	
		
			
				|  |  |                      backgroundSize: '100% 100%',
 | 
	
		
			
				|  |  |                    }"
 | 
	
	
		
			
				|  | @@ -275,18 +275,22 @@ export default {
 | 
	
		
			
				|  |  |  	  fan2State:''
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  | -  onLoad(query) {
 | 
	
		
			
				|  |  | -    //保存id到 data 中 可以在整个页面中使用
 | 
	
		
			
				|  |  | -    this.itemId = query.id;
 | 
	
		
			
				|  |  | -    this.name = query.name;
 | 
	
		
			
				|  |  | -    this.TabCur = query.type;
 | 
	
		
			
				|  |  | +  onLoad(options) {
 | 
	
		
			
				|  |  | +	      // 通过 options 对象获取传递过来的参数
 | 
	
		
			
				|  |  | +	      const id = options.id;
 | 
	
		
			
				|  |  | +	      const name = options.name;
 | 
	
		
			
				|  |  | +	      const type = options.type;
 | 
	
		
			
				|  |  | +    this.itemId = id;
 | 
	
		
			
				|  |  | +    this.name = name;
 | 
	
		
			
				|  |  | +    this.TabCur = type;
 | 
	
		
			
				|  |  |      this.ndoorcount = 2;
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    components: { doorAnimate, windowAnimate,windrectAnimate,fanlocalAnimate },
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  | +	  //保存id到 data 中 可以在整个页面中使用
 | 
	
		
			
				|  |  |  	this.getShowList(this.TabCur);
 | 
	
		
			
				|  |  |      this.getDeviceInfo(this.itemId);
 | 
	
		
			
				|  |  | -    this.getVideoUrlById(this.itemId);
 | 
	
		
			
				|  |  | +    // this.getVideoUrlById(this.itemId);
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
		
			
				|  |  |      this.startTimer();
 | 
	
	
		
			
				|  | @@ -323,7 +327,6 @@ export default {
 | 
	
		
			
				|  |  |            .then((response) => {
 | 
	
		
			
				|  |  |              if (response.data.code == 200) {
 | 
	
		
			
				|  |  |                this.typeList = response.data.result.records;
 | 
	
		
			
				|  |  | -			  console.log(this.typeList,'ssssssssssssssssc sa a ')
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  |                resolve(response);
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -455,12 +458,15 @@ export default {
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <style>
 | 
	
		
			
				|  |  | +>>> .u-navbar--fixed {
 | 
	
		
			
				|  |  | +	margin-top: 20px;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  passwordPopup {
 | 
	
		
			
				|  |  |    height: 300rpx;
 | 
	
		
			
				|  |  |    background-color: #fff;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  .top-nav {
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/topnavbar.png);
 | 
	
		
			
				|  |  | +  background-image: url(/static/topnavbar.png);
 | 
	
		
			
				|  |  |    background-size: cover; /* 背景图片大小适应 */
 | 
	
		
			
				|  |  |    height: 100%;
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -551,105 +557,9 @@ passwordPopup {
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  .right-content {
 | 
	
		
			
				|  |  |    width: 50%; /* 右侧内容占据50%宽度 */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/model/Pa.png);
 | 
	
		
			
				|  |  | +  background-image: url(/static/model/Pa.png);
 | 
	
		
			
				|  |  |    background-size: 100% 125%;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -/*风窗样式*/
 | 
	
		
			
				|  |  | -div.autowindow_new {
 | 
	
		
			
				|  |  | -  width: 200px;
 | 
	
		
			
				|  |  | -  height: 200px;
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window-bk.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -  perspective: 800px;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -/*风窗1 2 3 4*/
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -div.window_new_1 {
 | 
	
		
			
				|  |  | -  margin-top: 12px;
 | 
	
		
			
				|  |  | -  margin-left: 15px;
 | 
	
		
			
				|  |  | -  width: 170px;
 | 
	
		
			
				|  |  | -  height: 30px;
 | 
	
		
			
				|  |  | -  background-color: crimson;
 | 
	
		
			
				|  |  | -  box-sizing: border-box;
 | 
	
		
			
				|  |  | -  float: left;
 | 
	
		
			
				|  |  | -  z-index: 1;
 | 
	
		
			
				|  |  | -  /* transition: all 2s; */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window_new1.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_2 {
 | 
	
		
			
				|  |  | -  margin-top: 2px;
 | 
	
		
			
				|  |  | -  margin-left: 15px;
 | 
	
		
			
				|  |  | -  width: 170px;
 | 
	
		
			
				|  |  | -  height: 29px;
 | 
	
		
			
				|  |  | -  background-color: crimson;
 | 
	
		
			
				|  |  | -  box-sizing: border-box;
 | 
	
		
			
				|  |  | -  float: left;
 | 
	
		
			
				|  |  | -  z-index: 1;
 | 
	
		
			
				|  |  | -  /* transition: all 2s; */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window_new1.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_3 {
 | 
	
		
			
				|  |  | -  margin-top: 2px;
 | 
	
		
			
				|  |  | -  margin-left: 15px;
 | 
	
		
			
				|  |  | -  width: 170px;
 | 
	
		
			
				|  |  | -  height: 29px;
 | 
	
		
			
				|  |  | -  background-color: crimson;
 | 
	
		
			
				|  |  | -  box-sizing: border-box;
 | 
	
		
			
				|  |  | -  float: left;
 | 
	
		
			
				|  |  | -  z-index: 1;
 | 
	
		
			
				|  |  | -  /* transition: all 2s; */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window_new1.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_4 {
 | 
	
		
			
				|  |  | -  margin-top: 2px;
 | 
	
		
			
				|  |  | -  margin-left: 15px;
 | 
	
		
			
				|  |  | -  width: 170px;
 | 
	
		
			
				|  |  | -  height: 29px;
 | 
	
		
			
				|  |  | -  background-color: crimson;
 | 
	
		
			
				|  |  | -  box-sizing: border-box;
 | 
	
		
			
				|  |  | -  float: left;
 | 
	
		
			
				|  |  | -  z-index: 1;
 | 
	
		
			
				|  |  | -  /* transition: all 2s; */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window_new1.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_5 {
 | 
	
		
			
				|  |  | -  margin-top: 2px;
 | 
	
		
			
				|  |  | -  margin-left: 15px;
 | 
	
		
			
				|  |  | -  width: 170px;
 | 
	
		
			
				|  |  | -  height: 29px;
 | 
	
		
			
				|  |  | -  background-color: crimson;
 | 
	
		
			
				|  |  | -  box-sizing: border-box;
 | 
	
		
			
				|  |  | -  float: left;
 | 
	
		
			
				|  |  | -  z-index: 1;
 | 
	
		
			
				|  |  | -  /* transition: all 2s; */
 | 
	
		
			
				|  |  | -  background-image: url(../../../../static/window/window_new1.png);
 | 
	
		
			
				|  |  | -  background-size: 100% 100%;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_1 {
 | 
	
		
			
				|  |  | -  transition: all 2s ease;
 | 
	
		
			
				|  |  | -  transform-origin: center center;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_2 {
 | 
	
		
			
				|  |  | -  transition: all 2s ease;
 | 
	
		
			
				|  |  | -  transform-origin: center center;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_3 {
 | 
	
		
			
				|  |  | -  transition: all 2s ease;
 | 
	
		
			
				|  |  | -  transform-origin: center center;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_4 {
 | 
	
		
			
				|  |  | -  transition: all 2s ease;
 | 
	
		
			
				|  |  | -  transform-origin: center center;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -div.window_new_5 {
 | 
	
		
			
				|  |  | -  transition: all 2s ease;
 | 
	
		
			
				|  |  | -  transform-origin: center center;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  |  .btns {
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
		
			
				|  |  |    margin-top: 15px;
 |