统一店务小程序主导航视觉与信息层级
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<view class="search-card card">
|
||||
<input value="{{keyword}}" bindinput="onSearchInput" placeholder="搜索客户姓名或手机号" />
|
||||
</view>
|
||||
<button class="compact-btn" bindtap="addCustomer">新增</button>
|
||||
<button class="compact-btn add-customer-btn" bindtap="addCustomer">+</button>
|
||||
</view>
|
||||
|
||||
<view class="list section">
|
||||
@@ -13,10 +13,16 @@
|
||||
</view>
|
||||
<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>
|
||||
<view class="customer-identity">
|
||||
<view class="customer-avatar">{{item.shortName}}</view>
|
||||
<view class="customer-copy">
|
||||
<view class="customer-name-row">
|
||||
<text class="name">{{item.name}}</text>
|
||||
<text class="customer-status">已建档</text>
|
||||
</view>
|
||||
<text class="meta">{{item.phone}}</text>
|
||||
<text class="meta">最近消费 {{item.lastTime}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<text class="arrow">›</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user