We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a5b5a commit 4afeca2Copy full SHA for 4afeca2
src/recycle-view.wxml
@@ -7,7 +7,7 @@
7
<view style="height:{{hasBeforeSlotHeight ? beforeSlotHeight + 'px' : 'auto'}}" class="slot-before">
8
<slot name="before"></slot>
9
</view>
10
- <view style='position:relative;width:100%;z-index:10;background: url("{{placeholderImageStr}}") repeat;height:{{totalHeight}}px;'>
+ <view style="position:relative;width:100%;z-index:10;{{placeholderImageStr? 'background: url(' + placeholderImageStr + ') repeat' : '' }};height:{{totalHeight}}px;">
11
<!-- <view class='before' style="height:{{innerBeforeHeight}}px"></view> -->
12
<view style="position: absolute;left:0;width:100%;top:{{innerBeforeHeight}}px;">
13
<slot></slot>
0 commit comments