feat(card): 更新名片夹相关文本和导航,优化用户体验
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<!-- 线索列表 -->
|
||||
<!-- 客户列表 -->
|
||||
<view class="lead-list">
|
||||
<view v-for="(item, index) in list" :key="item.id || index" class="lead-item">
|
||||
<view class="lead-top" @tap="callPhone(item.mobile)">
|
||||
<view class="lead-name">{{ item.name || '未留姓名' }}</view>
|
||||
<view class="lead-status" :class="'st-' + item.status">{{ item.status_text || '新线索' }}</view>
|
||||
<view class="lead-status" :class="'st-' + item.status">{{ item.status_text || '新客户' }}</view>
|
||||
</view>
|
||||
<view class="lead-mobile" v-if="item.mobile" @tap="callPhone(item.mobile)">📱 {{ item.mobile }}</view>
|
||||
<view class="lead-note" v-if="item.note">「{{ item.note }}」</view>
|
||||
@@ -36,15 +36,15 @@
|
||||
</view>
|
||||
|
||||
<ns-empty v-if="!isLoading && list.length === 0" isIndex="false"
|
||||
:text="'暂无线索,访客在你的名片页留资后会出现在这里'"></ns-empty>
|
||||
:text="'暂无意向客户,访客在你的名片页留资后会出现在这里'"></ns-empty>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// 与后端 Lead::STATUSES 一致: 0=新线索 1=已联系 2=已成交 3=无效
|
||||
// 与后端 Lead::STATUSES 一致: 0=新客户 1=已联系 2=已成交 3=无效
|
||||
const STATUS_MAP = [
|
||||
{ value: 0, label: '新线索' },
|
||||
{ value: 0, label: '新客户' },
|
||||
{ value: 1, label: '已联系' },
|
||||
{ value: 2, label: '已成交' },
|
||||
{ value: 3, label: '无效' }
|
||||
|
||||
Reference in New Issue
Block a user