<view class="watermark"><block wx:for="{{num}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{text!=''}}"><view class="watermark-text" style="{{'opacity:'+(opacity)+';'}}">{{text}}</view></block><block wx:if="{{imgUrl!=''&&text==''}}"><image class="watermark-img" style="{{'opacity:'+(opacity)+';'}}" src="{{imgUrl}}" mode="aspectFill"></image></block></block></block></view>