0.1.0 • Published 4 years ago

vue-pandian v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

zsins-weapp

svn下载时候关联代码

git remote add origin xxxxx.git

Build Setup

# clone the project
git clone https://github.com/PanJiaChen/vue-admin-template.git

# enter the project directory
cd vue-admin-template

# install dependency
npm install

# develop
npm run dev

This will automatically open http://localhost:9528

Build

# build for test environment
npm run build:stage

# build for production environment
npm run build:prod

Advanced

# preview the release environment effect
npm run preview

# preview the release environment effect + static resource analysis
npm run preview -- --report

# code format check
npm run lint

# code format check and auto fix
npm run lint -- --fix

ETC快速选取车牌号码组件使用

使用标签使用该组件 使用该组件时,建议包裹一层容器,以便于样式的控制,该组件本身未做BFC 组件默认宽度100%,高度40px,行高40px 支持自定义样式,变更组件高度时,务必同时变更行高,使文本居中 可以使用v-model 接收组件构建的值 目前不支持自定义子组件样式 该组件由px和百分比构建,支持多端使用

项目目录说明

├── build                      # 构建相关
├── plop-templates             # 基本模板
├── public                     # 静态资源
│   │── favicon.ico            # favicon图标
│   └── index.html             # html模板
├── src                        # 源代码
│   ├── api                    # 所有请求
│   ├── assets                 # 主题 字体等静态资源
│   ├── components             # 全局公用组件
│   ├── directive              # 全局指令
│   ├── filters                # 全局 filter
│   ├── icons                  # 项目所有 svg icons
│   ├── layout                 # 全局 layout
│   ├── router                 # 路由
│   ├── store                  # 全局 store管理
│   ├── styles                 # 全局样式
│   ├── utils                  # 全局公用方法
│   ├── vendor                 # 公用vendor
│   ├── views                  # views 所有页面
│   │   ├── login              # 登录
│   │   ├── home               # 首页
│   │   ├── shop               # 商城
│   │   ├── news               # 资讯
│   │   ├── user               # 我的
│   │   ├── vhl                # 车险相关
│   │   │   ├── 
│   │   └── welcome            # 欢迎页(暂定)
│   ├── App.vue                # 入口页面
│   ├── main.js                # 入口文件 加载组件 初始化等
│   └── permission.js          # 权限管理
├── tests                      # 测试
├── .env.xxx                   # 环境变量配置
├── .eslintrc.js               # eslint 配置项
├── .babelrc                   # babel-loader 配置
├── .travis.yml                # 自动化CI配置
├── vue.config.js              # vue-cli 配置
├── postcss.config.js          # postcss 配置
└── package.json               # package.json

cshop项目

路由概要

首页                 cshop_frame_index

# 车模块路由
车险报价              cshop_vhl_inquire_step1
车主信息              cshop_vhl_inquire_owner
车辆信息              cshop_vhl_inquire_carinfo
选择车辆              cshop_vhl_inquire_cat
车辆查询              cshop_vhl_inquire_select
投保方案              cshop_vhl_inquire_plan
修改投保方案           cshop_vhl_inquire_plan_edit
报价详情              cshop_vhl_inquire_offer
确认核保              cshop_vhl_inquire_check

# 非车模块路由


# 新闻模块路由
新闻                  cshop_new_index
新闻详情               cshop_new_detail_index

# 资讯模块路由


# 我的
我的                  cshop_user_index
我的信息               cshop_user_info
地址编辑               cshop_user_info_address
我的车辆               cshop_user_car
添加车辆               cshop_user_car_add
我的保单               cshop_user_policy
详情保单               cshop_user_policy_detail