顶部电话,首页公告,个人中心标题,实名认证跳转修改

master
chen 2022-08-23 17:47:35 +08:00
parent f6e60696d2
commit 54d53d5634
4 changed files with 15 additions and 11 deletions

View File

@ -69,20 +69,20 @@
console.log(rect.width);
let newWidth = rect.width;
if(newWidth <=420) {
this.speedTime = 1;
}
if(newWidth >= 420 && newWidth < 720) {
this.speedTime = 2;
}
if(newWidth >= 720 && newWidth < 820) {
if(newWidth >= 420 && newWidth < 720) {
this.speedTime = 3;
}
if(newWidth >= 820 && newWidth < 920) {
if(newWidth >= 720 && newWidth < 820) {
this.speedTime = 4;
}
if(newWidth >= 920) {
if(newWidth >= 820 && newWidth < 920) {
this.speedTime = 5;
}
if(newWidth >= 920) {
this.speedTime = 6;
}
}).exec()
},
methods:{

View File

@ -182,7 +182,8 @@
.return-box i {font-size: 56rpx;}
.tab-title{
width: 100%;
font-size: 38rpx;
font-size: 32rpx;
font-weight: bold;
display: flex;
}
.tab-title .title-box{margin-top: -4rpx;}

View File

@ -31,7 +31,8 @@
<!-- 用户手机号 -->
<view class="fon34 bold">{{tel(userInfo.username)}}</view>
<!-- 是否实名认证 -->
<view class="fon22" style="color: #717171;">{{ifAuthentication ? '已认证' : '未实名认证'}}</view>
<view class="fon22" style="color: #717171;" v-if="ifAuthentication"></view>
<view class="fon22" style="color: #717171;" @tap="chooseGridEv(0)" v-else></view>
</view>
</view>
<!-- 等级图标 -->

View File

@ -133,7 +133,7 @@
<view class="disac mar-s40">
<view @tap="stayEv(item.title,item.id)" class="disjcac fc width25" v-for="(item,index) in workOrderList" :key="index">
<view class="posir" style="height: 60rpx;">
<image :style="{width: [59,56,58,58][index]+'rpx',height:[49,58,58,60][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
<image :style="{width: [59,56,58,58][index]+'rpx',height:[49,58,60,54][index] + 'rpx'}" style="width: 58rpx;height: 53rpx;" :src="item.imgsrc" mode="widthFix"></image>
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
</view>
<view class="fon24 col3 mar-s10">{{item.title}}</view>
@ -159,7 +159,7 @@
<view class="disac mar-s40">
<view @tap="stayEv(item.title,item.id)" class="disjcac fc width25" v-for="(item,index) in settlementList" :key="index">
<view class="posir" style="height: 58rpx;">
<image :style="{width: [58,50,58][index]+'rpx',height:[54,58,58][index] + 'rpx'}" style="width: 58rpx;" :src="item.imgsrc" mode="widthFix"></image>
<image :style="{width: [58,50,58,58][index]+'rpx',height:[54,58,58,58][index] + 'rpx'}" style="width: 58rpx;" :src="item.imgsrc" mode="widthFix"></image>
<view class="engineer-num" v-if="item.num!=0">{{item.num}}</view>
</view>
<view class="fon24 col3 mar-s10">{{item.title}}</view>
@ -297,12 +297,14 @@
{imgsrc:'/static/public/icon-home-overdueSingle.png',title:'逾期单',num:0,id:101},
// {imgsrc:'/static/public/icon-home-overtime.png',title:' ',num:0,id:0},
{imgsrc:'/static/public/icon-home-workOrderPool.png',title:'工单池',num:0,id:0},
// {imgsrc:'/static/public/icon-home-stayCollection.png',title:'',num:0,id:5},
],
//
settlementList:[
{imgsrc:'/static/public/icon-home-stayCollection.png',title:'待收款',num:0,id:5},
{imgsrc:'/static/public/icon-home-received.png',title:'已收款',num:0,id:7},
{imgsrc:'/static/public/icon-home-commission.png',title:'佣金',num:0,id:0},
{imgsrc:'/static/public/icon-home-stayBatch.png',title:'待审批',num:0,id:6},
],
//
stayWorkOrderList:[
@ -497,7 +499,7 @@
let homeObj = res.data;
console.log(res,'首页信息查询')
this.messageNumber = homeObj.unread_messages;//
this.contactPhone = homeObj.contact;//
this.contactPhone = homeObj.consumer_hotline;//
this.project_count = homeObj.project_count;//
this.project_error_count = homeObj.project_error_count;//