approve_ok.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view class="top-bg">
  3. <view class="nav-top fx-h fx-bc">
  4. <image mode="widthFix" src="/static/img/subproof_success.png" style="width: 40vw;height: 30vw;"></image>
  5. <view class="title">实名认证成功</view>
  6. </view>
  7. <view class="fx-h fx-bc fx-ac" style="height: calc(100vh - 350px);">
  8. <view class="btn" @tap="tapHome">返回主页</view>
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. import { mapState, mapMutations } from 'vuex';
  14. export default {
  15. data() {
  16. return {}
  17. },
  18. onLoad() {
  19. this.initView();
  20. },
  21. methods: {
  22. ...mapMutations(['setSys']),
  23. initView: function() {
  24. },
  25. tapHome:function(){
  26. uni.switchTab({url:'/pages/index/index'})
  27. }
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. .top-bg{position: relative;margin-top: 50px;}
  33. .nav-top{color: #e02e22;padding-top: 20px;}
  34. .nav-top .title{font-size: 40rpx;margin-top: 20px;}
  35. .nav-top .title-tag{font-size: 24rpx;color: #ffffff;margin-top: 24rpx;}
  36. .top-bg .btn{width: 290rpx;height:90rpx;border: solid 2px #e02e22;font-size: 32rpx;color: #e02e22;border-radius: 40px;text-align: center;line-height: 90rpx;}
  37. </style>