韩笑冬-静态前端
# 一、开发配置
**1、操作系统**:
Windows 10
**2.开发软件:**
[VScode](https://code.visualstudio.com/)
**3.开发硬件:**
CPU: 英特尔 Core(TM) i7-8750H
内存:32G
储存:1024GB
**4.调试环境:**
VScode
**5.开发使用的语言:**
JavaScript+HTML+CSS
*参考文档:*
[百度](https://www.baidu.com)
[StackOverflow](https://stackoverflow.com/)
[Bootstrap](https://getbootstrap.com/docs/4.5/getting-started/introduction/)
# 二、各文件作用说明:
## 1.项目地址
[GitHub地址](https://github.com/woodykaixa/BJUTLabServer)
## 2.文件框架
│ app.py //启动程序
│ config.py //配置文件
│ Interface Rule.txt //接口规则文件
│ requirements.txt //项目包配置
│
├─.idea//系统生成
│
├─main
│ │ auth.py //与个人相关的views
│ │ decorators.py //装饰器
│ │ experiment.py //与实验相关的views
│ │ forms.py //检查表单验证
│ │ hooks.py
│ │ index.py //其他主要views
│ │ __init__.py
│ │
│ ├─common
│ │ │ forms.py //表单验证
│ │ │ __init__.py
│
├─static
│ ├─common
│ │ │ param.js
│ │ │ qiniu.js
│ │ │ zlajax.js //前后端交互ajax封装
│ │ │
│ │ ├─images
│ │ │ logo.png
│ │ │
│ │ └─sweetalert //前端弹出框的封装
│ │ alert.js
│ │ sweetalert.css
│ │ sweetalert.min.js
│ │
│ ├─css
│ │ bootstrap-grid.css.map
│ │ bootstrap-grid.min.css
│ │ bootstrap-grid.min.css.map
│ │ bootstrap-reboot.css
│ │ bootstrap-reboot.css.map
│ │ bootstrap-reboot.min.css
│ │ bootstrap-reboot.min.css.map
│ │ bootstrap.css
│ │ bootstrap.css.map
│ │ bootstrap.min.css
│ │ bootstrap.min.css.map
│ │ common.css
│ │ index_custom.css
│ │ login_custom.css
│ │ register_custom.css
│ │
│ ├─img
│ │ bg.png
│ │ 头像.jpg
│ │
│ └─js
│ │ aexperiment.js
│ │ bootstrap.bundle.js
│ │ bootstrap.bundle.js.map
│ │ bootstrap.bundle.min.js
│ │ bootstrap.bundle.min.js.map
│ │ bootstrap.js
│ │ bootstrap.js.map
│ │ bootstrap.min.js
│ │ bootstrap.min.js.map
│ │ common.js
│ │ forgetpassword.js //忘记密码js
│ │ index.js
│ │ jquery.js
│ │ js.cookie.js
│ │ js.cookie.min.js
│ │ login.js //登录js
│ │ register.js //注册js
│ │
│ └─utils_js
├─templates
│ │ 404.html
│ │ auth_base.html
│ │ base.html
│ │ experiment_order.html
│ │ forget_password.html
│ │ index.html
│ │ index_base.html
│ │ index_base2.html
│ │ inform.html
│ │ inform_page.html
│ │ login.html
│ │ me.html
│ │ preorder.html
│ │ preorder_rules.html
│ │ register.html
│ │ reserve.html
│ │ search.html
│ │
│ └─common
│ _heads.html
│ _macros.html
│
├─utils
│ │ exts.py //拓展包 导入需要的拓展
│ │ restful.py //http返回值的封装
│ │ safeutils.py //安全http设定
│ │ SMS.py //手机验证码配置
│ │ __init__.py
│ │
│ ├─captcha //图形验证码
│ │ Cookie-Regular.ttf
│ │ Courgette-Regular.ttf
│ │ euphorig.ttf
│ │ LHANDW.TTF
│ │ Lobster-Regular.ttf
│ │ verdana.ttf
│ │ __init__.py
## 3.功能说明
完成了静态页面,供交互同学和后端同学进行扩展