authResult.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <view class="page">
  3. <view class="headers ">
  4. <view class="header">
  5. <view class="dis a-c j-start ">
  6. <u-icon name="arrow-left" size="40" @tap="back"></u-icon>
  7. <text style="margin: auto;">认证结果</text>
  8. </view>
  9. </view>
  10. </view>
  11. <view class="authresult dis f-c a-c ">
  12. <image :src="status==2?'../../static/image/user/deny.png':'../../static/image/user/success.png' " mode="">
  13. </image>
  14. <text class="mt-1">{{status==2?'审核驳回':'审核通过'}}</text>
  15. <text class="mt-2">{{status==2?'请核对并修改以下信息后,再重新提交。':'已成功通过晋掌柜系统实名认证申请,可登录系统使用完整功能'}}</text>
  16. <view v-if="status==2" class="denyReason mt-3">
  17. <text>{{desc}}</text>
  18. </view>
  19. </view>
  20. <view class="footer">
  21. <u-button v-if="status==2" type="primary"
  22. style="background:linear-gradient( 90deg, #499DFF 0%, #0052FF 100%);"
  23. @tap="reSubmitRequest">重新提交</u-button>
  24. <u-button v-if="status==1" type="primary"
  25. style="background:linear-gradient( 90deg, #499DFF 0%, #0052FF 100%);"
  26. @tap="submitPractitionerInfo">提交执业资料</u-button>
  27. <u-button v-if="status==1" type="default" style="background:#fff;margin-top: 20px;"
  28. @tap="returnHome">返回主页</u-button>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. data() {
  35. return {
  36. status: "",
  37. desc: "",
  38. }
  39. },
  40. onShow() {
  41. },
  42. onLoad(params) {
  43. if (!!params.status) {
  44. this.status = params.status;
  45. this.desc = params.desc;
  46. }
  47. },
  48. methods: {
  49. reSubmitRequest() {
  50. uni.navigateTo({
  51. url: "/pages/user/authInfo?desc=" + this.desc
  52. })
  53. },
  54. //页面返回按钮
  55. back() {
  56. uni.navigateBack({
  57. delta: 1, // 返回的页面数,如果是1表示返回上一页
  58. success: function() {}
  59. });
  60. },
  61. submitPractitionerInfo() {
  62. uni.navigateTo({
  63. url: "/pages/user/practitionerInfo"
  64. })
  65. },
  66. returnHome() {
  67. uni.switchTab({
  68. url: "/pages/index/index"
  69. })
  70. }
  71. }
  72. }
  73. </script>
  74. <style lang="scss" scoped>
  75. page {
  76. background: #fff;
  77. }
  78. .headers {
  79. position: fixed;
  80. top: 0;
  81. left: 0;
  82. z-index: 999999;
  83. width: 100%;
  84. border-bottom: 1px solid #EEEEEE;
  85. .header {
  86. width: 100%;
  87. height: auto;
  88. padding: 50px 16px 14px;
  89. background: linear-gradient(180deg, #D1E3FE 0%, #FFFFFF 100%);
  90. text {
  91. font-size: 18px;
  92. font-weight: bold;
  93. color: #000;
  94. }
  95. }
  96. }
  97. .denyReason {
  98. width: 100%;
  99. background: #F9F9F9;
  100. border-radius: 5px;
  101. padding: 15px;
  102. color: #666;
  103. font-size: 14px;
  104. }
  105. .authresult {
  106. position: fixed;
  107. top: 200px;
  108. left: 0;
  109. right: 0;
  110. width: 100%;
  111. text-align: center;
  112. padding: 25px;
  113. image {
  114. width: 50px;
  115. height: 50px;
  116. }
  117. text:nth-child(2) {
  118. font-size: 15px;
  119. color: #333;
  120. font-weight: bold;
  121. }
  122. text:nth-child(3) {
  123. font-size: 14px;
  124. color: #666;
  125. }
  126. }
  127. .footer {
  128. position: fixed;
  129. bottom: 50px;
  130. left: 0;
  131. right: 0;
  132. width: 100%;
  133. text-align: center;
  134. padding: 25px;
  135. }
  136. </style>