Chart.wxml 417 B

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