使用 场景 同一个页面展示两个数组,在js 中计算数组长度麻烦 可在wxml中进行操作 在wxml 中使用 (将其在wxml 文件中引入) <view class="item-info"> <view class="item-title">业主审核</view> <wxs src