asuccess.wpy 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <style lang="less">
  2. .aIndex {
  3. height: 100%;
  4. overflow: hidden;
  5. position: relative;
  6. background-color: #ebf5fa;
  7. background-repeat: no-repeat;
  8. background-size: contain;
  9. padding-top: 400rpx;
  10. box-sizing: border-box;
  11. .aImageDiv {
  12. text-align: center;
  13. margin-bottom: 46rpx;
  14. .image {
  15. width: 375px;
  16. }
  17. }
  18. .aInfo {
  19. text-align: center;
  20. color: #1b2129;
  21. font-size: 18px;
  22. line-height: 22px;
  23. }
  24. }
  25. </style>
  26. <template>
  27. <div class="aIndex" :style="{'background-image': 'url('+h5StaticPath+'adminBack.png)'}">
  28. <navigationbar :goto="'home'"></navigationbar>
  29. <div class="aImageDiv">
  30. <image class="image" :src="h5StaticPath+'successPc.png'" mode="widthFix" />
  31. </div>
  32. <div class="aInfo">登录成功</div>
  33. </div>
  34. </template>
  35. <script>
  36. import wepy from '@wepy/core';
  37. import eventHub from '@/common/eventHub';
  38. import { mapState } from '@wepy/x';
  39. import store from '@/store';
  40. import config from '@/config';
  41. wepy.page({
  42. store,
  43. config: {},
  44. data: {
  45. h5StaticPath: config.h5StaticPath + '/page-home/',
  46. },
  47. computed: {
  48. ...mapState({
  49. userInfo: (state) => state.user.userInfo,
  50. projctId: (state) => state.user?.userInfo?.projctId,
  51. companyId: (state) => state.user?.userInfo?.companyId,
  52. }),
  53. },
  54. methods: {},
  55. onLoad() {},
  56. onShow() {},
  57. });
  58. </script>
  59. <config>
  60. {
  61. "navigationStyle":"custom",
  62. usingComponents: {
  63. "van-icon": "module:@vant/weapp/dist/icon",
  64. "navigationbar":'./navigationbar',
  65. }
  66. }
  67. </config>