|
@@ -4610,7 +4610,7 @@
|
|
|
width="79.533"
|
|
|
height="23.402"
|
|
|
></rect>
|
|
|
- <g>
|
|
|
+ <g id="footer">
|
|
|
<g>
|
|
|
<text
|
|
|
transform="matrix(1 0 0 1 18.8752 1030.8413)"
|
|
@@ -9082,6 +9082,7 @@
|
|
|
<script>
|
|
|
import previewPicture from "../previewPicture.vue";
|
|
|
import { BoosterStation } from "./BoosterStation";
|
|
|
+import $ from "jquery";
|
|
|
export default {
|
|
|
components: {
|
|
|
previewPicture,
|
|
@@ -9096,10 +9097,24 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.boosterStation = new BoosterStation();
|
|
|
-
|
|
|
this.refreshTPData();
|
|
|
this.interval = setInterval(this.refreshTPData, 1000);
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ if(this.$store.state.themeName === "light"){
|
|
|
+ for(let i=0;i<$('#other text').length;i++){
|
|
|
+ let that = $('#other text').eq(i);
|
|
|
+ let fill = that.attr('fill');
|
|
|
+ let txt = parseInt(that.text());
|
|
|
+ let zn = /.*[\u4e00-\u9fa5]+.*$/.test(that.text());//判断是否包含中文
|
|
|
+ if(fill === '#FFFFFF' && !isNaN(txt) && !zn){
|
|
|
+ that.attr('fill','#000');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
methods: {
|
|
|
closed() {
|
|
|
clearInterval(this.interval);
|