yuminge-app/yun-min-program-plugin-master/packageI/independenceBalance/storeBalanceDetail/storeBalanceDetail.wxml

25 lines
1006 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--packageI/independenceBalance/storeBalanceDetail/storeBalanceDetail.wxml-->
<van-tabs active="{{active}}" bind:change="swichTabTItem">
<van-tab title="全部"></van-tab>
<van-tab title="收入"></van-tab>
<van-tab title="支出"></van-tab>
</van-tabs>
<view wx:if="{{recordsList && recordsList.length > 0}}">
<block wx:for="{{recordsList}}" wx:key="index">
<view class="tbs" catchtap="goDetail" data-id="{{item.id}}" data-name="store">
<view class="item2">
<view >{{ item.mold_name }}</view>
<view >{{ title }}{{ item.after_balance }}</view>
<view class="item1 li">{{ item.created_at }}
</view>
</view>
<view class="item3" wx:if="{{item.type == 1}}">
<view class="add">+ {{ item.change_balance }}</view>
</view>
<view class="item3" wx:if="{{item.type == -1}}">
<view class="reduce">{{ item.change_balance }}</view>
</view>
</view>
</block>
</view>
<yz-blank wx:if="{{recordsList <= 0}}"></yz-blank>