<view class="container"> <!-- <view class="nodate flex_row" wx:if="{{tragetChart&&!tragetChart.length}}"> 暂无数据 </view> --> <f2 class="f2-chart" id="envchart" opts="{{opts}}" /> </view>