微信小程序问题集合
一、数据循环
<view class="integral-and-coupon clearfix">
<view class="iacItem" wx:for="{{ iacList }}" wx:key="iacId">
<text class="number">{{ item.iacNumber }}</text>
<text class="text">{{ item.iacText }}</text>
</view>
</view>
绑定一定要绑在item上,wx-for:
二、微信小程序遍历循环中更改某一item样式:
微信小程序遍历循环中更改某一item的css样式
三、微信小程序设置view高度为屏幕高度:
page{
height:100%;
}
view {
height:100%;
}