| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!-- top-view -->
- <view class="top-view">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #E92020">
- <van-icon slot="left" name="arrow-left" size="25px" color="white" bind:click="backToParent"/>
- <text slot="title" style="color: white;">保税服务</text>
- </van-nav-bar>
- <!-- tabs -->
- <view class="tab-view">
- <van-tabs sticky animated bind:change="onTabChange" color="#2270D9" title-active-color="#2270D9" title-inactive-color="#8F8AA6">
- <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="{{ 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: yellowgreen; color: white;" bindtap="onButtonPressed">详情</view>
- <view class="item confirmprepayment" id="confirmprepayment {{ idx }}" style="background-color: darkgreen; color: white;" bindtap="onButtonPressed" wx:if="{{ orders[idx].gzbsstatus === 4 }}">确认预付款</view>
- <view class="item confirmpayment" id="confirmpayment {{ idx }}" style="background-color: maroon; color: white;" bindtap="onButtonPressed" wx:if="{{ orders[idx].gzbsstatus === 11 }}">确认付款</view>
- </view>
- </van-swipe-cell>
- </scroll-view>
- <!-- 无数据 -->
- <van-empty wx:if="{{isEmpty}}" class="custom-image" description="无数据"/>
- <!-- toast -->
- <van-toast id="van-toast" />
|