Skip to content

Travelguest/FundAnalysisClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

242 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fund Analysis Client

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

如果遇到:1 error and 0 warnings potentially fixable with the --fix option.的错误,先运行后,再npm run serve

npm run lint -- --fix

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.


项目命名

  • 全小写_隔开 my_project_name

文件命名

  • 小写开头、驼峰命名 apiUtil.html apiUtil.css apiUtil.js

目录命名:

  • 全小写

js命名规范

  • 变量: 小驼峰 maxCount
  • 常量: 全大写_隔开 MAX_COUNT
  • 方法:
    1. 小驼峰、
    2. 前缀应当为动词(get/set/is/has/can/load) getData()
    3. 类: 大驼峰,首字母大写 Person
    4. 私有属性: 前缀为_ _name

图片

  • 业务(可选) +(mod_)图片功能类别(必选)+ 图片模块名称(可选) + 图片精度(可选) eg:wx_btn_goodList@2x.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors