123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <view class="error-page">
- <image mode="heightFix" src="/static/image/error.png" />
- <view class="error-title">暂无权限</view>
- <view class="error-text">尊敬的用户,您没有本应用访问权限。本应用责任部门为重庆两江新区社会发展局,若您需使用本应用,请拨打联系电话023-67685085。</view>
- </view>
- </template>
- <script setup lang="ts">
- import { onUnload } from "@dcloudio/uni-app";
- import dd from 'gdt-jsapi';
-
- onUnload(() => {
- pageAwayEvent()
- })
-
- const pageAwayEvent = ()=> {
- dd.ready(() => {
- dd.closePage({ message: '返回工作台!' });
- })
- }
- </script>
- <style lang="scss">
- .error-page {
- background-color: #fff;
- height: calc(100vh - 200rpx);
- display: flex;
- align-items: center;
- flex-direction: column;
- padding: 190rpx 80rpx 0;
- .error-title {
- margin: 40rpx 0;
- font-size: 16px;
- line-height: 22px;
- font-weight: 400;
- color: #363A44;
- }
- .error-text {
- font-size: 14px;
- font-weight: 400;
- color: #B9BCBF;
- }
- }
- </style>
|