├── .babelrc ├── .editorconfig ├── .gitignore ├── README.md ├── build ├── build.js ├── dev-client.js ├── dev-server.js ├── utils.js ├── webpack.base.conf.js ├── webpack.dev.conf.js └── webpack.prod.conf.js ├── config ├── dev.env.js ├── index.js └── prod.env.js ├── index.html ├── package.json ├── src ├── App.vue ├── assets │ ├── 1122.jpg │ ├── avstar.jpg │ ├── box.png │ ├── button_add.png │ ├── button_reduce.png │ ├── checkmarks.png │ ├── dotine.png │ ├── home-sprite.png │ ├── ico_3D.png │ ├── ico_add.png │ ├── ico_back.png │ ├── ico_bot.png │ ├── ico_daletou.png │ ├── ico_delete.png │ ├── ico_delete1.png │ ├── ico_delete2.png │ ├── ico_dot.png │ ├── ico_down.png │ ├── ico_down1.png │ ├── ico_indate.png │ ├── ico_into.png │ ├── ico_into1.png │ ├── ico_into3.png │ ├── ico_jiaobiao.png │ ├── ico_jingcailanqiu.png │ ├── ico_jingcaizuqiu.png │ ├── ico_kaijiangjieguo.png │ ├── ico_lanqiudanguan.png │ ├── ico_more.png │ ├── ico_nopic.png │ ├── ico_pailiesan.png │ ├── ico_pailiewu.png │ ├── ico_renxuanjiu.png │ ├── ico_return.png │ ├── ico_shengfucai.png │ ├── ico_shuangseqiu.png │ ├── ico_tuijian.png │ ├── ico_up.png │ ├── ico_zhandian.png │ ├── ico_zixun.png │ ├── ico_zuqiudanguan.png │ ├── shenzhen_city.jpg │ ├── ticket_01.png │ ├── ticket_02.png │ ├── ticket_03.png │ └── 圆角矩形 6.png ├── components │ ├── bei-submit.vue │ ├── btns-default.vue │ ├── btns-games.vue │ ├── deadline.vue │ ├── deadlines-results.vue │ ├── qbj-submit.vue │ ├── slip-ctrl.vue │ ├── ticket-footer.vue │ └── ticket-header.vue ├── main.js ├── router.js ├── views │ ├── Home.vue │ ├── daletou.vue │ ├── dlt-slip.vue │ ├── fc3d.vue │ ├── information-detail.vue │ ├── information.vue │ ├── jclq.vue │ ├── lotteries.vue │ ├── pailiesan.vue │ ├── recommend_details.vue │ ├── recommends.vue │ ├── renxuanjiu.vue │ ├── result-history.vue │ ├── results.vue │ ├── rxj-slip.vue │ ├── shengfucai.vue │ ├── shuangseqiu.vue │ ├── ssq-slip.vue │ ├── station-detail.vue │ └── stations.vue └── vuex │ └── store.js └── static └── .gitkeep /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | "plugins": ["transform-runtime"], 4 | "comments": false 5 | } 6 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gl-lottery-vue 2 | 3 | > A Vue.js project 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 dev 13 | 14 | # build for production with minification 15 | npm run build 16 | ``` 17 | 18 | For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 19 | -------------------------------------------------------------------------------- /build/build.js: -------------------------------------------------------------------------------- 1 | // https://github.com/shelljs/shelljs 2 | require('shelljs/global') 3 | env.NODE_ENV = 'production' 4 | 5 | var path = require('path') 6 | var config = require('../config') 7 | var ora = require('ora') 8 | var webpack = require('webpack') 9 | var webpackConfig = require('./webpack.prod.conf') 10 | 11 | console.log( 12 | ' Tip:\n' + 13 | ' Built files are meant to be served over an HTTP server.\n' + 14 | ' Opening index.html over file:// won\'t work.\n' 15 | ) 16 | 17 | var spinner = ora('building for production...') 18 | spinner.start() 19 | 20 | var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) 21 | rm('-rf', assetsPath) 22 | mkdir('-p', assetsPath) 23 | cp('-R', 'static/*', assetsPath) 24 | 25 | webpack(webpackConfig, function (err, stats) { 26 | spinner.stop() 27 | if (err) throw err 28 | process.stdout.write(stats.toString({ 29 | colors: true, 30 | modules: false, 31 | children: false, 32 | chunks: false, 33 | chunkModules: false 34 | }) + '\n') 35 | }) 36 | -------------------------------------------------------------------------------- /build/dev-client.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | require('eventsource-polyfill') 3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') 4 | 5 | hotClient.subscribe(function (event) { 6 | if (event.action === 'reload') { 7 | window.location.reload() 8 | } 9 | }) 10 | -------------------------------------------------------------------------------- /build/dev-server.js: -------------------------------------------------------------------------------- 1 | var path = require('path') 2 | var express = require('express') 3 | var webpack = require('webpack') 4 | var config = require('../config') 5 | var opn = require('opn') 6 | var proxyMiddleware = require('http-proxy-middleware') 7 | var webpackConfig = require('./webpack.dev.conf') 8 | 9 | // default port where dev server listens for incoming traffic 10 | var port = process.env.PORT || config.dev.port 11 | // Define HTTP proxies to your custom API backend 12 | // https://github.com/chimurai/http-proxy-middleware 13 | var proxyTable = config.dev.proxyTable 14 | 15 | var app = express() 16 | var compiler = webpack(webpackConfig) 17 | 18 | var devMiddleware = require('webpack-dev-middleware')(compiler, { 19 | publicPath: webpackConfig.output.publicPath, 20 | stats: { 21 | colors: true, 22 | chunks: false 23 | } 24 | }) 25 | 26 | var hotMiddleware = require('webpack-hot-middleware')(compiler) 27 | // force page reload when html-webpack-plugin template changes 28 | compiler.plugin('compilation', function (compilation) { 29 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) { 30 | hotMiddleware.publish({ action: 'reload' }) 31 | cb() 32 | }) 33 | }) 34 | 35 | // proxy api requests 36 | Object.keys(proxyTable).forEach(function (context) { 37 | var options = proxyTable[context] 38 | if (typeof options === 'string') { 39 | options = { target: options } 40 | } 41 | app.use(proxyMiddleware(context, options)) 42 | }) 43 | 44 | // handle fallback for HTML5 history API 45 | app.use(require('connect-history-api-fallback')()) 46 | 47 | // serve webpack bundle output 48 | app.use(devMiddleware) 49 | 50 | // enable hot-reload and state-preserving 51 | // compilation error display 52 | app.use(hotMiddleware) 53 | 54 | // serve pure static assets 55 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory) 56 | app.use(staticPath, express.static('./static')) 57 | 58 | module.exports = app.listen(port, function (err) { 59 | if (err) { 60 | console.log(err) 61 | return 62 | } 63 | var uri = 'http://localhost:' + port 64 | console.log('Listening at ' + uri + '\n') 65 | opn(uri) 66 | }) 67 | -------------------------------------------------------------------------------- /build/utils.js: -------------------------------------------------------------------------------- 1 | var path = require('path') 2 | var config = require('../config') 3 | var ExtractTextPlugin = require('extract-text-webpack-plugin') 4 | 5 | exports.assetsPath = function (_path) { 6 | var assetsSubDirectory = process.env.NODE_ENV === 'production' 7 | ? config.build.assetsSubDirectory 8 | : config.dev.assetsSubDirectory 9 | return path.posix.join(assetsSubDirectory, _path) 10 | } 11 | 12 | exports.cssLoaders = function (options) { 13 | options = options || {} 14 | // generate loader string to be used with extract text plugin 15 | function generateLoaders (loaders) { 16 | var sourceLoader = loaders.map(function (loader) { 17 | var extraParamChar 18 | if (/\?/.test(loader)) { 19 | loader = loader.replace(/\?/, '-loader?') 20 | extraParamChar = '&' 21 | } else { 22 | loader = loader + '-loader' 23 | extraParamChar = '?' 24 | } 25 | return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '') 26 | }).join('!') 27 | 28 | if (options.extract) { 29 | return ExtractTextPlugin.extract('vue-style-loader', sourceLoader) 30 | } else { 31 | return ['vue-style-loader', sourceLoader].join('!') 32 | } 33 | } 34 | 35 | // http://vuejs.github.io/vue-loader/configurations/extract-css.html 36 | return { 37 | css: generateLoaders(['css']), 38 | postcss: generateLoaders(['css']), 39 | less: generateLoaders(['css', 'less']), 40 | sass: generateLoaders(['css', 'sass?indentedSyntax']), 41 | scss: generateLoaders(['css', 'sass']), 42 | stylus: generateLoaders(['css', 'stylus']), 43 | styl: generateLoaders(['css', 'stylus']) 44 | } 45 | } 46 | 47 | // Generate loaders for standalone style files (outside of .vue) 48 | exports.styleLoaders = function (options) { 49 | var output = [] 50 | var loaders = exports.cssLoaders(options) 51 | for (var extension in loaders) { 52 | var loader = loaders[extension] 53 | output.push({ 54 | test: new RegExp('\\.' + extension + '$'), 55 | loader: loader 56 | }) 57 | } 58 | return output 59 | } 60 | -------------------------------------------------------------------------------- /build/webpack.base.conf.js: -------------------------------------------------------------------------------- 1 | var path = require('path') 2 | var config = require('../config') 3 | var utils = require('./utils') 4 | var projectRoot = path.resolve(__dirname, '../') 5 | 6 | module.exports = { 7 | entry: { 8 | app: './src/main.js' 9 | }, 10 | output: { 11 | path: config.build.assetsRoot, 12 | publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath, 13 | filename: '[name].js' 14 | }, 15 | resolve: { 16 | extensions: ['', '.js', '.vue'], 17 | fallback: [path.join(__dirname, '../node_modules')], 18 | alias: { 19 | 'vue$': 'vue/dist/vue', 20 | 'src': path.resolve(__dirname, '../src'), 21 | 'assets': path.resolve(__dirname, '../src/assets'), 22 | 'components': path.resolve(__dirname, '../src/components') 23 | } 24 | }, 25 | resolveLoader: { 26 | fallback: [path.join(__dirname, '../node_modules')] 27 | }, 28 | module: { 29 | loaders: [ 30 | { 31 | test: /\.vue$/, 32 | loader: 'vue' 33 | }, 34 | { 35 | test: /\.js$/, 36 | loader: 'babel', 37 | include: projectRoot, 38 | exclude: /node_modules/ 39 | }, 40 | { 41 | test: /\.json$/, 42 | loader: 'json' 43 | }, 44 | { 45 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, 46 | loader: 'url', 47 | query: { 48 | limit: 10000, 49 | name: utils.assetsPath('img/[name].[hash:7].[ext]') 50 | } 51 | }, 52 | { 53 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, 54 | loader: 'url', 55 | query: { 56 | limit: 10000, 57 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]') 58 | } 59 | } 60 | ] 61 | }, 62 | vue: { 63 | loaders: utils.cssLoaders(), 64 | postcss: [ 65 | require('autoprefixer')({ 66 | browsers: ['last 2 versions'] 67 | }) 68 | ] 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /build/webpack.dev.conf.js: -------------------------------------------------------------------------------- 1 | var config = require('../config') 2 | var webpack = require('webpack') 3 | var merge = require('webpack-merge') 4 | var utils = require('./utils') 5 | var baseWebpackConfig = require('./webpack.base.conf') 6 | var HtmlWebpackPlugin = require('html-webpack-plugin') 7 | 8 | // add hot-reload related code to entry chunks 9 | Object.keys(baseWebpackConfig.entry).forEach(function (name) { 10 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name]) 11 | }) 12 | 13 | module.exports = merge(baseWebpackConfig, { 14 | module: { 15 | loaders: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) 16 | }, 17 | // eval-source-map is faster for development 18 | devtool: '#eval-source-map', 19 | plugins: [ 20 | new webpack.DefinePlugin({ 21 | 'process.env': config.dev.env 22 | }), 23 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage 24 | new webpack.optimize.OccurenceOrderPlugin(), 25 | new webpack.HotModuleReplacementPlugin(), 26 | new webpack.NoErrorsPlugin(), 27 | // https://github.com/ampedandwired/html-webpack-plugin 28 | new HtmlWebpackPlugin({ 29 | filename: 'index.html', 30 | template: 'index.html', 31 | inject: true 32 | }) 33 | ] 34 | }) 35 | -------------------------------------------------------------------------------- /build/webpack.prod.conf.js: -------------------------------------------------------------------------------- 1 | var path = require('path') 2 | var config = require('../config') 3 | var utils = require('./utils') 4 | var webpack = require('webpack') 5 | var merge = require('webpack-merge') 6 | var baseWebpackConfig = require('./webpack.base.conf') 7 | var ExtractTextPlugin = require('extract-text-webpack-plugin') 8 | var HtmlWebpackPlugin = require('html-webpack-plugin') 9 | var env = config.build.env 10 | 11 | var webpackConfig = merge(baseWebpackConfig, { 12 | module: { 13 | loaders: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: true }) 14 | }, 15 | devtool: config.build.productionSourceMap ? '#source-map' : false, 16 | output: { 17 | path: config.build.assetsRoot, 18 | filename: utils.assetsPath('js/[name].[chunkhash].js'), 19 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') 20 | }, 21 | vue: { 22 | loaders: utils.cssLoaders({ 23 | sourceMap: config.build.productionSourceMap, 24 | extract: true 25 | }) 26 | }, 27 | plugins: [ 28 | // http://vuejs.github.io/vue-loader/workflow/production.html 29 | new webpack.DefinePlugin({ 30 | 'process.env': env 31 | }), 32 | new webpack.optimize.UglifyJsPlugin({ 33 | compress: { 34 | warnings: false 35 | } 36 | }), 37 | new webpack.optimize.OccurenceOrderPlugin(), 38 | // extract css into its own file 39 | new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')), 40 | // generate dist index.html with correct asset hash for caching. 41 | // you can customize output by editing /index.html 42 | // see https://github.com/ampedandwired/html-webpack-plugin 43 | new HtmlWebpackPlugin({ 44 | filename: config.build.index, 45 | template: 'index.html', 46 | inject: true, 47 | minify: { 48 | removeComments: true, 49 | collapseWhitespace: true, 50 | removeAttributeQuotes: true 51 | // more options: 52 | // https://github.com/kangax/html-minifier#options-quick-reference 53 | }, 54 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin 55 | chunksSortMode: 'dependency' 56 | }), 57 | // split vendor js into its own file 58 | new webpack.optimize.CommonsChunkPlugin({ 59 | name: 'vendor', 60 | minChunks: function (module, count) { 61 | // any required modules inside node_modules are extracted to vendor 62 | return ( 63 | module.resource && 64 | /\.js$/.test(module.resource) && 65 | module.resource.indexOf( 66 | path.join(__dirname, '../node_modules') 67 | ) === 0 68 | ) 69 | } 70 | }), 71 | // extract webpack runtime and module manifest to its own file in order to 72 | // prevent vendor hash from being updated whenever app bundle is updated 73 | new webpack.optimize.CommonsChunkPlugin({ 74 | name: 'manifest', 75 | chunks: ['vendor'] 76 | }) 77 | ] 78 | }) 79 | 80 | if (config.build.productionGzip) { 81 | var CompressionWebpackPlugin = require('compression-webpack-plugin') 82 | 83 | webpackConfig.plugins.push( 84 | new CompressionWebpackPlugin({ 85 | asset: '[path].gz[query]', 86 | algorithm: 'gzip', 87 | test: new RegExp( 88 | '\\.(' + 89 | config.build.productionGzipExtensions.join('|') + 90 | ')$' 91 | ), 92 | threshold: 10240, 93 | minRatio: 0.8 94 | }) 95 | ) 96 | } 97 | 98 | module.exports = webpackConfig 99 | -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- 1 | // see http://vuejs-templates.github.io/webpack for documentation. 2 | var path = require('path') 3 | 4 | module.exports = { 5 | build: { 6 | env: require('./prod.env'), 7 | index: path.resolve(__dirname, '../dist/index.html'), 8 | assetsRoot: path.resolve(__dirname, '../dist'), 9 | assetsSubDirectory: 'static', 10 | assetsPublicPath: '/', 11 | productionSourceMap: true, 12 | // Gzip off by default as many popular static hosts such as 13 | // Surge or Netlify already gzip all static assets for you. 14 | // Before setting to `true`, make sure to: 15 | // npm install --save-dev compression-webpack-plugin 16 | productionGzip: false, 17 | productionGzipExtensions: ['js', 'css'] 18 | }, 19 | dev: { 20 | env: require('./dev.env'), 21 | port: 8080, 22 | assetsSubDirectory: 'static', 23 | assetsPublicPath: '/', 24 | proxyTable: {}, 25 | // CSS Sourcemaps off by default because relative paths are "buggy" 26 | // with this option, according to the CSS-Loader README 27 | // (https://github.com/webpack/css-loader#sourcemaps) 28 | // In our experience, they generally work as expected, 29 | // just be aware of this issue when enabling this option. 30 | cssSourceMap: false 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 咕啦彩票 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gl-lottery-vue", 3 | "version": "1.0.0", 4 | "description": "A Vue.js project", 5 | "author": "Cloud <595199568@qq.com>", 6 | "private": true, 7 | "scripts": { 8 | "dev": "node build/dev-server.js", 9 | "build": "node build/build.js" 10 | }, 11 | "dependencies": { 12 | "less": "^2.7.1", 13 | "less-loader": "^2.2.3", 14 | "vue": "^2.0.1", 15 | "vue-loadmore": "^2.0.0", 16 | "vue-resource": "^1.0.3", 17 | "vue-router": "^2.0.0", 18 | "vuex": "^2.0.0" 19 | }, 20 | "devDependencies": { 21 | "autoprefixer": "^6.4.0", 22 | "babel-core": "^6.0.0", 23 | "babel-loader": "^6.0.0", 24 | "babel-plugin-transform-runtime": "^6.0.0", 25 | "babel-preset-es2015": "^6.0.0", 26 | "babel-preset-stage-2": "^6.0.0", 27 | "babel-register": "^6.0.0", 28 | "connect-history-api-fallback": "^1.1.0", 29 | "css-loader": "^0.25.0", 30 | "eventsource-polyfill": "^0.9.6", 31 | "express": "^4.13.3", 32 | "extract-text-webpack-plugin": "^1.0.1", 33 | "file-loader": "^0.9.0", 34 | "function-bind": "^1.0.2", 35 | "html-webpack-plugin": "^2.8.1", 36 | "http-proxy-middleware": "^0.17.2", 37 | "json-loader": "^0.5.4", 38 | "less": "^2.7.1", 39 | "less-loader": "^2.2.3", 40 | "opn": "^4.0.2", 41 | "ora": "^0.3.0", 42 | "shelljs": "^0.7.4", 43 | "url-loader": "^0.5.7", 44 | "vue-loader": "^9.4.0", 45 | "vue-style-loader": "^1.0.0", 46 | "webpack": "^1.13.2", 47 | "webpack-dev-middleware": "^1.8.3", 48 | "webpack-hot-middleware": "^2.12.2", 49 | "webpack-merge": "^0.14.1" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 45 | 46 | 166 | -------------------------------------------------------------------------------- /src/assets/1122.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/1122.jpg -------------------------------------------------------------------------------- /src/assets/avstar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/avstar.jpg -------------------------------------------------------------------------------- /src/assets/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/box.png -------------------------------------------------------------------------------- /src/assets/button_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/button_add.png -------------------------------------------------------------------------------- /src/assets/button_reduce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/button_reduce.png -------------------------------------------------------------------------------- /src/assets/checkmarks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/checkmarks.png -------------------------------------------------------------------------------- /src/assets/dotine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/dotine.png -------------------------------------------------------------------------------- /src/assets/home-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/home-sprite.png -------------------------------------------------------------------------------- /src/assets/ico_3D.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_3D.png -------------------------------------------------------------------------------- /src/assets/ico_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_add.png -------------------------------------------------------------------------------- /src/assets/ico_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_back.png -------------------------------------------------------------------------------- /src/assets/ico_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_bot.png -------------------------------------------------------------------------------- /src/assets/ico_daletou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_daletou.png -------------------------------------------------------------------------------- /src/assets/ico_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_delete.png -------------------------------------------------------------------------------- /src/assets/ico_delete1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_delete1.png -------------------------------------------------------------------------------- /src/assets/ico_delete2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_delete2.png -------------------------------------------------------------------------------- /src/assets/ico_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_dot.png -------------------------------------------------------------------------------- /src/assets/ico_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_down.png -------------------------------------------------------------------------------- /src/assets/ico_down1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_down1.png -------------------------------------------------------------------------------- /src/assets/ico_indate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_indate.png -------------------------------------------------------------------------------- /src/assets/ico_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_into.png -------------------------------------------------------------------------------- /src/assets/ico_into1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_into1.png -------------------------------------------------------------------------------- /src/assets/ico_into3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_into3.png -------------------------------------------------------------------------------- /src/assets/ico_jiaobiao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_jiaobiao.png -------------------------------------------------------------------------------- /src/assets/ico_jingcailanqiu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_jingcailanqiu.png -------------------------------------------------------------------------------- /src/assets/ico_jingcaizuqiu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_jingcaizuqiu.png -------------------------------------------------------------------------------- /src/assets/ico_kaijiangjieguo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_kaijiangjieguo.png -------------------------------------------------------------------------------- /src/assets/ico_lanqiudanguan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_lanqiudanguan.png -------------------------------------------------------------------------------- /src/assets/ico_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_more.png -------------------------------------------------------------------------------- /src/assets/ico_nopic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_nopic.png -------------------------------------------------------------------------------- /src/assets/ico_pailiesan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_pailiesan.png -------------------------------------------------------------------------------- /src/assets/ico_pailiewu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_pailiewu.png -------------------------------------------------------------------------------- /src/assets/ico_renxuanjiu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_renxuanjiu.png -------------------------------------------------------------------------------- /src/assets/ico_return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_return.png -------------------------------------------------------------------------------- /src/assets/ico_shengfucai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_shengfucai.png -------------------------------------------------------------------------------- /src/assets/ico_shuangseqiu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_shuangseqiu.png -------------------------------------------------------------------------------- /src/assets/ico_tuijian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_tuijian.png -------------------------------------------------------------------------------- /src/assets/ico_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_up.png -------------------------------------------------------------------------------- /src/assets/ico_zhandian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_zhandian.png -------------------------------------------------------------------------------- /src/assets/ico_zixun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_zixun.png -------------------------------------------------------------------------------- /src/assets/ico_zuqiudanguan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ico_zuqiudanguan.png -------------------------------------------------------------------------------- /src/assets/shenzhen_city.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/shenzhen_city.jpg -------------------------------------------------------------------------------- /src/assets/ticket_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ticket_01.png -------------------------------------------------------------------------------- /src/assets/ticket_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ticket_02.png -------------------------------------------------------------------------------- /src/assets/ticket_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/ticket_03.png -------------------------------------------------------------------------------- /src/assets/圆角矩形 6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/src/assets/圆角矩形 6.png -------------------------------------------------------------------------------- /src/components/bei-submit.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 39 | 40 | 143 | -------------------------------------------------------------------------------- /src/components/btns-default.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 30 | 31 | 102 | -------------------------------------------------------------------------------- /src/components/btns-games.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 30 | 31 | 102 | -------------------------------------------------------------------------------- /src/components/deadline.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 19 | 20 | 41 | -------------------------------------------------------------------------------- /src/components/deadlines-results.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 73 | 74 | 157 | -------------------------------------------------------------------------------- /src/components/qbj-submit.vue: -------------------------------------------------------------------------------- 1 | 29 | 30 | 51 | 197 | -------------------------------------------------------------------------------- /src/components/slip-ctrl.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 30 | 31 | 69 | -------------------------------------------------------------------------------- /src/components/ticket-footer.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 16 | 17 | 26 | -------------------------------------------------------------------------------- /src/components/ticket-header.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 16 | 17 | 26 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import App from './App'; 3 | import router from './router.js'; 4 | import store from './vuex/store.js'; 5 | const app = new Vue({ 6 | el: '#app', 7 | router, 8 | store, 9 | render: h => h(App) 10 | }) 11 | function responsive(){ 12 | document.getElementsByTagName('html')[0].style.fontSize = window.innerWidth / 7.2 + 'px'; 13 | console.log("resize"); 14 | }; 15 | responsive(); 16 | window.onresize = responsive; 17 | -------------------------------------------------------------------------------- /src/router.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import VueRouter from 'vue-router'; 3 | import Home from './views/Home'; 4 | import results from './views/results'; 5 | import result_history from './views/result-history'; 6 | import information from './views/information'; 7 | import information_detail from './views/information-detail'; 8 | import stations from './views/stations'; 9 | import station_detail from './views/station-detail'; 10 | import recommends from './views/recommends'; 11 | import recommend_details from './views/recommend_details'; 12 | 13 | import shuangseqiu from './views/shuangseqiu'; 14 | import ssq_slip from './views/ssq-slip'; 15 | import daletou from './views/daletou'; 16 | import dlt_slip from './views/dlt-slip'; 17 | import jclq from './views/jclq'; 18 | import renxuanjiu from './views/renxuanjiu'; 19 | import rxj_slip from './views/rxj-slip'; 20 | import pailiesan from './views/pailiesan' 21 | import fc3d from './views/fc3d'; 22 | import shengfucai from './views/shengfucai'; 23 | 24 | import lotteries from './views/lotteries'; 25 | 26 | Vue.use(VueRouter); 27 | export default new VueRouter({ 28 | mode: 'history', 29 | base: '/lottery-vue/', 30 | routes:[ 31 | { 32 | path:"/", 33 | component:Home 34 | },{ 35 | path:"/results", 36 | component:results 37 | },{ 38 | path:"/results/result_history", 39 | component:result_history 40 | },{ 41 | path:'/information', 42 | component:information 43 | },{ 44 | path:'/information/information_detail', 45 | component:information_detail 46 | },{ 47 | path: '/stations', 48 | component:stations 49 | },{ 50 | path:'/stations/station_detail', 51 | component: station_detail 52 | },{ 53 | path:'/recommends', 54 | component:recommends 55 | },{ 56 | path:'/recommends/details', 57 | component:recommend_details 58 | },{ 59 | path: '/shuangseqiu', 60 | component:shuangseqiu 61 | },{ 62 | path: '/shuangseqiu/slip', 63 | component:ssq_slip 64 | },{ 65 | path: '/daletou', 66 | component:daletou 67 | },{ 68 | path:'/daletou/slip', 69 | component:dlt_slip 70 | },{ 71 | path: '/jclq', 72 | component:jclq 73 | },{ 74 | path: '/renxuanjiu', 75 | component:renxuanjiu 76 | },{ 77 | path:'/pailiesan', 78 | component:pailiesan 79 | },{ 80 | path:'/renxuanjiu/slip', 81 | component:rxj_slip 82 | },{ 83 | path:'/fc3d', 84 | component:fc3d 85 | },{ 86 | path:'/shengfucai', 87 | component:shengfucai 88 | },{ 89 | path:'/lotteries', 90 | component:lotteries 91 | } 92 | ] 93 | }) 94 | -------------------------------------------------------------------------------- /src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 120 | 135 | 233 | -------------------------------------------------------------------------------- /src/views/daletou.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 120 | 121 | 126 | -------------------------------------------------------------------------------- /src/views/dlt-slip.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 87 | 88 | 151 | -------------------------------------------------------------------------------- /src/views/fc3d.vue: -------------------------------------------------------------------------------- 1 | 23 | 24 | 122 | 123 | 221 | -------------------------------------------------------------------------------- /src/views/information-detail.vue: -------------------------------------------------------------------------------- 1 | 21 | 33 | 66 | -------------------------------------------------------------------------------- /src/views/information.vue: -------------------------------------------------------------------------------- 1 | 17 | 55 | 109 | -------------------------------------------------------------------------------- /src/views/jclq.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 23 | 24 | 52 | -------------------------------------------------------------------------------- /src/views/lotteries.vue: -------------------------------------------------------------------------------- 1 | 62 | 63 | 77 | 78 | 149 | -------------------------------------------------------------------------------- /src/views/pailiesan.vue: -------------------------------------------------------------------------------- 1 | 23 | 24 | 122 | 123 | 221 | -------------------------------------------------------------------------------- /src/views/recommend_details.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 30 | 64 | -------------------------------------------------------------------------------- /src/views/recommends.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 45 | 46 | 109 | -------------------------------------------------------------------------------- /src/views/renxuanjiu.vue: -------------------------------------------------------------------------------- 1 | 29 | 30 | 61 | 62 | 138 | -------------------------------------------------------------------------------- /src/views/result-history.vue: -------------------------------------------------------------------------------- 1 | 18 | 34 | 84 | -------------------------------------------------------------------------------- /src/views/results.vue: -------------------------------------------------------------------------------- 1 | 19 | 41 | 120 | -------------------------------------------------------------------------------- /src/views/rxj-slip.vue: -------------------------------------------------------------------------------- 1 | 31 | 32 | 53 | 54 | 128 | -------------------------------------------------------------------------------- /src/views/shengfucai.vue: -------------------------------------------------------------------------------- 1 | 29 | 30 | 61 | 62 | 138 | -------------------------------------------------------------------------------- /src/views/shuangseqiu.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 120 | 121 | 220 | -------------------------------------------------------------------------------- /src/views/ssq-slip.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 87 | 88 | 150 | -------------------------------------------------------------------------------- /src/views/station-detail.vue: -------------------------------------------------------------------------------- 1 | 43 | 63 | 190 | -------------------------------------------------------------------------------- /src/views/stations.vue: -------------------------------------------------------------------------------- 1 | 20 | 37 | 109 | -------------------------------------------------------------------------------- /src/vuex/store.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | Vue.use(Vuex); 4 | const ssq = { 5 | state:{ 6 | ticket:[] 7 | }, 8 | mutations: { 9 | ssq_add(state,nums){ 10 | state.ticket.unshift(nums); 11 | }, 12 | ssq_clear(state){ 13 | state.ticket.splice(0,state.ticket.length) 14 | } 15 | }, 16 | actions: {}, 17 | getters: {} 18 | }; 19 | 20 | const dlt = { 21 | state:{ 22 | ticket:[] 23 | }, 24 | mutations:{ 25 | dlt_add(state,nums){ 26 | state.ticket.unshift(nums); 27 | }, 28 | dlt_clear(state){ 29 | state.ticket.splice(0,state.ticket.length) 30 | } 31 | } 32 | } 33 | 34 | export default new Vuex.Store({ 35 | modules:{ 36 | ssq, 37 | dlt 38 | } 39 | }) 40 | -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lee-Cloud/gl-lottery-vue/fc84a112b0e595a9b2dfedc89c836346ede6f63e/static/.gitkeep --------------------------------------------------------------------------------