访客记录新增字段

This commit is contained in:
唐明明
2021-09-22 17:52:16 +08:00
parent 8c35ad5956
commit 6a90c8dc8d
3 changed files with 72 additions and 21 deletions

View File

@@ -2,9 +2,9 @@
<view class="content">
<!-- tabs -->
<view class="tabs">
<view class="item" :class="{'show': tabsIndex == 'day'}" @click="onTbas('day')">成交</view>
<view class="item" :class="{'show': tabsIndex == 'month'}" @click="onTbas('month')">成交</view>
<view class="item" :class="{'show': tabsIndex == 'year'}" @click="onTbas('year')">成交</view>
<view class="item" :class="{'show': tabsIndex == 'day'}" @click="onTbas('day')">访客</view>
<view class="item" :class="{'show': tabsIndex == 'month'}" @click="onTbas('month')">访客</view>
<view class="item" :class="{'show': tabsIndex == 'year'}" @click="onTbas('year')">访客</view>
</view>
<!-- 统计信息 -->
<view class="statistics">
@@ -24,7 +24,9 @@
<view class="item" v-for="(item, index) in orders" :key="index">
<image class="cover" :src="item.avatar" mode="aspectFill"></image>
<view class="title">{{item.nickname || '-'}}</view>
<view class="sub-title">{{item.date || '-'}}</view>
<view class="sub-title">访问记录: {{item.content || '-'}}</view>
<view class="sub-title">手机号码: {{item.mobile || '-'}}</view>
<view class="sub-title">访问时间: {{item.date || '-'}}</view>
</view>
</view>
</block>
@@ -107,6 +109,7 @@
.sub-title{
color: $text-gray;
font-size: $title-size-m;
@extend .nowrap;
}
.icon{
width: 288rpx;