Skip to content

Commit

Permalink
修复cover背景图片显示
Browse files Browse the repository at this point in the history
  • Loading branch information
weizwz committed Nov 23, 2023
1 parent 6cc6f0e commit c6abb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recommend.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
i(class=`${item.icon}`)
#recommend-post.recommend-wrapper
#recommend-post-main.recommend-post-main
.recommend-post-cover(onclick=`recommend.toPost("${recommend_cover.path}")` style=`background: linear-gradient(to right, #358bff, #15c6ff) url(${recommend_cover.recommend_home_cover}) no-repeat center/cover`)
.recommend-post-cover(onclick=`recommend.toPost("${recommend_cover.path}")` style=`background: #409eff url(${recommend_cover.recommend_home_cover}) no-repeat center/cover`)
.recommend-post-cover-wrapper
.recommend-post-cover-info(onclick=`recommend.toPost("${recommend_cover.path}")`)
.recommend-post-cover-subTitle=`${recommend_cover.recommend_subTitle}`
Expand Down

0 comments on commit c6abb18

Please sign in to comment.