小程序页面的一些优化
自动发布开发环境 Nacos 配置 / publish (push) Successful in 25s
环境分支晋级检查 / environment-promotion-source (pull_request_target) Successful in 10s

This commit is contained in:
2026-11-07 01:10:02 +08:00
parent 71ddf0210c
commit 3d73ac7db7
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ Page({
customers: list.map(item => ({
id: item.id,
name: item.nickname || item.name || item.account || '客户',
phone: item.contactPhone || item.phone || '未填写',
lastTime: item.lastOrderTime || item.lastConsumeTime || '-'
phone: item.contactPhone || item.phone || '未填写联系电话',
lastTime: item.lastOrderTime || item.lastConsumeTime || '暂无消费记录'
}))
})
} catch (error) {
+3 -3
View File
@@ -14,9 +14,9 @@
<view wx:elif="{{customers.length === 0}}" class="empty card">暂无客户</view>
<view wx:for="{{customers}}" wx:key="id" class="card list-card customer-card" data-id="{{item.id}}" bindtap="openDetail">
<view>
<text class="name">{{item.name}}</text>
<text class="meta">{{item.phone}}</text>
<text class="meta">最近消费 {{item.lastTime}}</text>
<text class="name">姓名: {{item.name}}</text>
<text class="meta">联系电话: {{item.phone}}</text>
<text class="meta">最近消费: {{item.lastTime}}</text>
</view>
<text class="arrow">›</text>
</view>
@@ -126,8 +126,8 @@
padding: 0 20rpx;
border: 1rpx solid #e7ece9;
border-radius: 999rpx;
background: #f1f3f2;
color: #71807a;
background: #05753d;
color: #fdfdfd;
font-size: 23rpx;
font-weight: 700;
}
@@ -301,6 +301,6 @@
.onboarding-desc { margin-top: 12rpx; color: #837b72; font-size: 23rpx; line-height: 1.7; text-align: center; }
.onboarding-default-note { margin-top: 14rpx; padding: 14rpx 16rpx; border-radius: 12rpx; background: #eff7f2; color: #39705d; font-size: 21rpx; line-height: 1.55; text-align: left; }
.onboarding-primary { width: 100%; margin-top: 30rpx; }
.onboarding-skip { margin-top: 20rpx; }
.onboarding-skip { margin-top: 12rpx; background: transparent; color: #7e776f; font-size: 23rpx; }
.association-retry-box { width: 100%; margin-top: 20rpx; padding: 18rpx; box-sizing: border-box; border-radius: 12rpx; background: #fff5f3; color: #8f4d46; font-size: 22rpx; text-align: center; }
.association-retry-box .onboarding-primary { margin-top: 18rpx; }