diff --git a/pages/checkMessageDetail/checkMessageDetail.vue b/pages/checkMessageDetail/checkMessageDetail.vue index 76038cb..0c3aa3f 100644 --- a/pages/checkMessageDetail/checkMessageDetail.vue +++ b/pages/checkMessageDetail/checkMessageDetail.vue @@ -203,9 +203,7 @@ } } else if(item.id === 'time') { item.value = res.inTime + ' ~ ' + res.outTime; - } else if(item.id === 'visitorIdCard') { - item.value = this.addStar(res.visitorIdCard, 2, 4); - } + } } }) }, @@ -213,14 +211,6 @@ async solveStatusData() { await solveStatus(this.willchange, this.solveId); }, - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - return val.substring(0,front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, } } diff --git a/pages/checkMessageDetail/checkMessageDetail.vue b/pages/checkMessageDetail/checkMessageDetail.vue index 76038cb..0c3aa3f 100644 --- a/pages/checkMessageDetail/checkMessageDetail.vue +++ b/pages/checkMessageDetail/checkMessageDetail.vue @@ -203,9 +203,7 @@ } } else if(item.id === 'time') { item.value = res.inTime + ' ~ ' + res.outTime; - } else if(item.id === 'visitorIdCard') { - item.value = this.addStar(res.visitorIdCard, 2, 4); - } + } } }) }, @@ -213,14 +211,6 @@ async solveStatusData() { await solveStatus(this.willchange, this.solveId); }, - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - return val.substring(0,front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 6d0135d..7e9dc36 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -183,10 +183,12 @@ margin-left: 38rpx; font-size: 42rpx; margin-top: 10rpx; + color: #3b3937; .bottom-text { font-size: 44rpx; font-weight: 600; margin-top: 6rpx; + color: #323332; } } } @@ -203,6 +205,7 @@ align-items: center; padding: 0 60rpx 0 24rpx; font-size: 42rpx; + color: #323332; font-weight: 600; height: 240rpx; width: 100%; diff --git a/pages/checkMessageDetail/checkMessageDetail.vue b/pages/checkMessageDetail/checkMessageDetail.vue index 76038cb..0c3aa3f 100644 --- a/pages/checkMessageDetail/checkMessageDetail.vue +++ b/pages/checkMessageDetail/checkMessageDetail.vue @@ -203,9 +203,7 @@ } } else if(item.id === 'time') { item.value = res.inTime + ' ~ ' + res.outTime; - } else if(item.id === 'visitorIdCard') { - item.value = this.addStar(res.visitorIdCard, 2, 4); - } + } } }) }, @@ -213,14 +211,6 @@ async solveStatusData() { await solveStatus(this.willchange, this.solveId); }, - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - return val.substring(0,front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 6d0135d..7e9dc36 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -183,10 +183,12 @@ margin-left: 38rpx; font-size: 42rpx; margin-top: 10rpx; + color: #3b3937; .bottom-text { font-size: 44rpx; font-weight: 600; margin-top: 6rpx; + color: #323332; } } } @@ -203,6 +205,7 @@ align-items: center; padding: 0 60rpx 0 24rpx; font-size: 42rpx; + color: #323332; font-weight: 600; height: 240rpx; width: 100%; diff --git a/pages/info/info.vue b/pages/info/info.vue index effff40..938bbcf 100644 --- a/pages/info/info.vue +++ b/pages/info/info.vue @@ -27,7 +27,7 @@ 访客身份证 - {{info.visitorIdCard ? addStar(info.visitorIdCard, 2, 4) : info.visitorIdCard}} + {{info.visitorIdCard}} 访客联系方式 @@ -97,17 +97,6 @@ this.color = 'red' } }, - methods: { - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - console.log(typeof val, val) - return val.substring(0, front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, - } } diff --git a/pages/checkMessageDetail/checkMessageDetail.vue b/pages/checkMessageDetail/checkMessageDetail.vue index 76038cb..0c3aa3f 100644 --- a/pages/checkMessageDetail/checkMessageDetail.vue +++ b/pages/checkMessageDetail/checkMessageDetail.vue @@ -203,9 +203,7 @@ } } else if(item.id === 'time') { item.value = res.inTime + ' ~ ' + res.outTime; - } else if(item.id === 'visitorIdCard') { - item.value = this.addStar(res.visitorIdCard, 2, 4); - } + } } }) }, @@ -213,14 +211,6 @@ async solveStatusData() { await solveStatus(this.willchange, this.solveId); }, - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - return val.substring(0,front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 6d0135d..7e9dc36 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -183,10 +183,12 @@ margin-left: 38rpx; font-size: 42rpx; margin-top: 10rpx; + color: #3b3937; .bottom-text { font-size: 44rpx; font-weight: 600; margin-top: 6rpx; + color: #323332; } } } @@ -203,6 +205,7 @@ align-items: center; padding: 0 60rpx 0 24rpx; font-size: 42rpx; + color: #323332; font-weight: 600; height: 240rpx; width: 100%; diff --git a/pages/info/info.vue b/pages/info/info.vue index effff40..938bbcf 100644 --- a/pages/info/info.vue +++ b/pages/info/info.vue @@ -27,7 +27,7 @@ 访客身份证 - {{info.visitorIdCard ? addStar(info.visitorIdCard, 2, 4) : info.visitorIdCard}} + {{info.visitorIdCard}} 访客联系方式 @@ -97,17 +97,6 @@ this.color = 'red' } }, - methods: { - /** - * val 需要添加星号的值 - * front 前面保留几位 - * after 后面保留几位 - */ - addStar(val,front,after){ - console.log(typeof val, val) - return val.substring(0, front)+'*'.repeat(val.length-(front+after))+val.substring(val.length-after) - }, - } } diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index 4a74d09..7309d58 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -15,6 +15,8 @@ 账号设置 + 客服电话 + {{ServiceTel}} @@ -59,6 +61,7 @@ }, ], popShow: false, //控制授权手机号弹出框 + ServiceTel: '987183691' } }, mounted() { @@ -94,6 +97,12 @@ this.show = false; this.checkphone(); }, + //点击客服电话 + call() { + wx.makePhoneCall({ + phoneNumber: this.ServiceTel, + }) + }, //检查手机号 async checkphone() { //有电话就去验证