小程序遍历对象(百度智能小程序) 兰颜 2022-07-26 156 阅读1分钟 编辑 编辑 <view class="flex flex-wrap justify-between px-34px school-title"> <text class="{{list.id == list.id ? active : ''}}" s-for="list,key in counrtylist" data-id="{{key}}">{{list}}</text> </view> \