| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!--
- ⚠️ 废弃说明(2026-06-15):
- 此页面已按照设计决策废弃。教师首页功能已折入 parent-index。
- 保留文件仅用于参考,不通过任何路由访问。
- -->
- <template>
- <view class="deprecated-container" :style="{ '--font-scale': fontScale }">
- <text class="deprecated-icon">📋</text>
- <text class="deprecated-title">服务商功能已整合</text>
- <text class="deprecated-desc">服务商工具和待办已迁移至家庭首页</text>
- <view class="deprecated-btn" @click="goToHome">回到首页</view>
- </view>
- </template>
- <script>
- import fontScaleMixin from '@/mixins/font-scale.js'
- export default {
- mixins: [fontScaleMixin],
- methods: {
- goToHome() {
- uni.switchTab({ url: '/pages/index-home/index' })
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .deprecated-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- min-height: 100vh;
- background: $app-bg;
- padding: 60rpx;
- }
- .deprecated-icon {
- font-size: calc($uni-font-size-5xl * var(--font-scale, 1));
- margin-bottom: $uni-space-lg;
- }
- .deprecated-title {
- font-size: calc(36rpx * var(--font-scale, 1));
- font-weight: bold;
- color: $facade-text-strong;
- margin-bottom: 16rpx;
- }
- .deprecated-desc {
- font-size: calc(26rpx * var(--font-scale, 1));
- color: $facade-text-muted;
- margin-bottom: 48rpx;
- text-align: center;
- }
- .deprecated-btn {
- background: $brand-primary;
- color: $app-surface;
- font-size: calc(30rpx * var(--font-scale, 1));
- font-weight: bold;
- padding: 20rpx 80rpx;
- border-radius: 24rpx;
- }
- </style>
|