no message
Former-commit-id: 2225640189e4909b549a4f37268dccafa93637af Former-commit-id: 9e62bbbe4a133c11e6fd353eaa464aef2a69c332 Former-commit-id: 56300c6fdfe9d5b0ace7b093878c88bfdf401c13
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
<div class="spin-group" v-if="!markedHTML">
|
||||
<div>正在加载</div>
|
||||
</div>
|
||||
<img src="/static/image/baidu-pan-logo.png">
|
||||
<div class="markdown-body" v-html="markedHTML"></div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -68,6 +67,7 @@ export default {
|
||||
marked (data) {
|
||||
const renderer = new marked.Renderer()
|
||||
renderer.blockquote = (quote) => {
|
||||
// 百度网盘
|
||||
return bandupan(quote) || `<blockquote>${quote}</blockquote>`
|
||||
}
|
||||
return marked(data, {
|
||||
@@ -91,5 +91,17 @@ export default {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
$baidupanHeight: 40px;
|
||||
.baidupan {
|
||||
height: $baidupanHeight;
|
||||
overflow: hidden;
|
||||
margin-bottom: 16px;
|
||||
.l {
|
||||
float: left;
|
||||
}
|
||||
.r {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user