初始化 添加class 或 style发布于 6 年前作者 qhe11000 次浏览最后编辑 6 年前来自 ask 在页面初始化的时候 添加class 在onLoad时候 wx:for 的index 等于 option 传进来的参数 就 添加class(或style) 希望提供的能力