<view class="box">
<view class="box_header">
<image src="{{UserP.avatar}}" class="userImg">image>
<view class="userName">{{name}}view>
<view class="general_income">
<view style="font-size:32rpx;font-weight:600">1000000view>
<view>总收入view>
view>
view>
<view class="box_conter">
<view wx:for="{{salarySheetList}}">
<view style="font-size:32rpx;">{{item.startDate}}~{{item.endingdate}}view>
<view wx:for="{{item.userList}}" wx:for-item="item_job" wx:for-index="idx">
<view class="job_name">{{item_job.jobname}}view>
<view wx:for="{{item_job.settingidList}}" wx:for-item="job_wage" wx:for-index="idxs" style="display:flex;padding:10rpx;border-bottom:1px solid #f1f1f1" >
<view style="width:165rpx">{{job_wage.sname}}view>
<view style="width:100rpx; margin-left:380rpx;text-align:center">{{job_wage.money}}view>
view>
view>
view>
view>
view>
不报错,真机预览调试台wxml无代码。
去掉for循环内两层渲染可以显示。