diff --git a/src/assets/styles/map.css b/src/assets/styles/map.css index f2d21ea..076327d 100644 --- a/src/assets/styles/map.css +++ b/src/assets/styles/map.css @@ -176,4 +176,9 @@ margin-left: 6px; } } +} +.color-value { + display: inline-block; + width: 45px; + text-align: center; } \ No newline at end of file diff --git a/src/components/NavigationBar/index.vue b/src/components/NavigationBar/index.vue index 8162d23..48d1379 100644 --- a/src/components/NavigationBar/index.vue +++ b/src/components/NavigationBar/index.vue @@ -19,11 +19,15 @@
@@ -97,7 +101,7 @@ export default { ], }; }, - mounted() {}, + methods: { handleBack() { this.$router.back(); @@ -109,9 +113,16 @@ export default { this.title = title; this.open = true; }, + + goSteam() { + this.$router.push("/system/user"); + }, }, computed: { ...mapGetters(["name", "yjTotal"]), + handlerBtn() { + return this.$route.name == "xiaoqu" && this.$auth.hasRole("admin"); + }, }, }; diff --git a/src/components/NavigationBar/userModel.vue b/src/components/NavigationBar/userModel.vue index 1bf899a..2c72fe5 100644 --- a/src/components/NavigationBar/userModel.vue +++ b/src/components/NavigationBar/userModel.vue @@ -1,5 +1,5 @@ -