add raindrop background
This commit is contained in:
9
miniprogram/components/background/raindrop/index.wxml
Normal file
9
miniprogram/components/background/raindrop/index.wxml
Normal file
@ -0,0 +1,9 @@
|
||||
<!--components/background/raindrop/index.wxml-->
|
||||
<view class="raindrops" style="width: {{docWidth}}px; height: {{docHeight}}px;">
|
||||
<view
|
||||
class="raindrop"
|
||||
wx:for="{{raindrops}}"
|
||||
wx:key="index"
|
||||
style="left: {{item.x}}px; height: {{item.length}}px; animation-duration: {{item.speed}}s;"
|
||||
></view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user