resultFeedback.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <template>
  2. <view class="page">
  3. <view class="content" v-if="information.status == 0">
  4. <image class="logo" src="../../static/mine/350.png" mode=""></image>
  5. <view class="wait">审核中</view>
  6. <view class="review">审核中,请耐心等待~</view>
  7. </view>
  8. <view class="content" v-else-if="information.status == 2">
  9. <image class="logo" src="../../static/mine/351.png" mode=""></image>
  10. <view class="wait">审核失败</view>
  11. <view class="review">未通过,请重新提交信息</view>
  12. <view class="refuse">拒绝原因:{{ information.refusal }}</view>
  13. </view>
  14. <view class="content" v-else>
  15. <image class="logo" src="../../static/mine/352.png" mode=""></image>
  16. <view class="wait">您已入驻成功</view>
  17. <view class="prompt"
  18. >请访问以下pc端地址进行店铺信息维护以及 商品信息的发布</view
  19. >
  20. <view class="inp">
  21. <view class="url">https://cbec-admin.hdlkeji.com/#/login</view>
  22. <view
  23. style="color: #f83224; font-size: 26rpx"
  24. @click="cope('https://cbec-admin.hdlkeji.com/#/login')"
  25. >
  26. 复制链接
  27. </view>
  28. </view>
  29. <view class="account">
  30. <view class="_label">账号:</view>
  31. <view class="_value">{{ information.username }}</view>
  32. </view>
  33. <view class="account">
  34. <view class="_label">密码:</view>
  35. <view class="_value">{{ information.password }}</view>
  36. </view>
  37. </view>
  38. <button class="go-back" @click="back" v-if="information.status == 0">
  39. 返回首页
  40. </button>
  41. <button class="go-back" @click="back" v-if="information.status == 1">
  42. 返回
  43. </button>
  44. <button class="go-back" @click="resetSubmit" v-if="information.status == 2">
  45. 重新提交
  46. </button>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {
  53. code: "111",
  54. information: {},
  55. };
  56. },
  57. methods: {
  58. cope(e) {
  59. uni.setClipboardData({
  60. data: e,
  61. success() {
  62. uni.showToast({
  63. title: "复制成功",
  64. icon: "none",
  65. });
  66. },
  67. });
  68. },
  69. //返回首页
  70. back() {
  71. uni.switchTab({
  72. url: "/pages/index/index",
  73. });
  74. },
  75. //重新提交
  76. resetSubmit() {
  77. uni.navigateTo({
  78. url: "/pageD/settleIn/settleIn",
  79. });
  80. },
  81. getInfo() {
  82. uni.$u.http.post(`/api/merchant/status`).then((res) => {
  83. this.information = res;
  84. });
  85. },
  86. },
  87. created() {
  88. this.getInfo();
  89. uni.setNavigationBarTitle({
  90. title: "结果反馈",
  91. });
  92. },
  93. };
  94. </script>
  95. <style lang="scss" scoped>
  96. .page {
  97. background-color: #fff;
  98. width: 100vw;
  99. height: 100vh;
  100. display: flex;
  101. flex-direction: column;
  102. justify-content: flex-start;
  103. align-items: center;
  104. .content {
  105. display: flex;
  106. flex-direction: column;
  107. justify-content: flex-start;
  108. align-items: center;
  109. .logo {
  110. width: 338rpx;
  111. height: 298rpx;
  112. margin: 68rpx auto;
  113. }
  114. .wait {
  115. font-size: 36rpx;
  116. color: #222;
  117. font-weight: 600;
  118. }
  119. .review {
  120. font-size: 26rpx;
  121. color: rgba(34, 34, 34, 0.9);
  122. margin-top: 14rpx;
  123. }
  124. .refuse {
  125. font-size: 24rpx;
  126. color: rgba(34, 34, 34, 0.6);
  127. margin-top: 14rpx;
  128. }
  129. .prompt {
  130. font-size: 28rpx;
  131. color: #666;
  132. margin-top: 14rpx;
  133. width: 75%;
  134. text-align: center;
  135. }
  136. .inp {
  137. display: flex;
  138. align-items: center;
  139. justify-content: space-between;
  140. background-color: #f7f7f7;
  141. border-radius: 8rpx;
  142. width: 530rpx;
  143. height: 68rpx;
  144. margin-top: 60rpx;
  145. border: 1rpx solid #c3c3c3;
  146. padding: 0 10rpx;
  147. .url {
  148. width: 80%;
  149. font-size: 28rpx;
  150. color: #777;
  151. overflow: hidden;
  152. text-overflow: ellipsis;
  153. white-space: nowrap;
  154. }
  155. }
  156. .account {
  157. display: flex;
  158. margin-top: 36rpx;
  159. width: 530rpx;
  160. ._label {
  161. font-size: 28rpx;
  162. color: #666;
  163. }
  164. ._value {
  165. font-size: 28rpx;
  166. color: #f83224;
  167. }
  168. }
  169. }
  170. .go-back {
  171. background-color: #f83224;
  172. color: #fff;
  173. border: none;
  174. border-radius: 44rpx;
  175. margin-top: 90rpx;
  176. width: 262rpx;
  177. height: 88rpx;
  178. line-height: 88rpx;
  179. }
  180. }
  181. </style>