lineChart.wxml 364 B

123456
  1. <view wx:if="{{show}}" class="canvas">
  2. <view class="btnType" wx:if="{{btnList.length}}">
  3. <view bindtap="changeselect" data-type="{{item.type}}" class="{{'chartBtn' + (item.type === select ? ' active' : '')}}" wx:for="{{btnList}}" wx:key="name">{{item.name}}</view>
  4. </view>
  5. <ec-canvas id="{{id}}" canvasId="{{canvasId}}" ec="{{ ec }}"></ec-canvas>
  6. </view>