Browse Source

Merge branch 'master' of http://121.4.203.192:9000/mingxue/front

hare8999@163.com 2 years ago
parent
commit
2c773b6f1c
1 changed files with 56 additions and 1 deletions
  1. 56 1
      src/views/career/plan/new-major-detail.vue

+ 56 - 1
src/views/career/plan/new-major-detail.vue

@@ -132,7 +132,6 @@ export default {
     }
   },
   created() {
-    console.log(this.$route.query.code)
     this.code = this.$route.query.code
     this.type = this.$route.query.type || '本科'
     if (this.$route.query.code) {
@@ -193,6 +192,62 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
+.header-content {
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background: rgba(66, 185, 131, 0.1);
+}
+
+.custom-tree-node {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  width: 100%;
+  overflow: hidden;
+}
+
+.tabs-wrap {
+  margin-top: 20px;
+  height: 40px;
+
+  .tabs-item {
+    cursor: pointer;
+    padding: 0 33px;
+    border-radius: 4px 4px 0 0;
+    display: inline-block;
+    line-height: 40px;
+
+    &:hover {
+      color: #47C6A2;
+    }
+
+    &.bg-primary {
+      background: #47C6A2;
+      color: white;
+    }
+  }
+}
+
+.bg-primary {
+  background: #47C6A2 !important;
+  color: white;
+}
+
 
+
+.el-tabs--border-card ::v-deep .el-tabs__content {
+  height: calc(100vh - 176px);
+  overflow: hidden;
+  overflow-y: auto;
+}
+::v-deep .el-tree-node.is-current > .el-tree-node__content {
+  background: rgba(22, 119, 255, 0.1);
+  color: #47C6A2;
+  ::v-deep .is-leaf {
+    color: rgba(0, 0, 0, 0);
+  }
+}
 </style>