├── cli2-code ├── src │ ├── components │ │ └── .gitkeep │ ├── controller │ │ └── weiYeDai │ │ │ ├── api │ │ │ └── api.js │ │ │ ├── common │ │ │ ├── mixin.scss │ │ │ ├── common.js │ │ │ └── globalData.js │ │ │ ├── App.vue │ │ │ ├── page │ │ │ └── home.vue │ │ │ ├── index.html │ │ │ ├── main.js │ │ │ └── router │ │ │ └── index.js │ ├── common │ │ ├── vant.js │ │ ├── header.js │ │ └── system.js │ ├── libs │ │ └── better-qiniu-webpack-plugin │ │ │ ├── src │ │ │ ├── reporter.js │ │ │ ├── utils.js │ │ │ ├── qiniu.js │ │ │ └── index.js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── package.json │ └── style │ │ ├── mixin.scss │ │ ├── reset.scss │ │ └── iconfont.scss ├── config │ ├── project.js │ ├── prod.env.js │ ├── test.env.js │ ├── dev.env.js │ ├── test.js │ ├── dev.js │ ├── build.js │ ├── projectConfig.js │ └── index.js ├── .eslintignore ├── static │ └── favicon.ico ├── .editorconfig ├── .postcssrc.js ├── index.html ├── .babelrc ├── build │ ├── vue-loader.conf.js │ ├── build.js │ ├── buildToqiniu.js │ ├── buildToQiNiuTest.js │ ├── check-versions.js │ ├── webpack.base.conf.js │ ├── webpack.dev.conf.js │ ├── utils.js │ ├── webpack.prod.conf.js │ ├── webpack.qiniu.conf.js │ └── webpack.qiniuTest.conf.js ├── .eslintrc.js ├── README.md └── package.json ├── README.md ├── cli3-activities ├── config │ ├── project.js │ ├── build.js │ ├── dev.js │ └── projectConfig.js ├── .browserslistrc ├── babel.config.js ├── postcss.config.js ├── src │ └── projects │ │ └── projectA │ │ ├── assets │ │ └── logo.png │ │ ├── page │ │ ├── About.vue │ │ └── Home.vue │ │ ├── store.js │ │ ├── main.js │ │ ├── App.vue │ │ ├── router.js │ │ └── components │ │ └── HelloWorld.vue ├── vue.config.js ├── README.md ├── .eslintrc.js ├── public │ └── index.html └── package.json └── .gitignore /cli2-code/src/components/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # examples 2 | 一些示例程序 3 | -------------------------------------------------------------------------------- /cli2-code/config/project.js: -------------------------------------------------------------------------------- 1 | exports.name = 'wyd' -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/api/api.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli3-activities/config/project.js: -------------------------------------------------------------------------------- 1 | exports.name = 'projectA' -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/common/mixin.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /cli3-activities/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not ie <= 8 4 | -------------------------------------------------------------------------------- /cli3-activities/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["@vue/app"] 3 | }; 4 | -------------------------------------------------------------------------------- /cli2-code/.eslintignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /config/ 3 | /dist/ 4 | /*.js 5 | /test/unit/coverage/ 6 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/common/common.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/6/11. 3 | */ 4 | -------------------------------------------------------------------------------- /cli2-code/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangkai678/examples/HEAD/cli2-code/static/favicon.ico -------------------------------------------------------------------------------- /cli3-activities/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {} 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /cli2-code/config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | NODE_ENV: '"production"', 5 | } 6 | 7 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/common/globalData.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/8/23. 3 | */ 4 | 5 | 6 | export default { 7 | mid:'' 8 | } 9 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangkai678/examples/HEAD/cli3-activities/src/projects/projectA/assets/logo.png -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/page/About.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /cli2-code/src/common/vant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by ShiRan on 2018/5/18. 3 | */ 4 | import Vue from 'vue'; 5 | import Vant from 'vant'; 6 | import 'vant/lib/vant-css/index.css'; 7 | Vue.use(Vant); 8 | -------------------------------------------------------------------------------- /cli2-code/config/test.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const devEnv = require('./dev.env') 4 | 5 | module.exports = merge(devEnv, { 6 | NODE_ENV: '"testing"' 7 | }) 8 | -------------------------------------------------------------------------------- /cli2-code/config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"', 7 | }) 8 | -------------------------------------------------------------------------------- /cli2-code/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/store.js: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import Vuex from "vuex"; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default new Vuex.Store({ 7 | state: {}, 8 | mutations: {}, 9 | actions: {} 10 | }); 11 | -------------------------------------------------------------------------------- /cli3-activities/vue.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by guoguanrong on 2019/3/19 3 | * 项目配置详情 4 | */ 5 | const conf = require('./config/projectConfig') 6 | module.exports = { 7 | pages: conf.pages, 8 | lintOnSave: false 9 | } 10 | -------------------------------------------------------------------------------- /cli3-activities/README.md: -------------------------------------------------------------------------------- 1 | # ywspace-activities 2 | 3 | 4 | ### Compiles and hot-reloads for development 5 | ``` 6 | npm install d projectA 7 | ``` 8 | 9 | ### Compiles and minifies for production 10 | ``` 11 | npm install b projectA 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /cli2-code/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "postcss-import": {}, 7 | "autoprefixer": {} 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /cli3-activities/config/build.js: -------------------------------------------------------------------------------- 1 | let projectName = process.argv[2] 2 | let fs = require('fs') 3 | 4 | fs.writeFileSync('./config/project.js', `exports.name = '${projectName}'`) 5 | 6 | let exec = require('child_process').execSync; 7 | exec('npm run build', {stdio: 'inherit'}); 8 | 9 | 10 | -------------------------------------------------------------------------------- /cli3-activities/config/dev.js: -------------------------------------------------------------------------------- 1 | let projectName = process.argv[2] 2 | 3 | let fs = require('fs') 4 | 5 | fs.writeFileSync('./config/project.js', `exports.name = '${projectName}'`) 6 | 7 | let exec = require('child_process').execSync; 8 | exec('npm run serve', {stdio: 'inherit'}); 9 | 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | /dist/ 5 | npm-debug.log* 6 | yarn-debug.log* 7 | yarn-error.log* 8 | /test/unit/coverage/ 9 | /test/e2e/reports/ 10 | selenium-debug.log 11 | 12 | # Editor directories and files 13 | .idea 14 | .vscode 15 | *.suo 16 | *.ntvs* 17 | *.njsproj 18 | *.sln 19 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/main.js: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import App from "./App.vue"; 3 | import router from "./router"; 4 | import store from "./store"; 5 | 6 | Vue.config.productionTip = false; 7 | 8 | new Vue({ 9 | router, 10 | store, 11 | render: h => h(App) 12 | }).$mount("#app"); 13 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 13 | 14 | 20 | -------------------------------------------------------------------------------- /cli2-code/config/test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/10/23. 3 | */ 4 | 5 | let projectName = process.argv[2] 6 | let fs = require('fs') 7 | 8 | fs.writeFileSync('./config/project.js', `exports.name = '${projectName}'`) 9 | 10 | let exec = require('child_process').execSync; 11 | exec('npm run test', {stdio: 'inherit'}); 12 | -------------------------------------------------------------------------------- /cli2-code/src/common/header.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/8/31. 3 | */ 4 | 5 | import Vue from 'vue' 6 | import './vant'; 7 | import 'lib-flexible' 8 | import axios from 'axios' 9 | import VueLazyLoad from 'vue-lazyload'//图片懒加载 10 | Vue.use(VueLazyLoad) 11 | Vue.prototype.$axios = axios; 12 | Vue.config.productionTip = false 13 | -------------------------------------------------------------------------------- /cli2-code/config/dev.js: -------------------------------------------------------------------------------- 1 | let projectName = process.argv[2] 2 | let fs = require('fs') 3 | 4 | fs.writeFileSync('./config/project.js', `exports.name = '${projectName}'`) 5 | 6 | let exec = require('child_process').execSync; 7 | exec('npm run dev', {stdio: 'inherit'}); 8 | 9 | 10 | // echo "exports.name = '"$1"'" > './config/project.js' 11 | // npm run dev 12 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/page/home.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 12 | 13 | 18 | -------------------------------------------------------------------------------- /cli2-code/config/build.js: -------------------------------------------------------------------------------- 1 | let projectName = process.argv[2] 2 | let fs = require('fs') 3 | 4 | fs.writeFileSync('./config/project.js', `exports.name = '${projectName}'`) 5 | 6 | let exec = require('child_process').execSync; 7 | exec('npm run build', {stdio: 'inherit'}); 8 | 9 | 10 | 11 | // echo "exports.name = '"$1"'" > './config/project.js' 12 | // npm run build 13 | -------------------------------------------------------------------------------- /cli3-activities/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true 5 | }, 6 | extends: ["plugin:vue/essential", "@vue/prettier"], 7 | rules: { 8 | "no-console": process.env.NODE_ENV === "production" ? "error" : "off", 9 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", 10 | "indent": [1, 4] 11 | }, 12 | parserOptions: { 13 | parser: "babel-eslint" 14 | } 15 | }; 16 | -------------------------------------------------------------------------------- /cli2-code/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/page/Home.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 19 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/main.js: -------------------------------------------------------------------------------- 1 | // The Vue build version to load with the `import` command 2 | // (runtime-only or standalone) has been set in webpack.base.conf with an alias. 3 | import Vue from 'vue' 4 | import App from './App' 5 | import router from './router' 6 | import '../../common/header' 7 | /* eslint-disable no-new */ 8 | new Vue({ 9 | el: '#app', 10 | router, 11 | template: '', 12 | components: {App}, 13 | //初始化方法 14 | created() { 15 | } 16 | }) 17 | 18 | 19 | -------------------------------------------------------------------------------- /cli2-code/src/controller/weiYeDai/router/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/5/16. 3 | */ 4 | import Vue from 'vue' 5 | import Router from 'vue-router' 6 | Vue.use(Router) 7 | 8 | import home from '../page/home' 9 | const BASE_PATH = '/wyd/'; 10 | 11 | export default new Router({ 12 | routes:[ 13 | { 14 | path: '', 15 | redirect: BASE_PATH + 'index', 16 | }, 17 | { 18 | path: BASE_PATH + 'index', 19 | name: 'home', 20 | component: home, 21 | } 22 | ] 23 | }) 24 | -------------------------------------------------------------------------------- /cli2-code/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "debug": true, 6 | "targets": { 7 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 8 | } 9 | }], 10 | "stage-2" 11 | ], 12 | "plugins": [ 13 | "transform-vue-jsx", 14 | "transform-runtime" 15 | ], 16 | "env": { 17 | "test": { 18 | "presets": ["env", "stage-2"], 19 | "plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"] 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /cli2-code/config/projectConfig.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/8/31. 3 | */ 4 | 5 | const projectName = require('./project') 6 | 7 | const config = { 8 | wyd:{ 9 | localPath:'./src/controller/weiYeDai/', 10 | uploadPath:'/h5/wyd/', 11 | uploadPathTest:'/h5/wyd/test' 12 | }, 13 | // 代理商 14 | // dls:{ 15 | // localPath:'./src/controller/daiLiShang/', 16 | // uploadPath:'/h5/dls/', 17 | // uploadPathTest:'/h5/dls/test', 18 | // } 19 | } 20 | 21 | const configObj = config[projectName.name] 22 | module.exports = configObj 23 | -------------------------------------------------------------------------------- /cli3-activities/config/projectConfig.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by guoguanrong on 2019/3/19. 3 | */ 4 | 5 | const projectName = require('./project') 6 | 7 | const config = { 8 | //活动1 9 | projectA: { 10 | pages: { 11 | index: { 12 | entry: 'src/projects/projectA/main.js', 13 | template: 'public/index.html', 14 | filename: 'index.html', 15 | } 16 | } 17 | }, 18 | //活动2 19 | projectB: { 20 | } 21 | } 22 | 23 | const configObj = config[projectName.name] 24 | module.exports = configObj 25 | -------------------------------------------------------------------------------- /cli3-activities/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <%= htmlWebpackPlugin.options.title %> 8 | 9 | 10 | 13 |
14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/src/reporter.js: -------------------------------------------------------------------------------- 1 | const ora = require('ora'), chalk = require('chalk'); 2 | const log = console.log; 3 | 4 | class Reporter { 5 | constructor(msg) { 6 | this.spinner = ora(msg).start(); 7 | } 8 | 9 | set text(msg) { 10 | this.spinner.text = msg; 11 | } 12 | set log(msg) { 13 | this.spinner.stop(); 14 | log(chalk.white(msg)); 15 | this.spinner.start(); 16 | } 17 | succeed(msg) { 18 | this.spinner.succeed(msg || null); 19 | } 20 | fail(msg) { 21 | this.spinner.fail(msg || null); 22 | } 23 | stop() { 24 | this.spinner.stop(); 25 | } 26 | } 27 | 28 | module.exports = Reporter; -------------------------------------------------------------------------------- /cli2-code/build/vue-loader.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const utils = require('./utils') 3 | const config = require('../config') 4 | const isProduction = process.env.NODE_ENV === 'production' 5 | const sourceMapEnabled = isProduction 6 | ? config.build.productionSourceMap 7 | : config.dev.cssSourceMap 8 | 9 | module.exports = { 10 | loaders: utils.cssLoaders({ 11 | sourceMap: sourceMapEnabled, 12 | extract: isProduction 13 | }), 14 | cssSourceMap: sourceMapEnabled, 15 | cacheBusting: config.dev.cacheBusting, 16 | transformToRequire: { 17 | video: ['src', 'poster'], 18 | source: 'src', 19 | img: 'src', 20 | image: 'xlink:href' 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /cli2-code/.eslintrc.js: -------------------------------------------------------------------------------- 1 | // https://eslint.org/docs/user-guide/configuring 2 | 3 | module.exports = { 4 | root: true, 5 | parser: 'babel-eslint', 6 | parserOptions: { 7 | sourceType: 'module' 8 | }, 9 | env: { 10 | browser: true, 11 | }, 12 | // https://github.com/standard/standard/blob/master/docs/RULES-en.md 13 | extends: 'standard', 14 | // required to lint *.vue files 15 | plugins: [ 16 | 'html' 17 | ], 18 | // add your custom rules here 19 | rules: { 20 | // allow async-await 21 | 'generator-star-spacing': 'off', 22 | // allow debugger during development 23 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/App.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 30 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/router.js: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import Router from "vue-router"; 3 | import Home from "./page/Home.vue"; 4 | 5 | Vue.use(Router); 6 | 7 | export default new Router({ 8 | routes: [ 9 | { 10 | path: "/", 11 | name: "home", 12 | component: Home 13 | 14 | }, 15 | { 16 | path: "/about", 17 | name: "about", 18 | // route level code-splitting 19 | // this generates a separate chunk (about.[hash].js) for this route 20 | // which is lazy-loaded when the route is visited. 21 | component: () => import(/* webpackChunkName: "about" */ "./page/About.vue") 22 | } 23 | ] 24 | }); 25 | -------------------------------------------------------------------------------- /cli3-activities/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "activities", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve", 7 | "build": "vue-cli-service build", 8 | "lint": "vue-cli-service lint", 9 | "d": "node config/dev.js", 10 | "b": "node config/build.js" 11 | }, 12 | "dependencies": { 13 | "vue": "^2.6.6", 14 | "vue-router": "^3.0.1", 15 | "vuex": "^3.0.1" 16 | }, 17 | "devDependencies": { 18 | "@vue/cli-plugin-babel": "^3.0.4", 19 | "@vue/cli-plugin-eslint": "^3.0.4", 20 | "@vue/cli-service": "^3.0.4", 21 | "@vue/eslint-config-prettier": "^4.0.1", 22 | "babel-eslint": "^10.0.1", 23 | "eslint": "^5.8.0", 24 | "eslint-plugin-vue": "^5.0.0", 25 | "less": "^3.0.4", 26 | "less-loader": "^4.1.0", 27 | "node-sass": "^4.11.0", 28 | "sass-loader": "^7.1.0", 29 | "vue-template-compiler": "^2.5.21" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /cli2-code/src/common/system.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/5/16. 3 | */ 4 | 5 | export default { 6 | isWeChat(){ 7 | //平台、设备和操作系统 8 | var system ={ 9 | win : false, 10 | mac : false, 11 | xll : false 12 | }; 13 | //检测平台 14 | var p = navigator.platform; 15 | system.win = p.indexOf("Win") == 0; 16 | system.mac = p.indexOf("Mac") == 0; 17 | system.x11 = (p == "X11") || (p.indexOf("Linux") == 0); 18 | if(system.win||system.mac||system.xll){ 19 | //PC 20 | console.log('PC'); 21 | }else{ 22 | //移动 23 | console.log('MOBILE'); 24 | var ua = navigator.userAgent.toLowerCase(); 25 | if(ua.match(/MicroMessenger/i)=="micromessenger") { 26 | //微信 27 | return true 28 | } 29 | } 30 | return false 31 | }, 32 | //动态注册组件 33 | // registerComponent(templateName){ 34 | // return import(`./../dashComponent/${templateName}.vue`).then((component) => { 35 | // return Vue.component(templateName, component) 36 | // }) 37 | // } 38 | } 39 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018, Jon Schlinkert. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /cli2-code/build/build.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | require('./check-versions')() 3 | 4 | process.env.NODE_ENV = 'production' 5 | 6 | const ora = require('ora') 7 | const rm = require('rimraf') 8 | const path = require('path') 9 | const chalk = require('chalk') 10 | const webpack = require('webpack') 11 | const config = require('../config') 12 | const webpackConfig = require('./webpack.prod.conf') 13 | 14 | const spinner = ora('building for production...') 15 | spinner.start() 16 | 17 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { 18 | if (err) throw err 19 | webpack(webpackConfig, (err, stats) => { 20 | spinner.stop() 21 | if (err) throw err 22 | process.stdout.write(stats.toString({ 23 | colors: true, 24 | modules: false, 25 | children: false, // if you are using ts-loader, setting this to true will make tyescript errors show up during build 26 | chunks: false, 27 | chunkModules: false 28 | }) + '\n\n') 29 | 30 | if (stats.hasErrors()) { 31 | console.log(chalk.red(' Build failed with errors.\n')) 32 | process.exit(1) 33 | } 34 | 35 | console.log(chalk.cyan(' Build complete.\n')) 36 | console.log(chalk.yellow( 37 | ' Tip: built files are meant to be served over an HTTP server.\n' + 38 | ' Opening index.html over file:// won\'t work.\n' 39 | )) 40 | }) 41 | }) 42 | -------------------------------------------------------------------------------- /cli2-code/build/buildToqiniu.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | require('./check-versions')() 3 | 4 | process.env.NODE_ENV = 'production' 5 | 6 | const ora = require('ora') 7 | const rm = require('rimraf') 8 | const path = require('path') 9 | const chalk = require('chalk') 10 | const webpack = require('webpack') 11 | const config = require('../config') 12 | const webpackConfig = require('./webpack.qiniu.conf') 13 | 14 | const spinner = ora('building for production...') 15 | spinner.start() 16 | 17 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { 18 | if (err) throw err 19 | webpack(webpackConfig, (err, stats) => { 20 | spinner.stop() 21 | if (err) throw err 22 | process.stdout.write(stats.toString({ 23 | colors: true, 24 | modules: false, 25 | children: false, // if you are using ts-loader, setting this to true will make tyescript errors show up during build 26 | chunks: false, 27 | chunkModules: false 28 | }) + '\n\n') 29 | 30 | if (stats.hasErrors()) { 31 | console.log(chalk.red(' Build failed with errors.\n')) 32 | process.exit(1) 33 | } 34 | 35 | console.log(chalk.cyan(' Build complete.\n')) 36 | console.log(chalk.yellow( 37 | ' Tip: built files are meant to be served over an HTTP server.\n' + 38 | ' Opening index.html over file:// won\'t work.\n' 39 | )) 40 | }) 41 | }) 42 | -------------------------------------------------------------------------------- /cli2-code/build/buildToQiNiuTest.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/10/23. 3 | */ 4 | 5 | 'use strict' 6 | require('./check-versions')() 7 | 8 | process.env.NODE_ENV = 'testing' 9 | 10 | const ora = require('ora') 11 | const rm = require('rimraf') 12 | const path = require('path') 13 | const chalk = require('chalk') 14 | const webpack = require('webpack') 15 | const config = require('../config') 16 | const webpackConfig = require('./webpack.qiniuTest.conf') 17 | 18 | const spinner = ora('building for testing...') 19 | spinner.start() 20 | 21 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { 22 | if (err) throw err 23 | webpack(webpackConfig, (err, stats) => { 24 | spinner.stop() 25 | if (err) throw err 26 | process.stdout.write(stats.toString({ 27 | colors: true, 28 | modules: false, 29 | children: false, // if you are using ts-loader, setting this to true will make tyescript errors show up during build 30 | chunks: false, 31 | chunkModules: false 32 | }) + '\n\n') 33 | 34 | if (stats.hasErrors()) { 35 | console.log(chalk.red(' Build failed with errors.\n')) 36 | process.exit(1) 37 | } 38 | 39 | console.log(chalk.cyan(' Build complete.\n')) 40 | console.log(chalk.yellow( 41 | ' Tip: built files are meant to be served over an HTTP server.\n' + 42 | ' Opening index.html over file:// won\'t work.\n' 43 | )) 44 | }) 45 | }) 46 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/src/utils.js: -------------------------------------------------------------------------------- 1 | const difference = require('lodash.difference'); 2 | const mapLimit = require('map-limit'); 3 | 4 | module.exports = { 5 | /** 6 | * 合并文件列表 7 | * @param {Array} prevFiles 上一版本文件列表 8 | * @param {Array} currentFiles 当前线上的文件列表 9 | * @param {Array} releaseFiles 等待发布的文件列表 10 | * 11 | * let prevFiles = [1, 2, 3, 4] 12 | * let currentFiles = [1, 2, 5, 6] 13 | * let releaseFiles = [1, 2, 7, 8] 14 | * 15 | * deleteFiles: 16 | * _.difference(prevFiles, currentFiles) // [3, 4] 17 | * 18 | * uploadFiles: 19 | * _.difference(releaseFiles, currentFiles) // [7, 8] 20 | * 21 | * 22 | */ 23 | combineFiles(prevFiles, currentFiles, releaseFiles) { 24 | let deleteFiles = difference(prevFiles, currentFiles); 25 | let uploadFiles = difference(releaseFiles, currentFiles); 26 | 27 | deleteFiles = difference(deleteFiles, uploadFiles); 28 | 29 | // 返回最终要上传的文件列表 30 | return { 31 | uploadFiles, 32 | deleteFiles 33 | }; 34 | }, 35 | 36 | mapLimit(list, limit, iterator) { 37 | return new Promise((resolve, reject) => { 38 | mapLimit( 39 | list, 40 | limit, 41 | iterator, 42 | (err, results) => { 43 | if (err) { 44 | reject(err); 45 | } else { 46 | resolve(results); 47 | } 48 | } 49 | ) 50 | }) 51 | } 52 | } -------------------------------------------------------------------------------- /cli2-code/build/check-versions.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const chalk = require('chalk') 3 | const semver = require('semver') 4 | const packageConfig = require('../package.json') 5 | const shell = require('shelljs') 6 | 7 | function exec (cmd) { 8 | return require('child_process').execSync(cmd).toString().trim() 9 | } 10 | 11 | const versionRequirements = [ 12 | { 13 | name: 'node', 14 | currentVersion: semver.clean(process.version), 15 | versionRequirement: packageConfig.engines.node 16 | } 17 | ] 18 | 19 | if (shell.which('npm')) { 20 | versionRequirements.push({ 21 | name: 'npm', 22 | currentVersion: exec('npm --version'), 23 | versionRequirement: packageConfig.engines.npm 24 | }) 25 | } 26 | 27 | module.exports = function () { 28 | const warnings = [] 29 | 30 | for (let i = 0; i < versionRequirements.length; i++) { 31 | const mod = versionRequirements[i] 32 | 33 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) { 34 | warnings.push(mod.name + ': ' + 35 | chalk.red(mod.currentVersion) + ' should be ' + 36 | chalk.green(mod.versionRequirement) 37 | ) 38 | } 39 | } 40 | 41 | if (warnings.length) { 42 | console.log('') 43 | console.log(chalk.yellow('To use this template, you must update following to modules:')) 44 | console.log() 45 | 46 | for (let i = 0; i < warnings.length; i++) { 47 | const warning = warnings[i] 48 | console.log(' ' + warning) 49 | } 50 | 51 | console.log() 52 | process.exit(1) 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/README.md: -------------------------------------------------------------------------------- 1 | # Qiniu Webpack Plugin [![npm](https://img.shields.io/npm/v/better-qiniu-webpack-plugin.svg)](https://www.npmjs.com/package/better-qiniu-webpack-plugin) 2 | 3 | > 🚀 Webpack 编译后的文件上传到 七牛云存储 4 | 5 | ## 功能 6 | 7 | - 支持并发上传 8 | - 保留上一版本文件 9 | - 智能分析,不重复上传 10 | 11 | ## 安装 12 | 13 | ```Bash 14 | yarn add better-qiniu-webpack-plugin --dev 15 | ``` 16 | 17 | 18 | ## 使用 19 | 20 | **webpack.config.js** 21 | 22 | ```Javascript 23 | const QiniuWebpackPlugin = require('better-qiniu-webpack-plugin'); 24 | 25 | module.exports = { 26 | // ... Webpack 相关配置 27 | plugins: [ 28 | new QiniuWebpackPlugin() 29 | ] 30 | } 31 | ``` 32 | 33 | 在项目目录下新建 `.qiniu_webpack` 文件,并且在 `.gitignore` 忽略此文件 34 | 35 | **.qiniu_webpack** 36 | 37 | ```Javascript 38 | module.exports = { 39 | accessKey: 'qiniu access key', // required 40 | secretKey: 'qiniu secret key', // required 41 | bucket: 'demo', // required 42 | bucketDomain: 'https://domain.bkt.clouddn.com', // required 43 | matchFiles: ['!*.html', '!*.map'], 44 | uploadPath: '/assets', 45 | batch: 10 46 | } 47 | ``` 48 | 49 | **Options** 50 | 51 | |Name|Type|Default|Required|Description| 52 | |:--:|:--:|:-----:|:-----:|:----------| 53 | |**[`accessKey`](#)**|`{String}`| | true |七牛 Access Key| 54 | |**[`secretKey`](#)**|`{String}`| | true |七牛 Secret Key| 55 | |**[`bucket`](#)**|`{String}`| | true |七牛 空间名| 56 | |**[`bucketDomain`](#)**|`{String}`| | true |七牛 空间域名| 57 | |**[`matchFiles`](#)**|`{Array[string]}`| ['*'] | false |匹配文件/文件夹,支持 include/exclude| 58 | |**[`uploadPath`](#)**|`{string}`| /webpack_assets | false |上传文件夹名| 59 | |**[`batch`](#)**|`{number}`| 10 | false |同时上传文件数| 60 | 61 | - `bucketDomain` 支持不携带通信协议: `//domain.bkt.clouddn.com` 62 | - `matchFiles` 匹配相关文件或文件夹,详细使用请看: [micromatch](https://github.com/micromatch/micromatch) 63 | - `!*.html` 不上传文件后缀为 `html` 的文件 64 | - `!assets/**.map` 不上传 `assets` 文件夹下文件后缀为 `map` 的文件 65 | 66 | 67 | 68 | *** 69 | 70 | 71 | ## License 72 | 73 | Copyright © 2018, [zzetao](https://github.com/zzetao). 74 | Released under the [MIT License](LICENSE). 75 | -------------------------------------------------------------------------------- /cli2-code/README.md: -------------------------------------------------------------------------------- 1 | # my-app 2 | 3 | > my first vue app 4 | 5 | ## Build Setup 6 | 7 | ``` bash 8 | # install dependencies 9 | npm install 10 | 11 | # serve with hot reload at localhost:8080 12 | npm run d wyd 13 | 14 | # build for production with minification 15 | npm run b wyd 16 | 17 | ``` 18 | 19 | For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 20 | 框架说明: 21 | 1.UI框架 22 | 饿了么UI框架 官网教程地址: 23 | http://element-cn.eleme.io/#/zh-CN/component/installation 24 | 2.接口数据调用 25 | import {API} from 'src/api/api' # 不同文件引入地址不同 26 | 调用方法 27 | # post请求 API.getAllDemand为具体的接口地址 先去api.js里去添加后调用,所有的接口地址全部写在app.js中 data为传入的参数 28 | API.post(API.getAllDemand,data).then() 29 | # get请求 注意所有异常错误已经在app.js中做了处理 30 | API.get(API.getAllDemand,data).then() 31 | #如需对接口的异常错误做特殊处理可调用 API.post0()或API.get0() 32 | 3.移动端自适应问题 33 | 采用了UI库内的flex布局具体看UI库教程 34 | 像素大小用了rem转换 可以根据设计稿自行去设置按设计稿标注的像素大小去写就可以了 35 | 4.路由 36 | 采用了vue router 每次新增一个页面需先进入src/router/index文件中routes下增加以下内容 37 | routes: [ 38 | { 39 | path: '/', //路径 40 | name: 'HelloWorld', //页面名 41 | component: HelloWorld //组件名 42 | meta: {keepAlive: false} // 是否需要缓存组件 43 | } 44 | ] 45 | 5.css样式问题 46 | 已经导入sass,可在style中设置lang='scss'来使用 默认使用css 47 | 6.状态管理 48 | 已导入vuex,使用方法可见教程:https://cn.vuejs.org/v2/guide/state-management.html 49 | 建议:当项目为小型项目可不用vuex 50 | 7.文件说明 51 | api 接口相关 52 | assets 可存放封装好的js css img 53 | components 组件目录 每个活动项目建一个总文件夹 每个功能页面的组件需在其子文件夹下 公共组件可存放在common文件夹下 54 | static 可存放导入的第三方js插件如jquery 55 | 8.目录结构 56 | ├── README.md 57 | ├── build # build 脚本 58 | ├── config # prod/dev build config 文件 59 | ├── hera # 代码发布上线 60 | ├── index.html # 最基础的网页 61 | ├── package.json 62 | ├── src # Vue.js 核心业务 63 | │ ├── commom # 通用类 64 | │ ├── components # 公共组件 65 | │ ├── controller # 业务相关(卡车金融、红包...) 66 | │ │ ├── truckFinance... 67 | │ │ │ ├── api # 接入后端服务的基础 API 68 | │ │ │ ├── assets # 资源文件,图片、字体... 69 | │ │ │ ├── common # 业务相关通用文件 70 | │ │ │ ├── page #页面 71 | │ │ │ ├── router #子路由 72 | │ │ │ ├── store #子状态管理 73 | │ ├── plugin # 插件(分享、授权登录...) 74 | │ ├── router # 根路由 75 | │ ├── store # Vuex 根状态管理 76 | │ ├── main.js # Vue 入口文件 77 | │ ├── style # 通用样式 78 | │ ├── utils # 工具类 79 | │ ├── App.vue # App Root Component 80 | ├── static # DevServer 静态文件 81 | └── test # 测试 82 | -------------------------------------------------------------------------------- /cli2-code/config/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const path = require('path') 4 | 5 | module.exports = { 6 | dev: { 7 | // Paths 8 | assetsSubDirectory: 'static', 9 | assetsPublicPath: '/', 10 | proxyTable: { 11 | '/api_test': { //测试环境 12 | target: '', //源地址 13 | changeOrigin: true, //改变源 14 | pathRewrite: { 15 | '^/api_test': '' //路径重写 16 | } 17 | } 18 | }, 19 | // Various Dev Server settings 20 | host: '0.0.0.0', // can be overwritten by process.env.HOST 21 | port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined 22 | autoOpenBrowser: false, 23 | errorOverlay: true, 24 | notifyOnErrors: true, 25 | poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- 26 | 27 | // Use Eslint Loader? 28 | // If true, your code will be linted during bundling and 29 | // linting errors and warnings will be shown in the console. 30 | useEslint: false, 31 | // If true, eslint errors and warnings will also be shown in the error overlay 32 | // in the browser. 33 | showEslintErrorsInOverlay: false, 34 | 35 | /** 36 | * Source Maps 37 | */ 38 | 39 | // https://webpack.js.org/configuration/devtool/#development 40 | devtool: 'eval-source-map', 41 | 42 | // If you have problems debugging vue-files in devtools, 43 | // set this to false - it *may* help 44 | // https://vue-loader.vuejs.org/en/options.html#cachebusting 45 | cacheBusting: true, 46 | 47 | // CSS Sourcemaps off by default because relative paths are "buggy" 48 | // with this option, according to the CSS-Loader README 49 | // (https://github.com/webpack/css-loader#sourcemaps) 50 | // In our experience, they generally work as expected, 51 | // just be aware of this issue when enabling this option. 52 | cssSourceMap: false, 53 | }, 54 | 55 | build: { 56 | // Template for index.html 57 | index: path.resolve(__dirname, '../dist/index.html'), 58 | 59 | // Paths 60 | assetsRoot: path.resolve(__dirname, '../dist'), 61 | assetsSubDirectory: 'static', 62 | assetsPublicPath: './', 63 | /** 64 | * Source Maps 65 | */ 66 | 67 | productionSourceMap: true, 68 | // https://webpack.js.org/configuration/devtool/#production 69 | devtool: '#source-map', 70 | 71 | // Gzip off by default as many popular static hosts such as 72 | // Surge or Netlify already gzip all static assets for you. 73 | // Before setting to `true`, make sure to: 74 | // npm install --save-dev compression-webpack-plugin 75 | productionGzip: false, 76 | productionGzipExtensions: ['js', 'css'], 77 | 78 | // Run the build command with an extra argument to 79 | // View the bundle analyzer report after build finishes: 80 | // `npm run build --report` 81 | // Set to `true` or `false` to always turn it on or off 82 | bundleAnalyzerReport: process.env.npm_config_report 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /cli3-activities/src/projects/projectA/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 88 | 89 | 97 | 98 | 99 | 115 | -------------------------------------------------------------------------------- /cli2-code/build/webpack.base.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const utils = require('./utils') 4 | const config = require('../config') 5 | const vueLoaderConfig = require('./vue-loader.conf') 6 | const projectConfig = require('../config/projectConfig') 7 | function resolve(dir) { 8 | return path.join(__dirname, '..', dir) 9 | } 10 | 11 | const createLintingRule = () => ({ 12 | test: /\.(js|vue)$/, 13 | loader: 'eslint-loader', 14 | enforce: 'pre', 15 | include: [resolve('src'), resolve('test')], 16 | options: { 17 | formatter: require('eslint-friendly-formatter'), 18 | emitWarning: !config.dev.showEslintErrorsInOverlay 19 | } 20 | }) 21 | 22 | module.exports = { 23 | context: path.resolve(__dirname, '../'), 24 | entry: { 25 | app: projectConfig.localPath + 'main.js' 26 | }, 27 | output: { 28 | path: config.build.assetsRoot, 29 | filename: '[name].js', 30 | publicPath: process.env.NODE_ENV === 'production' ? 31 | config.build.assetsPublicPath : config.dev.assetsPublicPath 32 | }, 33 | resolve: { 34 | extensions: ['.js', '.vue', '.json'], 35 | alias: { 36 | 'vue$': 'vue/dist/vue.esm.js', 37 | '@': resolve('src'), 38 | } 39 | }, 40 | module: { 41 | rules: [ 42 | // ...(config.dev.useEslint ? [createLintingRule()] : []), 43 | { 44 | test: /\.vue$/, 45 | loader: 'vue-loader', 46 | options: vueLoaderConfig 47 | }, 48 | { 49 | test: /\.css$/, 50 | loader: 'style-loader!css-loader', 51 | include: [ 52 | /src/, 53 | /static/ 54 | ] 55 | }, 56 | { 57 | test: /\.scss$/, 58 | loaders: ["style", "css", "sass"], 59 | include: [ 60 | /src/, 61 | /static/ 62 | ] 63 | }, 64 | { 65 | test: /\.js$/, 66 | loader: 'babel-loader', 67 | include: [resolve('src'), resolve('test')] 68 | }, 69 | { 70 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, 71 | loader: 'url-loader', 72 | options: { 73 | limit: 500000, 74 | name: utils.assetsPath('img/[name].[hash:7].[ext]') 75 | } 76 | }, 77 | { 78 | test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/, 79 | loader: 'url-loader', 80 | options: { 81 | limit: 10000, 82 | name: utils.assetsPath('media/[name].[hash:7].[ext]') 83 | } 84 | }, 85 | { 86 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, 87 | loader: 'url-loader', 88 | options: { 89 | limit: 10000, 90 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]') 91 | } 92 | } 93 | ] 94 | }, 95 | node: { 96 | // prevent webpack from injecting useless setImmediate polyfill because Vue 97 | // source contains it (although only uses it if it's native). 98 | setImmediate: false, 99 | // prevent webpack from injecting mocks to Node native modules 100 | // that does not make sense for the client 101 | dgram: 'empty', 102 | fs: 'empty', 103 | net: 'empty', 104 | tls: 'empty', 105 | child_process: 'empty' 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/src/qiniu.js: -------------------------------------------------------------------------------- 1 | const qiniu = require('qiniu'); 2 | 3 | class Qiniu { 4 | constructor({ bucket, accessKey, secretKey, domain }) { 5 | this._domain = domain; 6 | this._bucket = bucket; 7 | this._config = new qiniu.conf.Config(); 8 | this._mac = new qiniu.auth.digest.Mac(accessKey, secretKey); 9 | this._bucketManager = new qiniu.rs.BucketManager(this._mac, this._config); 10 | } 11 | 12 | getToken(options) { 13 | options = Object.assign({ 14 | scope: this._bucket 15 | }, options); 16 | 17 | let putPolicy = new qiniu.rs.PutPolicy(options); 18 | return putPolicy.uploadToken(this._mac); 19 | } 20 | 21 | getExtra(options = { }) { 22 | const extra = new qiniu.form_up.PutExtra(); 23 | 24 | Object.keys(options || { }).forEach(key => { 25 | extra[key] = options[key]; 26 | }); 27 | 28 | return extra; 29 | } 30 | 31 | putFile(remotePath, localFilePath, options = { }) { 32 | let extra = this.getExtra(options); 33 | let token = this.getToken({ 34 | scope: this._bucket + ':' + remotePath 35 | }); 36 | 37 | let formUploader = new qiniu.form_up.FormUploader(this._config); 38 | 39 | return new Promise((resolve, reject) => { 40 | formUploader.putFile(token, remotePath, localFilePath, extra, (err, resBody, resInfo) => { 41 | if (err) { 42 | return reject(err); 43 | } 44 | 45 | if (resInfo.statusCode == 200) { 46 | resolve(resBody); 47 | } else { 48 | reject({ 49 | code: resInfo.statusCode, 50 | data: resBody 51 | }) 52 | } 53 | }) 54 | }) 55 | } 56 | 57 | 58 | put(remotePath, text, options = { }) { 59 | let extra = this.getExtra(options); 60 | let token = this.getToken({ 61 | scope: this._bucket + ':' + remotePath 62 | }); 63 | 64 | let formUploader = new qiniu.form_up.FormUploader(this._config); 65 | 66 | return new Promise((resolve, reject) => { 67 | formUploader.put(token, remotePath, text, extra, (err, resBody, resInfo) => { 68 | if (err) { 69 | return reject(err); 70 | } 71 | 72 | if (resInfo.statusCode == 200) { 73 | resolve(resBody); 74 | } else { 75 | reject({ 76 | code: resInfo.statusCode, 77 | data: resBody 78 | }) 79 | } 80 | }) 81 | }) 82 | } 83 | 84 | batchDelete(keys = []) { 85 | keys = keys.map((key, index) => qiniu.rs.deleteOp(this._bucket, key)); 86 | 87 | return new Promise((resolve, reject) => { 88 | this._bucketManager.batch(keys, (err, resBody, resInfo) => { 89 | if (err) { 90 | return reject(err); 91 | } 92 | if (resInfo.statusCode === 200 || resInfo.statusCode === 298) { 93 | resolve({ 94 | code: resInfo.statusCode, 95 | data: resBody 96 | }) 97 | } else { 98 | reject({ 99 | code: resInfo.statusCode, 100 | data: resBody 101 | }) 102 | } 103 | }) 104 | }) 105 | } 106 | 107 | getPublicDownloadUrl(remotePath) { 108 | let publicDownloadUrl = this._bucketManager.publicDownloadUrl(this._domain, remotePath); 109 | return publicDownloadUrl; 110 | } 111 | 112 | } 113 | 114 | module.exports = Qiniu; -------------------------------------------------------------------------------- /cli2-code/src/style/mixin.scss: -------------------------------------------------------------------------------- 1 | $blue: #3190e8; 2 | $bc: #e4e4e4; 3 | $fc: #fff; 4 | //手动px转rem 5 | @function px2rem ($pxs, $base: 64px){ 6 | $result: ''; 7 | @each $px in $pxs { 8 | $rem: $px; 9 | @if $result != '' { 10 | $result : $result + ' '; 11 | } 12 | @if type_of($px) == number { 13 | $rem : ($px / $base) * 1rem; 14 | } 15 | $result : $result + $rem; 16 | } 17 | @return unquote($result); 18 | } 19 | 20 | //以750为参考 21 | @function toRem ($pxs){ 22 | @return px2rem($pxs,75px) 23 | } 24 | 25 | // 背景图片地址和大小 26 | @mixin bis($url) { 27 | background-image: url($url); 28 | background-repeat: no-repeat; 29 | background-size: 100% 100%; 30 | } 31 | 32 | @mixin borderRadius($radius) { 33 | -webkit-border-radius: $radius; 34 | -moz-border-radius: $radius; 35 | -ms-border-radius: $radius; 36 | -o-border-radius: $radius; 37 | border-radius: $radius; 38 | } 39 | //定位全屏 40 | @mixin allcover{ 41 | position:absolute; 42 | top:0; 43 | right:0; 44 | } 45 | 46 | //定位上下左右居中 47 | @mixin center { 48 | position: absolute; 49 | top: 50%; 50 | left: 50%; 51 | transform: translate(-50%, -50%); 52 | } 53 | 54 | //定位上下居中 55 | @mixin ct { 56 | position: absolute; 57 | top: 50%; 58 | transform: translateY(-50%); 59 | } 60 | 61 | //定位左右居中 62 | @mixin cl { 63 | position: absolute; 64 | left: 50%; 65 | transform: translateX(-50%); 66 | } 67 | 68 | //宽高 69 | @mixin wh($width, $height){ 70 | width: $width; 71 | height: $height; 72 | } 73 | 74 | //字体大小,颜色 75 | @mixin sc($size, $color){ 76 | font-size: $size; 77 | color: $color; 78 | } 79 | 80 | //flex 垂直布局 81 | @mixin fdc{ 82 | display: flex; 83 | flex-direction: column; 84 | } 85 | 86 | @mixin bgColor{ 87 | background: linear-gradient(0deg, rgba(146,0,249,0.99) 0%, rgba(146,0,249,0.99) 44%, rgba(127, 0, 255, 0.99) 93%, rgba(137, 0, 252, 0.99) 97%, rgba(146, 0, 249, 0.99) 100%); 88 | } 89 | 90 | //-----flex居中布局----- 91 | //横向居中 92 | @mixin row{ 93 | display: flex; 94 | flex-direction: row; 95 | justify-content: center; 96 | align-items: center; 97 | } 98 | //横向垂直居中 99 | @mixin row-start{ 100 | display: flex; 101 | flex-direction: row; 102 | justify-content: flex-start; 103 | align-items: center; 104 | } 105 | @mixin row-end{ 106 | display: flex; 107 | flex-direction: row; 108 | justify-content: flex-end; 109 | align-items: center; 110 | } 111 | //横向环绕 112 | @mixin row-around{ 113 | display: flex; 114 | flex-direction: row; 115 | justify-content: space-around; 116 | align-items: center; 117 | } 118 | //横向非环绕 119 | @mixin row-between{ 120 | display: flex; 121 | flex-direction: row; 122 | justify-content: space-between; 123 | align-items: center; 124 | } 125 | 126 | //纵向居中 127 | @mixin column{ 128 | display: flex; 129 | flex-direction: column; 130 | justify-content: center; 131 | align-items: center; 132 | } 133 | //纵向顶部对齐居中 134 | @mixin column-start{ 135 | display: flex; 136 | flex-direction: column; 137 | justify-content: flex-start; 138 | align-items: center; 139 | } 140 | @mixin column-left-start{ 141 | display: flex; 142 | flex-direction: column; 143 | justify-content: flex-start; 144 | align-items: flex-start; 145 | } 146 | //纵向底部对齐居中 147 | @mixin column-end{ 148 | display: flex; 149 | flex-direction: column; 150 | justify-content: flex-end; 151 | align-items: center; 152 | } 153 | 154 | //纵向左对齐 155 | @mixin column-left{ 156 | display: flex; 157 | flex-direction: column; 158 | justify-content: center; 159 | align-items: flex-start; 160 | } 161 | //自定义 162 | @mixin self ($a,$b,$c){ 163 | display: flex; 164 | flex-direction: $a; 165 | justify-content: $b; 166 | align-items: $c; 167 | } 168 | 169 | 170 | 171 | 172 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_args": [ 3 | [ 4 | "better-qiniu-webpack-plugin@0.0.4", 5 | "/Users/mokinzhao/work/LD/H5/code" 6 | ] 7 | ], 8 | "_development": true, 9 | "_from": "better-qiniu-webpack-plugin@0.0.4", 10 | "_id": "better-qiniu-webpack-plugin@0.0.4", 11 | "_inBundle": false, 12 | "_integrity": "sha512-ucsnJtph6z2ofKYXqFMwMkE7b22SKSv2ZV84GfTgOhLtad7sTZdqAYaBy6XBiCmzlOntgNHYK/e7Nk0uV4xTPQ==", 13 | "_location": "/better-qiniu-webpack-plugin", 14 | "_phantomChildren": { 15 | "arr-flatten": "1.1.0", 16 | "assign-symbols": "1.0.0", 17 | "aws-sign2": "0.7.0", 18 | "aws4": "1.6.0", 19 | "caseless": "0.12.0", 20 | "cli-spinners": "1.1.0", 21 | "color-convert": "1.9.1", 22 | "combined-stream": "1.0.5", 23 | "debug": "2.6.9", 24 | "define-property": "2.0.2", 25 | "escape-string-regexp": "1.0.5", 26 | "extend": "3.0.1", 27 | "forever-agent": "0.6.1", 28 | "form-data": "2.3.1", 29 | "fragment-cache": "0.2.1", 30 | "har-validator": "5.0.3", 31 | "http-signature": "1.2.0", 32 | "is-buffer": "1.1.6", 33 | "is-extendable": "0.1.1", 34 | "is-plain-object": "2.0.4", 35 | "is-typedarray": "1.0.0", 36 | "isstream": "0.1.2", 37 | "json-stringify-safe": "5.0.1", 38 | "mime-types": "2.1.17", 39 | "mimic-fn": "1.1.0", 40 | "nanomatch": "1.2.9", 41 | "oauth-sign": "0.8.2", 42 | "object.pick": "1.3.0", 43 | "performance-now": "2.1.0", 44 | "posix-character-classes": "0.1.1", 45 | "qs": "6.5.2", 46 | "regex-not": "1.0.2", 47 | "repeat-element": "1.1.2", 48 | "repeat-string": "1.6.1", 49 | "safe-buffer": "5.1.1", 50 | "signal-exit": "3.0.2", 51 | "snapdragon": "0.8.2", 52 | "snapdragon-node": "2.1.1", 53 | "split-string": "3.1.0", 54 | "to-regex": "3.0.2", 55 | "to-regex-range": "2.1.1", 56 | "tough-cookie": "2.3.3", 57 | "tunnel-agent": "0.6.0", 58 | "uuid": "3.1.0", 59 | "wcwidth": "1.0.1" 60 | }, 61 | "_requested": { 62 | "type": "version", 63 | "registry": true, 64 | "raw": "better-qiniu-webpack-plugin@0.0.4", 65 | "name": "better-qiniu-webpack-plugin", 66 | "escapedName": "better-qiniu-webpack-plugin", 67 | "rawSpec": "0.0.4", 68 | "saveSpec": null, 69 | "fetchSpec": "0.0.4" 70 | }, 71 | "_requiredBy": [ 72 | "#DEV:/" 73 | ], 74 | "_resolved": "https://registry.npmjs.org/better-qiniu-webpack-plugin/-/better-qiniu-webpack-plugin-0.0.4.tgz", 75 | "_spec": "0.0.4", 76 | "_where": "/Users/mokinzhao/work/LD/H5/code", 77 | "author": { 78 | "name": "zzetao" 79 | }, 80 | "bugs": { 81 | "url": "https://github.com/zzetao/qiniu-webpack-plugin/issues" 82 | }, 83 | "dependencies": { 84 | "chalk": "^2.3.2", 85 | "lodash.difference": "^4.5.0", 86 | "map-limit": "^0.0.1", 87 | "micromatch": "^3.1.10", 88 | "ora": "^2.0.0", 89 | "qiniu": "^7.1.3", 90 | "request": "^2.85.0", 91 | "request-promise": "^4.2.2", 92 | "revalidator": "^0.3.1" 93 | }, 94 | "description": "Webpack 编译后的文件上传到 七牛云存储", 95 | "devDependencies": { 96 | "ava": "^0.25.0" 97 | }, 98 | "engines": { 99 | "node": ">=7.6.0" 100 | }, 101 | "files": [ 102 | "src" 103 | ], 104 | "homepage": "https://github.com/zzetao/qiniu-webpack-plugin#readme", 105 | "keywords": [ 106 | "webpack", 107 | "qiniu" 108 | ], 109 | "license": "MIT", 110 | "main": "src/index.js", 111 | "name": "better-qiniu-webpack-plugin", 112 | "repository": { 113 | "type": "git", 114 | "url": "git+https://github.com/zzetao/qiniu-webpack-plugin.git" 115 | }, 116 | "scripts": { 117 | "test": "ava" 118 | }, 119 | "version": "0.0.4" 120 | } 121 | -------------------------------------------------------------------------------- /cli2-code/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-app", 3 | "version": "1.0.0", 4 | "description": "my first vue app", 5 | "author": "muye", 6 | "private": true, 7 | "config": { 8 | "project": "wangkai" 9 | }, 10 | "scripts": { 11 | "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", 12 | "build": "node build/buildToqiniu.js", 13 | "d": "node config/dev.js", 14 | "b": "node config/build.js", 15 | "test": "node build/buildToQiNiuTest.js", 16 | "t": "node config/test.js" 17 | }, 18 | "dependencies": { 19 | "arr-flatten": "^1.1.0", 20 | "babel-runtime": "^6.26.0", 21 | "is-extendable": "^1.0.1", 22 | "lib-flexible": "^0.3.2", 23 | "qs": "^6.5.2", 24 | "repeat-string": "^1.6.1", 25 | "request": "^2.87.0", 26 | "request-promise": "^4.2.2", 27 | "sass-loader": "^6.0.7", 28 | "split-string": "^5.0.4", 29 | "to-regex": "^3.0.2", 30 | "to-regex-range": "^4.0.1", 31 | "vant": "^1.3.9", 32 | "vue": "^2.5.16", 33 | "vue-router": "^3.0.1", 34 | "vuex": "^3.0.1" 35 | }, 36 | "devDependencies": { 37 | "autoprefixer": "^7.1.2", 38 | "axios": "^0.18.0", 39 | "babel-core": "^6.22.1", 40 | "babel-eslint": "^7.1.1", 41 | "babel-helper-vue-jsx-merge-props": "^2.0.3", 42 | "babel-jest": "^21.0.2", 43 | "babel-loader": "^7.1.1", 44 | "babel-plugin-dynamic-import-node": "^1.2.0", 45 | "babel-plugin-import": "^1.7.0", 46 | "babel-plugin-syntax-jsx": "^6.18.0", 47 | "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", 48 | "babel-plugin-transform-runtime": "^6.22.0", 49 | "babel-plugin-transform-vue-jsx": "^3.5.0", 50 | "babel-preset-env": "^1.3.2", 51 | "babel-preset-stage-2": "^6.22.0", 52 | "babel-register": "^6.22.0", 53 | "better-qiniu-webpack-plugin": "^0.0.4", 54 | "chalk": "^2.0.1", 55 | "chromedriver": "^2.40.0", 56 | "copy-webpack-plugin": "^4.0.1", 57 | "cross-spawn": "^5.0.1", 58 | "css-loader": "^0.28.11", 59 | "eslint": "^3.19.0", 60 | "eslint-config-standard": "^10.2.1", 61 | "eslint-friendly-formatter": "^3.0.0", 62 | "eslint-loader": "^1.7.1", 63 | "eslint-plugin-html": "^3.0.0", 64 | "eslint-plugin-import": "^2.7.0", 65 | "eslint-plugin-node": "^5.2.0", 66 | "eslint-plugin-promise": "^3.4.0", 67 | "eslint-plugin-standard": "^3.0.1", 68 | "extract-text-webpack-plugin": "^3.0.0", 69 | "file-loader": "^1.1.4", 70 | "friendly-errors-webpack-plugin": "^1.6.1", 71 | "html-webpack-plugin": "^2.30.1", 72 | "jest": "^21.2.0", 73 | "jest-serializer-vue": "^0.3.0", 74 | "nightwatch": "^0.9.12", 75 | "node-notifier": "^5.1.2", 76 | "node-sass": "^4.9.3", 77 | "optimize-css-assets-webpack-plugin": "^3.2.0", 78 | "ora": "^1.2.0", 79 | "portfinder": "^1.0.13", 80 | "postcss-import": "^11.0.0", 81 | "postcss-loader": "^2.0.8", 82 | "qiniu-cdn-webpack-plugin": "^1.1.1", 83 | "qiniu-js": "^2.5.1", 84 | "rimraf": "^2.6.0", 85 | "sass-loader": "^6.0.7", 86 | "sass-resources-loader": "^1.3.3", 87 | "selenium-server": "^3.0.1", 88 | "semver": "^5.3.0", 89 | "shelljs": "^0.7.6", 90 | "style-loader": "^0.20.3", 91 | "stylus-loader": "^3.0.2", 92 | "uglifyjs-webpack-plugin": "^1.1.1", 93 | "url-loader": "^0.5.8", 94 | "vue-jest": "^1.0.2", 95 | "vue-lazyload": "^1.2.3", 96 | "vue-loader": "^13.3.0", 97 | "vue-style-loader": "^3.0.1", 98 | "vue-template-compiler": "^2.5.16", 99 | "webpack": "^3.6.0", 100 | "webpack-bundle-analyzer": "^2.9.0", 101 | "webpack-dev-server": "^2.9.1", 102 | "webpack-merge": "^4.1.0" 103 | }, 104 | "engines": { 105 | "node": ">= 4.0.0", 106 | "npm": ">= 3.0.0" 107 | }, 108 | "browserslist": [ 109 | "> 1%", 110 | "last 2 versions", 111 | "not ie <= 8" 112 | ] 113 | } 114 | -------------------------------------------------------------------------------- /cli2-code/build/webpack.dev.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const utils = require('./utils') 3 | const webpack = require('webpack') 4 | const config = require('../config') 5 | const merge = require('webpack-merge') 6 | const baseWebpackConfig = require('./webpack.base.conf') 7 | const HtmlWebpackPlugin = require('html-webpack-plugin') 8 | const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin') 9 | const portfinder = require('portfinder') 10 | const projectConfig = require('../config/projectConfig') 11 | const HOST = process.env.HOST 12 | const PORT = process.env.PORT && Number(process.env.PORT) 13 | 14 | 15 | const devWebpackConfig = merge(baseWebpackConfig, { 16 | module: { 17 | rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true }) 18 | }, 19 | // cheap-module-eval-source-map is faster for development 20 | devtool: config.dev.devtool, 21 | 22 | // these devServer options should be customized in /config/index.js 23 | devServer: { 24 | clientLogLevel: 'warning', 25 | historyApiFallback: true, 26 | hot: true, 27 | compress: true, 28 | host: HOST || config.dev.host, 29 | port: PORT || config.dev.port, 30 | open: config.dev.autoOpenBrowser, 31 | overlay: config.dev.errorOverlay 32 | ? { warnings: false, errors: true } 33 | : false, 34 | publicPath: config.dev.assetsPublicPath, 35 | proxy: config.dev.proxyTable, 36 | quiet: true, // necessary for FriendlyErrorsPlugin 37 | watchOptions: { 38 | poll: config.dev.poll, 39 | } 40 | }, 41 | plugins: [ 42 | new webpack.DefinePlugin({ 43 | 'process.env': require('../config/dev.env') 44 | }), 45 | new webpack.HotModuleReplacementPlugin(), 46 | new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update. 47 | new webpack.NoEmitOnErrorsPlugin(), 48 | // https://github.com/ampedandwired/html-webpack-plugin 49 | new HtmlWebpackPlugin({ 50 | filename: 'index.html', 51 | template: projectConfig.localPath + 'index.html', 52 | inject: true 53 | }), 54 | ] 55 | }) 56 | 57 | // module.exports = (env)=>{ 58 | // return new Promise((resolve, reject) => { 59 | // portfinder.basePort = process.env.PORT || config.dev.port 60 | // portfinder.getPort((err, port) => { 61 | // if (err) { 62 | // reject(err) 63 | // } else { 64 | // // publish the new Port, necessary for e2e tests 65 | // process.env.PORT = port 66 | // // add port to devServer config 67 | // devWebpackConfig.devServer.port = port 68 | // 69 | // // Add FriendlyErrorsPlugin 70 | // devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({ 71 | // compilationSuccessInfo: { 72 | // messages: [`Your application is ${process.argv[2]} running here: http://${devWebpackConfig.devServer.host}:${port}`], 73 | // }, 74 | // onErrors: config.dev.notifyOnErrors 75 | // ? utils.createNotifierCallback() 76 | // : undefined 77 | // })) 78 | // 79 | // resolve(devWebpackConfig) 80 | // } 81 | // }) 82 | // }) 83 | // 84 | // } 85 | 86 | module.exports = new Promise((resolve, reject) => { 87 | portfinder.basePort = process.env.PORT || config.dev.port 88 | portfinder.getPort((err, port) => { 89 | if (err) { 90 | reject(err) 91 | } else { 92 | // publish the new Port, necessary for e2e tests 93 | process.env.PORT = port 94 | // add port to devServer config 95 | devWebpackConfig.devServer.port = port 96 | 97 | // Add FriendlyErrorsPlugin 98 | devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({ 99 | compilationSuccessInfo: { 100 | messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`], 101 | }, 102 | onErrors: config.dev.notifyOnErrors 103 | ? utils.createNotifierCallback() 104 | : undefined 105 | })) 106 | 107 | resolve(devWebpackConfig) 108 | } 109 | }) 110 | }) 111 | -------------------------------------------------------------------------------- /cli2-code/build/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const config = require('../config') 4 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 5 | const packageConfig = require('../package.json') 6 | 7 | exports.assetsPath = function (_path) { 8 | const assetsSubDirectory = process.env.NODE_ENV === 'production' 9 | ? config.build.assetsSubDirectory 10 | : config.dev.assetsSubDirectory 11 | 12 | return path.posix.join(assetsSubDirectory, _path) 13 | } 14 | 15 | exports.cssLoaders = function (options) { 16 | options = options || {} 17 | 18 | const cssLoader = { 19 | loader: 'css-loader', 20 | options: { 21 | sourceMap: options.sourceMap, 22 | importLoaders:2 23 | } 24 | } 25 | // const px2remLoader={ 26 | // loader:'px2rem-loader', 27 | // options:{ 28 | // remUnit:64 //设计稿的宽度/10 29 | // } 30 | // } 31 | 32 | const postcssLoader = { 33 | loader: 'postcss-loader', 34 | options: { 35 | sourceMap: options.sourceMap 36 | } 37 | } 38 | 39 | // generate loader string to be used with extract text plugin 40 | function generateLoaders (loader, loaderOptions) { 41 | const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader] 42 | 43 | if (loader) { 44 | loaders.push({ 45 | loader: loader + '-loader', 46 | options: Object.assign({}, loaderOptions, { 47 | sourceMap: options.sourceMap 48 | }) 49 | }) 50 | } 51 | loaders.push(postcssLoader); 52 | // Extract CSS when that option is specified 53 | // (which is the case during production build) 54 | if (options.extract) { 55 | return ExtractTextPlugin.extract({ 56 | use: loaders, 57 | fallback: 'vue-style-loader' 58 | }) 59 | } else { 60 | return ['vue-style-loader'].concat(loaders) 61 | } 62 | } 63 | 64 | 65 | // 全局文件引入 当然只想编译一个文件的话可以省去这个函数 66 | function resolveResource(name) { 67 | return path.resolve(__dirname, '../src/style/' + name); 68 | } 69 | function generateSassResourceLoader() { 70 | var loaders = [ 71 | cssLoader, 72 | 'sass-loader', 73 | { 74 | loader: 'sass-resources-loader', 75 | options: { 76 | // 多个文件时用数组的形式传入,单个文件时可以直接使用 path.resolve(__dirname, '../static/style/common.scss' 77 | resources: [resolveResource('mixin.scss'),resolveResource('reset.scss'),resolveResource('iconfont.scss')] 78 | } 79 | } 80 | ]; 81 | if (options.extract) { 82 | return ExtractTextPlugin.extract({ 83 | use: loaders, 84 | fallback: 'vue-style-loader' 85 | }) 86 | } else { 87 | return ['vue-style-loader'].concat(loaders) 88 | } 89 | } 90 | 91 | // https://vue-loader.vuejs.org/en/configurations/extract-css.html 92 | return { 93 | css: generateLoaders(), 94 | postcss: generateLoaders(), 95 | less: generateLoaders('less'), 96 | /* sass: generateLoaders('sass', { indentedSyntax: true }),*/ 97 | /*scss: generateLoaders('sass'),*/ 98 | sass: generateSassResourceLoader(), 99 | scss: generateSassResourceLoader(), 100 | stylus: generateLoaders('stylus'), 101 | styl: generateLoaders('stylus') 102 | } 103 | } 104 | 105 | // Generate loaders for standalone style files (outside of .vue) 106 | exports.styleLoaders = function (options) { 107 | const output = [] 108 | const loaders = exports.cssLoaders(options) 109 | 110 | for (const extension in loaders) { 111 | const loader = loaders[extension] 112 | output.push({ 113 | test: new RegExp('\\.' + extension + '$'), 114 | use: loader 115 | }) 116 | } 117 | 118 | return output 119 | } 120 | 121 | exports.createNotifierCallback = () => { 122 | const notifier = require('node-notifier') 123 | 124 | return (severity, errors) => { 125 | if (severity !== 'error') return 126 | 127 | const error = errors[0] 128 | const filename = error.file && error.file.split('!').pop() 129 | 130 | notifier.notify({ 131 | title: packageConfig.name, 132 | message: severity + ': ' + error.name, 133 | subtitle: filename || '', 134 | icon: path.join(__dirname, 'logo.png') 135 | }) 136 | } 137 | } 138 | -------------------------------------------------------------------------------- /cli2-code/src/style/reset.scss: -------------------------------------------------------------------------------- 1 | 2 | html, body, div, span, applet, object, iframe, 3 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 4 | a, abbr, acronym, address, big, cite, code, 5 | del, dfn, em, img, ins, kbd, q, s, samp, 6 | small, strike, strong, sub, sup, tt, var, 7 | b, u, i, center, 8 | dl, dt, dd, ul, 9 | fieldset, form, label, legend, 10 | table, caption, tbody, tfoot, thead, tr, th, td, 11 | article, aside, canvas, details, embed, 12 | figure, figcaption, footer, header, hgroup, 13 | menu, nav, output, ruby, section, summary, 14 | time, mark, audio, video { 15 | margin: 0; 16 | padding: 0; 17 | border: 0; 18 | font-size: 100%; 19 | font: inherit; 20 | vertical-align: baseline; 21 | } 22 | /* HTML5 display-role reset for older browsers */ 23 | article, aside, details, figcaption, figure, 24 | footer, header, hgroup, menu, nav, section { 25 | display: block; 26 | } 27 | body { 28 | line-height: 1; 29 | } 30 | body,html{ 31 | font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', arial, sans-serif, 'Droid Sans Fallback' 32 | } 33 | blockquote, q { 34 | quotes: none; 35 | } 36 | blockquote:before, blockquote:after, 37 | q:before, q:after { 38 | content: ''; 39 | content: none; 40 | } 41 | table { 42 | border-collapse: collapse; 43 | border-spacing: 0; 44 | } 45 | :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 46 | color: #fff; opacity:1; 47 | } 48 | 49 | ::-moz-placeholder { /* Mozilla Firefox 19+ */ 50 | color: #fff;opacity:1; 51 | } 52 | 53 | input:-ms-input-placeholder{ 54 | color: #fff;opacity:1; 55 | } 56 | 57 | input::-webkit-input-placeholder{ 58 | color: #fff;opacity:1; 59 | } 60 | 61 | input{ 62 | -webkit-appearance: none; 63 | -moz-appearance: none; 64 | -o-appearance: none; 65 | appearance: none; 66 | } 67 | 68 | /*mark*/ 69 | .wa-mark{ 70 | border-radius: 20px; 71 | padding: 2px 6px; 72 | font-size: 12px; 73 | 74 | } 75 | .wa-item .wa-mark{ 76 | margin-top: -2px; 77 | } 78 | /*grid*/ 79 | .wa-grid{ 80 | display: flex; 81 | flex-direction: column; 82 | height: 100%; 83 | } 84 | .wa-row{ 85 | display: flex; 86 | width: 100%; 87 | box-sizing: border-box 88 | } 89 | .wa-col{ 90 | flex:1; 91 | display: block; 92 | box-sizing: border-box; 93 | } 94 | .wa-col-5{ 95 | flex: 0 0 5%; 96 | max-width: 5%; 97 | display: block; 98 | box-sizing: border-box; 99 | } 100 | .wa-col-8{ 101 | flex: 0 0 8%; 102 | max-width: 8%; 103 | display: block; 104 | box-sizing: border-box; 105 | } 106 | .wa-col-10{ 107 | flex: 0 0 10%; 108 | max-width: 10%; 109 | box-sizing: border-box; 110 | } 111 | .wa-col-15{ 112 | flex: 0 0 15%; 113 | max-width: 15%; 114 | box-sizing: border-box; 115 | } 116 | .wa-col-20{ 117 | flex: 0 0 20%; 118 | max-width: 20%; 119 | box-sizing: border-box; 120 | } 121 | .wa-col-25{ 122 | flex: 0 0 25%; 123 | max-width: 25%; 124 | box-sizing: border-box; 125 | } 126 | .wa-col-30{ 127 | flex: 0 0 30%; 128 | max-width: 30%; 129 | box-sizing: border-box; 130 | } 131 | .wa-col-33{ 132 | flex: 0 0 33%; 133 | max-width: 33%; 134 | box-sizing: border-box; 135 | } 136 | .wa-col-35{ 137 | flex: 0 0 35%; 138 | max-width: 35%; 139 | box-sizing: border-box; 140 | } 141 | .wa-col-40{ 142 | flex: 0 0 40%; 143 | max-width: 40%; 144 | box-sizing: border-box; 145 | } 146 | .wa-col-45{ 147 | flex: 0 0 45%; 148 | max-width: 45%; 149 | box-sizing: border-box; 150 | } 151 | .wa-col-50{ 152 | flex: 0 0 50%; 153 | max-width: 50%; 154 | box-sizing: border-box; 155 | } 156 | .wa-col-55{ 157 | flex: 0 0 55%; 158 | max-width: 55%; 159 | box-sizing: border-box; 160 | } 161 | .wa-col-60{ 162 | flex: 0 0 60%; 163 | max-width: 60%; 164 | box-sizing: border-box; 165 | } 166 | .wa-col-65{ 167 | flex: 0 0 65%; 168 | max-width: 65%; 169 | box-sizing: border-box; 170 | } 171 | .wa-col-66{ 172 | flex: 0 0 66%; 173 | max-width: 66%; 174 | box-sizing: border-box; 175 | } 176 | .wa-col-70{ 177 | flex: 0 0 70%; 178 | max-width: 70%; 179 | box-sizing: border-box; 180 | } 181 | .wa-col-75{ 182 | flex: 0 0 75%; 183 | max-width: 75%; 184 | box-sizing: border-box; 185 | } 186 | .wa-col-80{ 187 | flex: 0 0 80%; 188 | max-width: 80%; 189 | box-sizing: border-box; 190 | } 191 | .wa-col-85{ 192 | flex: 0 0 85%; 193 | max-width: 85%; 194 | box-sizing: border-box; 195 | } 196 | .wa-col-90{ 197 | flex: 0 0 90%; 198 | max-width: 90%; 199 | box-sizing: border-box; 200 | } 201 | /* 自定义 */ 202 | .wa-col-11{ 203 | flex: 0 0 11%; 204 | max-width: 11%; 205 | box-sizing: border-box; 206 | } 207 | .wa-col-22{ 208 | flex: 0 0 22%; 209 | max-width: 22%; 210 | box-sizing: border-box; 211 | } 212 | .wa-col-100{ 213 | flex: 0 0 100%; 214 | max-width: 100%; 215 | box-sizing: border-box; 216 | } 217 | .row-wrap{ 218 | flex-flow: row wrap; 219 | } 220 | .no-padding{ 221 | padding:0 222 | } 223 | .no-margin{ 224 | margin:0; 225 | } 226 | /* 垂直水平居中 */ 227 | .wa-center{ 228 | display:flex; 229 | justify-content:center; 230 | align-items:center; 231 | } 232 | .wa-wrap{ 233 | flex-wrap:wrap; 234 | } 235 | 236 | /* 垂直水平end */ 237 | .wa-end{ 238 | display: flex; 239 | justify-content: flex-end; 240 | align-items: flex-end; 241 | } 242 | /* 水平end*/ 243 | .wa-xend{ 244 | display: flex; 245 | justify-content: flex-end; 246 | } 247 | /* 水平居中 */ 248 | .wa-xcenter{ 249 | display:flex; 250 | justify-content:center; 251 | } 252 | /* 垂直居中 */ 253 | .wa-ycenter{ 254 | display:flex; 255 | align-items: center; 256 | } 257 | -------------------------------------------------------------------------------- /cli2-code/build/webpack.prod.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const utils = require('./utils') 4 | const webpack = require('webpack') 5 | const config = require('../config') 6 | const merge = require('webpack-merge') 7 | const baseWebpackConfig = require('./webpack.base.conf') 8 | const CopyWebpackPlugin = require('copy-webpack-plugin') 9 | const HtmlWebpackPlugin = require('html-webpack-plugin') 10 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 11 | const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') 12 | const UglifyJsPlugin = require('uglifyjs-webpack-plugin') 13 | const projectConfig = require('../config/projectConfig') 14 | //webpack config 15 | const env = require('../config/prod.env') 16 | 17 | const webpackConfig = merge(baseWebpackConfig, { 18 | module: { 19 | rules: utils.styleLoaders({ 20 | sourceMap: config.build.productionSourceMap, 21 | extract: true, 22 | usePostCSS: true 23 | }) 24 | }, 25 | devtool: config.build.productionSourceMap ? config.build.devtool : false, 26 | output: { 27 | path: config.build.assetsRoot, 28 | filename: utils.assetsPath('js/[name].[chunkhash].js'), 29 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js'), 30 | }, 31 | plugins: [ 32 | // http://vuejs.github.io/vue-loader/en/workflow/production.html 33 | new webpack.DefinePlugin({ 34 | 'process.env': env 35 | }), 36 | new UglifyJsPlugin({ 37 | uglifyOptions: { 38 | compress: { 39 | warnings: false 40 | } 41 | }, 42 | sourceMap: config.build.productionSourceMap, 43 | parallel: true 44 | }), 45 | // extract css into its own file 46 | new ExtractTextPlugin({ 47 | filename: utils.assetsPath('css/[name].[contenthash].css'), 48 | // Setting the following option to `false` will not extract CSS from codesplit chunks. 49 | // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. 50 | // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, 51 | // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 52 | allChunks: true, 53 | }), 54 | // Compress extracted CSS. We are using this plugin so that possible 55 | // duplicated CSS from different components can be deduped. 56 | new OptimizeCSSPlugin({ 57 | cssProcessorOptions: config.build.productionSourceMap 58 | ? { safe: true, map: { inline: false } } 59 | : { safe: true } 60 | }), 61 | // generate dist index.html with correct asset hash for caching. 62 | // you can customize output by editing /index.html 63 | // see https://github.com/ampedandwired/html-webpack-plugin 64 | new HtmlWebpackPlugin({ 65 | filename: process.env.NODE_ENV === 'testing' 66 | ? 'index.html' 67 | : config.build.index, 68 | template: projectConfig.localPath + 'index.html', 69 | inject: true, 70 | minify: { 71 | removeComments: true, 72 | collapseWhitespace: true, 73 | removeAttributeQuotes: true 74 | // more options: 75 | // https://github.com/kangax/html-minifier#options-quick-reference 76 | }, 77 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin 78 | chunksSortMode: 'dependency' 79 | }), 80 | // keep module.id stable when vender modules does not change 81 | new webpack.HashedModuleIdsPlugin(), 82 | // enable scope hoisting 83 | new webpack.optimize.ModuleConcatenationPlugin(), 84 | // split vendor js into its own file 85 | new webpack.optimize.CommonsChunkPlugin({ 86 | name: 'vendor', 87 | minChunks (module) { 88 | // any required modules inside node_modules are extracted to vendor 89 | return ( 90 | module.resource && 91 | /\.js$/.test(module.resource) && 92 | module.resource.indexOf( 93 | path.join(__dirname, '../node_modules') 94 | ) === 0 95 | ) 96 | } 97 | }), 98 | // extract webpack runtime and module manifest to its own file in order to 99 | // prevent vendor hash from being updated whenever app bundle is updated 100 | new webpack.optimize.CommonsChunkPlugin({ 101 | name: 'manifest', 102 | minChunks: Infinity 103 | }), 104 | // This instance extracts shared chunks from code splitted chunks and bundles them 105 | // in a separate chunk, similar to the vendor chunk 106 | // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk 107 | new webpack.optimize.CommonsChunkPlugin({ 108 | name: 'app', 109 | async: 'vendor-async', 110 | children: true, 111 | minChunks: 3 112 | }), 113 | 114 | // copy custom static assets 115 | new CopyWebpackPlugin([ 116 | { 117 | from: path.resolve(__dirname, '../static'), 118 | to: config.build.assetsSubDirectory, 119 | ignore: ['.*'] 120 | } 121 | ]), 122 | 123 | ] 124 | }) 125 | 126 | if (config.build.productionGzip) { 127 | const CompressionWebpackPlugin = require('compression-webpack-plugin') 128 | 129 | webpackConfig.plugins.push( 130 | new CompressionWebpackPlugin({ 131 | asset: '[path].gz[query]', 132 | algorithm: 'gzip', 133 | test: new RegExp( 134 | '\\.(' + 135 | config.build.productionGzipExtensions.join('|') + 136 | ')$' 137 | ), 138 | threshold: 10240, 139 | minRatio: 0.8 140 | }) 141 | ) 142 | } 143 | 144 | if (config.build.bundleAnalyzerReport) { 145 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin 146 | webpackConfig.plugins.push(new BundleAnalyzerPlugin()) 147 | } 148 | 149 | module.exports = webpackConfig 150 | -------------------------------------------------------------------------------- /cli2-code/build/webpack.qiniu.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const utils = require('./utils') 4 | const webpack = require('webpack') 5 | const config = require('../config') 6 | const merge = require('webpack-merge') 7 | const baseWebpackConfig = require('./webpack.base.conf') 8 | const CopyWebpackPlugin = require('copy-webpack-plugin') 9 | const HtmlWebpackPlugin = require('html-webpack-plugin') 10 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 11 | const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') 12 | const UglifyJsPlugin = require('uglifyjs-webpack-plugin') 13 | const projectConfig = require('../config/projectConfig') 14 | //webpack config 15 | const Qiniu = require('qiniu-cdn-webpack-plugin') 16 | const CDN_HOST = '' 17 | 18 | // const QiniuWebpackPlugin = require('better-qiniu-webpack-plugin'); 19 | const QiniuWebpackPlugin = require('../src/libs/better-qiniu-webpack-plugin'); 20 | const env = require('../config/prod.env') 21 | 22 | const webpackConfig = merge(baseWebpackConfig, { 23 | module: { 24 | rules: utils.styleLoaders({ 25 | sourceMap: config.build.productionSourceMap, 26 | extract: true, 27 | usePostCSS: true 28 | }) 29 | }, 30 | devtool: config.build.productionSourceMap ? config.build.devtool : false, 31 | output: { 32 | path: config.build.assetsRoot, 33 | filename: utils.assetsPath('js/[name].[chunkhash].js'), 34 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js'), 35 | // path: __dirname + '/dist', 36 | // filename: 'app.[chunkhash].js', 37 | //配置webpack打包后插入文件时的cdn 38 | // publicPath: CDN_HOST 39 | }, 40 | plugins: [ 41 | //上传编译后到文件 42 | new QiniuWebpackPlugin({ 43 | accessKey: '', // required 44 | secretKey: '', // required 45 | bucket: '', // required 46 | bucketDomain: CDN_HOST, // required 47 | // matchFiles: ['!*.html', '!*.map'], 48 | uploadPath: projectConfig.uploadPath, 49 | batch: 10 50 | }), 51 | // http://vuejs.github.io/vue-loader/en/workflow/production.html 52 | new webpack.DefinePlugin({ 53 | 'process.env': env 54 | }), 55 | new UglifyJsPlugin({ 56 | uglifyOptions: { 57 | compress: { 58 | warnings: false 59 | } 60 | }, 61 | sourceMap: config.build.productionSourceMap, 62 | parallel: true 63 | }), 64 | // extract css into its own file 65 | new ExtractTextPlugin({ 66 | filename: utils.assetsPath('css/[name].[contenthash].css'), 67 | // Setting the following option to `false` will not extract CSS from codesplit chunks. 68 | // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. 69 | // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, 70 | // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 71 | allChunks: true, 72 | }), 73 | // Compress extracted CSS. We are using this plugin so that possible 74 | // duplicated CSS from different components can be deduped. 75 | new OptimizeCSSPlugin({ 76 | cssProcessorOptions: config.build.productionSourceMap 77 | ? { safe: true, map: { inline: false } } 78 | : { safe: true } 79 | }), 80 | // generate dist index.html with correct asset hash for caching. 81 | // you can customize output by editing /index.html 82 | // see https://github.com/ampedandwired/html-webpack-plugin 83 | new HtmlWebpackPlugin({ 84 | filename: process.env.NODE_ENV === 'testing' 85 | ? 'index.html' 86 | : config.build.index, 87 | template: projectConfig.localPath + 'index.html', 88 | inject: true, 89 | minify: { 90 | removeComments: true, 91 | collapseWhitespace: true, 92 | removeAttributeQuotes: true 93 | // more options: 94 | // https://github.com/kangax/html-minifier#options-quick-reference 95 | }, 96 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin 97 | chunksSortMode: 'dependency' 98 | }), 99 | // keep module.id stable when vender modules does not change 100 | new webpack.HashedModuleIdsPlugin(), 101 | // enable scope hoisting 102 | new webpack.optimize.ModuleConcatenationPlugin(), 103 | // split vendor js into its own file 104 | new webpack.optimize.CommonsChunkPlugin({ 105 | name: 'vendor', 106 | minChunks (module) { 107 | // any required modules inside node_modules are extracted to vendor 108 | return ( 109 | module.resource && 110 | /\.js$/.test(module.resource) && 111 | module.resource.indexOf( 112 | path.join(__dirname, '../node_modules') 113 | ) === 0 114 | ) 115 | } 116 | }), 117 | // extract webpack runtime and module manifest to its own file in order to 118 | // prevent vendor hash from being updated whenever app bundle is updated 119 | new webpack.optimize.CommonsChunkPlugin({ 120 | name: 'manifest', 121 | minChunks: Infinity 122 | }), 123 | // This instance extracts shared chunks from code splitted chunks and bundles them 124 | // in a separate chunk, similar to the vendor chunk 125 | // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk 126 | new webpack.optimize.CommonsChunkPlugin({ 127 | name: 'app', 128 | async: 'vendor-async', 129 | children: true, 130 | minChunks: 3 131 | }), 132 | 133 | // copy custom static assets 134 | new CopyWebpackPlugin([ 135 | { 136 | from: path.resolve(__dirname, '../static'), 137 | to: config.build.assetsSubDirectory, 138 | ignore: ['.*'] 139 | } 140 | ]), 141 | 142 | ] 143 | }) 144 | 145 | if (config.build.productionGzip) { 146 | const CompressionWebpackPlugin = require('compression-webpack-plugin') 147 | 148 | webpackConfig.plugins.push( 149 | new CompressionWebpackPlugin({ 150 | asset: '[path].gz[query]', 151 | algorithm: 'gzip', 152 | test: new RegExp( 153 | '\\.(' + 154 | config.build.productionGzipExtensions.join('|') + 155 | ')$' 156 | ), 157 | threshold: 10240, 158 | minRatio: 0.8 159 | }) 160 | ) 161 | } 162 | 163 | if (config.build.bundleAnalyzerReport) { 164 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin 165 | webpackConfig.plugins.push(new BundleAnalyzerPlugin()) 166 | } 167 | 168 | module.exports = webpackConfig 169 | -------------------------------------------------------------------------------- /cli2-code/build/webpack.qiniuTest.conf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by wangkai on 2018/10/23. 3 | */ 4 | 'use strict' 5 | const path = require('path') 6 | const utils = require('./utils') 7 | const webpack = require('webpack') 8 | const config = require('../config') 9 | const merge = require('webpack-merge') 10 | const baseWebpackConfig = require('./webpack.base.conf') 11 | const CopyWebpackPlugin = require('copy-webpack-plugin') 12 | const HtmlWebpackPlugin = require('html-webpack-plugin') 13 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 14 | const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') 15 | const UglifyJsPlugin = require('uglifyjs-webpack-plugin') 16 | const projectConfig = require('../config/projectConfig') 17 | //webpack config 18 | const Qiniu = require('qiniu-cdn-webpack-plugin') 19 | const CDN_HOST = '' 20 | 21 | // const QiniuWebpackPlugin = require('better-qiniu-webpack-plugin'); 22 | const QiniuWebpackPlugin = require('../src/libs/better-qiniu-webpack-plugin'); 23 | const env = require('../config/test.env') 24 | 25 | const webpackConfig = merge(baseWebpackConfig, { 26 | module: { 27 | rules: utils.styleLoaders({ 28 | sourceMap: config.build.productionSourceMap, 29 | extract: true, 30 | usePostCSS: true 31 | }) 32 | }, 33 | devtool: config.build.productionSourceMap ? config.build.devtool : false, 34 | output: { 35 | path: config.build.assetsRoot, 36 | filename: utils.assetsPath('js/[name].[chunkhash].js'), 37 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js'), 38 | // path: __dirname + '/dist', 39 | // filename: 'app.[chunkhash].js', 40 | //配置webpack打包后插入文件时的cdn 41 | // publicPath: CDN_HOST 42 | }, 43 | plugins: [ 44 | //上传编译后到文件 45 | new QiniuWebpackPlugin({ 46 | accessKey: '', // required 47 | secretKey: '', // required 48 | bucket: '', // required 49 | bucketDomain: CDN_HOST, // required 50 | // matchFiles: ['!*.html', '!*.map'], 51 | uploadPath: projectConfig.uploadPathTest, 52 | batch: 10 53 | }), 54 | // http://vuejs.github.io/vue-loader/en/workflow/production.html 55 | new webpack.DefinePlugin({ 56 | 'process.env': env 57 | }), 58 | new UglifyJsPlugin({ 59 | uglifyOptions: { 60 | compress: { 61 | warnings: false 62 | } 63 | }, 64 | sourceMap: config.build.productionSourceMap, 65 | parallel: true 66 | }), 67 | // extract css into its own file 68 | new ExtractTextPlugin({ 69 | filename: utils.assetsPath('css/[name].[contenthash].css'), 70 | // Setting the following option to `false` will not extract CSS from codesplit chunks. 71 | // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. 72 | // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, 73 | // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 74 | allChunks: true, 75 | }), 76 | // Compress extracted CSS. We are using this plugin so that possible 77 | // duplicated CSS from different components can be deduped. 78 | new OptimizeCSSPlugin({ 79 | cssProcessorOptions: config.build.productionSourceMap 80 | ? { safe: true, map: { inline: false } } 81 | : { safe: true } 82 | }), 83 | // generate dist index.html with correct asset hash for caching. 84 | // you can customize output by editing /index.html 85 | // see https://github.com/ampedandwired/html-webpack-plugin 86 | new HtmlWebpackPlugin({ 87 | filename: process.env.NODE_ENV === 'testing' 88 | ? 'index.html' 89 | : config.build.index, 90 | template: projectConfig.localPath + 'index.html', 91 | inject: true, 92 | minify: { 93 | removeComments: true, 94 | collapseWhitespace: true, 95 | removeAttributeQuotes: true 96 | // more options: 97 | // https://github.com/kangax/html-minifier#options-quick-reference 98 | }, 99 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin 100 | chunksSortMode: 'dependency' 101 | }), 102 | // keep module.id stable when vender modules does not change 103 | new webpack.HashedModuleIdsPlugin(), 104 | // enable scope hoisting 105 | new webpack.optimize.ModuleConcatenationPlugin(), 106 | // split vendor js into its own file 107 | new webpack.optimize.CommonsChunkPlugin({ 108 | name: 'vendor', 109 | minChunks (module) { 110 | // any required modules inside node_modules are extracted to vendor 111 | return ( 112 | module.resource && 113 | /\.js$/.test(module.resource) && 114 | module.resource.indexOf( 115 | path.join(__dirname, '../node_modules') 116 | ) === 0 117 | ) 118 | } 119 | }), 120 | // extract webpack runtime and module manifest to its own file in order to 121 | // prevent vendor hash from being updated whenever app bundle is updated 122 | new webpack.optimize.CommonsChunkPlugin({ 123 | name: 'manifest', 124 | minChunks: Infinity 125 | }), 126 | // This instance extracts shared chunks from code splitted chunks and bundles them 127 | // in a separate chunk, similar to the vendor chunk 128 | // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk 129 | new webpack.optimize.CommonsChunkPlugin({ 130 | name: 'app', 131 | async: 'vendor-async', 132 | children: true, 133 | minChunks: 3 134 | }), 135 | 136 | // copy custom static assets 137 | new CopyWebpackPlugin([ 138 | { 139 | from: path.resolve(__dirname, '../static'), 140 | to: config.build.assetsSubDirectory, 141 | ignore: ['.*'] 142 | } 143 | ]), 144 | 145 | ] 146 | }) 147 | 148 | if (config.build.productionGzip) { 149 | const CompressionWebpackPlugin = require('compression-webpack-plugin') 150 | 151 | webpackConfig.plugins.push( 152 | new CompressionWebpackPlugin({ 153 | asset: '[path].gz[query]', 154 | algorithm: 'gzip', 155 | test: new RegExp( 156 | '\\.(' + 157 | config.build.productionGzipExtensions.join('|') + 158 | ')$' 159 | ), 160 | threshold: 10240, 161 | minRatio: 0.8 162 | }) 163 | ) 164 | } 165 | 166 | if (config.build.bundleAnalyzerReport) { 167 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin 168 | webpackConfig.plugins.push(new BundleAnalyzerPlugin()) 169 | } 170 | 171 | module.exports = webpackConfig 172 | -------------------------------------------------------------------------------- /cli2-code/src/libs/better-qiniu-webpack-plugin/src/index.js: -------------------------------------------------------------------------------- 1 | const url = require('url'); 2 | const request = require('request-promise'); 3 | const path = require('path'); 4 | const revalidator = require('revalidator'); 5 | const mm = require('micromatch'); 6 | const chalk = require('chalk'); 7 | 8 | const Qiniu = require('./qiniu'); 9 | const { combineFiles, mapLimit } = require('./utils'); 10 | const Reporter = require('./reporter'); 11 | 12 | const LOG_FILENAME = '__qiniu__webpack__plugin__files.json'; 13 | const CONFIG_FILENAME = '.qiniu_webpack'; 14 | const PLUGIN_NAME = 'QiniuWebpackPlugin'; 15 | 16 | /** 17 | * options: { 18 | * accessKey: string, @required 19 | * secretKey: string, @required 20 | * bucket: string, @required 21 | * bucketDomain: string, @required 22 | * matchFiles: [], 23 | * uploadPath: string, 24 | * batch: number 25 | * } 26 | */ 27 | class QiniuPlugin { 28 | constructor(options = { }) { 29 | const defaultOptions = { 30 | uploadPath: 'webpack_assets', // default uploadPath 31 | batch: 10 32 | }; 33 | const fileOptions = this.getFileOptions(); 34 | this.options = Object.assign(defaultOptions, options, fileOptions); 35 | 36 | this.validateOptions(this.options); 37 | 38 | let { uploadPath } = this.options; 39 | 40 | if (uploadPath[0] === '/') { 41 | this.options.uploadPath = uploadPath.slice(1, uploadPath.length); 42 | } 43 | 44 | const { accessKey, secretKey, bucket, bucketDomain } = this.options; 45 | this.publicPath = url.resolve(bucketDomain, uploadPath); // domain + uploadPath 46 | this.qiniu = new Qiniu({ 47 | accessKey, 48 | secretKey, 49 | bucket, 50 | domain: bucketDomain 51 | }) 52 | } 53 | 54 | validateOptions(options) { 55 | let validate = revalidator.validate(options, { 56 | properties: { 57 | accessKey: { 58 | type: 'string', 59 | required: true 60 | }, 61 | secretKey: { 62 | type: 'string', 63 | required: true 64 | }, 65 | bucket: { 66 | type: 'string', 67 | required: true, 68 | minLength: 4, 69 | maxLength: 63 70 | }, 71 | bucketDomain: { 72 | type: 'string', 73 | required: true, 74 | message: 'is not a valid url', 75 | conform (v) { 76 | let urlReg = /[-a-zA-Z0-9@:%_\+.~#?&//=]{1,256}\.[a-z]{1,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/gi; 77 | if (urlReg.test(v)) { 78 | return true; 79 | } 80 | return false; 81 | } 82 | }, 83 | uploadPath: { 84 | type: 'string' 85 | }, 86 | matchFiles: { 87 | type: 'array' 88 | }, 89 | batch: { 90 | type: 'number' 91 | } 92 | } 93 | }); 94 | 95 | if (!validate.valid) { 96 | const { errors } = validate; 97 | console.log(chalk.bold.red('[QiniuWebpackPlugin] options validate failure:')); 98 | for(let i = 0, len = errors.length; i < len; i++) { 99 | const error = errors[i]; 100 | console.log('\n > ', error.property, error.message); 101 | } 102 | console.log('\n'); 103 | process.exit(); 104 | } 105 | } 106 | 107 | apply (compiler) { 108 | const beforeRunCallback = (compiler, callback) => { 109 | // TODO: 检查 output.filename 是否有 hash 输出 110 | compiler.options.output.publicPath = this.publicPath; 111 | callback(); 112 | } 113 | 114 | const afterEmitCallback = async (compilation, callback) => { 115 | const fileNames = Object.keys(compilation.assets); 116 | console.log('\n'); 117 | console.log(chalk.bold.green('==== Qiniu Webpack Plugin ==== \n')); 118 | const reporter = new Reporter('\n'); 119 | 120 | // 处理文件过滤 121 | const releaseFiles = this.matchFiles(fileNames); 122 | 123 | reporter.text = '📦 正在获取历史数据'; 124 | 125 | // 获取文件日志 126 | const { 127 | uploadTime, 128 | prev: prevFiles = [], 129 | current: currentFiles = [] 130 | } = await this.getLogFile(); 131 | reporter.log = '📦 获取历史数据'; 132 | 133 | // 当有文件要上传才去删除之前版本的文件,且写入日志 134 | if (currentFiles.length > 0) { 135 | 136 | if (currentFiles.length > 0) { 137 | reporter.log = `👋🏼 将删除 ${currentFiles.length} 个文件`; 138 | reporter.text = `🤓 正在批量删除...`; 139 | await this.deleteOldFiles(currentFiles); 140 | reporter.log = `💙 删除完毕`; 141 | } 142 | 143 | reporter.text = `📝 正在写入日志...`; 144 | await this.writeLogFile(currentFiles, releaseFiles); 145 | reporter.log = `📝 日志记录完毕` 146 | } 147 | 148 | // 合并去重,提取最终要上传和删除的文件 149 | const { uploadFiles, deleteFiles } = combineFiles(prevFiles, currentFiles, releaseFiles); 150 | 151 | reporter.log = `🍔 将上传 ${uploadFiles.length} 个文件`; 152 | 153 | const uploadFileTasks = uploadFiles.map((filename, index) => { 154 | const file = compilation.assets[filename]; 155 | 156 | return async () => { 157 | const key = path.posix.join(this.options.uploadPath, filename); 158 | 159 | reporter.text = `🚀 正在上传第 ${index + 1} 个文件: ${key}`; 160 | 161 | return await this.qiniu.putFile(key, file.existsAt); 162 | } 163 | }); 164 | 165 | try { 166 | await mapLimit(uploadFileTasks, this.options.batch, 167 | (task, next) => { 168 | (async () => { 169 | try { 170 | const res = await task(); 171 | next(null, res); 172 | } catch(err) { 173 | next(err); 174 | } 175 | })(); 176 | } 177 | ); 178 | } catch(e) { 179 | console.error(chalk.bold.red('\n\n上传失败:')); 180 | callback(e); 181 | } 182 | 183 | reporter.log = '❤️ 上传完毕'; 184 | 185 | // 当有文件要上传才去删除之前版本的文件,且写入日志 186 | // if (uploadFiles.length > 0) { 187 | // 188 | // if (deleteFiles.length > 0) { 189 | // reporter.log = `👋🏼 将删除 ${deleteFiles.length} 个文件`; 190 | // reporter.text = `🤓 正在批量删除...`; 191 | // await this.deleteOldFiles(deleteFiles); 192 | // reporter.log = `💙 删除完毕`; 193 | // } 194 | // 195 | // reporter.text = `📝 正在写入日志...`; 196 | // await this.writeLogFile(currentFiles, releaseFiles); 197 | // reporter.log = `📝 日志记录完毕` 198 | // } 199 | 200 | reporter.succeed('🎉 \n'); 201 | console.log(chalk.bold.green('==== Qiniu Webpack Plugin ==== \n')); 202 | 203 | callback(); 204 | } 205 | 206 | if (compiler.hooks) { 207 | compiler.hooks.beforeRun.tapAsync(PLUGIN_NAME, beforeRunCallback); 208 | compiler.hooks.afterEmit.tapAsync(PLUGIN_NAME, afterEmitCallback); 209 | } else { 210 | compiler.plugin('before-run', beforeRunCallback); 211 | compiler.plugin('after-emit', afterEmitCallback); 212 | } 213 | 214 | } 215 | 216 | matchFiles(fileNames) { 217 | const { matchFiles = [] } = this.options; 218 | 219 | matchFiles.unshift('*'); // all files 220 | 221 | return mm(fileNames, matchFiles, { matchBase: true }); 222 | } 223 | 224 | getFileOptions() { 225 | try { 226 | return require(path.resolve(CONFIG_FILENAME)); 227 | } catch(e) { 228 | if (e.code !== 'MODULE_NOT_FOUND') { 229 | throw e; 230 | } 231 | return null; 232 | } 233 | } 234 | 235 | /** 236 | * 删除旧的文件 237 | * @param {Array} deleteFiles 待删除文件列表 238 | */ 239 | async deleteOldFiles(deleteFiles) { 240 | if (deleteFiles.length > 0) { 241 | const keys = deleteFiles.map((filename, index) => path.posix.join(this.options.uploadPath, filename)); 242 | await this.qiniu.batchDelete(keys); 243 | } 244 | } 245 | 246 | /** 247 | * 记录文件列表 248 | * @param {Array} currentFiles 当前线上的文件列表 249 | * @param {Array} releaseFiles 等待发布的文件列表 250 | */ 251 | async writeLogFile(currentFiles, releaseFiles) { 252 | let json = JSON.stringify({ 253 | prev: currentFiles, 254 | current: releaseFiles, 255 | uploadTime: new Date() 256 | }); 257 | const key = path.posix.join(this.options.uploadPath, LOG_FILENAME); 258 | return await this.qiniu.put(key, json); 259 | } 260 | 261 | /** 262 | * 获取文件列表 263 | */ 264 | async getLogFile() { 265 | let remotePath = path.posix.join(this.options.uploadPath, LOG_FILENAME); 266 | let logDownloadUrl = this.qiniu.getPublicDownloadUrl(remotePath); 267 | 268 | let randomParams = '?r=' + +new Date(); 269 | 270 | // 域名没有通信协议 271 | // TODO: 此处 处理不妥当,如果不支持 http 通信,还得再请求一遍 https 272 | if (logDownloadUrl.indexOf('//') === 0) { 273 | logDownloadUrl = 'http:' + logDownloadUrl; 274 | } 275 | 276 | return request({ 277 | uri: logDownloadUrl + randomParams, 278 | json: true 279 | }) 280 | .catch(err => ({ prev: [], current: [], uploadTime: '' })) 281 | } 282 | 283 | } 284 | 285 | module.exports = QiniuPlugin; 286 | 287 | -------------------------------------------------------------------------------- /cli2-code/src/style/iconfont.scss: -------------------------------------------------------------------------------- 1 | 2 | @font-face {font-family: "iconfont"; 3 | src: url('//at.alicdn.com/t/font_641574_7y6a78pniox.eot?t=1540544548395'); /* IE9*/ 4 | src: url('//at.alicdn.com/t/font_641574_7y6a78pniox.eot?t=1540544548395#iefix') format('embedded-opentype'), /* IE6-IE8 */ 5 | url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAF5IAAsAAAAAlywAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8t0oTY21hcAAAAYAAAAPdAAAKFJ9Jzw1nbHlmAAAFYAAAUO4AAH4YQf0/BmhlYWQAAFZQAAAAMQAAADYb2DYVaGhlYQAAVoQAAAAgAAAAJBCmDS1obXR4AABWpAAAANAAAAJcoGv/kGxvY2EAAFd0AAABMAAAATDWGPWCbWF4cAAAWKQAAAAfAAAAIAGuAMZuYW1lAABYxAAAAUUAAAJtPlT+fXBvc3QAAFoMAAAEPAAABy2D+1KieJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkKWGcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMT2fx9zwv4EhhrmfYT9QmBEkBwARpA1GeJzl1udWnUUUxvH/AQKoiZCGSHqCBgSVBEmQ9N57J6EngQDpvfdCrKRacylezsxafvICXMb98PhZL0DO+gHnPXtm9n6ZeTfAOKA4NIYSKPqDQvxG4fe4Whi7Xsy7Y9dLCr/F+9nxirhUniakqlSdalN9akzNqTWN5LrclwfycH7z9m1EFEVERUTUpLrUkJpSS2rL83N77s+DeVQR//pViHUa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AxIoS+OTXWL3hHYHOjCJeB3A89PLCP4/X/UBr3G011SpYbOE5WfVit6PLVpBSLsDI9aoSmYuWiscnSaOKueOOe5Dsm62rsnZPlcpnDpZj2aBSnceMmtTBV3FVy3JuKuk5XccbJlIYiLECpwoWZtoRLGoMyo4SX4mHDbcz1DhdzFhcEkJRM3IzTjSl7c49SW2VeuajDsr3ejP0sy9L43GPbXbJ9S4REQrX2vmVwpvrRzTqynoVTBaPOuMF+Rcdra/8Clg1dvg==') format('woff'), 6 | url('//at.alicdn.com/t/font_641574_7y6a78pniox.ttf?t=1540544548395') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ 7 | url('//at.alicdn.com/t/font_641574_7y6a78pniox.svg?t=1540544548395#iconfont') format('svg'); /* iOS 4.1- */ 8 | } 9 | 10 | .iconfont { 11 | font-family:"iconfont" !important; 12 | font-size:1em; 13 | font-style:normal; 14 | -webkit-font-smoothing: antialiased; 15 | -moz-osx-font-smoothing: grayscale; 16 | } 17 | 18 | .icon-location:before { content: "\e61e"; } 19 | 20 | .icon-jinggao:before { content: "\e608"; } 21 | 22 | .icon-san_jiao:before { content: "\e67c"; } 23 | 24 | .icon-plus-add:before { content: "\e727"; } 25 | 26 | .icon-sandian:before { content: "\e602"; } 27 | 28 | .icon-yaohaoyou:before { content: "\e603"; } 29 | 30 | .icon-mingpianjia:before { content: "\e604"; } 31 | 32 | .icon-mingpianku:before { content: "\e605"; } 33 | 34 | .icon-yaoqing:before { content: "\e606"; } 35 | 36 | .icon-sousuo:before { content: "\e607"; } 37 | 38 | .icon-siji:before { content: "\e60d"; } 39 | 40 | .icon-chedui:before { content: "\e60f"; } 41 | 42 | .icon-zhuanxian:before { content: "\e610"; } 43 | 44 | .icon-sanfangtubiao:before { content: "\e611"; } 45 | 46 | .icon-guakaotubiao:before { content: "\e612"; } 47 | 48 | .icon-baoxian:before { content: "\e613"; } 49 | 50 | .icon-sdian:before { content: "\e614"; } 51 | 52 | .icon-jinrongtubiao:before { content: "\e615"; } 53 | 54 | .icon-qitatubiao:before { content: "\e616"; } 55 | 56 | .icon-broacast:before { content: "\e618"; } 57 | 58 | .icon-card-ins:before { content: "\e61a"; } 59 | 60 | .icon-collection:before { content: "\e61b"; } 61 | 62 | .icon-card-nor:before { content: "\e61c"; } 63 | 64 | .icon-my-ins:before { content: "\e61d"; } 65 | 66 | .icon-home-rightarrow:before { content: "\e61f"; } 67 | 68 | .icon-my-nor:before { content: "\e620"; } 69 | 70 | .icon-require-ins:before { content: "\e621"; } 71 | 72 | .icon-Triangle:before { content: "\e622"; } 73 | 74 | .icon-require-nor:before { content: "\e623"; } 75 | 76 | .icon-collection-ins:before { content: "\e624"; } 77 | 78 | .icon-company:before { content: "\e628"; } 79 | 80 | .icon-delete:before { content: "\e629"; } 81 | 82 | .icon-upload:before { content: "\e62b"; } 83 | 84 | .icon-share:before { content: "\e62c"; } 85 | 86 | .icon-check:before { content: "\e630"; } 87 | 88 | .icon-card-close:before { content: "\e631"; } 89 | 90 | .icon-help:before { content: "\e632"; } 91 | 92 | .icon-iphone:before { content: "\e633"; } 93 | 94 | .icon-revise:before { content: "\e637"; } 95 | 96 | .icon-rank:before { content: "\e638"; } 97 | 98 | .icon-my-information:before { content: "\e63a"; } 99 | 100 | .icon-my-cardcode:before { content: "\e63b"; } 101 | 102 | .icon-my-midified:before { content: "\e63c"; } 103 | 104 | .icon-my-sharecard:before { content: "\e63d"; } 105 | 106 | .icon-my-contact:before { content: "\e63e"; } 107 | 108 | .icon-my-report:before { content: "\e63f"; } 109 | 110 | .icon-my-require:before { content: "\e640"; } 111 | 112 | .icon-my-invite:before { content: "\e641"; } 113 | 114 | .icon-my-collection:before { content: "\e642"; } 115 | 116 | .icon-my-user:before { content: "\e643"; } 117 | 118 | .icon-my-phone:before { content: "\e644"; } 119 | 120 | .icon-cardphone:before { content: "\e635"; } 121 | 122 | .icon-cardhot:before { content: "\e636"; } 123 | 124 | .icon-infor-praise:before { content: "\e645"; } 125 | 126 | .icon-infor-syetem:before { content: "\e646"; } 127 | 128 | .icon-infor-collection:before { content: "\e647"; } 129 | 130 | .icon-infor-eye:before { content: "\e648"; } 131 | 132 | .icon-position:before { content: "\e649"; } 133 | 134 | .icon-cardjob:before { content: "\e64a"; } 135 | 136 | .icon-cardpraise:before { content: "\e64b"; } 137 | 138 | .icon-cardcollection:before { content: "\e64c"; } 139 | 140 | .icon-internet:before { content: "\e64d"; } 141 | 142 | .icon-point:before { content: "\e64e"; } 143 | 144 | .icon-storage:before { content: "\e64f"; } 145 | 146 | .icon-logistics:before { content: "\e652"; } 147 | 148 | .icon-share-address:before { content: "\e665"; } 149 | 150 | .icon-details:before { content: "\e653"; } 151 | 152 | .icon-service:before { content: "\e654"; } 153 | 154 | .icon-share-business:before { content: "\e655"; } 155 | 156 | .icon-logistics1:before { content: "\e656"; } 157 | 158 | .icon-share-phonenumber:before { content: "\e657"; } 159 | 160 | .icon-share-route:before { content: "\e658"; } 161 | 162 | .icon-share-type:before { content: "\e659"; } 163 | 164 | .icon-share-store:before { content: "\e65b"; } 165 | 166 | .icon-share-scope:before { content: "\e65c"; } 167 | 168 | .icon-share-vehicle:before { content: "\e65d"; } 169 | 170 | .icon-distance:before { content: "\e65e"; } 171 | 172 | .icon-arrowright:before { content: "\e650"; } 173 | 174 | .icon-arrowdown:before { content: "\e651"; } 175 | 176 | .icon-cancle:before { content: "\e65f"; } 177 | 178 | .icon-uncollect:before { content: "\e660"; } 179 | 180 | .icon-my-cardcode1:before { content: "\e661"; } 181 | 182 | .icon-attestation-line1:before { content: "\e662"; } 183 | 184 | .icon-attestationn:before { content: "\e663"; } 185 | 186 | .icon-Triangle-copy:before { content: "\e728"; } 187 | 188 | .icon-home-eye:before { content: "\e65a"; } 189 | 190 | .icon-arrowup:before { content: "\e664"; } 191 | 192 | .icon-route1:before { content: "\e666"; } 193 | 194 | .icon-invoicehelp:before { content: "\e668"; } 195 | 196 | .icon-sharenum:before { content: "\e669"; } 197 | 198 | .icon-inorevise:before { content: "\e66a"; } 199 | 200 | .icon-invdelect:before { content: "\e66b"; } 201 | 202 | .icon-sharetel:before { content: "\e66c"; } 203 | 204 | .icon-report:before { content: "\e667"; } 205 | 206 | .icon-wechat:before { content: "\e66d"; } 207 | 208 | .icon-searchroute:before { content: "\e66e"; } 209 | 210 | .icon-connection:before { content: "\e66f"; } 211 | 212 | .icon-friend:before { content: "\e671"; } 213 | 214 | .icon-searchroute1:before { content: "\e672"; } 215 | 216 | .icon-intrest:before { content: "\e673"; } 217 | 218 | .icon-shoujihao:before { content: "\e75a"; } 219 | 220 | .icon-yanzhengma:before { content: "\e75b"; } 221 | 222 | .icon-qiyemingcheng:before { content: "\e75c"; } 223 | 224 | .icon-zhanghuming:before { content: "\e75d"; } 225 | 226 | .icon-tuxingyanzhengma:before { content: "\e75e"; } 227 | 228 | .icon-zhenshixingming:before { content: "\e75f"; } 229 | 230 | .icon-xianxiakaihu:before { content: "\e760"; } 231 | 232 | .icon-diyazhiya:before { content: "\e761"; } 233 | 234 | .icon-zuigaokedai:before { content: "\e762"; } 235 | 236 | .icon-zhizhicailiao:before { content: "\e763"; } 237 | 238 | .icon-shouji-:before { content: "\e767"; } 239 | 240 | .icon-duanxinyanzhengma:before { content: "\e768"; } 241 | 242 | .icon-require-ins1:before { content: "\e76a"; } 243 | 244 | .icon-qiyemingcheng1:before { content: "\e76b"; } 245 | 246 | .icon-price:before { content: "\e670"; } 247 | 248 | .icon-company1:before { content: "\e675"; } 249 | 250 | .icon-cardcode:before { content: "\e676"; } 251 | 252 | .icon-collectrequire:before { content: "\e678"; } 253 | 254 | .icon-givecard:before { content: "\e679"; } 255 | 256 | .icon-star:before { content: "\e67a"; } 257 | 258 | .icon-recipt:before { content: "\e67b"; } 259 | 260 | .icon-requires:before { content: "\e67d"; } 261 | 262 | .icon-report1:before { content: "\e67e"; } 263 | 264 | .icon-news:before { content: "\e67f"; } 265 | 266 | .icon-revisecard:before { content: "\e680"; } 267 | 268 | .icon-contacts:before { content: "\e681"; } 269 | 270 | .icon-gif:before { content: "\e682"; } 271 | 272 | .icon-addf:before { content: "\e683"; } 273 | 274 | .icon-publish:before { content: "\e684"; } 275 | 276 | .icon-friend1:before { content: "\e685"; } 277 | 278 | .icon-fill:before { content: "\e686"; } 279 | 280 | .icon-requires1:before { content: "\e687"; } 281 | 282 | .icon-function:before { content: "\e674"; } 283 | 284 | .icon-gonggao:before { content: "\e76c"; } 285 | 286 | .icon-yirenling:before { content: "\e677"; } 287 | 288 | .icon-dairenling:before { content: "\e688"; } 289 | 290 | .icon-set:before { content: "\e689"; } 291 | 292 | .icon-erweima:before { content: "\e791"; } 293 | 294 | .icon-dingwei:before { content: "\e792"; } 295 | 296 | .icon-bukejian:before { content: "\e793"; } 297 | 298 | .icon-mima:before { content: "\e794"; } 299 | 300 | .icon-shanchu:before { content: "\e795"; } 301 | 302 | .icon-kejian:before { content: "\e796"; } 303 | 304 | .icon-shoujihao1:before { content: "\e797"; } 305 | 306 | .icon-shangsheng:before { content: "\e798"; } 307 | 308 | .icon-tianjia:before { content: "\e799"; } 309 | 310 | .icon-tishi:before { content: "\e79a"; } 311 | 312 | .icon-xiajiang:before { content: "\e79b"; } 313 | 314 | .icon-shouxinedu:before { content: "\e79c"; } 315 | 316 | .icon-tongguodanshu:before { content: "\e79d"; } 317 | 318 | .icon-yanzhengma1:before { content: "\e79e"; } 319 | --------------------------------------------------------------------------------