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