Commit 1961faa8 by 前端
2 parents f588ed62 9cefc2cd
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block> <view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
</view> </view>
<view class="container" style="height: 220px;"> <view class="container" style="height: 180px;">
<bar-echart class="f2-chart" keys="{{opts.keys}}" chartData="{{chartData}}" color="{{opts.color}}" tickCount="{{opts.tickCount}}" /> <bar-echart class="f2-chart" keys="{{opts.keys}}" chartData="{{chartData}}" color="{{opts.color}}" tickCount="{{opts.tickCount}}" />
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<glsx-image class="arrows" src="store-assistant-assemble/output/arrow.png"></glsx-image> <glsx-image class="arrows" src="store-assistant-assemble/output/arrow.png"></glsx-image>
</view> </view>
</view> </view>
<view class="container" style="height: 200px;"> <view class="container" style="height: 170px;">
<line-echart class="f2-chart" period="{{timePeriod}}" chartData="{{chartData}}" color="{{opts.lineColr}}" tickCount="{{opts.tickCount}}" keys="{{opts.keys}}"/> <line-echart class="f2-chart" period="{{timePeriod}}" chartData="{{chartData}}" color="{{opts.lineColr}}" tickCount="{{opts.tickCount}}" keys="{{opts.keys}}"/>
</view> </view>
<view class="remind">请左右滑动查阅更多信息</view> <view class="remind">请左右滑动查阅更多信息</view>
......
...@@ -55,6 +55,7 @@ Component({ ...@@ -55,6 +55,7 @@ Component({
let { index } = e.currentTarget.dataset let { index } = e.currentTarget.dataset
let { tab } = this.data let { tab } = this.data
const TEMP = tab[index] const TEMP = tab[index]
this.setData({ this.setData({
tabIndex: index, tabIndex: index,
to: `to-${index}`, to: `to-${index}`,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!