toExamine.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <template>
  2. <view class="toExamine">
  3. <navbar ref="navbar" :config="config" backColor="#666666"></navbar>
  4. <view class="audit bg-F5FFF9 u-text-center" v-if="state==0">
  5. <view class="pr">
  6. <image class="auditImg" :src="imgUrl+'/audit.png'"></image>
  7. <text class="iconfont font58">&#xe64f;</text>
  8. </view>
  9. <view class="u-mt15 u-060606 u-font26">申请将在1-3个工作日内处理完成</view>
  10. </view>
  11. <view class="audit bg-F5FFF9 u-text-center" v-if="state==1">
  12. <view class="pr">
  13. <image class="auditImg" :src="imgUrl+'/audit.png'"></image>
  14. <text class="iconfont font58"></text>
  15. </view>
  16. <view class="u-mt15 u-060606 ">审核通过
  17. </view>
  18. </view>
  19. <view class="audit bg-F5FFF9 u-text-center" v-if="state==2">
  20. <view class="pr">
  21. <image class="auditImg" :src="imgUrl+'/audit.png'"></image>
  22. <text class="iconfont font58">&#xe626;</text>
  23. </view>
  24. <view class="u-mt15 u-060606 u-font26 u-plr30" >审核不通过,{{msgList.reason}}</view>
  25. </view>
  26. <view class="content">
  27. <view class="middle">
  28. <view class="left">
  29. 所属平台
  30. </view>
  31. <view class="right" v-if="msgList.platform">
  32. {{msgList.platform.platform_value}}
  33. </view>
  34. </view>
  35. <view class="middle">
  36. <view class="left">
  37. 粉丝量级
  38. </view>
  39. <view class="right" v-if="msgList.fanweight">
  40. {{msgList.fanweight.fanweight_value}}
  41. </view>
  42. </view>
  43. <view class="middle">
  44. <view class="left">
  45. 该平台注册手机号码
  46. </view>
  47. <view class="right">
  48. {{msgList.platform_phone}}
  49. </view>
  50. </view>
  51. <view class="middle">
  52. <view class="left">
  53. 内容方向
  54. </view>
  55. <view class="right" v-if="msgList.content_direction">
  56. {{msgList.content_direction.content_direction_value}}
  57. </view>
  58. </view>
  59. <view class="middle">
  60. <view class="left">
  61. 姓名
  62. </view>
  63. <view class="right">
  64. {{msgList.real_name}}
  65. </view>
  66. </view>
  67. <view class="middle">
  68. <view class="left">
  69. 手机号
  70. </view>
  71. <view class="right">
  72. {{msgList.platform_phone}}
  73. </view>
  74. </view>
  75. <view class="middle">
  76. <view class="left">
  77. 身份证号
  78. </view>
  79. <view class="right">
  80. {{msgList.card}}
  81. </view>
  82. </view>
  83. </view>
  84. <view class="bottom">
  85. <view class="name">
  86. 身份证正反面照片
  87. </view>
  88. <view class="image">
  89. <image class="left" :src="msgList.card_front_path" mode="widthFix"></image>
  90. <image class="right" :src="msgList.card_back_path" mode="widthFix"></image>
  91. </view>
  92. <view class="name-two">
  93. 粉丝截图
  94. </view>
  95. <view class="image">
  96. <image class="left" :src="msgList.fans_file_path" mode="widthFix"></image>
  97. </view>
  98. </view>
  99. <view class="u-plr30 mt104" style="margin-bottom: 20rpx;">
  100. <!-- <button class="u-btn-two u-bg-00321E u-FFF" @click="getWxAddress">一键获取微信地址</button> -->
  101. <button v-if="state==2" type="default" class="u-btn-two"
  102. style="margin-top: 20rpx;color: #FFFFFF; background-color: #01321D;" @click="goToBercome">重新申请</button>
  103. </view>
  104. </view>
  105. </template>
  106. <script>
  107. export default {
  108. data() {
  109. return {
  110. config: {
  111. back: true, //false是tolbar页面 是则不写
  112. font: "back",
  113. title: '网红审核',
  114. color: '#1A1A1A',
  115. //背景颜色;参数一:透明度(0-1);参数二:背景颜色(array则为线性渐变,string为单色背景)
  116. backgroundColor: [1, '#fff'],
  117. statusBarFontColor: '#1A1A1A',
  118. backPage: "../../index/personal",
  119. },
  120. msgList: [],
  121. myMsg: {},
  122. state: 0,
  123. imgUrl: this.$mConfig.staticUrl
  124. }
  125. },
  126. onBackPress() {
  127. uni.redirectTo({
  128. url:"../../index/personal"
  129. })
  130. return true
  131. },
  132. methods: {
  133. //重新申请
  134. goToBercome() {
  135. uni.navigateTo({
  136. url: "./becomeANetStar"
  137. })
  138. },
  139. //获取数据
  140. getMsg() {
  141. this.$http.get("/celebrity/info").then(res => {
  142. if (res && res.code == 200) {
  143. this.msgList = res.data
  144. this.state = res.data.state
  145. console.log(this.msgList)
  146. }
  147. })
  148. }
  149. },
  150. onLoad() {
  151. this.getMsg()
  152. // this.myMsg = uni.getStorageSync("personal")
  153. // console.log(this.myMsg)
  154. }
  155. }
  156. </script>
  157. <style scoped lang="scss">
  158. .auditImg {
  159. width: 214rpx;
  160. height: 160rpx;
  161. }
  162. .pr {
  163. position: relative;
  164. }
  165. .font58 {
  166. color: #0B844A;
  167. font-size: 58rpx;
  168. position: absolute;
  169. bottom: 30rpx;
  170. left: 40rpx;
  171. right: 0;
  172. }
  173. .audit {
  174. padding: 42rpx 0rpx;
  175. }
  176. .bg-F5FFF9 {
  177. background-color: #F5FFF9;
  178. }
  179. .bottom {
  180. padding: 0 30rpx;
  181. margin-top: 28rpx;
  182. font-size: 28rpx;
  183. .name{
  184. font-size: 26rpx;
  185. color: #1A1A1A;
  186. }
  187. .name-two {
  188. margin-top: 15rpx;
  189. font-size: 26rpx;
  190. color: #1A1A1A;
  191. }
  192. .image {
  193. margin-top: 18rpx;
  194. display: flex;
  195. justify-content: space-between;
  196. .left {
  197. width: 300rpx;
  198. height: 200rpx;
  199. }
  200. .right {
  201. width: 300rpx;
  202. height: 200rpx;
  203. }
  204. }
  205. }
  206. .content {
  207. margin-top: 48rpx;
  208. padding: 0 30rpx;
  209. .middle {
  210. margin: 20rpx 0;
  211. display: flex;
  212. justify-content: space-between;
  213. .left {
  214. font-size: 26rpx;
  215. color: #1A1A1A;
  216. }
  217. .right {
  218. color: #D9D9D9;
  219. }
  220. }
  221. }
  222. .top {
  223. background-color: #FFFFFF;
  224. .iconfont {
  225. font-size: 200rpx;
  226. text-align: center;
  227. margin-top: 36rpx;
  228. }
  229. .item {
  230. text-align: center;
  231. font-size: 40rpx;
  232. color: rgba(16, 16, 16, 100);
  233. }
  234. .remarks {
  235. text-align: center;
  236. font-size: 28rpx;
  237. margin-top: 12rpx;
  238. }
  239. }
  240. </style>