重构项目文件夹目录

This commit is contained in:
2026-06-15 15:53:55 +08:00
parent 8093e07190
commit 7cbe5b3de5
1098 changed files with 34 additions and 4441 deletions
@@ -0,0 +1,10 @@
Page({
data: {
orders: [
{ id: 1, date: '2026-06-01', project: '纯色美甲', customer: '王女士', amount: 168 },
{ id: 2, date: '2026-05-31', project: '猫眼延长', customer: '陈女士', amount: 268 },
{ id: 3, date: '2026-05-30', project: '手部护理', customer: '林女士', amount: 98 }
]
},
back() { wx.navigateBack() }
})
@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "订单记录"
}
@@ -0,0 +1,11 @@
<view class="page no-tab">
<view class="list">
<view wx:for="{{orders}}" wx:key="id" class="card list-card order-row">
<view>
<text class="order-title">{{item.project}}</text>
<text class="muted">{{item.date}} · {{item.customer}}</text>
</view>
<text class="amount">¥{{item.amount}}</text>
</view>
</view>
</view>
@@ -0,0 +1,17 @@
.order-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.order-title {
display: block;
margin-bottom: 8rpx;
font-size: 28rpx;
font-weight: 800;
}
.amount {
color: #6f8f83;
font-weight: 900;
}