}, { bankname: "农业银行", accountname: "多少是多少", account: "324", cun: "存入网点3", zhi: "支出网点3",
} ] }, { id: "002", areaName: "嘉琳", active: "false", banks: [{ bankname: "建设银行", accountname: "多少是多少", account: "324", cun: "存入网点1", zhi: "支出网点1",
}, { bankname: "建设银行", accountname: "多少是多少", account: "324", cun: "存入网点2", zhi: "支出网点2",
}, { bankname: "农业银行", accountname: "多少是多少", account: "324", cun: "存入网点3", zhi: "支出网点3",
}] }, { id: "003", areaName: "高坪", active: "false", banks: [{ bankname: "建设银行", accountname: "多少是多少", account: "324", cun: "存入网点1", zhi: "支出网点1",
}, { bankname: "建设银行", accountname: "多少是多少", account: "324", cun: "存入网点2", zhi: "支出网点2",
}] } ]
<block wx:for="{{jgArea}}" wx:key="{{jgArea.bank}}" wx:for-item="itemName"> <view data-item="{{itemName}}"> <view class="title"> <view class="left">{{itemName.areaName}}</view> </view> <block data-item="{{itemName}}" wx:for="{{itemName.banks}}" wx:for-item="item" wx:key="{{itemName.banks.account}}"> <view class="weui-cell " data-item="{{item}}" bindtap="toDetail"> <view class="weui-cell__bd">{{item.bankname}}</view> <view class="weui-cell__ft"> <i-icon type="enter" size="28" /> </view> </view> </block> </view> </block>