Commit 8485f4f5 authored by Facius's avatar Facius

备件订单页面滚动

parent 34119e41
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
return '#2272FF' return '#2272FF'
} }
}, },
// 待签收 15 -> 已签收 20; 10 待审核 1 -> 已取消 -1 // 待签收 15 -> 已签收 20; 待审核 1 -> 已取消 -1
willStatuses() { willStatuses() {
return { return {
'1': '-1', '1': '-1',
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
bar-width="44" :offset="[0,0]" :list="list" count="total" :current="currentIndex" @change="change" bar-width="44" :offset="[0,0]" :list="list" count="total" :current="currentIndex" @change="change"
:is-scroll="false" font-size="28" bold></u-tabs> :is-scroll="false" font-size="28" bold></u-tabs>
</view> </view>
<view class="tab-view">
<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom" scroll-anchoring <scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom" scroll-anchoring
refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100" @scroll="scroll" refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100" @scroll="scroll"
:scroll-top="scrollTop" refresher-background="#F4F5F7" @refresherpulling="triggered = true" :scroll-top="scrollTop" refresher-background="#F4F5F7" @refresherpulling="triggered = true"
...@@ -33,6 +34,7 @@ ...@@ -33,6 +34,7 @@
</view> </view>
</template> </template>
</scroll-view> </scroll-view>
</view>
<view class="fixed-button"> <view class="fixed-button">
<ApplyButton :type="buttonType" @click="handleClickApply" /> <ApplyButton :type="buttonType" @click="handleClickApply" />
</view> </view>
...@@ -279,9 +281,9 @@ ...@@ -279,9 +281,9 @@
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
// .tab-view { .tab-view {
// height: 100%; height: 100%;
// overflow: auto; overflow: auto;
.load-more-view { .load-more-view {
margin-bottom: 20rpx; margin-bottom: 20rpx;
...@@ -295,7 +297,7 @@ ...@@ -295,7 +297,7 @@
margin-top: 300rpx; margin-top: 300rpx;
position: absolute; position: absolute;
} }
// } }
.fixed-button { .fixed-button {
position: fixed; position: fixed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment