Эх сурвалжийг харах

fix: 修复首页样式缺陷 & 三级页传参

zhangyuhan 4 жил өмнө
parent
commit
185bc12caf

+ 1 - 1
jydocs-pc/src/views/Content.vue

@@ -206,7 +206,7 @@ export default {
       }
     },
     details () {
-      getDetails({ docId: this.docIds }).then(res => {
+      getDetails({ docId: this.docIds, from: this.$route.query.from }).then(res => {
         console.log(res)
         if (res.data.error_code === 0) {
           this.datas = res.data.data.detail

+ 5 - 0
jydocs-pc/src/views/Home.vue

@@ -421,6 +421,11 @@ export default {
         padding-bottom: 34px;
         box-sizing: border-box;
         margin-top: 40px;
+
+      .title-group h5 {
+          color: #863700;
+        }
+
         .new-list-group {
             background-color: white;
             border-radius: 8px;