<template> <view class="top-bg"> <view class="nav-top fx-h fx-bc"> <image mode="widthFix" src="/static/img/subproof_success.png" style="width: 40vw;height: 30vw;"></image> <view class="title">实名认证成功</view> </view> <view class="fx-h fx-bc fx-ac" style="height: calc(100vh - 350px);"> <view class="btn" @tap="tapHome">返回主页</view> </view> </view> </template> <script> import { mapState, mapMutations } from 'vuex'; export default { data() { return {} }, onLoad() { this.initView(); }, methods: { ...mapMutations(['setSys']), initView: function() { }, tapHome:function(){ uni.switchTab({url:'/pages/index/index'}) } } } </script> <style lang="scss"> .top-bg{position: relative;margin-top: 50px;} .nav-top{color: #e02e22;padding-top: 20px;} .nav-top .title{font-size: 40rpx;margin-top: 20px;} .nav-top .title-tag{font-size: 24rpx;color: #ffffff;margin-top: 24rpx;} .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;} </style>