Files
apple 079076a70e miao33: 从 main 同步 single_uniapp22miao,dart-sass 兼容修复,DEPLOY.md 更新
- 从 main 获取 single_uniapp22miao 子项目
- dart-sass: /deep/ -> ::v-deep,calc 运算符加空格
- DEPLOY.md 采用 shccd159 版本(4 子项目架构说明)

Made-with: Cursor
2026-03-16 11:16:42 +08:00

71 lines
1.3 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<view class="error-page">
<view class="error-content">
<text class="error-icon">404</text>
<text class="error-title">页面不存在</text>
<text class="error-desc">抱歉您访问的页面找不到了</text>
<button class="back-btn" @click="goBack">返回首页</button>
</view>
</view>
</template>
<script>
export default {
methods: {
goBack() {
uni.switchTab({
url: '/pages/index/index'
});
}
}
}
</script>
<style lang="scss" scoped>
.error-page {
min-height: 100vh;
background-color: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
}
.error-content {
display: flex;
flex-direction: column;
align-items: center;
.error-icon {
font-size: 120rpx;
font-weight: bold;
color: #ccc;
margin-bottom: 40rpx;
}
.error-title {
font-size: 36rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
}
.error-desc {
font-size: 26rpx;
color: #999;
margin-bottom: 60rpx;
}
.back-btn {
width: 300rpx;
height: 80rpx;
line-height: 80rpx;
background: linear-gradient(90deg, #FF6B6B, #FF4757);
color: #fff;
border-radius: 40rpx;
font-size: 28rpx;
border: none;
}
}
</style>