diff --git a/.env.dev b/.env.dev
index 0cdd24e..542371b 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,7 +1,7 @@
###
# @Author: zhp
# @Date: 2024-04-28 13:42:51
- # @LastEditTime: 2024-05-20 08:31:10
+ # @LastEditTime: 2024-05-21 08:36:39
# @LastEditors: zhp
# @Description:
###
diff --git a/src/views/copilot/components/CopilotHeader.vue b/src/views/copilot/components/CopilotHeader.vue
index 659a686..126278c 100644
--- a/src/views/copilot/components/CopilotHeader.vue
+++ b/src/views/copilot/components/CopilotHeader.vue
@@ -8,33 +8,19 @@
@@ -120,7 +106,7 @@ export default {
letter-spacing: 5px;
font-family: 优设标题黑;
color: #6db6ff;
- text-align: right;
+ text-align: center;
user-select: none;
}
diff --git a/src/views/copilot/container.vue b/src/views/copilot/container.vue
index 3a17b4a..7dcde36 100644
--- a/src/views/copilot/container.vue
+++ b/src/views/copilot/container.vue
@@ -1,4 +1,3 @@
-
-
-
+
+
-
-
-
+
+
+
@@ -39,6 +38,31 @@ export default {
currentsStyles: '',
};
},
+ methods: {
+ updateActive(val, oldVal) {
+ console.log(val)
+ if (val === '效率') {
+ this.$router.push({
+ path: 'efficiency-container',
+ query: {
+ name: '效率'
+ }
+ })
+ // this.page = oldVal
+ } else if (val === '产量') {
+ this.$router.push({
+ path: 'main',
+ query: {
+ name: '产量'
+ }
+ })
+ // this.page = oldVal
+ }
+ }
+ },
+ // mounted() {
+ // this.page = this.$route.query.name
+ // },
// watch: {
// page(val) {
// if (val === '产量') {
@@ -65,7 +89,6 @@ export default {
};