fix: 热门排序异常
This commit is contained in:
parent
88e4f4ec78
commit
3bba510ae0
@ -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
|
.thumbnail(v-if='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
|
.detail(:style='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