no message

Former-commit-id: 2225640189e4909b549a4f37268dccafa93637af
Former-commit-id: 9e62bbbe4a133c11e6fd353eaa464aef2a69c332
Former-commit-id: 56300c6fdfe9d5b0ace7b093878c88bfdf401c13
This commit is contained in:
李杨
2018-02-24 17:49:00 +08:00
parent 8e56999f74
commit 1566deb8b1
2 changed files with 21 additions and 2 deletions

View File

@@ -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>