简化12306接口,规范属性名称,用于数据库设计,数据接口定义
命名规则
| { | |
| "Use Non-ASCII Font" : true, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Green Component" : 0.57647058823529407, | |
| "Blue Component" : 0.97647058823529409, | |
| "Red Component" : 0.74117647058823533 | |
| }, |
| ;(function (designWidth, maxWidth) { | |
| var doc = document, | |
| win = window; | |
| var docEl = doc.documentElement; | |
| var tid; | |
| var rootItem, rootStyle; | |
| function refreshRem() { | |
| var width = docEl.getBoundingClientRect().width; | |
| if (!maxWidth) { |
| server { | |
| listen 80; | |
| server_name test.com *.test.com; | |
| rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; | |
| rewrite ^/(.*)/$ /$1 permanent; | |
| root /path/to/project/root; | |
| index index.html; | |
| try_files $uri/index.html $uri.html $uri/ $uri =404; |
| # ---------------------------------- | |
| # Colors | |
| # ---------------------------------- | |
| NOCOLOR='\033[0m' | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| ORANGE='\033[0;33m' | |
| BLUE='\033[0;34m' | |
| PURPLE='\033[0;35m' | |
| CYAN='\033[0;36m' |
| /** | |
| * @param {Boolean} [normal = false] - 默认开启页面压缩以使页面高清; | |
| * @param {Number} [baseFontSize = 100] - 基础fontSize, 默认100px; | |
| * @param {Number} [fontscale = 1] - 有的业务希望能放大一定比例的字体; | |
| */ | |
| const win = window; | |
| export default win.flex = (normal, baseFontSize, fontscale) => { | |
| const _baseFontSize = baseFontSize || 100; | |
| const _fontscale = fontscale || 1; |
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="robbyrussell" | |
| # Uncomment the following line to use case-sensitive completion. |
| { | |
| "env": { | |
| "browser": true, | |
| "commonjs": true, | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": [ | |
| "airbnb" // 以社区广泛使用的 airbnb 风格指南作为基础 | |
| ], |
| ## What does Function.prototype.bind do ? | |
| Function.prototype.bind = function (scope) { | |
| if (typeof this !== "function") { | |
| throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); | |
| } | |
| var fn = this; | |
| return function () { | |
| return fn.apply(scope); |