| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!-- top-view -->
- <view class="top-view">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #407DB8">
- <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
- <text slot="title" style="color: #fff;">保税服务</text>
- </van-nav-bar>
- <!-- tabs -->
- <view class="tab-view">
- <van-tabs sticky animated bind:change="onTabChange" color="#2270D9" line-width="20px" title-inactive-color="#333" title-active-color="#407DB8">
- <van-tab wx:for="{{ tabs }}" wx:for-item="itm" wx:key="id" id="{{ itm.id }}" title="{{ itm.name }}"/>
- </van-tabs>
- </view>
- <!-- 列头 -->
- <view class="title-view">
- <view class="title-view-up">
- <text wx:for="{{ titles[0] }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">{{ itm }}</text>
- </view>
- <view class="title-view-mid">
- <text wx:for="{{ titles[1] }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">{{ itm }}</text>
- </view>
- <view class="title-view-dwn">
- <text wx:for="{{ titles[2] }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">{{ itm }}</text>
- </view>
- </view>
- </view>
- <!-- 内容滚动视图 -->
- <scroll-view class="content-view" style="padding-bottom: {{ safeBottom+48 }}px;">
- <!-- 数据 -->
- <van-swipe-cell wx:for="{{ values }}" wx:for-item="itm" wx:for-index="idx" right-width="{{ itm.width }}" wx:key="orderid">
- <view class="item-view">
- <view class="item-view-up">
- <text wx:for="{{ itm.up }}" wx:for-item="data" wx:for-index="idx" wx:key="idx">{{ data }}</text>
- </view>
- <view class="item-view-mid">
- <text wx:for="{{ itm.mid }}" wx:for-item="data" wx:for-index="idx" wx:key="idx">{{ data }}</text>
- </view>
- <view class="item-view-dwn">
- <text wx:for="{{ itm.dwn }}" wx:for-item="data" wx:for-index="idx" wx:key="idx">{{ data }}</text>
- </view>
- </view>
- <!-- 取消收藏 -->
- <view slot="right" class="van-swipe-cell__right">
- <view class="item detail" id="detail {{ idx }}" style="background-color: #407DB8; color: white;" bindtap="onButtonPressed">详情</view>
- <view wx:if="{{ bonds[idx].gzbsstatus === 5 }}" class="item confirmprepayment" id="confirmprepayment {{ idx }}" style="background-color: #F7A657; color: white;" bindtap="onButtonPressed">确认预付款</view>
- <view wx:if="{{ bonds[idx].gzbsstatus === 11 }}" class="item confirmpayment" id="confirmpayment {{ idx }}" style="background-color: maroon; color: white;" bindtap="onButtonPressed">确认付款</view>
- </view>
- </van-swipe-cell>
- </scroll-view>
- <!-- 无数据 -->
- <van-empty wx:if="{{ isEmpty }}" class="custom-image" description="无数据"/>
- <!-- toast -->
- <van-toast id="van-toast" />
|