404.vue 953 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <script lang="ts" setup>
  2. import { navigateBackPlus } from '@/utils'
  3. definePage({
  4. style: {
  5. navigationStyle: 'custom',
  6. },
  7. })
  8. function handleBack() {
  9. navigateBackPlus()
  10. }
  11. </script>
  12. <template>
  13. <view class="yd-page-container flex flex-col">
  14. <wd-navbar
  15. title="页面不存在"
  16. left-arrow placeholder safe-area-inset-top fixed
  17. @click-left="handleBack"
  18. />
  19. <view class="flex flex-1 flex-col items-center bg-white px-48rpx pt-1/3">
  20. <wd-icon name="warning" size="96rpx" color="#faad14" />
  21. <view class="mt-24rpx text-34rpx text-[#333] font-semibold">
  22. 404
  23. </view>
  24. <view class="mt-16rpx text-center text-28rpx text-[#666] leading-44rpx">
  25. 抱歉,您访问的页面不存在
  26. </view>
  27. <view class="mt-32rpx w-full">
  28. <wd-button :block="true" :plain="true" @click="handleBack">
  29. 返回
  30. </wd-button>
  31. </view>
  32. </view>
  33. </view>
  34. </template>