移除客户页顶部统计卡片
This commit is contained in:
@@ -4,21 +4,6 @@
|
|||||||
<input value="{{keyword}}" bindinput="onSearchInput" placeholder="搜索客户姓名或手机号" />
|
<input value="{{keyword}}" bindinput="onSearchInput" placeholder="搜索客户姓名或手机号" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="customer-stats card">
|
|
||||||
<view class="customer-stat">
|
|
||||||
<text class="customer-stat-value">{{customerStats.todayArrival}}</text>
|
|
||||||
<text class="customer-stat-label">今日到店</text>
|
|
||||||
</view>
|
|
||||||
<view class="customer-stat">
|
|
||||||
<text class="customer-stat-value">¥{{customerStats.monthAmount}}</text>
|
|
||||||
<text class="customer-stat-label">本月消费</text>
|
|
||||||
</view>
|
|
||||||
<view class="customer-stat">
|
|
||||||
<text class="customer-stat-value">{{customerStats.memberCount}}</text>
|
|
||||||
<text class="customer-stat-label">会员人数</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="list section">
|
<view class="list section">
|
||||||
<view wx:if="{{loadError}}" class="empty card">
|
<view wx:if="{{loadError}}" class="empty card">
|
||||||
<text>{{loadError}}</text>
|
<text>{{loadError}}</text>
|
||||||
|
|||||||
@@ -27,39 +27,6 @@
|
|||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.customer-stats {
|
|
||||||
display: flex;
|
|
||||||
align-items: stretch;
|
|
||||||
margin-top: 22rpx;
|
|
||||||
padding: 22rpx 0;
|
|
||||||
border-color: rgba(111, 143, 131, 0.08);
|
|
||||||
background: rgba(255, 255, 255, 0.72);
|
|
||||||
}
|
|
||||||
|
|
||||||
.customer-stat {
|
|
||||||
display: flex;
|
|
||||||
flex: 1;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8rpx;
|
|
||||||
border-right: 1rpx solid #eee8df;
|
|
||||||
}
|
|
||||||
|
|
||||||
.customer-stat:last-child {
|
|
||||||
border-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.customer-stat-value {
|
|
||||||
color: #3d594e;
|
|
||||||
font-size: 30rpx;
|
|
||||||
font-weight: 900;
|
|
||||||
}
|
|
||||||
|
|
||||||
.customer-stat-label {
|
|
||||||
color: #9c948b;
|
|
||||||
font-size: 20rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
margin-top: 28rpx;
|
margin-top: 28rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user