index.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!--
  2. ⚠️ 废弃说明(2026-06-15):
  3. 此页面已按照设计决策废弃。教师首页功能已折入 parent-index。
  4. 保留文件仅用于参考,不通过任何路由访问。
  5. -->
  6. <template>
  7. <view class="deprecated-container">
  8. <text class="deprecated-icon">📋</text>
  9. <text class="deprecated-title">服务商功能已整合</text>
  10. <text class="deprecated-desc">服务商工具和待办已迁移至家长首页</text>
  11. <view class="deprecated-btn" @click="goToHome">回到首页</view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. methods: {
  17. goToHome() {
  18. uni.switchTab({ url: '/pages/index-home/index' })
  19. }
  20. }
  21. }
  22. </script>
  23. <style scoped>
  24. .deprecated-container {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. justify-content: center;
  29. min-height: 100vh;
  30. background: #f5f7fa;
  31. padding: 60rpx;
  32. }
  33. .deprecated-icon {
  34. font-size: 80rpx;
  35. margin-bottom: 30rpx;
  36. }
  37. .deprecated-title {
  38. font-size: 36rpx;
  39. font-weight: bold;
  40. color: #333;
  41. margin-bottom: 16rpx;
  42. }
  43. .deprecated-desc {
  44. font-size: 26rpx;
  45. color: #999;
  46. margin-bottom: 48rpx;
  47. text-align: center;
  48. }
  49. .deprecated-btn {
  50. background: #5B9BD5;
  51. color: #fff;
  52. font-size: 30rpx;
  53. font-weight: bold;
  54. padding: 20rpx 80rpx;
  55. border-radius: 44rpx;
  56. }
  57. </style>