添加编辑器粘贴功能
This commit is contained in:
parent
ada4718146
commit
868fc81fd1
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -2,6 +2,7 @@
|
|||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"Weibo",
|
"Weibo",
|
||||||
"Weixin",
|
"Weixin",
|
||||||
|
"categorys",
|
||||||
"consola",
|
"consola",
|
||||||
"eslintignore",
|
"eslintignore",
|
||||||
"fontawesome",
|
"fontawesome",
|
||||||
|
@ -62,9 +62,9 @@
|
|||||||
label 热门文章
|
label 热门文章
|
||||||
ul
|
ul
|
||||||
li(v-for='(hotArticle, index) in $store.state.hotArticle', :key='index')
|
li(v-for='(hotArticle, index) in $store.state.hotArticle', :key='index')
|
||||||
.thumbnail(v-if='hotArticle.postimages[0]')
|
.thumbnail(v-if='hotArticle && hotArticle.postimages && hotArticle.postimages[0]')
|
||||||
img(width='150', :src="hotArticle.postimages[0].guid + '?x-oss-process=image/resize,m_lfit,h_150,w_150'")
|
img(width='150', :src="hotArticle.postimages[0].guid + '?x-oss-process=image/resize,m_lfit,h_150,w_150'")
|
||||||
.detail(:style='hotArticle.postimages[0] ? "margin-left: 70px" : "margin-left: 0"')
|
.detail(:style='hotArticle && hotArticle.postimages && hotArticle.postimages[0] ? "margin-left: 70px" : "margin-left: 0"')
|
||||||
nuxt-link(:to="'/post/' + hotArticle.ID", :title='hotArticle.post_title') {{ hotArticle.post_title }}
|
nuxt-link(:to="'/post/' + hotArticle.ID", :title='hotArticle.post_title') {{ hotArticle.post_title }}
|
||||||
.meta {{ hotArticle.post_modified }}
|
.meta {{ hotArticle.post_modified }}
|
||||||
.widget.links(v-if="$route.path === '/'")
|
.widget.links(v-if="$route.path === '/'")
|
||||||
|
Loading…
Reference in New Issue
Block a user