# 目录结构
下面是 meedu 系统页面的结构。后面给出的中文注释对应的都是 meedu 的每一个页面。当然,这些页面并不是都需要的,如果你编写的模板用户走不到某个页面,那么你就可以不需要编写那个页面了。模板的开发必须遵循下面的目录结构存放文件,否则 meedu 系统会找不到对应的模板文件而报错。
.
├── frontend 这个目录是必须的
│ ├── announcement
│ │ └── show.blade.php 公告详情页
│ ├── auth
│ │ ├── login.blade.php 登录页
│ │ ├── passwords
│ │ │ └── find.blade.php 密码找回
│ │ └── register.blade.php 注册
│ ├── course
│ │ ├── buy.blade.php 课程购买界面
│ │ ├── index.blade.php 课程列表
│ │ └── show.blade.php 课程详情
│ ├── index
│ │ ├── index.blade.php 首页
│ │ └── user_protocol.blade.php 用户协议
│ ├── member
│ │ ├── avatar.blade.php 更换头像
│ │ ├── buy_course.blade.php 已购课程
│ │ ├── buy_video.blade.php 已购视频
│ │ ├── index.blade.php 用户中心
│ │ ├── invite_balance_orders.blade.php 邀请余额明细
│ │ ├── invite_balances.blade.php 邀请余额
│ │ ├── join_role_records.blade.php VIP记录
│ │ ├── messages.blade.php 我的消息
│ │ ├── mobile_bind.blade.php 手机号绑定
│ │ ├── orders.blade.php 我的订单
│ │ ├── password_reset.blade.php 修改密码
│ │ ├── promo_code.blade.php 我的邀请码
│ │ └── socialite.blade.php 社交登录
│ ├── order
│ │ ├── hand_pay.blade.php 手动支付
│ │ ├── show.blade.php 订单详情
│ │ ├── success.blade.php 支付成功
│ │ └── wechat.blade.php 微信扫码支付
│ ├── role
│ │ ├── buy.blade.php VIP购买界面
│ │ └── index.blade.php VIP页
│ ├── search
│ │ └── index.blade.php 搜索页
│ └── video
│ ├── buy.blade.php 视频购买页
│ ├── index.blade.php 视频列表页
│ └── show.blade.php 视频播放页
└── layouts 布局文件,非必须
├── app-active.blade.php
├── app.blade.php
├── common
│ ├── footer.blade.php
│ └── header.blade.php
└── member.blade.php