Browse Source

主题、问题关联样式

CzRger 5 days ago
parent
commit
7060d6badd
1 changed files with 17 additions and 9 deletions
  1. 17 9
      src/views/smart-ask-answer/assistant/index.vue

+ 17 - 9
src/views/smart-ask-answer/assistant/index.vue

@@ -282,6 +282,7 @@ onMounted(() => {
 </script>
 
 <style lang="scss" scoped>
+::-webkit-scrollbar-thumb { background-color: transparent; }
 .title_1 {
   font-family: Microsoft YaHei;
   font-weight: bold;
@@ -294,7 +295,7 @@ onMounted(() => {
 .list_1 {
   margin-top: auto;
   width: 100%;
-  height: 126px;
+  height: 146px;
   display: flex;
   flex-direction: column;
   //overflow: hidden;
@@ -460,23 +461,30 @@ onMounted(() => {
               font-size: 14px;
               color: #FFFFFF;
               padding: 0 14px;
+              &.active {
+                background: #d32520;
+              }
             }
           }
         }
         .assistant-main-list-hot-question {
           flex: 1;
-          margin-left: 24px;
+          margin-left: 12px;
           position: relative;
-          &:before {
-            content: '';
-            width: 1px;
-            height: 163px;
-            background: #C8D8F0;
-            position: absolute;
-            left: -24px;
+          background-color: #f4f6fa;
+          padding: 12px 20px;
+          border-radius: 16px;
+          .title_1 {
+            font-size: 20px;
           }
           .list_1 {
             margin-top: 14px;
+            height: 96px;
+            .item {
+              >span {
+                min-height: 34px;
+              }
+            }
           }
         }
       }