@@ -41,33 +41,28 @@
>{{ userInfo.nick }}
<view
style="
- width: 114rpx;
- height: 60rpx;
+ width: 130rpx;
+ height: 40rpx;
background: linear-gradient(270deg, #f0ff00 0%, #00cf07 100%);
border-radius: 4rpx;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
- width: 100rpx;
- height: 28rpx;
- font-family: PingFangSC, PingFang SC;
- font-weight: 500;
- font-size: 20rpx;
+ font-size: 24rpx;
color: #ffffff;
- line-height: 28rpx;
- text-align: left;
- font-style: normal;
margin-left: 5px;
"
>
{{
- userInfo.userType == 1
- ? "采购商认证"
- : userInfo.userType == 2
+ userInfo.userTypes.includes(2)
? "供应商认证"
- : userInfo.userType == 3
+ : userInfo.userTypes.includes(4)
? "司机认证"
+ : userInfo.userTypes.includes(7)
+ ? "同城供应商认证"
+ : userInfo.userTypes.includes(8)
+ ? "同城司机认证"
: "采购商认证"
}}
</view>