|
@@ -16,7 +16,7 @@
|
|
<view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
|
|
<view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</scroll-view>
|
|
- <swiper current="{{currentTab}}" style="padding: 0 10px;margin-top: 15rpx;height: 500rpx;width: 100%;" duration="1">
|
|
|
|
|
|
+ <swiper current="{{currentTab}}" style="padding: 0 10px;margin-top: 15rpx;height: 500rpx;width: 100%;" duration="1" bindchange="handleSwiper">
|
|
<swiper-item wx:for="{{statistics}}" wx:key="index">
|
|
<swiper-item wx:for="{{statistics}}" wx:key="index">
|
|
<ec-canvas id="{{item.name}}" canvas-id="{{item.name}}" ec="{{ streetlinechartec }}" />
|
|
<ec-canvas id="{{item.name}}" canvas-id="{{item.name}}" ec="{{ streetlinechartec }}" />
|
|
</swiper-item>
|
|
</swiper-item>
|