1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <template>
- <view class="sucbox">
- <view class="subtop">
- <nodata type="page" padtop='248' notxt="当前页面暂无信息"></nodata>
- </view>
- <view class="back" @click="getHome">返回首页</view>
- </view>
- </template>
- <script>
- import nodata from "@/components/nodata/nodata.vue"
- import config from '@/config'
- const baseUrl = config.baseUrl
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- export default{
- components:{nodata},
- data(){
- return{
- sucimg:require('@/work/static/images/success.png'),
- }
- },
- methods:{
- checkPermi, checkRole,
- getHome(){
- this.$tab.reLaunch('/pages/index/index')
- },
- }
- }
- </script>
- <style>
- page{background:#ffffff;}
- </style>
- <style lang="scss" scoped>
- .sucbox{min-height: 100vh;display: flex;flex-direction: column;padding: 0 0 200rpx;align-items: center;
- .subtop{
- flex: 1;display: flex;flex-direction: column;align-items: center;
- image{width: 550rpx;height: 450rpx;margin: 0 auto 40rpx;}
- .tit{font-weight: bold;font-size: 30rpx;color: #222327;padding-top: 6rpx;}
- .txt{font-weight: bold;font-size: 30rpx;color: #00A9F0;margin-top: 60rpx;}
- }
- .back{font-weight: bold;font-size: 30rpx;flex: 0 0 auto;color: #666666;text-align: center;}
- }
- </style>
|