|
@@ -3,6 +3,7 @@
|
|
|
<wm-watermark :text="userInfo.phone" :num="50"></wm-watermark>
|
|
|
<!-- 经纪人信息卡片 -->
|
|
|
<view class="userinfo-wrap u-skeleton-fillet box-shadow">
|
|
|
+ <view class="scoped-cust-count" @click="pageTo('/pages/cust/my')" v-if="remind_total > 0">{{remind_total}}条待处理客户信息</view>
|
|
|
<!-- 个人信息 -->
|
|
|
<view class="userinfo">
|
|
|
<view class="user">
|
|
@@ -275,6 +276,7 @@ export default {
|
|
|
data() {
|
|
|
// 页面数据变量
|
|
|
return {
|
|
|
+ remind_total: 0,
|
|
|
curRoles: '',
|
|
|
isOneRow: false,
|
|
|
curHtml: '',
|
|
@@ -422,6 +424,14 @@ export default {
|
|
|
// this.propertyList = [list[0], list[1], list[2]]
|
|
|
})
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ uni.api.cust.apirecordremindcount().then(res => {
|
|
|
+ this.remind_total = res.remind_total || 0
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// let currentTime = Date.parse(new Date()) / 1000; // 秒级
|
|
|
// // 初始化平台数据
|
|
|
// let systemConfig = vk.vuex.get('$app.systemConfig');
|
|
@@ -566,7 +576,14 @@ export default {
|
|
|
margin-bottom: 20rpx;
|
|
|
border-radius: 10rpx;
|
|
|
position: relative;
|
|
|
-
|
|
|
+
|
|
|
+ .scoped-cust-count {
|
|
|
+ position: absolute;
|
|
|
+ top: 96rpx;
|
|
|
+ left: 156rpx;
|
|
|
+ color: #f00;
|
|
|
+ }
|
|
|
+
|
|
|
.userinfo {
|
|
|
width: 100%;
|
|
|
display: flex;
|