Browse Source

修复个人认证状态显示的换行问题

蛋吧eggbar
徐飞洋 1 month ago
parent
commit
9dad2a5d25
  1. 4
      pages/profile/index.wxml

4
pages/profile/index.wxml

@ -62,9 +62,7 @@
<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: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; max-width: 400rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
{{userInfo.reasonforfailure ? '审核失败: ' + userInfo.reasonforfailure : '审核失败'}}
</text>
<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 : '审核失败'}}</text>
<text style="font-size: 28rpx; color: #999;">></text>
</view>
</view>

Loading…
Cancel
Save