Skip to content

Commit

Permalink
feat: 调整背景图的展示位置
Browse files Browse the repository at this point in the history
  • Loading branch information
GzhiYi committed Nov 16, 2021
1 parent b94b75b commit d47efd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniprogram/pages/components/index/index.wxml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view
wx:if="{{wordData.bannerurl && wordData.show && nowTime <= wordData.urlExpire && !loadingWord}}"
class="banner-bg"
style="background-image: url('{{wordData.bannerurl}}');background-size: cover;"
style="background-image: url('{{wordData.bannerurl}}');background-size: cover;background-position: 50%;"
>

</view>
Expand Down

0 comments on commit d47efd7

Please sign in to comment.