project init & fix ui
This commit is contained in:
37
pages/index/index.wxml
Normal file
37
pages/index/index.wxml
Normal file
@@ -0,0 +1,37 @@
|
||||
<view class="main_look">
|
||||
<view class="look_content">
|
||||
<view class="pay_look">
|
||||
<text>今日支出\n</text>
|
||||
<text class="font_big">200.00</text>
|
||||
</view>
|
||||
<view class="balance_look">
|
||||
<text>账户余额:2235.20</text>
|
||||
<text>预算余额:300.00</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="space_box font_small">
|
||||
<text>当月预算消费情况</text>
|
||||
<view class="inline_box"><t-icon name="tools" size="28rpx"/>调整</view>
|
||||
</view>
|
||||
<view class="padding_box">
|
||||
<t-progress theme="plump" percentage="{{progress}}" status="{{progress > 80 ? 'error' : 'success' }}" />
|
||||
</view>
|
||||
<view class="space_box font_small">
|
||||
<text>当月预算:54602.00</text>
|
||||
<text>已消费:777.80</text>
|
||||
</view>
|
||||
<view class="padding_box">
|
||||
<t-button theme="primary" size="medium" block>记一笔</t-button>
|
||||
<t-divider dashed content="今日记账清单"/>
|
||||
<t-cell wx:for="{{todayList}}" wx:key="index"
|
||||
title="{{item.title}}"
|
||||
description="{{item.dateTime}} • {{item.from}}"
|
||||
align="top"
|
||||
image="https://tdesign.gtimg.com/mobile/%E5%9B%BE%E7%89%87.png"
|
||||
note="{{item.money}}"
|
||||
class="t_{{item.type}}"
|
||||
/>
|
||||
</view>
|
||||
<view class="placeholder"/>
|
||||
<foot-tab value="label_1"/>
|
||||
Reference in New Issue
Block a user