Chart.wxml 419 B

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