预算配置
This commit is contained in:
@@ -4,24 +4,27 @@
|
||||
<view bind:tap="changeBudget" data-type="count" class="inline_box font_big">总预算<t-icon name="tools"/></view>
|
||||
</view>
|
||||
<view class="pay_look">
|
||||
<text class="center_look font_big">{{ mainMoney }}</text>
|
||||
<text class="center_look font_big">{{ sumBudget }}</text>
|
||||
</view>
|
||||
<view class="balance_look">
|
||||
<text>当月使用: {{ 900.00 }}</text>
|
||||
<text>预算剩余: {{ 1200.00 }}</text>
|
||||
<text>当月使用: {{ sumUsed }}</text>
|
||||
<text>预算剩余: {{ sumBalance }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<t-cell wx:for="{{payTypeList}}" wx:key="index"
|
||||
title="{{item.name}}"
|
||||
title="{{item.expendName}}"
|
||||
align="top"
|
||||
image="/image/bill/3.png"
|
||||
note="{{item.money}}"
|
||||
image="{{item.expendIcon}}"
|
||||
note="{{item.budget}}"
|
||||
bind:tap="changeBudget"
|
||||
data-type="item"
|
||||
data-id="{{item.id}}"
|
||||
>
|
||||
<t-progress wx:if="{{item.money}}" slot="description" percentage="{{25}}" />
|
||||
<view wx:if="{{item.money}}" slot="description">
|
||||
<t-progress percentage="{{25}}" />
|
||||
<text>已使用:{{item.used}}</text>
|
||||
</view>
|
||||
<text class="error_msg" wx:else slot="description">未设置预算</text>
|
||||
</t-cell>
|
||||
<t-dialog
|
||||
|
||||
Reference in New Issue
Block a user