修改动画效果(失败T_T)

商品页动画。
This commit is contained in:
2026-08-05 10:13:52 +08:00
parent ba62c9f930
commit 91a68fef0b
80 changed files with 399 additions and 124 deletions
+16
View File
@@ -141,6 +141,22 @@
</canvas>
</template>
<template name="tmpl_0_27">
<grid-view type="{{xs.b(i.p5,'aligned')}}" cross-axis-count="{{xs.b(i.p0,2)}}" max-cross-axis-extent="{{xs.b(i.p3,0)}}" main-axis-gap="{{xs.b(i.p2,0)}}" cross-axis-gap="{{xs.b(i.p1,0)}}" padding="{{xs.b(i.p4,[0, 0, 0, 0])}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" />
</block>
</grid-view>
</template>
<template name="tmpl_0_60">
<share-element key="{{i.p2}}" transform="{{xs.b(i.p3,false)}}" duration="{{xs.b(i.p0,300)}}" easing-function="{{xs.b(i.p1,'ease-out')}}" transition-on-gesture shuttle-on-push="{{i.p0 === 301 ? 'from' : 'to'}}" rect-tween-type="linear" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" />
</block>
</share-element>
</template>
<template name="tmpl_0_8">
<block>{{i.v}}</block>
</template>