|
@@ -463,7 +463,9 @@ export default {
|
|
|
height: 8,
|
|
|
attrs: {
|
|
|
body: {
|
|
|
- fill: partten.getColor("green"),
|
|
|
+ fill:this.$store.state.themeName === "dark"
|
|
|
+ ? partten.getColor("green")
|
|
|
+ : partten.getColor("blue"),
|
|
|
stroke: "transparent",
|
|
|
class: "node-hover",
|
|
|
"data-item": encodeURIComponent(JSON.stringify(data)),
|
|
@@ -574,6 +576,9 @@ export default {
|
|
|
});
|
|
|
this.initStation();
|
|
|
},
|
|
|
+ "$store.state.themeName"() {
|
|
|
+ this.initStation();
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -594,11 +599,11 @@ export default {
|
|
|
min-width: 30px;
|
|
|
min-height: 32px;
|
|
|
padding: 6px 8px;
|
|
|
- color: #000000bf;
|
|
|
+ color: #fff;
|
|
|
text-align: left;
|
|
|
text-decoration: none;
|
|
|
word-wrap: break-word;
|
|
|
- background-color: #36348e;
|
|
|
+ background-color: #000000bf;
|
|
|
border-radius: 2px;
|
|
|
box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014,
|
|
|
0 9px 28px 8px #0000000d;
|