|
@@ -6,11 +6,20 @@
|
|
|
</span>
|
|
|
|
|
|
<span class="goPanelBlock">
|
|
|
- <a @click="goPanel">
|
|
|
+ <a @click="goPanel" target="_blank">
|
|
|
<img src="/static/svgIcons/home.svg" alt="" width="12">
|
|
|
大屏</a>
|
|
|
</span>
|
|
|
|
|
|
+ <span class="bell">
|
|
|
+ <img
|
|
|
+ src="../../assets/images/bell.png"
|
|
|
+ alt=""
|
|
|
+ width="15"
|
|
|
+ @click="goAlarmingPage"
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+
|
|
|
<a-dropdown>
|
|
|
<span class="ant-dropdown-link">
|
|
|
<!-- <a-avatar :src="avatar" /> -->
|
|
@@ -38,14 +47,7 @@
|
|
|
</template>
|
|
|
</a-dropdown>
|
|
|
|
|
|
- <span class="bell">
|
|
|
- <img
|
|
|
- src="../../assets/images/bell.png"
|
|
|
- alt=""
|
|
|
- width="15"
|
|
|
- @click="goAlarmingPage"
|
|
|
- />
|
|
|
- </span>
|
|
|
+
|
|
|
|
|
|
<!-- <span><img src="../../assets/images/switch.png" alt="" width="15" /></span> -->
|
|
|
</div>
|
|
@@ -101,10 +103,10 @@ export default {
|
|
|
if (window.location.host.indexOf('localhost') != -1) {
|
|
|
|
|
|
|
|
|
- window.location.href = "http://localhost:8080/#/home";
|
|
|
+ window.open("http://localhost:8080/#/home");
|
|
|
|
|
|
} else {
|
|
|
- window.location.href = "http://101.133.214.75:13201/";
|
|
|
+ window.open("http://101.133.214.75:13201/");
|
|
|
}
|
|
|
},
|
|
|
goAlarmingPage() {
|
|
@@ -154,8 +156,12 @@ export default {
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
.bell {
|
|
|
- margin: 0 0px 0 18px;
|
|
|
+ margin: 0 18px 0 18px;
|
|
|
cursor: pointer;
|
|
|
+ img{
|
|
|
+ position:relative;
|
|
|
+ top:-1px
|
|
|
+ }
|
|
|
}
|
|
|
.bell:hover {
|
|
|
opacity: 0.7;
|