43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
<navigation-bar title="美甲师管理" back="{{true}}" color="#f6efe7" background="#081518"></navigation-bar>
|
|
|
|
<view class="page-shell">
|
|
<view class="page-stack">
|
|
<view class="surface-card">
|
|
<text class="section-title">美甲师列表</text>
|
|
<text class="section-desc">店长只能看到并管理自己门店的美甲师;平台管理员可跨店查看,移动端表单集中处理账号和档案两部分信息。</text>
|
|
</view>
|
|
|
|
<block wx:for="{{list}}" wx:key="id">
|
|
<view class="list-card">
|
|
<view class="list-head">
|
|
<view>
|
|
<text class="list-title">{{item.nickname}}</text>
|
|
<text class="list-subtitle">{{item.identity || '未设置身份'}} · {{item.shopName || '当前店铺'}}</text>
|
|
</view>
|
|
<text class="{{item.status === 0 ? 'soft-badge' : 'badge'}}">{{item.displayStatusText}}</text>
|
|
</view>
|
|
<view class="meta-grid">
|
|
<view class="meta-item">
|
|
<text class="meta-label">从业年限</text>
|
|
<text class="meta-value">{{item.experience || 0}} 年</text>
|
|
</view>
|
|
<view class="meta-item">
|
|
<text class="meta-label">评分</text>
|
|
<text class="meta-value">{{item.rating || 0}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="list-actions">
|
|
<view class="mini-btn primary" data-artist="{{item}}" bindtap="handleEdit">编辑</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<view wx:if="{{!list.length}}" class="empty-state">
|
|
<text class="empty-title">还没有美甲师</text>
|
|
<text class="empty-desc">可以先新增一个美甲师账号,再补充技能、作品集和营业状态。</text>
|
|
</view>
|
|
|
|
<view wx:if="{{canCreate}}" class="fab" bindtap="handleCreate">+</view>
|
|
</view>
|
|
</view>
|