Browse Source

修复个人认证未通过状态的样式问题

蛋吧eggbar
徐飞洋 1 month ago
parent
commit
41f72f682b
  1. 2
      pages/profile/index.wxml

2
pages/profile/index.wxml

@ -62,7 +62,7 @@
<view style="display: flex; align-items: center;"> <view style="display: flex; align-items: center;">
<text wx:if="{{userInfo.idcardstatus === 0}}" style="font-size: 24rpx; color: #faad14; margin-right: 12rpx;">待审核</text> <text wx:if="{{userInfo.idcardstatus === 0}}" style="font-size: 24rpx; color: #faad14; margin-right: 12rpx;">待审核</text>
<text wx:elif="{{userInfo.idcardstatus === 1}}" style="font-size: 24rpx; color: #52c41a; margin-right: 12rpx;">审核通过</text> <text wx:elif="{{userInfo.idcardstatus === 1}}" style="font-size: 24rpx; color: #52c41a; margin-right: 12rpx;">审核通过</text>
<text wx:elif="{{userInfo.idcardstatus === 2}}" style="font-size: 24rpx; color: #ff4d4f; margin-right: 12rpx;"> <text wx:elif="{{userInfo.idcardstatus === 2}}" style="font-size: 24rpx; color: #ff4d4f; margin-right: 12rpx; max-width: 400rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
{{userInfo.reasonforfailure ? '审核失败: ' + userInfo.reasonforfailure : '审核失败'}} {{userInfo.reasonforfailure ? '审核失败: ' + userInfo.reasonforfailure : '审核失败'}}
</text> </text>
<text style="font-size: 28rpx; color: #999;">></text> <text style="font-size: 28rpx; color: #999;">></text>

Loading…
Cancel
Save