第一次上传
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "账单管理",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"section-card": "../../components/SectionCard",
|
||||
"app-tab-bar": "../../components/AppTabBar",
|
||||
"bill-editor-popup": "../../components/BillEditorPopup"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="{{['app-page', 'data-v-ff523969', O]}}"><section-card wx:if="{{w}}" class="data-v-ff523969" u-s="{{['d']}}" u-i="ff523969-0" bind:__l="__l" u-p="{{w}}"><view class="chip-row data-v-ff523969"><view wx:for="{{a}}" wx:for-item="item" wx:key="b" class="{{['pill-button', 'data-v-ff523969', item.c && 'active']}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="chip-row compact-row data-v-ff523969"><view wx:for="{{b}}" wx:for-item="item" wx:key="b" class="{{['pill-button', 'mini-pill', 'data-v-ff523969', item.c && 'active']}}" bindtap="{{item.d}}">{{item.a}}</view><picker class="data-v-ff523969" mode="date" fields="month" value="{{d}}" bindchange="{{e}}"><view class="pill-button mini-pill data-v-ff523969">{{c}}</view></picker></view><view class="form-grid data-v-ff523969"><view class="input-shell data-v-ff523969"><input class="data-v-ff523969" placeholder="备注、分类或账户关键词" value="{{f}}" bindinput="{{g}}"/></view><view class="double-grid data-v-ff523969"><view class="input-shell data-v-ff523969"><input class="data-v-ff523969" type="digit" placeholder="最低金额" value="{{h}}" bindinput="{{i}}"/></view><view class="input-shell data-v-ff523969"><input class="data-v-ff523969" type="digit" placeholder="最高金额" value="{{j}}" bindinput="{{k}}"/></view></view></view><view class="picker-row data-v-ff523969"><picker class="data-v-ff523969" range="{{m}}" value="{{n}}" bindchange="{{o}}"><view class="input-shell picker-shell data-v-ff523969"><text class="data-v-ff523969">{{l}}</text><text class="tiny-text data-v-ff523969">分类</text></view></picker><picker class="data-v-ff523969" range="{{q}}" value="{{r}}" bindchange="{{s}}"><view class="input-shell picker-shell data-v-ff523969"><text class="data-v-ff523969">{{p}}</text><text class="tiny-text data-v-ff523969">账户</text></view></picker></view><view class="action-row data-v-ff523969"><view class="ghost-button data-v-ff523969" bindtap="{{t}}">清空筛选</view><view class="primary-button data-v-ff523969" bindtap="{{v}}">新增账单</view></view></section-card><section-card wx:if="{{F}}" class="data-v-ff523969" u-s="{{['action','d']}}" u-i="ff523969-1" bind:__l="__l" u-p="{{F}}"><text class="section-link data-v-ff523969" bindtap="{{y}}" slot="action">{{x}}</text><view class="summary-row data-v-ff523969"><view class="summary-item surface-strong data-v-ff523969"><text class="tiny-text data-v-ff523969">支出</text><text class="data-v-ff523969" style="margin-left:16rpx"></text><text class="summary-value negative data-v-ff523969">{{z}}</text></view><view class="summary-item surface-strong data-v-ff523969"><text class="tiny-text data-v-ff523969">收入</text><text class="data-v-ff523969" style="margin-left:16rpx"></text><text class="summary-value positive data-v-ff523969">{{A}}</text></view><view class="summary-item surface-strong data-v-ff523969"><text class="tiny-text data-v-ff523969">结余</text><text class="data-v-ff523969" style="margin-left:16rpx"></text><text class="summary-value data-v-ff523969">{{B}}</text></view></view><view wx:if="{{C}}" class="bill-list data-v-ff523969"><view wx:for="{{D}}" wx:for-item="bill" wx:key="j" class="bill-row data-v-ff523969" bindtap="{{bill.k}}" bindlongpress="{{bill.l}}"><view class="row-main data-v-ff523969"><view wx:if="{{E}}" class="{{['check-box', 'data-v-ff523969', bill.a && 'checked']}}"></view><view class="bill-dot data-v-ff523969" style="{{'background:' + bill.b}}"></view><view class="bill-body data-v-ff523969"><text class="bill-title data-v-ff523969">{{bill.c}}</text><text class="bill-meta data-v-ff523969">{{bill.d}} · {{bill.e}} · {{bill.f}}</text></view></view><text class="{{['bill-amount', 'data-v-ff523969', bill.i]}}">{{bill.g}}{{bill.h}}</text></view></view><view wx:else class="empty-card data-v-ff523969"><text class="section-subtitle data-v-ff523969">当前筛选条件下没有符合条件的账单记录。</text></view></section-card><view wx:if="{{G}}" class="surface-card batch-bar data-v-ff523969"><text class="batch-text data-v-ff523969">已选 {{H}} 笔</text><view class="ghost-button data-v-ff523969" bindtap="{{I}}">全选</view><view class="ghost-button danger-button data-v-ff523969" bindtap="{{J}}">删除所选</view></view><app-tab-bar wx:if="{{K}}" class="data-v-ff523969" u-i="ff523969-2" bind:__l="__l" u-p="{{K}}"/><bill-editor-popup wx:if="{{N}}" class="data-v-ff523969" bindclose="{{L}}" bindsave="{{M}}" u-i="ff523969-3" bind:__l="__l" u-p="{{N}}"/></view>
|
||||
@@ -0,0 +1 @@
|
||||
.chip-row.data-v-ff523969,.action-row.data-v-ff523969,.picker-row.data-v-ff523969,.summary-row.data-v-ff523969{display:flex;flex-wrap:wrap;gap:16rpx}.compact-row.data-v-ff523969{margin-top:16rpx}.mini-pill.data-v-ff523969{padding:16rpx 22rpx}.form-grid.data-v-ff523969{display:flex;flex-direction:column;gap:16rpx;margin:18rpx 0}.double-grid.data-v-ff523969,.picker-row.data-v-ff523969{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16rpx}.picker-shell.data-v-ff523969{justify-content:space-between}.action-row.data-v-ff523969{margin-top:18rpx}.action-row .ghost-button.data-v-ff523969,.action-row .primary-button.data-v-ff523969{flex:1}.section-link.data-v-ff523969{font-size:24rpx;color:var(--brand)}.summary-item.data-v-ff523969{flex:1;padding:22rpx;border-radius:24rpx}.summary-value.data-v-ff523969{margin-top:10rpx;font-size:30rpx;font-weight:700;color:var(--text-primary)}.bill-list.data-v-ff523969{display:flex;flex-direction:column;gap:16rpx;margin-top:22rpx}.bill-row.data-v-ff523969{display:flex;align-items:center;justify-content:space-between;gap:16rpx;padding:22rpx;border-radius:24rpx;background:var(--surface-muted)}.row-main.data-v-ff523969{display:flex;align-items:center;gap:16rpx;flex:1}.check-box.data-v-ff523969{width:30rpx;height:30rpx;border-radius:10rpx;border:2rpx solid var(--brand)}.check-box.checked.data-v-ff523969{background:var(--brand)}.bill-dot.data-v-ff523969{width:16rpx;height:16rpx;border-radius:50%}.bill-body.data-v-ff523969{flex:1}.bill-title.data-v-ff523969,.bill-amount.data-v-ff523969{font-size:28rpx;font-weight:600;color:var(--text-primary)}.bill-meta.data-v-ff523969{margin-top:8rpx;font-size:22rpx;color:var(--text-secondary);line-height:1.5}.empty-card.data-v-ff523969{padding:40rpx 0 10rpx;text-align:center}.batch-bar.data-v-ff523969{position:fixed;left:24rpx;right:24rpx;bottom:176rpx;display:flex;align-items:center;gap:16rpx;padding:20rpx 22rpx;z-index:18}.batch-text.data-v-ff523969{flex:1;font-size:26rpx;color:var(--text-primary)}
|
||||
Reference in New Issue
Block a user