• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JenniferL
V2EX  ›  程序员

小程序如何给 wx:for 循环的元素添加动画呢?

  •  
  •   JenniferL · May 10, 2018 · 3363 views
    This topic created in 3116 days ago, the information mentioned may be changed or developed.

    添加的动画需要是单独的,不能影响其他元素的那种

    跪求大神解答!!

    w3313003
    w3313003
    May 10, 2018
    1
    <view wx:for..... class={{index === sign ? 'animate' : 'normal'}}>
    JenniferL
    JenniferL
    OP
    May 10, 2018 via iPhone
    2
    @w3313003 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2111 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:46 · PVG 21:46 · LAX 05:46 · JFK 08:46
    ♥ Do have faith in what you're doing.