Files
gaoYuJournal/miniprogram/components/background/snowflake/index.wxml
2025-12-05 10:38:55 +08:00

10 lines
325 B
Plaintext

<!--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>