File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 44
44
</client-only >
45
45
</div >
46
46
<div class =" markdown-preview" v-html =" compiledMarkdown" ></div >
47
+ <div v-if =" this.post.stackoverflow" class =" border-top pt-2" ><p class =" stackoverflow" >原文链接 https://stackoverflow.com/questions/{{this.post.stackoverflow.id}}</p ></div >
47
48
</div >
48
49
<div class =" d-flex justify-content-center mb-5 mt-3" >
49
50
<div class =" card text-dark bg-light mb-3" style =" width : 100px " >
@@ -204,13 +205,14 @@ export default {
204
205
editor: {},
205
206
comments: [],
206
207
updated_at: null ,
208
+ stackoverflow: null ,
207
209
},
208
210
favor: false ,
209
211
posts: [],
210
212
commentContent: null ,
211
213
owner: false ,
212
214
isSubmitting: false ,
213
- auth: { id: 0 }
215
+ auth: { id: 0 },
214
216
};
215
217
},
216
218
mounted () {
@@ -433,4 +435,9 @@ export default {
433
435
.comment-box {
434
436
overflow : hidden ;
435
437
}
438
+
439
+ .stackoverflow {
440
+ color : #999999 ;
441
+ font-size : 0.7em ;
442
+ }
436
443
</style >
You can’t perform that action at this time.
0 commit comments