GithubHelp home page GithubHelp logo

turtlesst / cinema-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from advancedpawn2020/cinema-web

0.0 0.0 0.0 2.7 MB

电影院会员管理系统前端(大作业),使用SpringBoot+mybatis+vue.js实现了会员、会员卡、电影票、积分兑换、会员关怀等模块

License: MIT License

JavaScript 11.05% CSS 1.52% HTML 0.22% Vue 87.21%

cinema-web's Introduction

cinema-web

vue element-ui license GitHub release

本项目是电影院会员管理系统的web端,是基于Vue + Element UI 的后台管理系统解决方案的一个应用。参考后台管理模板:vue-manage-system项目地址

项目截图

登录页面

Image text

系统首页

Image text

会员界面

Image text

会员卡界面

Image text

会员关怀

Image text

前言

本项目基于Web Management System模板开发。基于 vue.js,使用 vue-cli3 脚手架,引用 Element UI 组件库。

安装步骤

git [email protected]:Advancedpawn2020/cinema-web.git      // 把前端项目下载到本地
cd cinema-web    // 打开命令行,进入项目目录
npm install         // 安装项目依赖,等待安装完成之后,安装失败可用 cnpm 或 yarn

// 开发环境,开启服务器,浏览器访问 http://localhost:8080,
npm run serve

// 生产环境,执行构建命令,生成的dist文件夹下文件复制到webapp下
npm run build

各文件夹作用

  • api:集合了所有页面的ajax的请求
  • assets:所有的css和img等静态资源
  • components:单文件组件
    • common:公共的组件,包括头、首页布局、事件路由器、侧边栏等
    • page:各可以跳转的单文件组件
  • config:全局配置文件
  • router:实例化前端路由,包含所有可以在路由中被跳转的地址
  • utils:axios的封装,供api文件夹使用
  • App.vue:其模板是被核心Vue挂载的,是整个单页面应用的根模板
  • main.js:核心Vue实例的位置,是脚手架中默认启动的入口,是整个应用的核心

其他注意事项

  • 针对于本项目的具体修改过程,可参考vue-manage-system项目地址
  • 使用本前端项目进行前后端分离开发时,需要解决跨域问题,在utils/request.js中将baseURL设置为/api,并在vue.config.js中设置/api所映射的路径, 以期使用node的代理服务器解决跨域问题(如使用默认设置,请将cinema后端项目的端口设置为8081,路径设置为/cinema)

License

MIT

cinema-web's People

Contributors

advancedpawn2020 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.