oak-pay-business/es/components/withdraw/list/index.xml

37 lines
1.4 KiB
XML

<block wx:if="{{withdraws && withdraws.length > 0}}">
<scroll-view scroll-y bindscrolltolower="loadMoreMp" class="myScroll" refresher-enabled="{{true}}"
bindrefresherrefresh="bindrefresherrefresh" refresher-triggered="{{refreshing}}">
<view wx:for="{{withdraws}}" wx:key="id" style="background-color:#fff;">
<l-list
gap="{{16}}"
tag-color="{{item.iStateColor}}"
tag-content="{{item.iState}}"
tag-position="right"
bind:lintap="goToDetailMp"
data-id="{{item.id}}"
>
<view slot="left-section" class="left">
<oak-icon name="financial_fill" size="36" />
<view class="middle">
<view class="tip">{{item.lossDescription}}</view>
<view class="price">{{t('common::pay.symbol')}} {{item.price}}</view>
<view class="tip">{{item.createAt}}</view>
</view>
</view>
</l-list>
</view>
</scroll-view>
</block>
<block wx:else>
<view class="infoContainer">
<l-icon size="64" name="warning" color="@oak-color-primary" />
<view>{{t('noData')}}</view>
<l-button
bind:lintap="goBack"
plain="true"
l-class="backBtn"
>
{{t('common::back')}}
</l-button>
</view>
</block>