Browse Source

profiletext

许静 5 years ago
parent
commit
128bb33c37
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      src/pages/person/profile/index.js

+ 4
- 3
src/pages/person/profile/index.js View File

120
         <View className="tip">
120
         <View className="tip">
121
           审核通过后将获取更多积分、兑换好礼~
121
           审核通过后将获取更多积分、兑换好礼~
122
         </View>
122
         </View>
123
+        {this.state.auditStatus == 1 &&
124
+          <View className="commit-text" >审核通过,快去查看积分吧~</View>
125
+        }
123
 
126
 
124
         <AtImagePicker
127
         <AtImagePicker
125
           showAddBtn={(this.state.files.length < 8 && this.state.auditStatus == 2) || (this.state.auditStatus == 3 && this.state.files.length < 8)}
128
           showAddBtn={(this.state.files.length < 8 && this.state.auditStatus == 2) || (this.state.auditStatus == 3 && this.state.files.length < 8)}
133
         {this.state.auditStatus == 2 &&
136
         {this.state.auditStatus == 2 &&
134
           <View className="commit-text" >审核未通过,请重新提交!</View>
137
           <View className="commit-text" >审核未通过,请重新提交!</View>
135
         }
138
         }
136
-        {this.state.auditStatus == 1 &&
137
-          <View className="commit-text" >审核通过,快去查看积分吧~</View>
138
-        }
139
+        
139
         {(this.state.auditStatus == 2 || this.state.auditStatus == 3) &&
140
         {(this.state.auditStatus == 2 || this.state.auditStatus == 3) &&
140
           <View className="commit-btn" onClick={this.commitBtn}>提交审核</View>
141
           <View className="commit-btn" onClick={this.commitBtn}>提交审核</View>
141
         }
142
         }