<style lang="less">
.aIndex {
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: #ebf5fa;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 400rpx;
  box-sizing: border-box;
  
  .aImageDiv {
    text-align: center;
    margin-bottom: 46rpx;
    .image {
      width: 375px;
    }
  }

  .aInfo {
    text-align: center;
    color: #1b2129;
    font-size: 18px;
    line-height: 22px;
  }
}
</style>
<template>
<div class="aIndex" :style="{'background-image': 'url('+h5StaticPath+'adminBack.png)'}">
  <navigationbar :goto="'home'"></navigationbar>
  <div class="aImageDiv">
    <image class="image" :src="h5StaticPath+'successPc.png'" mode="widthFix" />
  </div>
  <div class="aInfo">登录成功</div>
</div>
</template>

<script>
import wepy from '@wepy/core';
import eventHub from '@/common/eventHub';
import { mapState } from '@wepy/x';
import store from '@/store';
import config from '@/config';

wepy.page({
  store,
  config: {},
  data: {
    h5StaticPath: config.h5StaticPath + '/page-home/',
  },
  computed: {
    ...mapState({
      userInfo: (state) => state.user.userInfo,
      projctId: (state) => state.user?.userInfo?.projctId,
      companyId: (state) => state.user?.userInfo?.companyId,
    }),
  },
  methods: {},
  onLoad() {},
  onShow() {},
});
</script>
<config>
{
"navigationStyle":"custom",
usingComponents: {
  "van-icon": "module:@vant/weapp/dist/icon",
  "navigationbar":'./navigationbar',
}
}
</config>
