Commit 4320f810 by 前端

fixed

1 parent aad37ccc
...@@ -108,7 +108,7 @@ Component({ ...@@ -108,7 +108,7 @@ Component({
}, },
listData: [], listData: [],
chartData: [], chartData: [],
activeTrigger: false, triggered: false,
activePageNum: 1, activePageNum: 1,
activeTotal: 0, activeTotal: 0,
pageNum: 1, pageNum: 1,
...@@ -134,7 +134,7 @@ Component({ ...@@ -134,7 +134,7 @@ Component({
initLocal(val) { initLocal(val) {
this.setData({ this.setData({
type: val, type: val,
activeTrigger: false, triggered: false,
noResult: false, noResult: false,
sfaffList: [], sfaffList: [],
tabelTh: [] tabelTh: []
...@@ -237,7 +237,6 @@ Component({ ...@@ -237,7 +237,6 @@ Component({
thisPage.setData({loading:false}) thisPage.setData({loading:false})
this.setData({ this.setData({
outputData: { outputData: {
triggered: false,
...this.data.outputData, ...this.data.outputData,
...res ...res
} }
......
<scroll-view scroll-y class="content" class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="activityRefresh" style="{{'height: calc(100% - 22rpx);'}}">
<scroll-view scroll-y class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="activityRefresh" style="{{'height: calc(100% - 22rpx);'}}">
<view class="output-box"> <view class="output-box">
<view class="output-title">产值总览</view> <view class="output-title">产值总览</view>
<view class="output-value"> <view class="output-value">
...@@ -28,4 +29,4 @@ ...@@ -28,4 +29,4 @@
</view> </view>
</scroll-view > </scroll-view >
<van-calendar max-range="{{ 30 }}" show="{{ isShow }}" type="range" color="#4466F0" bind:confirm="onConfirm" bind:close="onClose"/>
\ No newline at end of file \ No newline at end of file
<van-calendar max-range="{{ 30 }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" show="{{ isShow }}" type="range" color="#4466F0" bind:confirm="onConfirm" bind:close="onClose"/>
\ No newline at end of file \ No newline at end of file
...@@ -83,7 +83,7 @@ Component({ ...@@ -83,7 +83,7 @@ Component({
this.setData(result) this.setData(result)
}) })
} }
thisPage.setData({loading:false}) // thisPage.setData({loading:false})
wx.hideLoading() wx.hideLoading()
}) })
}, },
......
...@@ -15,7 +15,7 @@ Component({ ...@@ -15,7 +15,7 @@ Component({
showMenu: false, showMenu: false,
totals_zc: 0, totals_zc: 0,
ids: [], ids: [],
currentServiceType: 1, currentServiceType: 0,
}, },
methods: { methods: {
// 获取众筹总数 // 获取众筹总数
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!