Commit 2bf9672c authored by Kimber's avatar Kimber

'up'

parent 81915e80
......@@ -159,7 +159,7 @@
:class="isFullScreen?'tr-top':'tr-top-re'"
style="height: 120px;background-image: url('static/title.png');background-size: 100% 100%;">
<div style="margin-top: -44px;">中和地信企业管理平台</div>
<div class="floating-text">中和地信有限公司欢迎您</div>
<!-- <div class="floating-text">中和地信有限公司欢迎您</div> -->
<!-- <div class="a0a_" id="h_tab">
<ul>
......@@ -172,6 +172,31 @@
</ul>
</div> -->
</div>
<!-- 选择列表 -->
<div class="selects" style="width:500px;text-align:center;position:relative;z-index:1000;margin:0 auto;padding-top:100px;">
<select style="margin:0 20px;">
<option value="1">淄博市</option>
</select>
<select style="margin:0 20px;">
<option value="370305">临淄区</option>
<option value="370306">周村区</option>
<option value="370302">淄川区</option>
<option value="370303">张店区</option>
<option value="370304">博山区</option>
<option value="370321">桓台县</option>
<option value="370322">高青县</option>
<option value="370323">沂源县</option>
</select>
<select style="margin:0 20px;" id="selectCompany">
<option value="1">请选择矿山企业</option>
<option value="2">测试企业1</option>
<option value="3">测试企业2</option>
<option value="4">测试企业3</option>
</select>
</div>
<div>
</div>
<!-- <div class="fixed flex-text maxIndex pointer" style="right: 30px;top: 45px;"
......@@ -181,6 +206,13 @@
<div class="f20 color-theme ml10">后台管理</div>
</div> -->
<div class="fixed flex-text maxIndex pointer" style="left: 30px;top: 45px;"
@click="gotoManagement1()"
:class="isFullScreen?'tr-top':'tr-top-re'">
<img style="width: 24px;height: 24px;" src="static/backstage.png" alt="">
<div class="f20 color-theme ml10">返回分区页</div>
</div>
<div class="wp100 hv100 fixed" style="left: 0;top: 0;" id="map"></div>
<div class="fixed hv100" :class="isFullScreen?'tr-left':'tr-left-re'"
......@@ -305,7 +337,7 @@
<!-- center -->
<div class="relative maxIndex flex-1" style="pointer-events:none;" :style="{ height: 980 / heightScale + 'px' }">
<div class="flex-text mt10" :style="{ transform: 'scale(' + (widthScale > 1 ? 1 : widthScale) + ')' }">
<div>
<div style="display:none;">
<!-- notice -->
<div class="wp100 h50 round flex-text pointer" style="background-color: rgba(13,27,48,.7);pointer-events:auto;">
<div class="flex-1" v-if="isReady">
......@@ -993,8 +1025,7 @@
this.noticeIndex = this.noticeIndex + 1;
}, 10 * 1000);
// tab event
/* // tab event
var h_tab = this.$el.querySelector("#h_tab");
h_tab.onclick = function(e){
var tag = e.target || e.srcElement;
......@@ -1009,7 +1040,14 @@
window.open('/')
};
};
};
}; */
// 企业选择列表
var selectCompany = document.getElementById("selectCompany");
selectCompany.onchange = function(e){
var tag = e.target || e.srcElement;
window.location.reload()
}
},
methods: {
querySearchAsync(queryString, cb) {
......@@ -1044,6 +1082,10 @@
gotoManagement() {
window.open('http://192.168.13.200:8057', '_self')
},
gotoManagement1(){
window.location.href = '/#/login4Index';
},
// 设置地图
setMap() {
map = new AMap.Map('map', {
......
......@@ -92,11 +92,11 @@
background-size:auto 1.06rem;
display:flex;justify-content:center;pointer-events:none;
/* &:before{
&:before{
content:"";position:absolute;top:0;left:0;height:1.50rem;width:100%;
background:no-repeat top center url('static/natural/top_ttl.png');
background-size:100%;z-index:-1;
} */
}
h2{
font-size:.38rem;line-height:1;margin:.19rem 0 0 .04rem;font-weight:bold;
......@@ -160,7 +160,7 @@
border-color:transparent;
}
display:none;
//display:none;
}
}
}
......@@ -380,14 +380,18 @@
dt{
border:1px solid #04d6d9;border-radius:.04rem;
margin-top:.05rem;color:#3fecf1;
display:grid;grid-template-columns:33% 22% 15% 15% 15%;
display:grid;grid-template-columns:18.4% 18.4% 18.4% 14.2% 10% 10% 10%;
background-image:linear-gradient(to bottom, rgba(19,133,144,.5), rgba(19,133,144,.8));
span:first-child{text-align:center;}
}
dd{
margin-bottom:.08rem;color:#fff;margin-right:.03rem;
display:grid;grid-template-columns:33% 22% 15% 15% 15%;
span{margin-right:.10rem;display:flex;align-items:center;}
display:grid;grid-template-columns:18.4% 18.4% 18.4% 14.2% 10% 10% 10%;
span{
margin-right:.10rem;display:flex;align-items:center;
white-space:normal;
word-break:break-all;
}
span:first-child{justify-content:center;}
}
}
......@@ -407,11 +411,11 @@
height:5.02rem;
dl.scrolling4{
dt{
grid-template-columns:33.33% 33.33% 33.33%;
grid-template-columns:25% 25% 25% 25%;
span{text-align:center;}
}
dd{
grid-template-columns:33.33% 33.33% 33.33%;
grid-template-columns:25% 25% 25% 25%;
span{text-align:center;display:block;}
}
}
......@@ -421,11 +425,11 @@
height:4.20rem;
dl.scrolling4{
dt{
grid-template-columns:33.33% 33.33% 33.33%;
grid-template-columns:25% 25% 25% 25%;
span{text-align:center;}
}
dd{
grid-template-columns:33.33% 33.33% 33.33%;
grid-template-columns:25% 25% 25% 25%;
span{text-align:center;display:block;}
}
}
......@@ -765,25 +769,32 @@
</div>
<div class="a0a_" id="a0a_">
<ul>
<li><a href="/datav/index.html">返回首</a></li>
<li><a href="/#/login4Index">返回分区</a></li>
</ul>
<ul>
<li><a href="/#/dashboard">后台管理</a></li>
<!-- <li><a href="/#/dashboard">后台管理</a></li> -->
</ul>
</div>
<div class="selects">
<select>
<option value="1">淄川区</option>
<option value="2">张店区</option>
<select style="margin:0 20px;">
<option value="1">淄博市</option>
</select>
<select>
<option value="1">请选择区县</option>
<option value="2">2</option>
<select style="margin:0 20px;">
<option value="370305">临淄区</option>
<option value="370306">周村区</option>
<option value="370302">淄川区</option>
<option value="370303">张店区</option>
<option value="370304">博山区</option>
<option value="370321">桓台县</option>
<option value="370322">高青县</option>
<option value="370323">沂源县</option>
</select>
<select>
<select style="margin:0 20px;" id="selectCompany">
<option value="1">请选择矿山企业</option>
<option value="2">2</option>
<option value="2">测试企业1</option>
<option value="3">测试企业2</option>
<option value="4">测试企业3</option>
</select>
</div>
</header>
......@@ -808,6 +819,8 @@
<div class="wrap">
<dl class="scrolling4">
<dt>
<span>所属企业</span>
<span>所属矿山</span>
<span>站点编号</span>
<span>测点名称</span>
<span>X位移</span>
......@@ -815,6 +828,8 @@
<span>Z位移</span>
</dt>
<dd v-for="(item, i) in dm1.list">
<span>{{item.enterpriseName}}</span>
<span>{{item.mineName}}</span>
<span>{{item.code}}</span>
<span>{{item.name}}</span>
<span>{{item.x}}mm</span>
......@@ -862,11 +877,13 @@
<div class="wrap">
<dl class="scrolling4">
<dt>
<span>所属企业</span>
<span>站点编号</span>
<span>测点名称</span>
<span>实时温度</span>
</dt>
<dd v-for="(item, i) in dm3.list">
<span>{{item.enterpriseName}}</span>
<span>{{item.code}}</span>
<span>{{item.name}}</span>
<span>{{item.value}}°C</span>
......@@ -892,11 +909,13 @@
<div class="wrap">
<dl class="scrolling4">
<dt>
<span>站点编号</span>
<span>站点编号</span>
<span>测点名称</span>
<span>实时温度</span>
</dt>
<dd v-for="(item, i) in dm4.list">
<span>{{item.enterpriseName}}</span>
<span>{{item.code}}</span>
<span>{{item.name}}</span>
<span>{{item.value}}m/s</span>
......@@ -1215,6 +1234,13 @@
})();
// 企业选择列表
var selectCompany = document.getElementById("selectCompany");
selectCompany.onchange = function(e){
var tag = e.target || e.srcElement;
window.location.reload()
}
return ;
if (!token) {
window.open(host + '/#/login', '_self')
......@@ -1615,7 +1641,6 @@
console.log('destroyed ________________ ', 1111111111);
},
})
});
</script>
......
......@@ -83,7 +83,7 @@
header{
position:absolute;top:0;left:0;height:0;width:100%;z-index:5;
display:flex;user-select:none;
display:flex;user-select:none;justify-content:center;
.b1_bg{
position:relative;height:1.06rem;width:100%;
......@@ -97,6 +97,12 @@
background:no-repeat top center url('static/water/top_ttl.png');
background-size:100%;z-index:-1;
} */
&:before{
content:"";position:absolute;top:.93rem;height:.58rem;width:6.27rem;
background:no-repeat top center url('static/water/top_ttl.png');
background-size:100%;z-index:-1;
}
h2{
font-size:.38rem;line-height:1;margin:.19rem 0 0 .04rem;font-weight:bold;
font-family:'element-icons';color:#fff;
......@@ -149,10 +155,21 @@
}
}
}
.selects{
display:flex;justify-content:center;
position:absolute;height:auto;width:6rem;top:1.05rem;padding-left:.20rem;
select{
margin-right:.20rem;
background-color:transparent;color:#59edff;
border-color:transparent;
}
//display:none;
}
}
}
}
.b_0{
display:flex;top:0.96rem;left:0;bottom:0;width:0;background-color:rgba(0,0,0,.15);z-index:2;
......@@ -777,12 +794,34 @@
</div>
<div class="a0a_" id="a0a_">
<ul>
<li><a href="/datav/index.html">返回首</a></li>
<li><a href="/#/login4Index">返回分区</a></li>
</ul>
<ul>
<li><a href="/#/dashboard">后台管理</a></li>
<!-- <li><a href="/#/dashboard">后台管理</a></li> -->
</ul>
</div>
<div class="selects">
<select style="margin:0 20px;">
<option value="1">淄博市</option>
</select>
<select style="margin:0 20px;">
<option value="370305">临淄区</option>
<option value="370306">周村区</option>
<option value="370302">淄川区</option>
<option value="370303">张店区</option>
<option value="370304">博山区</option>
<option value="370321">桓台县</option>
<option value="370322">高青县</option>
<option value="370323">沂源县</option>
</select>
<select style="margin:0 20px;" id="selectCompany">
<option value="1">请选择矿山企业</option>
<option value="2">测试企业1</option>
<option value="3">测试企业2</option>
<option value="4">测试企业3</option>
</select>
</div>
</header>
</div>
</div>
......@@ -1140,6 +1179,13 @@
});
})();
// 企业选择列表
var selectCompany = document.getElementById("selectCompany");
selectCompany.onchange = function(e){
var tag = e.target || e.srcElement;
window.location.reload()
}
return ;
if (!token) {
......
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