|
|
@@ -1,9 +1,9 @@
|
|
|
<!-- 头部视图 -->
|
|
|
<view class="top-view" style="position: sticky; top: 0; z-index: 999;">
|
|
|
<!-- 导航视图 -->
|
|
|
- <view class="nav-view" style="height: {{ statusBarHeight + navHeight + 10}}px;">
|
|
|
+ <view class="nav-view" style="height: {{ topHeight}}px;">
|
|
|
<!-- tabs -->
|
|
|
- <view class="tab-view" style="padding-top: {{ statusBarHeight }}px; height: {{ navHeight }}px;">
|
|
|
+ <view class="tab-view" style="padding-top: {{ statusBarHeight }}px;">
|
|
|
<van-tabs active="{{ active }}" custom-class="van-tabs" nav-class="van-tabs__nav" sticky animated bind:change="onTabChange" color="#fff" line-width="20px" title-active-color="#fff" title-inactive-color="#CAE5FF">
|
|
|
<van-tab wx:for="{{ tabs }}" wx:for-item="itm" wx:key="id" id="{{ itm.id }}" title="{{ itm.name }}"/>
|
|
|
</van-tabs>
|
|
|
@@ -34,7 +34,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 内容滚动视图 -->
|
|
|
-<scroll-view wx:if="{{ !isEmpty }}" class="content-view" style="padding-bottom: {{ length > 3 ? safeBottom+navHeight+15 : 5 }}px;">
|
|
|
+<scroll-view wx:if="false" class="content-view" style="padding-bottom: {{ length > 3 ? safeBottom+navHeight+15 : 5 }}px;">
|
|
|
<!-- 数据 -->
|
|
|
<van-swipe-cell wx:for="{{ active === 0 ? sellOrders : askOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="wrtradeorderid" right-width="50" >
|
|
|
<view class="vanSwipeCell-item">
|