Parcourir la source

feat: 私密消息(笔记)功能完成

ChenYangfan il y a 6 ans
Parent
commit
52e9b5c264

+ 5 - 2
src/components/Discussion/CComment.vue

@@ -197,9 +197,12 @@ export default {
 }
 
 .comment-reply {
+  font-weight: normal;
   font-size: 14px;
-  padding: 4px 8px;
-  background: $theme-green-transparent;
+  padding: 6px 8px;
+  margin-top: 8px;
+  border: 1px solid #dadada;
+  background-color: white;
 
   &-time {
     color: #8a9aaa;

+ 2 - 2
src/components/Discussion/CommentToolBar.vue

@@ -30,9 +30,9 @@ import ShowTransitionSmall from '@/animations/ShowTransitionSmall'
 
 export default {
   props: {
-    userId: String,
+    userId: Number,
     reply: String,
-    topNumber: Number,
+    topNumber: Number || String,
     personal: Boolean
   },
   components: { ShowTransitionSmall, CButton, CInput, IconButton },

+ 2 - 2
src/views/shared/Notes.vue

@@ -71,8 +71,8 @@ export default {
   padding: 64px 24px;
   margin: 0 auto;
   max-width: 720px;
-  background-color: #fafafa;
-  box-shadow: 0 0 0 1000px #fafafa;
+  background-color: #fcfcfc;
+  box-shadow: 0 0 0 1000px #fcfcfc;
 }
 
 .c-comment {

+ 1 - 1
src/views/teacher/tabs/TeacherExplore.vue

@@ -51,7 +51,7 @@
         </template>
       </section>
       <router-link :to="{ name: 'notes' }">
-        <c-button block icon="notes" theme="blue">我的讨论和笔记</c-button>
+        <c-button icon="notes" theme="blue">我的讨论和笔记</c-button>
       </router-link>
     </div>
     <slide-in-different-transition>