autonym.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <template>
  2. <view class="autonym-box">
  3. <en-nav title="实名认证" :title-color="'#333'" ></en-nav>
  4. <view class="autonym-no" v-if="!isAutonym">
  5. <view class="no-item">
  6. <view class="item-left">
  7. <image class="left-img" src="/static/img/my/autonym/no-2.png" mode="aspectFill"></image>
  8. </view>
  9. <view class="item-right">
  10. <view class="item-title sys-color-black sys-weight-600 sys-height-44">认证标识</view>
  11. <view class="item-text sys-color-gray-9 sys-weight-400">专属认证标识</view>
  12. <view class="item-text sys-color-gray-9 sys-weight-400">可以让你收获更多喜欢</view>
  13. </view>
  14. </view>
  15. <view class="no-item">
  16. <view class="item-left">
  17. <image class="left-img" src="/static/img/my/autonym/no-1.png" mode="aspectFill"></image>
  18. </view>
  19. <view class="item-right">
  20. <view class="item-title sys-color-black sys-weight-600 sys-height-44">优先推荐</view>
  21. <view class="item-text sys-color-gray-9 sys-weight-400">增加曝光率</view>
  22. <view class="item-text sys-color-gray-9 sys-weight-400">发现卡牌中优先推荐</view>
  23. </view>
  24. </view>
  25. <view class="no-but">
  26. <view class="but sys-color-white sys-background-black">开始认证</view>
  27. <view class="but-text sys-color-gray-9 sys-weight-400">提示:实名认证仅用于审核,其他用户不可见.</view>
  28. </view>
  29. </view>
  30. <view class="autonym-ok" v-else>
  31. <view class="ok-img">
  32. <image class="left-img" src="/static/img/my/autonym/ok.png" mode="aspectFill"></image>
  33. </view>
  34. <view class="ok-title sys-color-black-0 sys-weight-600">恭喜你,个人实名认证成功</view>
  35. <view class="ok-text sys-color-gray-9">您提交的认证信息已经通过审核</view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. import EnNav from "@/components/en-utils/en-nav/en-nav";
  41. export default {
  42. components: {EnNav},
  43. data() {
  44. return {
  45. isAutonym:true
  46. }
  47. },
  48. methods: {
  49. }
  50. }
  51. </script>
  52. <style scoped lang="scss">
  53. .autonym-box{
  54. min-height: 100vh;
  55. position: relative;
  56. .autonym-no{
  57. margin-top: 20rpx;
  58. padding: 0 40rpx;
  59. .no-item{
  60. padding: 80rpx 72rpx;
  61. background-color: #FFFFFF;
  62. border-radius: 20rpx;
  63. box-shadow: 8rpx 8rpx 8rpx 8rpx rgba(0,0,0,0.06);
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. .item-left{
  68. .left-img{
  69. width: 184rpx;
  70. height: 184rpx;
  71. }
  72. }
  73. .item-right{
  74. margin-left: 60rpx;
  75. .item-title{
  76. font-size: 40rpx;
  77. }
  78. .item-text{
  79. font-size: 28rpx;
  80. height: 40rpx;
  81. line-height: 40rpx;
  82. }
  83. .item-text:first-child{
  84. margin-top: 40rpx;
  85. }
  86. }
  87. }
  88. .no-item:first-child{
  89. margin-bottom: 40rpx;
  90. }
  91. .no-but{
  92. position: absolute;
  93. width: 100vw;
  94. bottom: 148rpx;
  95. left: 0;
  96. padding: 0 68rpx;
  97. .but{
  98. width: calc(100vw - 156rpx);
  99. border-radius: 200rpx;
  100. height: 88rpx;
  101. line-height: 88rpx;
  102. font-size: 32rpx;
  103. text-align: center;
  104. }
  105. .but-text{
  106. width: calc(100vw - 156rpx);
  107. margin-top: 32rpx;
  108. text-align: center;
  109. font-size: 28rpx;
  110. }
  111. }
  112. }
  113. .autonym-ok{
  114. .ok-img{
  115. margin-top: 168rpx;
  116. display: flex;
  117. justify-content: center;
  118. .left-img{
  119. width: 348rpx;
  120. height: 348rpx;
  121. }
  122. }
  123. .ok-title{
  124. margin-top: 68rpx;
  125. text-align: center;
  126. font-size: 34rpx;
  127. }
  128. .ok-text{
  129. margin-top: 16rpx;
  130. text-align: center;
  131. font-size: 24rpx;
  132. }
  133. }
  134. }
  135. </style>