├── .babelrc
├── .editorconfig
├── .gitignore
├── .idea
├── WebTools.iml
├── deployment.xml
├── jsLibraryMappings.xml
├── misc.xml
├── modules.xml
├── vcs.xml
├── watcherTasks.xml
├── webServers.xml
└── workspace.xml
├── .postcssrc.js
├── README.md
├── build
├── build.js
├── check-versions.js
├── dev-client.js
├── dev-server.js
├── utils.js
├── vue-loader.conf.js
├── webpack.base.conf.js
├── webpack.dev.conf.js
└── webpack.prod.conf.js
├── config
├── dev.env.js
├── index.js
└── prod.env.js
├── dist
├── index.html
└── static
│ ├── css
│ ├── app.7f5a365d46cf7c9f6b539219d9778bc1.css
│ └── app.7f5a365d46cf7c9f6b539219d9778bc1.css.gz
│ ├── img
│ ├── babel.3a1d8d5.svg
│ └── vue.e1ea82c.png
│ └── js
│ ├── 0.1dd72ad71efa0fd55e96.js
│ ├── 0.a751da0ecd9be6fc4742.js
│ ├── 1.0530a2dd89ad366b718d.js
│ ├── 1.0530a2dd89ad366b718d.js.gz
│ ├── 2.33b19557671682065871.js
│ ├── 3.64497ac090daa2796c94.js
│ ├── 4.50797da6842d7d237264.js
│ ├── 5.55b961597925ec6092f6.js
│ ├── 6.6a8e7d7819471454f5b5.js
│ ├── 7.0591f1b35e7b19cb3a09.js
│ ├── 8.f49074200d01c80f5525.js
│ ├── app.4906988304fe255d6502.js
│ ├── app.4906988304fe255d6502.js.gz
│ ├── app.f66d3ee433c3596188a2.js
│ ├── app.f66d3ee433c3596188a2.js.gz
│ ├── manifest.e3b29d2f42cb53391ca7.js
│ ├── manifest.eab01c19ce1c652713b7.js
│ ├── vendor.f18ecee67d6c1b2186b2.js
│ └── vendor.f18ecee67d6c1b2186b2.js.gz
├── index.html
├── note
├── package.json
├── src
├── App.vue
├── GlobalJS
│ └── Public_Function.js
├── api
│ └── api.js
├── assets
│ ├── css
│ │ ├── about.css
│ │ ├── css.css
│ │ ├── footer.css
│ │ ├── head.css
│ │ └── icon.css
│ ├── fonts
│ │ └── materialicons.woff2
│ └── img
│ │ ├── babel.svg
│ │ ├── material.svg
│ │ ├── npm.png
│ │ ├── vue.png
│ │ └── webpack.svg
├── components
│ ├── footer
│ │ └── footer.vue
│ └── head
│ │ └── head.vue
├── config
│ ├── config.js
│ └── config.js~
├── main.js
├── pages
│ ├── Index
│ │ ├── index.vue
│ │ ├── info.js
│ │ └── toolinfo.vue
│ ├── about
│ │ ├── about.js
│ │ └── about.vue
│ ├── all
│ │ ├── all.vue
│ │ ├── journalism
│ │ │ └── info.vue
│ │ ├── movie
│ │ │ └── movie.vue
│ │ ├── weather
│ │ │ ├── weather.js
│ │ │ └── weather.vue
│ │ └── weixin
│ │ │ └── weixin.vue
│ └── contact
│ │ └── contact.vue
└── router
│ └── index.js
└── static
└── .gitkeep
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": ["transform-runtime"],
7 | "comments": false,
8 | "env": {
9 | "test": {
10 | "presets": ["env", "stage-2"],
11 | "plugins": [ "istanbul" ]
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/.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 | .idea/
4 | dist/
5 | note
6 | npm-debug.log
7 | yarn-error.log
8 |
--------------------------------------------------------------------------------
/.idea/WebTools.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/.idea/deployment.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/.idea/jsLibraryMappings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | false
8 |
9 | false
10 | false
11 |
12 |
13 |
14 |
15 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.idea/watcherTasks.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/.idea/webServers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | // to edit target browsers: use "browserlist" field in package.json
6 | "autoprefixer": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## 生活助手
2 |
3 | 基于Vue.js 2.0开发的生活助手APP,本意是将各类零散的日常工具APP,例淘宝高德携程提供一个平台集中起来,为需要的人提供更加便捷快速的获取信息服务的渠道,纯粹开源免费不用做任何商业用途!
4 |
5 | 后期会通过MUI提供的Android SDK将网站打包成APP上线发布,更多功能尽情期待!
6 |
7 | 对了,目前软件正在开发完善阶段,有问题还请多多包含,欢迎各位提出建议!
8 |
9 | 可在这给我留言: [http://geekhelp.cn/message/](http://geekhelp.cn/message/)
10 |
11 |
12 | ## 技术选型
13 |
14 | - Vue.js
15 | - WebPack
16 | - Node.js
17 | - Npm
18 | - ES5
19 | - MuseUI
20 | - Material-Icons
21 | - ...等
22 |
23 |
24 | ## 安装部署
25 |
26 | 1:下载
27 |
28 | ```txt
29 | git clone https://github.com/helpcode/WebTools.git
30 | cd WebTools/
31 | ```
32 |
33 | 2:解决依赖并运行
34 |
35 | ```txt
36 | //初始化
37 | npm install
38 |
39 | //dev 运行网站
40 | npm run dev
41 |
42 | //build 构建发布
43 | npm run build
44 | ```
45 |
46 | ## demo
47 |
48 | **扫一扫即可查看效果,这里不推荐微信打开,别问原因你懂就好!**
49 |
50 |
51 |
52 | 网址:[http://139.224.210.190/tool/](http://139.224.210.190/tool/)
53 |
54 |
55 | ## 运行截图
56 |
57 | 功能之一(在线电影票):
58 |
59 | 
60 |
61 |
62 | 首页:
63 |
64 | 
65 |
66 | 关于我:
67 |
68 | 
69 |
70 | 联系:
71 |
72 | 
73 |
74 |
75 | ## 联系我
76 |
77 | 如果你对我感兴趣想和我一起交流学习可通过以下途径联系我,很欢迎骚扰哦!
78 |
79 | - 1:博客:[geekhelp.cn](http://geekhelp.cn/)
80 |
81 | - 2:QQ:2271608011
82 |
83 | - 3:技术群:[540144097](http://shang.qq.com/wpa/qunwpa?idkey=1c684eb6c3d6b32ac50b0d179096ed64124b9db577add0319b7b1a96a0235656)
84 |
85 | 不介意的话能否打赏一元呢(微信),赞助本人买个键盘呗:
86 |
87 |
88 |
89 |
90 | ## 鸣谢
91 |
92 | 本软件一些功能直接内嵌第三方实现,然而不存在所谓的版权问题所以不要太过于纠结,否则你就输了!同时灰常感谢以下公司提供的服务
93 |
94 | - 1:高德地图
95 | - 2:百度外卖
96 | - 3:神州专车
97 | - 4:携程
98 | - 5:去哪儿
99 | - 6:站长之家
100 | - 7:聚合数据(最不想感谢这货)
101 | - 8:淘票票
102 | - 9:...等
103 |
104 | 因为篇幅原因未能列出的同样也在鸣谢范畴之内,同时鸣谢一些第三方网站提供的免费数据接口。
--------------------------------------------------------------------------------
/build/build.js:
--------------------------------------------------------------------------------
1 | require('./check-versions')()
2 |
3 | process.env.NODE_ENV = 'production'
4 |
5 | var ora = require('ora')
6 | var rm = require('rimraf')
7 | var path = require('path')
8 | var chalk = require('chalk')
9 | var webpack = require('webpack')
10 | var config = require('../config')
11 | var webpackConfig = require('./webpack.prod.conf')
12 |
13 | var spinner = ora('building for production...')
14 | spinner.start()
15 |
16 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
17 | if (err) throw err
18 | webpack(webpackConfig, function (err, stats) {
19 | spinner.stop()
20 | if (err) throw err
21 | process.stdout.write(stats.toString({
22 | colors: true,
23 | modules: false,
24 | children: false,
25 | chunks: false,
26 | chunkModules: false
27 | }) + '\n\n')
28 |
29 | console.log(chalk.cyan(' Build complete.\n'))
30 | console.log(chalk.yellow(
31 | ' Tip: built files are meant to be served over an HTTP server.\n' +
32 | ' Opening index.html over file:// won\'t work.\n'
33 | ))
34 | })
35 | })
36 |
--------------------------------------------------------------------------------
/build/check-versions.js:
--------------------------------------------------------------------------------
1 | var chalk = require('chalk')
2 | var semver = require('semver')
3 | var packageConfig = require('../package.json')
4 |
5 | function exec (cmd) {
6 | return require('child_process').execSync(cmd).toString().trim()
7 | }
8 |
9 | var versionRequirements = [
10 | {
11 | name: 'node',
12 | currentVersion: semver.clean(process.version),
13 | versionRequirement: packageConfig.engines.node
14 | },
15 | {
16 | name: 'npm',
17 | currentVersion: exec('npm --version'),
18 | versionRequirement: packageConfig.engines.npm
19 | }
20 | ]
21 |
22 | module.exports = function () {
23 | var warnings = []
24 | for (var i = 0; i < versionRequirements.length; i++) {
25 | var mod = versionRequirements[i]
26 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
27 | warnings.push(mod.name + ': ' +
28 | chalk.red(mod.currentVersion) + ' should be ' +
29 | chalk.green(mod.versionRequirement)
30 | )
31 | }
32 | }
33 |
34 | if (warnings.length) {
35 | console.log('')
36 | console.log(chalk.yellow('To use this template, you must update following to modules:'))
37 | console.log()
38 | for (var i = 0; i < warnings.length; i++) {
39 | var warning = warnings[i]
40 | console.log(' ' + warning)
41 | }
42 | console.log()
43 | process.exit(1)
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/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 | require('./check-versions')()
2 |
3 | var config = require('../config')
4 | if (!process.env.NODE_ENV) {
5 | process.env.NODE_ENV = JSON.parse(config.dev.env.NODE_ENV)
6 | }
7 |
8 | var opn = require('opn')
9 | var path = require('path')
10 | var express = require('express')
11 | var webpack = require('webpack')
12 | var proxyMiddleware = require('http-proxy-middleware')
13 | var webpackConfig = require('./webpack.dev.conf')
14 |
15 |
16 | var port = process.env.PORT || config.dev.port
17 | var autoOpenBrowser = !!config.dev.autoOpenBrowser
18 |
19 | var proxyTable = config.dev.proxyTable
20 |
21 | var app = express()
22 | var compiler = webpack(webpackConfig)
23 |
24 | var devMiddleware = require('webpack-dev-middleware')(compiler, {
25 | publicPath: webpackConfig.output.publicPath,
26 | quiet: true
27 | })
28 |
29 | var hotMiddleware = require('webpack-hot-middleware')(compiler, {
30 | log: () => {}
31 | })
32 | // force page reload when html-webpack-plugin template changes
33 | compiler.plugin('compilation', function (compilation) {
34 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
35 | hotMiddleware.publish({ action: 'reload' })
36 | cb()
37 | })
38 | })
39 |
40 | // proxy api requests
41 | Object.keys(proxyTable).forEach(function (context) {
42 | var options = proxyTable[context]
43 | if (typeof options === 'string') {
44 | options = { target: options }
45 | }
46 | app.use(proxyMiddleware(options.filter || context, options))
47 | })
48 |
49 |
50 | app.use(require('connect-history-api-fallback')())
51 |
52 |
53 | app.use(devMiddleware)
54 |
55 | app.use(hotMiddleware)
56 |
57 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory)
58 | app.use(staticPath, express.static('./static'))
59 |
60 | var uri = 'http://localhost:' + port
61 |
62 | var _resolve
63 | var readyPromise = new Promise(resolve => {
64 | _resolve = resolve
65 | })
66 |
67 | console.log('> Starting dev server...')
68 | devMiddleware.waitUntilValid(() => {
69 | console.log('> Listening at ' + uri + '\n')
70 |
71 | if (autoOpenBrowser && process.env.NODE_ENV !== 'testing') {
72 | opn(uri)
73 | }
74 | _resolve()
75 | })
76 |
77 | var server = app.listen(port)
78 |
79 | module.exports = {
80 | ready: readyPromise,
81 | close: () => {
82 | server.close()
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/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 |
15 | var cssLoader = {
16 | loader: 'css-loader',
17 | options: {
18 | minimize: process.env.NODE_ENV === 'production',
19 | sourceMap: options.sourceMap
20 | }
21 | }
22 |
23 | function generateLoaders (loader, loaderOptions) {
24 | var loaders = [cssLoader]
25 | if (loader) {
26 | loaders.push({
27 | loader: loader + '-loader',
28 | options: Object.assign({}, loaderOptions, {
29 | sourceMap: options.sourceMap
30 | })
31 | })
32 | }
33 |
34 | if (options.extract) {
35 | return ExtractTextPlugin.extract({
36 | use: loaders,
37 | fallback: 'vue-style-loader'
38 | })
39 | } else {
40 | return ['vue-style-loader'].concat(loaders)
41 | }
42 | }
43 |
44 | return {
45 | css: generateLoaders(),
46 | postcss: generateLoaders(),
47 | less: generateLoaders('less'),
48 | sass: generateLoaders('sass', { indentedSyntax: true }),
49 | scss: generateLoaders('sass'),
50 | stylus: generateLoaders('stylus'),
51 | styl: generateLoaders('stylus')
52 | }
53 | }
54 |
55 | exports.styleLoaders = function (options) {
56 | var output = []
57 | var loaders = exports.cssLoaders(options)
58 | for (var extension in loaders) {
59 | var loader = loaders[extension]
60 | output.push({
61 | test: new RegExp('\\.' + extension + '$'),
62 | use: loader
63 | })
64 | }
65 | return output
66 | }
67 |
--------------------------------------------------------------------------------
/build/vue-loader.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var config = require('../config')
3 | var isProduction = process.env.NODE_ENV === 'production'
4 |
5 | module.exports = {
6 | loaders: utils.cssLoaders({
7 | sourceMap: isProduction
8 | ? config.build.productionSourceMap
9 | : config.dev.cssSourceMap,
10 | extract: isProduction
11 | })
12 | }
13 |
--------------------------------------------------------------------------------
/build/webpack.base.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var config = require('../config')
4 | var vueLoaderConfig = require('./vue-loader.conf')
5 | const ExtractTextPlugin = require("extract-text-webpack-plugin")
6 |
7 | function resolve (dir) {
8 | return path.join(__dirname, '..', dir)
9 | }
10 |
11 | module.exports = {
12 | entry: {
13 | app: './src/main.js'
14 | },
15 | output: {
16 | path: config.build.assetsRoot,
17 | filename: '[name].js',
18 | publicPath: process.env.NODE_ENV === 'production'
19 | ? config.build.assetsPublicPath
20 | : config.dev.assetsPublicPath
21 | },
22 | resolve: {
23 | extensions: ['.js', '.vue', '.json'],
24 | alias: {
25 | 'vue$': 'vue/dist/vue.esm.js',
26 | '@': resolve('src')
27 | }
28 | },
29 | module: {
30 | rules: [
31 | {
32 | test: /\.vue$/,
33 | loader: 'vue-loader',
34 | options: vueLoaderConfig
35 | },
36 | {
37 | test: /\.js$/,
38 | loader: 'babel-loader',
39 | include: [resolve('src'), resolve('test')]
40 | },
41 | {
42 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
43 | loader: 'url-loader',
44 | query: {
45 | limit: 10000,
46 | name: utils.assetsPath('img/[name].[hash:7].[ext]')
47 | }
48 | },
49 | {
50 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
51 | loader: 'url-loader',
52 | query: {
53 | limit: 10000,
54 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
55 | }
56 | }
57 | ]
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/build/webpack.dev.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var webpack = require('webpack')
3 | var config = require('../config')
4 | var merge = require('webpack-merge')
5 | var baseWebpackConfig = require('./webpack.base.conf')
6 | var HtmlWebpackPlugin = require('html-webpack-plugin')
7 | var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
8 |
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 | rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
16 | },
17 |
18 | devtool: '#cheap-module-eval-source-map',
19 | plugins: [
20 | new webpack.DefinePlugin({
21 | 'process.env': config.dev.env
22 | }),
23 |
24 | new webpack.HotModuleReplacementPlugin(),
25 | new webpack.NoEmitOnErrorsPlugin(),
26 |
27 | new HtmlWebpackPlugin({
28 | filename: 'index.html',
29 | template: 'index.html',
30 | inject: true
31 | }),
32 | new FriendlyErrorsPlugin()
33 | ]
34 | })
35 |
--------------------------------------------------------------------------------
/build/webpack.prod.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var webpack = require('webpack')
4 | var config = require('../config')
5 | var merge = require('webpack-merge')
6 | var baseWebpackConfig = require('./webpack.base.conf')
7 | var CopyWebpackPlugin = require('copy-webpack-plugin')
8 | var HtmlWebpackPlugin = require('html-webpack-plugin')
9 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
10 | var OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
11 |
12 | var env = config.build.env
13 |
14 | var webpackConfig = merge(baseWebpackConfig, {
15 | module: {
16 | rules: utils.styleLoaders({
17 | sourceMap: config.build.productionSourceMap,
18 | extract: true
19 | })
20 | },
21 | devtool: config.build.productionSourceMap ? '#source-map' : false,
22 | output: {
23 | path: config.build.assetsRoot,
24 | filename: utils.assetsPath('js/[name].[chunkhash].js'),
25 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
26 | },
27 | plugins: [
28 | // http://vuejs.github.io/vue-loader/en/workflow/production.html
29 | new webpack.DefinePlugin({
30 | 'process.env': env
31 | }),
32 | new webpack.optimize.UglifyJsPlugin({
33 | compress: {
34 | warnings: false
35 | },
36 | sourceMap: true
37 | }),
38 |
39 | new ExtractTextPlugin({
40 | filename: utils.assetsPath('css/[name].[contenthash].css')
41 | }),
42 |
43 | new OptimizeCSSPlugin({
44 | cssProcessorOptions: {
45 | safe: true
46 | }
47 | }),
48 |
49 | new HtmlWebpackPlugin({
50 | filename: config.build.index,
51 | template: 'index.html',
52 | inject: true,
53 | minify: {
54 | removeComments: true,
55 | collapseWhitespace: true,
56 | removeAttributeQuotes: true
57 | },
58 | chunksSortMode: 'dependency'
59 | }),
60 |
61 | new webpack.optimize.CommonsChunkPlugin({
62 | name: 'vendor',
63 | minChunks: function (module, count) {
64 | return (
65 | module.resource &&
66 | /\.js$/.test(module.resource) &&
67 | module.resource.indexOf(
68 | path.join(__dirname, '../node_modules')
69 | ) === 0
70 | )
71 | }
72 | }),
73 |
74 | new webpack.optimize.CommonsChunkPlugin({
75 | name: 'manifest',
76 | chunks: ['vendor']
77 | }),
78 | new CopyWebpackPlugin([
79 | {
80 | from: path.resolve(__dirname, '../static'),
81 | to: config.build.assetsSubDirectory,
82 | ignore: ['.*']
83 | }
84 | ])
85 | ]
86 | })
87 |
88 | if (config.build.productionGzip) {
89 | var CompressionWebpackPlugin = require('compression-webpack-plugin')
90 |
91 | webpackConfig.plugins.push(
92 | new CompressionWebpackPlugin({
93 | asset: '[path].gz[query]',
94 | algorithm: 'gzip',
95 | test: new RegExp(
96 | '\\.(' +
97 | config.build.productionGzipExtensions.join('|') +
98 | ')$'
99 | ),
100 | threshold: 10240,
101 | minRatio: 0.8
102 | })
103 | )
104 | }
105 |
106 | if (config.build.bundleAnalyzerReport) {
107 | var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
108 | webpackConfig.plugins.push(new BundleAnalyzerPlugin())
109 | }
110 |
111 | module.exports = webpackConfig
112 |
--------------------------------------------------------------------------------
/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: false,
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: true,
17 | productionGzipExtensions: ['js', 'css','html'],
18 | // Run the build command with an extra argument to
19 | // View the bundle analyzer report after build finishes:
20 | // `npm run build --report`
21 | // Set to `true` or `false` to always turn it on or off
22 | bundleAnalyzerReport: process.env.npm_config_report
23 | },
24 | dev: {
25 | env: require('./dev.env'),
26 | port: 8080,
27 | autoOpenBrowser: true,
28 | assetsSubDirectory: 'static',
29 | assetsPublicPath: '/',
30 | proxyTable: {},
31 | // CSS Sourcemaps off by default because relative paths are "buggy"
32 | // with this option, according to the CSS-Loader README
33 | // (https://github.com/webpack/css-loader#sourcemaps)
34 | // In our experience, they generally work as expected,
35 | // just be aware of this issue when enabling this option.
36 | cssSourceMap: false
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/dist/index.html:
--------------------------------------------------------------------------------
1 |
Web工具站
2 |
--------------------------------------------------------------------------------
/dist/static/css/app.7f5a365d46cf7c9f6b539219d9778bc1.css.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/dist/static/css/app.7f5a365d46cf7c9f6b539219d9778bc1.css.gz
--------------------------------------------------------------------------------
/dist/static/img/babel.3a1d8d5.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/static/img/vue.e1ea82c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/dist/static/img/vue.e1ea82c.png
--------------------------------------------------------------------------------
/dist/static/js/0.1dd72ad71efa0fd55e96.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([0],{108:function(t,o,i){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=i(116);o.default={mounted:function(){this.$SetTitle(this.$BottomNav[2].ItemTitle)},data:function(){return{bottomSheet:!1}},methods:{openBottomSheet:function(t){e.a.openBottomSheet(this,t)}}}},116:function(t,o,i){"use strict";o.a={openBottomSheet:function(t,o){var i=t;if(void 0!==o.title)switch(o.title){case"MyBlog":i.$GoToUrl(i.$myblog);break;case"GitHub":i.$GoToUrl(i.$github);break;case"KnowMe":i.$GoToUrl(i.$knowme)}i.bottomSheet=!i.bottomSheet}}},122:function(t,o,i){o=t.exports=i(95)(),o.i(i(127),""),o.push([t.i,"",""])},127:function(t,o,i){o=t.exports=i(95)(),o.push([t.i,".text-center-about{margin-top:20px;text-align:center;line-height:24px;padding:0 60px 20px}.text-center-lable-about{margin-top:0!important;color:#000;opacity:.7}.hr-line-about{margin-bottom:15px}.hr-line-bottom-about{margin-top:10px}.mu-logo-about{width:40px;height:40px;background-color:#03a9f4;text-align:center;line-height:40px;color:#fff;font-size:18px;border-radius:50%}.technology-list-about{padding:18px;opacity:.7}.technology-icon-about{width:40px;height:40px}.border-about{border-radius:50%}.send-technology-icon-about{margin-top:20px}",""])},132:function(t,o,i){var e=i(122);"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);i(96)("3f78927c",e,!0)},137:function(t,o,i){t.exports=i.p+"static/img/babel.3a1d8d5.svg"},138:function(t,o){t.exports="data:image/svg+xml;base64,PHN2ZyBpZD0iY29udGVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTQ0IDE0NCI+PHRpdGxlPmljX2ljb25zXzE0NHB4X2xpZ2h0PC90aXRsZT48Y2lyY2xlIGN4PSI3MiIgY3k9IjcyIiByPSI3MiIgZmlsbD0iIzI5NzlmZiIvPjxyZWN0IHdpZHRoPSIxNDQiIGhlaWdodD0iMTQ0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNDQgMTQ0KSByb3RhdGUoMTgwKSIgZmlsbD0ibm9uZSIvPjxjaXJjbGUgY3g9IjcyIiBjeT0iNzIiIHI9IjQ4IiBmaWxsPSIjNDBjNGZmIi8+PGNpcmNsZSBjeD0iNzIiIGN5PSI3MiIgcj0iMjQiIGZpbGw9IiNmZmYiLz48L3N2Zz4="},139:function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAklEQVR4AewaftIAAADKSURBVOXBsU0CAQBA0c/PJSYkjmBBYUF3K7ASgzAOLQPQXGFB7wgmFytxBK4wnua/t7nCnRCJkRiJkRiJkRiJkRiJGVjo5XRiO478RfM08X48ssTAQttx5Plw4L+TGImRGImRGImRGIkZWMnbfs8jT7sdr+czP2lgJZ+3G2uQGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRmIGF5mnit33NMx+XC4/M08RSmyvcCZEYiZEYiZEYiZEYiZGYbw1HGz2iTM6AAAAAAElFTkSuQmCC"},140:function(t,o,i){t.exports=i.p+"static/img/vue.e1ea82c.png"},141:function(t,o){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMDAiPjx0aXRsZT5pY29uLXNxdWFyZS1iaWc8L3RpdGxlPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik02MDAgMGw1MzAuMyAzMDB2NjAwTDYwMCAxMjAwIDY5LjcgOTAwVjMwMHoiLz48cGF0aCBmaWxsPSIjOEVENkZCIiBjbGFzcz0ic3QxIiBkPSJNMTAzNS42IDg3OS4zbC00MTguMSAyMzYuNVY5MzEuNkw4NzggNzg4LjNsMTU3LjYgOTF6bTI4LjYtMjUuOVYzNTguOGwtMTUzIDg4LjNWNzY1bDE1MyA4OC40em0tOTAxLjUgMjUuOWw0MTguMSAyMzYuNVY5MzEuNkwzMjAuMyA3ODguM2wtMTU3LjYgOTF6bS0yOC42LTI1LjlWMzU4LjhsMTUzIDg4LjNWNzY1bC0xNTMgODguNHpNMTUyIDMyNi44TDU4MC44IDg0LjJ2MTc4LjFMMzA2LjEgNDEzLjRsLTIuMSAxLjItMTUyLTg3Ljh6bTg5NC4zIDBMNjE3LjUgODQuMnYxNzguMWwyNzQuNyAxNTEuMSAyLjEgMS4yIDE1Mi04Ny44eiIvPjxwYXRoIGZpbGw9IiMxQzc4QzAiIGQ9Ik01ODAuOCA4ODkuN2wtMjU3LTE0MS4zdi0yODBsMjU3IDE0OC40djI3Mi45em0zNi43IDBsMjU3LTE0MS4zdi0yODBsLTI1NyAxNDguNHYyNzIuOXptLTE4LjMtMjgzLjZ6TTM0MS4yIDQzNmwyNTgtMTQxLjkgMjU4IDE0MS45LTI1OCAxNDktMjU4LTE0OXoiLz48L3N2Zz4NCg=="},146:function(t,o,i){t.exports={render:function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{attrs:{id:"content-component"}},[e("br"),e("br"),t._v(" "),e("div",{staticClass:"demo-grid"},[e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"15"}}),t._v(" "),e("mu-col",{attrs:{width:"32",tablet:"30",desktop:"20"}},[e("img",{attrs:{width:"130",height:"130",src:t.$LeftAboutMe.LeftAboutMeFirst.WeiXinImgUrl,alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"15"}})],1),t._v(" "),e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"100"}},[e("mu-content-block",{staticClass:"text-center-about"},[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.AboutMeTitle)+"\n "),e("br"),t._v(" "),e("a",{attrs:{href:"https://github.com/helpcode/WebTools",target:"_blank"}},[t._v("GitHub")])])],1),t._v(" "),e("mu-divider",{staticClass:"hr-line-about"}),t._v(" "),e("mu-col",{staticClass:"technology-list-about",attrs:{width:"100",tablet:"100",desktop:"100"}},[e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{src:i(140),alt:"Vue.js"}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("div",{staticClass:"mu-logo-about"},[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.MuLogoAbout)+"\n ")])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(138),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(141),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about border-about",attrs:{width:"",src:i(139),alt:""}})])],1),t._v(" "),e("mu-row",{staticClass:"send-technology-icon-about",attrs:{gutter:""}},[e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"octicon octicon-mark-github",attrs:{"aria-hidden":"true",height:"32",version:"1.1",viewBox:"0 0 16 16",width:"32"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(137),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4612"}},[e("path",{attrs:{d:"M112.198 80.609h799.677l-65.412 759.139-339.032 104.107-322.449-104.107-72.784-759.139z m640.296 229.398l19.347-115.158-515-0.923 33.168 345.482h335.348v90.287l-112.396 39.617-117.006-41.457-7.367-48.829-92.13 0.922 13.82 121.609 197.155 69.1 207.29-65.412 26.714-278.229H376.606l-9.212-117.004 385.099-0.001z m0 0z",fill:"#D81E06","p-id":"4613"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6761"}},[e("path",{attrs:{d:"M512.564 678.976 512.564 678.976z",fill:"#049AA9","p-id":"6762"}}),e("path",{attrs:{d:"M128 64l69.892 806.438L511.534 960l314.518-89.7L896 64 128 64zM709.352 733.796l-197.214 56.25-196.916-56.496L301.728 578l96.506 0 6.866 79.124 107.172 30.326 0.264 0.546 0.068 0 106.934-29.704L630.762 530 406 530l-8-100 241.292 0 8.792-102L280 328l-8-98L753.16 230 709.352 733.796z",fill:"#049AA9","p-id":"6763"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7665"}},[e("path",{attrs:{d:"M1004.728 466.4l-447.104-447.072c-25.728-25.76-67.488-25.76-93.28 0l-103.872 103.872 78.176 78.176c12.544-5.984 26.56-9.376 41.376-9.376 53.024 0 96 42.976 96 96 0 14.816-3.36 28.864-9.376 41.376l127.968 127.968c12.544-5.984 26.56-9.376 41.376-9.376 53.024 0 96 42.976 96 96s-42.976 96-96 96-96-42.976-96-96c0-14.816 3.36-28.864 9.376-41.376l-127.968-127.968c-3.04 1.472-6.176 2.752-9.376 3.872l0 266.976c37.28 13.184 64 48.704 64 90.528 0 53.024-42.976 96-96 96s-96-42.976-96-96c0-41.792 26.72-77.344 64-90.528l0-266.976c-37.28-13.184-64-48.704-64-90.528 0-14.816 3.36-28.864 9.376-41.376l-78.176-78.176-295.904 295.872c-25.76 25.792-25.76 67.52 0 93.28l447.136 447.072c25.728 25.76 67.488 25.76 93.28 0l444.992-444.992c25.76-25.76 25.76-67.552 0-93.28z","p-id":"7666"}})])])],1)],1),t._v(" "),e("mu-divider",{staticClass:"hr-line-about hr-line-bottom-about"}),t._v(" "),e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"90"}},[e("mu-sub-header",[t._v(t._s(t.$LeftAboutMe.LeftAboutMeFirst.UpdateLog))]),t._v(" "),t._l(t.$UpdateLog,function(o){return e("mu-list-item",{attrs:{title:o.UpdateLogTitle}},[e("mu-icon",{attrs:{value:o.UpdateLogIcon,color:"indigo"},slot:"leftAvatar"}),t._v(" "),e("span",{slot:"describe"},[t._v("\n "+t._s(o.UpdateLogContent)+"\n ")])],1)})],2),t._v(" "),e("mu-divider",{staticClass:"hr-line-about hr-line-bottom-about"}),t._v(" "),e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"90"}},[e("mu-content-block",{staticClass:"text-center-about text-center-lable-about"},[e("mu-flat-button",{staticClass:"demo-flat-button",attrs:{label:t.$LeftAboutMe.LeftAboutMeFirst.WeiXinImgByBmy,secondary:""},on:{click:t.openBottomSheet}}),t._v(" "),e("mu-bottom-sheet",{attrs:{open:t.bottomSheet},on:{close:t.openBottomSheet}},[e("mu-list",{on:{itemClick:t.openBottomSheet}},[e("mu-sub-header",[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.YourChoice)+"\n ")]),t._v(" "),e("mu-list-item",{attrs:{title:"MyBlog"}}),t._v(" "),e("mu-list-item",{attrs:{title:"GitHub"}}),t._v(" "),e("mu-list-item",{attrs:{title:"KnowMe"}})],1)],1)],1)],1)],1)],1)])},staticRenderFns:[]}},99:function(t,o,i){i(132);var e=i(14)(i(108),i(146),"data-v-5fc49a4a",null);t.exports=e.exports}});
--------------------------------------------------------------------------------
/dist/static/js/0.a751da0ecd9be6fc4742.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([0],{108:function(t,o,i){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=i(116);o.default={mounted:function(){this.$SetTitle(this.$BottomNav[2].ItemTitle)},data:function(){return{bottomSheet:!1}},methods:{openBottomSheet:function(t){e.a.openBottomSheet(this,t)}}}},116:function(t,o,i){"use strict";o.a={openBottomSheet:function(t,o){var i=t;if(void 0!==o.title)switch(o.title){case"MyBlog":i.$GoToUrl(i.$myblog);break;case"GitHub":i.$GoToUrl(i.$github);break;case"KnowMe":i.$GoToUrl(i.$knowme)}i.bottomSheet=!i.bottomSheet}}},122:function(t,o,i){o=t.exports=i(95)(),o.i(i(127),""),o.push([t.i,"",""])},127:function(t,o,i){o=t.exports=i(95)(),o.push([t.i,".text-center-about{margin-top:20px;text-align:center;line-height:24px;padding:0 60px 20px}.text-center-lable-about{margin-top:0!important;color:#000;opacity:.7}.hr-line-about{margin-bottom:15px}.hr-line-bottom-about{margin-top:10px}.mu-logo-about{width:40px;height:40px;background-color:#03a9f4;text-align:center;line-height:40px;color:#fff;font-size:18px;border-radius:50%}.technology-list-about{padding:18px;opacity:.7}.technology-icon-about{width:40px;height:40px}.border-about{border-radius:50%}.send-technology-icon-about{margin-top:20px}",""])},132:function(t,o,i){var e=i(122);"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);i(96)("3f78927c",e,!0)},137:function(t,o,i){t.exports=i.p+"static/img/babel.3a1d8d5.svg"},138:function(t,o){t.exports="data:image/svg+xml;base64,PHN2ZyBpZD0iY29udGVudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTQ0IDE0NCI+PHRpdGxlPmljX2ljb25zXzE0NHB4X2xpZ2h0PC90aXRsZT48Y2lyY2xlIGN4PSI3MiIgY3k9IjcyIiByPSI3MiIgZmlsbD0iIzI5NzlmZiIvPjxyZWN0IHdpZHRoPSIxNDQiIGhlaWdodD0iMTQ0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNDQgMTQ0KSByb3RhdGUoMTgwKSIgZmlsbD0ibm9uZSIvPjxjaXJjbGUgY3g9IjcyIiBjeT0iNzIiIHI9IjQ4IiBmaWxsPSIjNDBjNGZmIi8+PGNpcmNsZSBjeD0iNzIiIGN5PSI3MiIgcj0iMjQiIGZpbGw9IiNmZmYiLz48L3N2Zz4="},139:function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAklEQVR4AewaftIAAADKSURBVOXBsU0CAQBA0c/PJSYkjmBBYUF3K7ASgzAOLQPQXGFB7wgmFytxBK4wnua/t7nCnRCJkRiJkRiJkRiJkRiJGVjo5XRiO478RfM08X48ssTAQttx5Plw4L+TGImRGImRGImRGIkZWMnbfs8jT7sdr+czP2lgJZ+3G2uQGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRGImRmIGF5mnit33NMx+XC4/M08RSmyvcCZEYiZEYiZEYiZEYiZGYbw1HGz2iTM6AAAAAAElFTkSuQmCC"},140:function(t,o,i){t.exports=i.p+"static/img/vue.e1ea82c.png"},141:function(t,o){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMDAiPjx0aXRsZT5pY29uLXNxdWFyZS1iaWc8L3RpdGxlPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik02MDAgMGw1MzAuMyAzMDB2NjAwTDYwMCAxMjAwIDY5LjcgOTAwVjMwMHoiLz48cGF0aCBmaWxsPSIjOEVENkZCIiBjbGFzcz0ic3QxIiBkPSJNMTAzNS42IDg3OS4zbC00MTguMSAyMzYuNVY5MzEuNkw4NzggNzg4LjNsMTU3LjYgOTF6bTI4LjYtMjUuOVYzNTguOGwtMTUzIDg4LjNWNzY1bDE1MyA4OC40em0tOTAxLjUgMjUuOWw0MTguMSAyMzYuNVY5MzEuNkwzMjAuMyA3ODguM2wtMTU3LjYgOTF6bS0yOC42LTI1LjlWMzU4LjhsMTUzIDg4LjNWNzY1bC0xNTMgODguNHpNMTUyIDMyNi44TDU4MC44IDg0LjJ2MTc4LjFMMzA2LjEgNDEzLjRsLTIuMSAxLjItMTUyLTg3Ljh6bTg5NC4zIDBMNjE3LjUgODQuMnYxNzguMWwyNzQuNyAxNTEuMSAyLjEgMS4yIDE1Mi04Ny44eiIvPjxwYXRoIGZpbGw9IiMxQzc4QzAiIGQ9Ik01ODAuOCA4ODkuN2wtMjU3LTE0MS4zdi0yODBsMjU3IDE0OC40djI3Mi45em0zNi43IDBsMjU3LTE0MS4zdi0yODBsLTI1NyAxNDguNHYyNzIuOXptLTE4LjMtMjgzLjZ6TTM0MS4yIDQzNmwyNTgtMTQxLjkgMjU4IDE0MS45LTI1OCAxNDktMjU4LTE0OXoiLz48L3N2Zz4NCg=="},146:function(t,o,i){t.exports={render:function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{attrs:{id:"content-component"}},[e("br"),e("br"),t._v(" "),e("div",{staticClass:"demo-grid"},[e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"15"}}),t._v(" "),e("mu-col",{attrs:{width:"32",tablet:"30",desktop:"20"}},[e("img",{attrs:{width:"130",height:"130",src:t.$LeftAboutMe.LeftAboutMeFirst.WeiXinImgUrl,alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"15"}})],1),t._v(" "),e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"100"}},[e("mu-content-block",{staticClass:"text-center-about"},[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.AboutMeTitle)+"\n ")])],1),t._v(" "),e("mu-divider",{staticClass:"hr-line-about"}),t._v(" "),e("mu-col",{staticClass:"technology-list-about",attrs:{width:"100",tablet:"100",desktop:"100"}},[e("mu-row",{attrs:{gutter:""}},[e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{src:i(140),alt:"Vue.js"}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("div",{staticClass:"mu-logo-about"},[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.MuLogoAbout)+"\n ")])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(138),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(141),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about border-about",attrs:{width:"",src:i(139),alt:""}})])],1),t._v(" "),e("mu-row",{staticClass:"send-technology-icon-about",attrs:{gutter:""}},[e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"octicon octicon-mark-github",attrs:{"aria-hidden":"true",height:"32",version:"1.1",viewBox:"0 0 16 16",width:"32"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("img",{staticClass:"technology-icon-about",attrs:{width:"",src:i(137),alt:""}})]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4612"}},[e("path",{attrs:{d:"M112.198 80.609h799.677l-65.412 759.139-339.032 104.107-322.449-104.107-72.784-759.139z m640.296 229.398l19.347-115.158-515-0.923 33.168 345.482h335.348v90.287l-112.396 39.617-117.006-41.457-7.367-48.829-92.13 0.922 13.82 121.609 197.155 69.1 207.29-65.412 26.714-278.229H376.606l-9.212-117.004 385.099-0.001z m0 0z",fill:"#D81E06","p-id":"4613"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6761"}},[e("path",{attrs:{d:"M512.564 678.976 512.564 678.976z",fill:"#049AA9","p-id":"6762"}}),e("path",{attrs:{d:"M128 64l69.892 806.438L511.534 960l314.518-89.7L896 64 128 64zM709.352 733.796l-197.214 56.25-196.916-56.496L301.728 578l96.506 0 6.866 79.124 107.172 30.326 0.264 0.546 0.068 0 106.934-29.704L630.762 530 406 530l-8-100 241.292 0 8.792-102L280 328l-8-98L753.16 230 709.352 733.796z",fill:"#049AA9","p-id":"6763"}})])]),t._v(" "),e("mu-col",{attrs:{width:"20"}},[e("svg",{staticClass:"technology-icon-about",attrs:{viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7665"}},[e("path",{attrs:{d:"M1004.728 466.4l-447.104-447.072c-25.728-25.76-67.488-25.76-93.28 0l-103.872 103.872 78.176 78.176c12.544-5.984 26.56-9.376 41.376-9.376 53.024 0 96 42.976 96 96 0 14.816-3.36 28.864-9.376 41.376l127.968 127.968c12.544-5.984 26.56-9.376 41.376-9.376 53.024 0 96 42.976 96 96s-42.976 96-96 96-96-42.976-96-96c0-14.816 3.36-28.864 9.376-41.376l-127.968-127.968c-3.04 1.472-6.176 2.752-9.376 3.872l0 266.976c37.28 13.184 64 48.704 64 90.528 0 53.024-42.976 96-96 96s-96-42.976-96-96c0-41.792 26.72-77.344 64-90.528l0-266.976c-37.28-13.184-64-48.704-64-90.528 0-14.816 3.36-28.864 9.376-41.376l-78.176-78.176-295.904 295.872c-25.76 25.792-25.76 67.52 0 93.28l447.136 447.072c25.728 25.76 67.488 25.76 93.28 0l444.992-444.992c25.76-25.76 25.76-67.552 0-93.28z","p-id":"7666"}})])])],1)],1),t._v(" "),e("mu-divider",{staticClass:"hr-line-about hr-line-bottom-about"}),t._v(" "),e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"90"}},[e("mu-sub-header",[t._v(t._s(t.$LeftAboutMe.LeftAboutMeFirst.UpdateLog))]),t._v(" "),t._l(t.$UpdateLog,function(o){return e("mu-list-item",{attrs:{title:o.UpdateLogTitle}},[e("mu-icon",{attrs:{value:o.UpdateLogIcon,color:"indigo"},slot:"leftAvatar"}),t._v(" "),e("span",{slot:"describe"},[t._v("\n "+t._s(o.UpdateLogContent)+"\n ")])],1)})],2),t._v(" "),e("mu-divider",{staticClass:"hr-line-about hr-line-bottom-about"}),t._v(" "),e("mu-col",{attrs:{width:"100",tablet:"100",desktop:"90"}},[e("mu-content-block",{staticClass:"text-center-about text-center-lable-about"},[e("mu-flat-button",{staticClass:"demo-flat-button",attrs:{label:t.$LeftAboutMe.LeftAboutMeFirst.WeiXinImgByBmy,secondary:""},on:{click:t.openBottomSheet}}),t._v(" "),e("mu-bottom-sheet",{attrs:{open:t.bottomSheet},on:{close:t.openBottomSheet}},[e("mu-list",{on:{itemClick:t.openBottomSheet}},[e("mu-sub-header",[t._v("\n "+t._s(t.$LeftAboutMe.LeftAboutMeFirst.YourChoice)+"\n ")]),t._v(" "),e("mu-list-item",{attrs:{title:"MyBlog"}}),t._v(" "),e("mu-list-item",{attrs:{title:"GitHub"}}),t._v(" "),e("mu-list-item",{attrs:{title:"KnowMe"}})],1)],1)],1)],1)],1)],1)])},staticRenderFns:[]}},99:function(t,o,i){i(132);var e=i(14)(i(108),i(146),"data-v-5fc49a4a",null);t.exports=e.exports}});
--------------------------------------------------------------------------------
/dist/static/js/1.0530a2dd89ad366b718d.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([1],{103:function(t,e,c){c(129);var a=c(14)(c(112),c(143),"data-v-295ce8bb",null);t.exports=a.exports},112:function(t,e,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=c(117);e.default={mounted:function(){this.$SetTitle(this.$route.query.ti),this.NoCity=!0},data:function(){return{dataSource:a.a.CityData(),YouCityWeather:{YouCityWeatherCurrentCity:"",YouCityWeatherPm25:"",YouCityWeatherWeatherData:{}},NoCity:!1}},methods:{UserInput:function(t){t?this.$http.jsonp(this.$WeatherApiUrl(t)).then(function(t){"No result available"==t.body.status?this.NoCity=!0:(this.YouCityWeather.YouCityWeatherCurrentCity=t.body.results[0].currentCity,this.YouCityWeather.YouCityWeatherPm25=t.body.results[0].pm25,this.YouCityWeather.YouCityWeatherWeatherData=t.body.results[0].weather_data,this.NoCity=!1)},function(t){console.log(t)}):this.NoCity=!0}}}},117:function(t,e,c){"use strict";e.a={CityData:function(){return["北京","上海","苏州","杭州","合肥"]},WeatherApiUrl:function(t){return"http://api.map.baidu.com/telematics/v3/weather?location="+t+"&output=json&ak=t1fLY5kTo0eegUAqtENfvPzn"}}},119:function(t,e,c){e=t.exports=c(95)(),e.push([t.i,".mu-card[data-v-295ce8bb]{box-shadow:0 0 0 hsla(0,0%,100%,0)}.NoError[data-v-295ce8bb]{color:#cbcbcb}.center-weather[data-v-295ce8bb]{text-align:center;margin:5px}.margin-top[data-v-295ce8bb]{padding-top:15%}",""])},129:function(t,e,c){var a=c(119);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);c(96)("292deb2f",a,!0)},143:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{attrs:{id:"content-component"}},[c("div",{staticClass:"demo-grid margin-top"},[c("mu-row",{attrs:{gutter:""}},[c("mu-col",{staticClass:"center-weather",attrs:{width:"100",tablet:"100",desktop:"100"}},[c("svg",{staticClass:"icon",staticStyle:{width:"20%",height:"20%"},attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"593"}},[c("path",{attrs:{d:"M511.998984 252.156591c143.962229 0 260.171479 116.20925 260.171478 260.171479s-116.20925 260.171479-260.171478 260.171479-260.171479-116.20925-260.171479-260.171479 116.211282-260.171479 260.171479-260.171479",fill:"#FFE079","p-id":"594"}}),c("path",{attrs:{d:"M303.861801 1024h-3.469631c-3.469631-1.733799-5.20343-5.20343-5.203429-8.67306v-3.469631l29.486778-71.114215c1.733799-5.20343 6.937229-6.937229 12.140658-5.203429 3.469631 1.733799 5.20343 5.20343 5.20343 8.67306v3.46963l-29.486779 71.114215c-1.731766 3.467598-5.201397 5.20343-8.671027 5.20343z m416.274366-1.735832c-3.469631 0-6.937229-1.733799-8.67306-5.203429L681.978361 947.682355v-3.46963c0-3.469631 1.733799-6.937229 5.203429-8.67306 5.20343-1.733799 8.67306 0 12.140658 5.203429l29.486779 69.378384v3.46963c0 3.469631-1.733799 6.937229-5.20343 8.67306h-3.46963z m-208.137183-32.954376c-5.20343 0-8.67306-3.469631-8.67306-8.67306v-138.7588c0-5.20343 3.469631-8.67306 8.67306-8.67306s8.67306 3.469631 8.67306 8.67306v138.7588c0 5.20343-3.469631 8.67306-8.67306 8.67306z m152.635289-100.598961c-3.469631 0-6.937229-1.733799-8.67306-5.20343l-26.017148-64.174953v-3.469631c0-3.469631 1.733799-6.937229 5.203429-8.67306 5.20343-1.733799 8.67306 0 12.140659 5.203429l26.017148 64.174954v3.469631c0 3.469631-1.733799 6.937229-5.20343 8.67306h-3.467598z m-305.268546 0h-3.469631c-3.469631-1.733799-5.20343-5.20343-5.203429-8.67306v-3.469631l26.017148-64.174954c1.733799-5.20343 6.937229-6.937229 12.140658-5.203429 3.469631 1.733799 5.20343 5.20343 5.203429 8.67306v3.469631l-26.017147 64.174953c-1.733799 3.467598-5.201397 5.20343-8.671028 5.20343zM187.652551 854.020623c-1.733799 0-5.20343 0-6.937228-1.733799s-1.733799-3.469631-1.733799-6.937229 0-5.20343 1.733799-6.937228l98.865161-98.865162c3.469631-3.469631 8.67306-3.469631 12.140659 0 1.733799 1.733799 1.733799 3.469631 1.733799 6.937229s0 5.20343-1.733799 6.937228l-98.865162 98.865162c-1.733799 1.733799-3.469631 1.733799-5.20343 1.733799z m660.835556 0c-1.733799 0-5.20343 0-6.937229-1.733799l-98.865161-98.865162c-1.733799-1.733799-1.733799-3.469631-1.733799-6.937228s0-5.20343 1.733799-6.937229c3.469631-3.469631 8.67306-3.469631 12.140658 0L853.691537 838.410334c1.733799 1.733799 1.733799 3.469631 1.733799 6.937229s0 5.20343-1.733799 6.937228c-1.733799 1.735832-1.733799 1.735832-5.20343 1.735832z m-336.489123-72.848014c-147.429827 0-268.844539-121.412679-268.844539-268.844539s121.412679-268.844539 268.844539-268.844539S780.843523 364.898243 780.843523 512.32807 659.430843 781.172609 511.998984 781.172609z m0-520.342957c-138.7588 0-251.498419 112.741652-251.498419 251.498418s112.741652 251.498419 251.498419 251.498419 251.498419-112.741652 251.498418-251.498419S650.757783 260.829652 511.998984 260.829652z m502.998869 468.308661h-3.46963l-71.114215-29.486778c-3.469631-1.733799-5.20343-5.20343-5.20343-8.67306v-3.469631c1.733799-5.20343 6.937229-6.937229 12.140658-5.203429l71.114215 29.486778c3.469631 1.733799 5.20343 5.20343 5.20343 8.67306v3.469631c-1.733799 3.469631-5.201397 5.20343-8.671028 5.203429z m-1005.995706 0c-3.469631 0-6.937229-1.733799-8.673061-5.203429v-3.469631c0-3.469631 1.733799-6.937229 5.20343-8.67306l71.114215-29.486778c5.20343-1.733799 8.67306 0 12.140658 5.203429v3.469631c0 3.469631-1.733799 6.937229-5.203429 8.67306L12.469745 729.138313H9.002147zM879.708684 673.634387h-3.46963l-64.174954-26.017148c-3.469631-1.733799-5.20343-5.20343-5.20343-8.67306v-3.469631c1.733799-5.20343 6.937229-6.937229 12.140659-5.203429l64.174953 26.017148c3.469631 1.733799 5.20343 5.20343 5.20343 8.67306v3.46963c-1.733799 3.469631-5.201397 5.20343-8.671028 5.20343z m-735.417368 0c-3.469631 0-6.937229-1.733799-8.673061-5.20343v-3.46963c0-3.469631 1.733799-6.937229 5.20343-8.67306l64.174954-26.017148c5.20343-1.733799 8.67306 0 12.140658 5.203429v3.469631c0 3.469631-1.733799 6.937229-5.20343 8.67306l-64.174953 26.017148h-3.467598z m836.016329-152.633257h-138.758799c-5.20343 0-8.67306-3.469631-8.67306-8.67306 0-5.20343 3.469631-8.67306 8.67306-8.67306h138.758799c5.20343 0 8.67306 3.469631 8.673061 8.67306 0 5.20343-3.469631 8.67306-8.673061 8.67306z m-797.858523 0H43.690322c-5.20343 0-8.67306-3.469631-8.67306-8.67306 0-5.20343 3.469631-8.67306 8.67306-8.67306H182.449122c5.20343 0 8.67306 3.469631 8.67306 8.67306 0 5.20343-3.469631 8.67306-8.67306 8.67306z m499.529239-86.724503c-3.469631 0-6.937229-1.733799-6.937229-5.20343-13.87649-27.750947-36.424007-52.034296-62.441155-71.114215-3.469631-3.469631-5.20343-8.67306-1.733799-12.140658 3.469631-3.469631 8.67306-5.20343 12.140658-1.733799 29.486778 19.079919 53.768095 45.097067 69.378384 76.317644 1.733799 3.469631 0 8.67306-3.469631 12.140659-3.467598 1.733799-5.20343 1.733799-6.937228 1.733799z m-475.245891-39.891605H203.26284l-64.174954-26.017148c-3.469631-1.733799-5.20343-5.20343-5.20343-8.673061v-3.46963c1.733799-5.20343 6.937229-6.937229 12.140659-5.20343l64.174953 26.017148c3.469631 1.733799 5.20343 5.20343 5.20343 8.67306v3.469631c-1.733799 3.467598-5.20343 5.20343-8.671028 5.20343z m610.53506 0c-3.469631 0-6.937229-1.733799-8.673061-5.20343v-3.469631c0-3.469631 1.733799-6.937229 5.20343-8.67306l64.174954-26.017148c5.20343-1.733799 8.67306 0 12.140658 5.20343v3.46963c0 3.469631-1.733799 6.937229-5.20343 8.673061l-64.174953 26.017148h-3.467598z m126.616108-52.034296c-3.469631 0-6.937229-1.733799-8.67306-5.20343v-3.46963c0-3.469631 1.733799-6.937229 5.20343-8.673061l71.114215-29.486778c5.20343-1.733799 8.67306 0 12.140658 5.20343v3.46963c0 3.469631-1.733799 6.937229-5.20343 8.67306l-71.114215 29.486779h-3.467598z m-863.769309 0h-3.469631L5.532516 312.863947c-3.469631-1.733799-5.20343-5.20343-5.20343-8.67306v-3.46963c1.733799-5.20343 6.937229-6.937229 12.140659-5.20343l71.114215 29.486778c3.469631 1.733799 5.20343 5.20343 5.203429 8.673061v3.46963c-3.469631 3.467598-5.20343 5.20343-8.67306 5.20343z m671.242415-52.034296c-1.733799 0-5.20343 0-6.937228-1.733799-1.733799-1.733799-1.733799-3.469631-1.733799-6.937229s0-5.20343 1.733799-6.937228l84.988672-84.988672c3.469631-3.469631 8.67306-3.469631 12.140658 0 1.733799 1.733799 1.733799 3.469631 1.733799 6.937228 0 3.469631 0 5.20343-1.733799 6.937229l-84.988672 84.988672c-1.733799 1.733799-3.467598 1.733799-5.20343 1.733799z m-466.57283 0c-1.733799 0-5.20343 0-6.937229-1.733799l-98.865161-98.865162c-1.735832-1.735832-1.735832-3.469631-1.735832-6.939261s0-5.20343 1.733799-6.937229c3.469631-3.469631 8.67306-3.469631 12.140658 0l98.865162 98.865162c1.733799 1.733799 1.733799 3.469631 1.733799 6.937229s0 5.20343-1.733799 6.937228c-1.733799 1.735832-3.467598 1.735832-5.201397 1.735832z m100.598961-74.583846c-3.469631 0-6.937229-1.733799-8.67306-5.203429L350.692667 146.354201v-3.469631c0-3.469631 1.733799-6.937229 5.203429-8.67306 5.20343-1.733799 8.67306 0 12.140659 5.20343l26.017147 64.174954v3.46963c0 3.469631-1.733799 6.937229-5.203429 8.67306H385.382875z m253.23425 0h-3.469631c-3.469631-1.733799-5.20343-5.20343-5.203429-8.67306v-3.46963l26.017148-64.174954c1.733799-5.20343 6.937229-6.937229 12.140658-5.20343 3.469631 1.733799 5.20343 5.20343 5.20343 8.67306V146.354201l-26.017148 64.174954c-1.733799 3.469631-5.20343 5.20343-8.671028 5.203429z m-126.618141-24.281316c-5.20343 0-8.67306-3.469631-8.67306-8.67306V61.365529c0-5.20343 3.469631-8.67306 8.67306-8.67306s8.67306 3.469631 8.67306 8.67306V182.778208c0 5.20343-3.469631 8.67306-8.67306 8.67306zM333.348579 89.116476c-3.469631 0-6.937229-1.733799-8.67306-5.20343L295.190773 12.798831V9.3292c0-3.469631 1.733799-6.937229 5.20343-8.67306 5.20343-1.733799 8.67306 0 12.140658 5.20343l29.486778 71.114215v3.46963c0 3.469631-1.733799 6.937229-5.203429 8.673061-1.735832-1.733799-3.469631 0-3.469631 0z m357.302842 0h-3.469631c-3.469631-1.733799-5.20343-5.20343-5.203429-8.673061v-3.46963L711.465139 5.861602C713.198938 0.658173 718.402368-1.075626 723.605797 0.658173c3.469631 1.733799 5.20343 5.20343 5.20343 8.67306v3.469631L699.322448 83.913046c-1.733799 1.733799-5.20343 5.20343-8.671027 5.20343z",fill:"#51565F","p-id":"595"}})])])],1),t._v(" "),c("br"),t._v(" "),c("mu-row",{attrs:{gutter:""}},[c("mu-col",{staticClass:"center-weather",attrs:{width:"100",tablet:"100",desktop:"100"}},[c("mu-auto-complete",{attrs:{hintText:"城市名称,例如:北京",filter:"caseInsensitiveFilter",openOnFocus:"",labelFloat:"",fullWidth:"",dataSource:t.dataSource},on:{input:t.UserInput}})],1)],1)],1),t._v(" "),c("div",{staticClass:"demo-grid"},[c("mu-row",{attrs:{gutter:""}},[c("mu-col",{staticClass:"center-weather",attrs:{width:"100",tablet:"100",desktop:"100"}},[t.NoCity?c("small",{staticClass:"NoError",attrs:{inset:""}},[t._v("没有数据")]):c("mu-card",[c("mu-list",t._l(t.YouCityWeather.YouCityWeatherWeatherData,function(t,e){return c("mu-list-item",{key:e,attrs:{title:t.date,describeLine:"3",describeText:t.temperature+" | "+t.weather+" | "+t.wind}},[c("mu-avatar",{slot:"leftAvatar"},[c("img",{attrs:{width:"50",src:t.dayPictureUrl,alt:"data.date"}})])],1)}))],1)],1)],1)],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/1.0530a2dd89ad366b718d.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/dist/static/js/1.0530a2dd89ad366b718d.js.gz
--------------------------------------------------------------------------------
/dist/static/js/2.33b19557671682065871.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([2],{107:function(e,s,a){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=a(115);s.default={mounted:function(){this.$SetTitle(this.$route.query.ti),n.a.ChangeUrl(this,this.$route.params.id)},data:function(){return{url:"",dialog:!1}},methods:{}}},115:function(e,s,a){"use strict";s.a={ChangeUrl:function(e,s){var a=e;switch(s){case"1":a.url=a.$IndexClass[0].IndexClassItemInfoUrl;break;case"2":a.url=a.$IndexClass[1].IndexClassItemInfoUrl,this.$CloseFooter();break;case"3":a.url=a.$IndexClass[2].IndexClassItemInfoUrl;break;case"4":a.url=a.$IndexClass[3].IndexClassItemInfoUrl;break;case"5":a.url=a.$IndexClass[4].IndexClassItemInfoUrl;break;case"6":a.url=a.$IndexClass[5].IndexClassItemInfoUrl;break;case"7":a.dialog=!0,setTimeout(function(){location.href=a.$IndexClass[6].IndexClassItemInfoUrl},2e3);break;case"8":a.url=a.$IndexClass[7].IndexClassItemInfoUrl;break;case"9":a.url=a.$IndexClass[8].IndexClassItemInfoUrl;break;case"10":a.url=a.$IndexClass[9].IndexClassItemInfoUrl;break;case"11":a.url=a.$IndexClass[10].IndexClassItemInfoUrl,a.$CloseFooter();break;case"12":a.url=a.$IndexClass[11].IndexClassItemInfoUrl;break;case"13":a.url=a.$ConvenientTool[0].IndexClassItemInfoUrl;break;case"14":a.url=a.$ConvenientTool[1].IndexClassItemInfoUrl;break;case"15":a.url=a.$ConvenientTool[2].IndexClassItemInfoUrl,a.$CloseFooter();break;case"16":a.url=a.$ConvenientTool[3].IndexClassItemInfoUrl,a.$CloseFooter()}}}},121:function(e,s,a){s=e.exports=a(95)(),s.push([e.i,"body[data-v-553a5c3a]{background-color:red}",""])},131:function(e,s,a){var n=a(121);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a(96)("54b42450",n,!0)},145:function(e,s){e.exports={render:function(){var e=this,s=e.$createElement,a=e._self._c||s;return a("div",{attrs:{id:"content-component"}},[a("iframe",{attrs:{src:e.url,seamless:"",width:"100%",height:e.$iframeHeight,frameborder:"0"}},[e._v("\n Your browser does not support iframe\n "),a("mu-float-button",{staticClass:"demo-float-button",attrs:{icon:"add",mini:""}})],1),e._v(" "),a("mu-dialog",{attrs:{open:e.dialog,title:"温馨提示"}},[e._v("\n 亲,记得点两次返回键回来哦!\n "),a("mu-flat-button",{attrs:{label:"确定",primary:""},on:{click:function(s){e.dialog=!1}},slot:"actions"})],1)],1)},staticRenderFns:[]}},98:function(e,s,a){a(131);var n=a(14)(a(107),a(145),"data-v-553a5c3a",null);e.exports=n.exports}});
--------------------------------------------------------------------------------
/dist/static/js/3.64497ac090daa2796c94.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([3],{105:function(t,e,i){i(130);var n=i(14)(i(114),i(144),"data-v-4716eafe",null);t.exports=n.exports},114:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$SetTitle(this.$BottomNav[3].ItemTitle)},data:function(){return{input:"",multiLineInputErrorText:"",IfShowBtnOk:!1,toast:!1}},methods:{Submit:function(t){"0"!=t.length||""!=t?console.log("有数据,暂未开发留言"):this.$showToast()},handleMultiLineOverflow:function(t){this.multiLineInputErrorText=t?"这么多,还是发短信吧!!":""}}}},120:function(t,e,i){e=t.exports=i(95)(),e.push([t.i,".leaving-message[data-v-4716eafe]{width:98%;margin:0 1%}.mu-toast[data-v-4716eafe]{top:30%!important;left:30%;text-align:center;width:auto!important}",""])},130:function(t,e,i){var n=i(120);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(96)("417b12fd",n,!0)},144:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"content-component"}},[i("mu-list",[i("mu-list-item",{attrs:{disabled:"",title:"18305520337",describeText:"总是欠费"}})],1),t._v(" "),i("mu-divider"),t._v(" "),i("mu-list",[i("mu-sub-header",[t._v("主要方式")]),t._v(" "),i("mu-list-item",{attrs:{disableRipple:"",title:"QQ:2271608011",describeText:"消息太多不一定看"}}),t._v(" "),i("mu-list-item",{attrs:{disableRipple:"",title:"微信:cxy-monkey",describeText:"总是不玩别找我"}}),t._v(" "),i("mu-list-item",{attrs:{disableRipple:"",title:"博客:geekhelp.cn",describeText:"夜更频繁多留言"}})],1),t._v(" "),i("mu-divider"),t._v(" "),i("mu-list",[i("mu-sub-header",[t._v("给我留言")]),t._v(" "),i("mu-text-field",{staticClass:"leaving-message",attrs:{labelFloat:"",label:"评论必须要吊,否则我不看",hintText:"不超过100个字",errorText:t.multiLineInputErrorText,multiLine:"",rows:3,rowsMax:6,maxLength:100,icon:"comment"},on:{textOverflow:t.handleMultiLineOverflow,focus:function(e){t.IfShowBtnOk=!0}},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),i("br"),t._v(" "),t.IfShowBtnOk?i("mu-flat-button",{staticClass:"demo-flat-button",attrs:{label:"提交",primary:""},on:{click:function(e){t.Submit(t.input)}}}):t._e(),t._v(" "),t.toast?i("mu-toast",{attrs:{message:"必填内容"},on:{close:t.$hideToast}}):t._e()],1)],1)},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/4.50797da6842d7d237264.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([4],{104:function(i,t,e){e(128);var n=e(14)(e(113),e(142),"data-v-284f4e11",null);i.exports=n.exports},113:function(i,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={mounted:function(){this.$SetTitle(this.$route.query.ti),this.GetWeiXin()},data:function(){return{ShowNumber:"20",list:[],Pages:1,loading:!1,scroller:this.$el,WeiXinUrl:"",ShowIframe:!1}},methods:{OpenWeiXin:function(i){this.WeiXinUrl=i,this.ShowIframe=!0,console.log("获取weixiniframe:"),console.log(document.getElementById("weixiniframe"))},loadMore:function(){var i=this;this.loading=!0,setTimeout(function(){i.Pages+=1,i.GetWeiXin(),i.loading=!1},1e3)},GetWeiXin:function(){var i=this;this.$http.post(this.$DataApiUrl.WeiXinApiUrl,{action:this.$route.params.id,number:this.ShowNumber,page:this.Pages}).then(function(t){"请求成功"==t.body.reason&&("0"==i.list.length?i.list=t.body.result.list:i.list.push.apply(i.list,t.body.result.list))},function(i){console.log(i)})}}}},118:function(i,t,e){t=i.exports=e(95)(),t.push([i.i,".demo-infinite-container[data-v-284f4e11]{width:100%;height:680px;overflow:auto;-webkit-overflow-scrolling:touch}",""])},128:function(i,t,e){var n=e(118);"string"==typeof n&&(n=[[i.i,n,""]]),n.locals&&(i.exports=n.locals);e(96)("9c99b164",n,!0)},142:function(i,t){i.exports={render:function(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",{staticClass:"demo-infinite-container",attrs:{id:"content-component"}},[i.ShowIframe?e("div",[e("iframe",{attrs:{seamless:"",id:"weixiniframe",src:i.WeiXinUrl,frameborder:"0",height:i.$iframeHeight,width:"100%"}},[e("p",[i._v("Your browser does not support iframes.")])])],1):e("div",[e("div",{staticClass:"weixinlist"},[e("mu-grid-list",{staticClass:"gridlist-demo"},i._l(i.list,function(t,n){return e("mu-grid-tile",{key:n},[e("img",{attrs:{src:t.firstImg,alt:t.title},on:{click:function(e){i.OpenWeiXin(t.url)}}}),i._v(" "),e("span",{on:{click:function(e){i.OpenWeiXin(t.url)}},slot:"title"},[i._v(i._s(t.title))]),i._v(" "),e("span",{on:{click:function(e){i.OpenWeiXin(t.url)}},slot:"subTitle"},[i._v("by "),e("b",[i._v(i._s(t.source))])])])})),i._v(" "),e("mu-infinite-scroll",{attrs:{scroller:i.scroller,loading:i.loading,loadingText:"玩命加载..."},on:{load:i.loadMore}})],1)])])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/5.55b961597925ec6092f6.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([5],{102:function(t,e,o){o(134);var r=o(14)(o(111),o(148),"data-v-6c6e2f1a",null);t.exports=r.exports},111:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$SetTitle(this.$route.query.ti),this.GetMovieUrl()},data:function(){return{MovieUrl:""}},methods:{GetMovieUrl:function(){var t=this;this.$http.post(this.$DataApiUrl.MovieApiUrl,{action:this.$route.params.id}).then(function(e){"请求成功"==e.body.reason?t.MovieUrl=e.body.result.h5url:console.log("")},function(t){console.log(t)})}}}},124:function(t,e,o){e=t.exports=o(95)(),e.push([t.i,"",""])},134:function(t,e,o){var r=o(124);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);o(96)("7921a14b",r,!0)},148:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"content-component"}},[o("iframe",{attrs:{seamless:"",src:t.MovieUrl,frameborder:"0",height:t.$iframeHeight,width:"100%"}},[o("p",[t._v("Your browser does not support iframes.")])])],1)},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/6.6a8e7d7819471454f5b5.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([6],{101:function(t,i,e){e(133);var a=e(14)(e(110),e(147),"data-v-67f9ba5a",null);t.exports=a.exports},110:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={mounted:function(){this.$SetTitle(this.$route.query.ti),this.GetNewData()},data:function(){return{NewData:{},featured:!0,activeTab:"top",ShowDetailed:!1,OpenNewWindowsUrl:"",ShowDetailedTitle:""}},methods:{OpenNewWindows:function(t,i){""==t||""==i?(this.ShowDetailed=!1,this.$SetTitle(this.$route.query.ti)):(this.ShowDetailed=!this.ShowDetailed,this.OpenNewWindowsUrl=t,this.ShowDetailedTitle=i)},handleTabChange:function(t){this.activeTab=t,this.GetNewData()},GetNewData:function(){this.$http.post(this.$DataApiUrl.NewsApiUrl,{type:this.activeTab,action:this.$route.params.id}).then(function(t){console.log(t),"成功的返回"==t.data.reason&&(this.NewData=t.data.result.data)},function(t){console.log(t)})}}}},123:function(t,i,e){i=t.exports=e(95)(),i.push([t.i,"#content-component[data-v-67f9ba5a]{margin:55px 0 50px}.demo-float-button[data-v-67f9ba5a]{position:fixed;bottom:13%;right:30px;z-index:9999}.mu-item.show-left[data-v-67f9ba5a]{padding-left:54px!important}.mu-tabs[data-v-67f9ba5a]{background:#5c5e5e!important;position:fixed!important}",""])},133:function(t,i,e){var a=e(123);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);e(96)("0db2ff28",a,!0)},147:function(t,i){t.exports={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{attrs:{id:"content-component"}},[t.ShowDetailed?e("div",[e("mu-list-item",{attrs:{title:t.ShowDetailedTitle},on:{click:function(i){t.OpenNewWindows("","")}}},[e("mu-icon",{attrs:{value:"keyboard_arrow_left"},slot:"left"})],1),t._v(" "),e("iframe",{attrs:{seamless:"",src:t.OpenNewWindowsUrl,frameborder:"0",height:t.$iframeHeight,width:"100%"}},[e("p",[t._v("Your browser does not support iframes.")])])],1):e("div",[e("mu-tabs",{attrs:{value:t.activeTab},on:{change:t.handleTabChange}},[e("mu-tab",{attrs:{value:"top",title:"头条"}}),t._v(" "),e("mu-tab",{attrs:{value:"yule",title:"娱乐"}}),t._v(" "),e("mu-tab",{attrs:{value:"junshi",title:"军事"}}),t._v(" "),e("mu-tab",{attrs:{value:"keji",title:"科技"}}),t._v(" "),e("mu-tab",{attrs:{value:"shehui",title:"社会"}}),t._v(" "),e("mu-tab",{attrs:{value:"shishang",title:"时尚"}})],1),t._v(" "),"top"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i){return e("mu-grid-tile",[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e(),t._v(" "),"yule"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i){return e("mu-grid-tile",[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e(),t._v(" "),"junshi"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i){return e("mu-grid-tile",[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e(),t._v(" "),"keji"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i){return e("mu-grid-tile",[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e(),t._v(" "),"shehui"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i){return e("mu-grid-tile",[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e(),t._v(" "),"shishang"===t.activeTab?e("div",[e("br"),e("br"),t._v(" "),e("mu-divider",{staticClass:"hr-line hr-line-bottom"}),t._v(" "),e("div",{staticClass:"gridlist-demo-container"},[e("mu-grid-list",{staticClass:"gridlist-demo"},t._l(t.NewData,function(i,a){return e("mu-grid-tile",{key:a},[e("img",{attrs:{src:i.thumbnail_pic_s},on:{click:function(e){t.OpenNewWindows(i.url,i.title)}}}),t._v(" "),e("span",{slot:"title"},[t._v(t._s(i.title))]),t._v(" "),e("span",{slot:"subTitle"},[t._v("by "),e("b",[t._v(t._s(i.author_name))])])])}))],1)],1):t._e()],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/7.0591f1b35e7b19cb3a09.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([7],{100:function(t,e,l){l(135);var i=l(14)(l(109),l(149),"data-v-9a79b6fa",null);t.exports=i.exports},109:function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$SetTitle(this.$BottomNav[1].ItemTitle)},data:function(){return{opentoggleNested:!1,ItemSelect:""}},methods:{MenuListClick:function(t){console.log(t)}}}},125:function(t,e,l){e=t.exports=l(95)(),e.push([t.i,"",""])},135:function(t,e,l){var i=l(125);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);l(96)("04aedea6",i,!0)},149:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{attrs:{id:"content-component"}},[l("div",[l("mu-list",[l("mu-sub-header",[t._v("你的贴心助手")]),t._v(" "),l("mu-list-item",{attrs:{title:t.$ReturnLifeTool.LifeFirstItem.LifeToolFirstItemTitle,toggleNested:"",open:t.opentoggleNested}},[l("mu-icon",{attrs:{value:t.$ReturnLifeTool.LifeFirstItem.LifeToolFirstItemIcon},slot:"left"}),t._v(" "),t._l(t.$ReturnLifeTool.LifeToolOtherItem,function(t,e){return l("mu-list-item",{key:e,attrs:{href:t.LifeToolOtherItemHref+t.LifeToolOtherItemID+"?ti="+t.LifeToolOtherItemTitle,vaule:t.LifeToolOtherItemTitle,title:t.LifeToolOtherItemTitle},slot:"nested"},[l("mu-icon",{attrs:{value:t.LifeToolOtherItemIcon},slot:"left"})],1)})],2)],1),t._v(" "),l("mu-divider",{staticClass:"hr-line"}),t._v(" "),l("mu-list",[l("mu-sub-header",[t._v("甩卖各类票")]),t._v(" "),l("mu-list-item",{attrs:{title:"出行/车辆",toggleNested:"",open:t.opentoggleNested}},[l("mu-icon",{attrs:{value:"directions_railway"},slot:"left"}),t._v(" "),l("mu-list-item",{attrs:{title:"找景区"},slot:"nested"},[l("mu-icon",{attrs:{value:"terrain"},slot:"left"})],1),t._v(" "),l("mu-list-item",{attrs:{title:"抢火车票"},slot:"nested"},[l("mu-icon",{attrs:{value:"http"},slot:"left"})],1)],1)],1),t._v(" "),l("mu-divider",{staticClass:"hr-line"}),t._v(" "),l("mu-list",[l("mu-sub-header",[t._v("码农独家专属")]),t._v(" "),l("mu-list-item",{attrs:{title:"开发/优化",toggleNested:"",open:t.opentoggleNested}},[l("mu-icon",{attrs:{value:"cloud_done"},slot:"left"}),t._v(" "),l("mu-list-item",{attrs:{title:"域名备案查询"},slot:"nested"},[l("mu-icon",{attrs:{value:"http"},slot:"left"})],1),t._v(" "),l("mu-list-item",{attrs:{title:"网站安全检测"},slot:"nested"},[l("mu-icon",{attrs:{value:"https"},slot:"left"})],1),t._v(" "),l("mu-list-item",{attrs:{title:"百度权重"},slot:"nested"},[l("mu-icon",{attrs:{value:"line_weight"},slot:"left"})],1),t._v(" "),l("mu-list-item",{attrs:{title:"Alexa网站排名"},slot:"nested"},[l("mu-icon",{attrs:{value:"looks_1"},slot:"left"})],1)],1)],1)],1)])},staticRenderFns:[]}}});
--------------------------------------------------------------------------------
/dist/static/js/8.f49074200d01c80f5525.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([8],{106:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$SetTitle(this.$BottomNav[0].ItemTitle),this.$parent.$refs.footer.$data.CloseFooter=!0,localStorage.getItem("HistoryLength")||localStorage.setItem("HistoryLength",window.history.length)},data:function(){return{msg:"this is template body",ToolData:{}}},methods:{GetClick:function(t){console.log(t.title)}}}},126:function(t,e,s){e=t.exports=s(95)(),e.push([t.i,".grid-margin[data-v-9aff8ef6]{margin:5px 0;padding:10px 0}.grid-margin .title[data-v-9aff8ef6]{display:inline-block;margin-top:10px;color:#8d8d8d}.demo-grid[data-v-9aff8ef6]{text-align:center}",""])},136:function(t,e,s){var n=s(126);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);s(96)("726a5c6e",n,!0)},150:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"content-component"}},[s("mu-sub-header",[t._v("生活助手")]),t._v(" "),s("mu-content-block",[s("div",{staticClass:"demo-grid"},[s("mu-row",{attrs:{gutter:""}},t._l(t.$IndexClass,function(e){return s("mu-col",{staticClass:"grid-margin",attrs:{width:"25",tablet:"25",desktop:"25"}},[s("a",{attrs:{href:e.IndexClassUrl+"?ti="+t.$EncodeURI(e.IndexClassTitle)}},[s("div",{domProps:{innerHTML:t._s(e.IndexClassIcon)}}),t._v(" "),s("div",{staticClass:"title"},[t._v(t._s(e.IndexClassTitle))])])])}))],1)]),t._v(" "),s("mu-sub-header",[t._v("便捷工具")]),t._v(" "),s("mu-content-block",[s("div",{staticClass:"demo-grid"},[s("mu-row",{attrs:{gutter:""}},t._l(t.$ConvenientTool,function(e){return s("mu-col",{staticClass:"grid-margin",attrs:{width:"25",tablet:"25",desktop:"25"}},[s("a",{attrs:{href:e.IndexClassUrl+"?ti="+t.$EncodeURI(e.IndexClassTitle)}},[s("div",{domProps:{innerHTML:t._s(e.IndexClassIcon)}}),t._v(" "),s("div",{staticClass:"title"},[t._v(t._s(e.IndexClassTitle))])])])}))],1)])],1)},staticRenderFns:[]}},97:function(t,e,s){s(136);var n=s(14)(s(106),s(150),"data-v-9aff8ef6",null);t.exports=n.exports}});
--------------------------------------------------------------------------------
/dist/static/js/app.4906988304fe255d6502.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/dist/static/js/app.4906988304fe255d6502.js.gz
--------------------------------------------------------------------------------
/dist/static/js/app.f66d3ee433c3596188a2.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/dist/static/js/app.f66d3ee433c3596188a2.js.gz
--------------------------------------------------------------------------------
/dist/static/js/manifest.e3b29d2f42cb53391ca7.js:
--------------------------------------------------------------------------------
1 | !function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var i,u,f,d=0,s=[];d
2 |
3 |
4 |
5 | Web工具站
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/note:
--------------------------------------------------------------------------------
1 | axios基本用法
2 |
3 | http://www.cnblogs.com/Upton/p/6180512.html
4 |
5 | vue-resource 发送ajax已经不在更新,替代品:axios
6 |
7 | 百度天气接口:
8 |
9 | http://api.map.baidu.com/telematics/v3/weather?location=合肥
10 | &output=json
11 | &ak=t1fLY5kTo0eegUAqtENfvPzn
12 |
13 | location:城市名称
14 | output:输入格式
15 | ak:访问应用的appkey
16 |
17 | H5在线电影票:https://www.juhe.cn/docs/api/id/252
18 |
19 | 身份证查询:https://www.juhe.cn/docs/api/id/38
20 |
21 | IP地址:https://www.juhe.cn/docs/api/id/1
22 |
23 | 新闻头条:https://www.juhe.cn/docs/api/id/235
24 |
25 | 手机号归属地:https://www.juhe.cn/docs/api/id/11
26 |
27 | 万年历:https://www.juhe.cn/docs/api/id/177
28 |
29 | 笑话大全:https://www.juhe.cn/docs/api/id/95
30 |
31 | 微信精选:https://www.juhe.cn/docs/api/id/147
32 |
33 | 邮编查询:https://www.juhe.cn/docs/api/id/66
34 |
35 | 驾照题库:https://www.juhe.cn/docs/api/id/183
36 |
37 | 火车票抢票:https://www.juhe.cn/docs/api/id/257/aid/997
38 |
39 | 12306火车票查询:https://www.juhe.cn/docs/api/id/22/aid/193
40 |
41 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "sw",
3 | "version": "1.2.0",
4 | "description": "生活助手",
5 | "author": "编码猿 - geekhelp.cn",
6 | "private": true,
7 | "scripts": {
8 | "dev": "node build/dev-server.js",
9 | "build": "node build/build.js"
10 | },
11 | "dependencies": {
12 | "muse-ui": "^2.0.0-rc.5",
13 | "vue": "^2.2.2",
14 | "vue-router": "^2.2.0"
15 | },
16 | "devDependencies": {
17 | "autoprefixer": "^6.7.2",
18 | "babel-core": "^6.22.1",
19 | "babel-loader": "^6.2.10",
20 | "babel-plugin-transform-runtime": "^6.22.0",
21 | "babel-preset-env": "^1.2.1",
22 | "babel-preset-stage-2": "^6.22.0",
23 | "babel-register": "^6.22.0",
24 | "chalk": "^1.1.3",
25 | "compression-webpack-plugin": "^0.3.2",
26 | "connect-history-api-fallback": "^1.3.0",
27 | "copy-webpack-plugin": "^4.0.1",
28 | "css-loader": "^0.26.1",
29 | "eventsource-polyfill": "^0.9.6",
30 | "express": "^4.14.1",
31 | "extract-text-webpack-plugin": "^2.0.0",
32 | "file-loader": "^0.10.0",
33 | "friendly-errors-webpack-plugin": "^1.1.3",
34 | "function-bind": "^1.1.0",
35 | "html-webpack-plugin": "^2.28.0",
36 | "http-proxy-middleware": "^0.17.3",
37 | "opn": "^4.0.2",
38 | "optimize-css-assets-webpack-plugin": "^1.3.0",
39 | "ora": "^1.1.0",
40 | "rimraf": "^2.6.0",
41 | "semver": "^5.3.0",
42 | "style-loader": "^0.16.1",
43 | "url-loader": "^0.5.7",
44 | "vue-loader": "^11.1.4",
45 | "vue-style-loader": "^2.0.0",
46 | "vue-template-compiler": "^2.2.4",
47 | "webpack": "^2.2.1",
48 | "webpack-bundle-analyzer": "^2.2.1",
49 | "webpack-dev-middleware": "^1.10.0",
50 | "webpack-hot-middleware": "^2.16.1",
51 | "webpack-merge": "^2.6.1"
52 | },
53 | "engines": {
54 | "node": ">= 4.0.0",
55 | "npm": ">= 3.0.0"
56 | },
57 | "browserslist": [
58 | "> 1%",
59 | "last 2 versions",
60 | "not ie <= 8"
61 | ]
62 | }
63 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
30 |
31 |
65 |
--------------------------------------------------------------------------------
/src/GlobalJS/Public_Function.js:
--------------------------------------------------------------------------------
1 | export default {
2 | install (Vue) {
3 |
4 | //获取 封装 ajax请求
5 | Vue.prototype.$GetDatasApi = function (ApiUrl,data) {
6 | console.log(ApiUrl+data)
7 | Vue.http.jsonp(ApiUrl+data)
8 | .then((success) => {
9 | console.log(success.body)
10 | }, (error) => {
11 | console.log(error)
12 | })
13 | }
14 |
15 | /**
16 | * param 将要转为URL参数字符串的对象
17 | * key URL参数字符串的前缀
18 | * encode true/false 是否进行URL编码,默认为true
19 | * return URL参数字符串
20 | */
21 | Vue.prototype.$parseParam = function (param, key, encode) {
22 | if(param==null) return '';
23 | var paramStr = '';
24 | var t = typeof (param);
25 | if (t == 'string' || t == 'number' || t == 'boolean') {
26 | paramStr += '&' + key + '=' + ((encode==null||encode) ? encodeURIComponent(param) : param);
27 | } else {
28 | for (var i in param) {
29 | var k = key == null ? i : key + (param instanceof Array ? '[' + i + ']' : '.' + i);
30 | paramStr += this.$parseParam(param[i], k, encode);
31 | }
32 | }
33 | return paramStr;
34 | }
35 |
36 | //设置顶部显示的标题
37 | Vue.prototype.$SetTitle = function (title) {
38 | this.$parent.$refs.head.$data.showTitle = title
39 | }
40 |
41 | //关闭底部导航
42 | Vue.prototype.$CloseFooter = function () {
43 | this.$parent.$refs.footer.$data.CloseFooter = false
44 | }
45 |
46 | //关于页面的跳转
47 | Vue.prototype.$GoToUrl = function (url) {
48 | window.location.href = url
49 | }
50 |
51 | //展示tosat
52 | Vue.prototype.$showToast = function () {
53 | this.toast = true
54 | if (this.toastTimer) clearTimeout(this.toastTimer)
55 | this.toastTimer = setTimeout(() => { this.toast = false }, 2000)
56 | }
57 |
58 | //隐藏toast
59 | Vue.prototype.$hideToast = function () {
60 | this.toast = false
61 | if (this.toastTimer) clearTimeout(this.toastTimer)
62 | }
63 |
64 | //编码url地址
65 | Vue.prototype.$EncodeURI = function (value){
66 | return encodeURI(value)
67 | }
68 |
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/src/api/api.js:
--------------------------------------------------------------------------------
1 |
2 | export default {
3 | install (Vue) {
4 |
5 | //获取手机归属地
6 | Vue.prototype.$GetPhoneInfo = 'http://tcc.taobao.com/cc/json/mobile_tel_segment.htm'
7 |
8 | Vue.prototype.$DataApiUrl = {
9 | //请求新闻数据
10 | NewsApiUrl:'http://139.224.210.190/WebTools-php/index.php/Home/Index/index',
11 | //微信精选 接口
12 | WeiXinApiUrl: 'http://139.224.210.190/WebTools-php/index.php/Home/Index/weixin',
13 | //在线电影票 接口
14 | MovieApiUrl: 'http://139.224.210.190/WebTools-php/index.php/Home/Index/movie'
15 |
16 | }
17 |
18 | //拼接获取天气的url接口
19 | Vue.prototype.$WeatherApiUrl = function (val) {
20 | return "http://api.map.baidu.com/telematics/v3/weather?"
21 | + "location="
22 | + val
23 | + "&output=json&ak=t1fLY5kTo0eegUAqtENfvPzn"
24 | }
25 |
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/assets/css/about.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | .text-center-about{
3 | margin-top: 20px;
4 | text-align: center;
5 | line-height: 24px;
6 | padding: 0 60px 20px 60px;
7 | }
8 | .text-center-lable-about{
9 | margin-top: 0 !important;
10 | color: #000000;
11 | opacity: 0.7;
12 | }
13 | .hr-line-about{
14 | margin-bottom: 15px;
15 | }
16 | .hr-line-bottom-about{
17 | margin-top: 10px;
18 | }
19 | .mu-logo-about{
20 | width: 40px;
21 | height: 40px;
22 | background-color: #03a9f4;
23 | text-align: center;
24 | line-height: 40px;
25 | color: #fff;
26 | font-size: 18px;
27 | border-radius: 50%;
28 | }
29 | .technology-list-about{
30 | padding: 18px;
31 | opacity: 0.7;
32 | }
33 | .technology-icon-about{
34 | width: 40px;
35 | height: 40px;
36 | }
37 | .border-about{
38 | border-radius: 50%;
39 | }
40 | .send-technology-icon-about{
41 | margin-top: 20px;
42 | }
--------------------------------------------------------------------------------
/src/assets/css/css.css:
--------------------------------------------------------------------------------
1 | /* cyrillic-ext */
2 | @font-face {
3 | font-family: 'Roboto';
4 | font-style: normal;
5 | font-weight: 300;
6 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/0eC6fl06luXEYWpBSJvXCBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
7 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
8 | }
9 | /* cyrillic */
10 | @font-face {
11 | font-family: 'Roboto';
12 | font-style: normal;
13 | font-weight: 300;
14 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/Fl4y0QdOxyyTHEGMXX8kcRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
15 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
16 | }
17 | /* greek-ext */
18 | @font-face {
19 | font-family: 'Roboto';
20 | font-style: normal;
21 | font-weight: 300;
22 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/-L14Jk06m6pUHB-5mXQQnRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
23 | unicode-range: U+1F00-1FFF;
24 | }
25 | /* greek */
26 | @font-face {
27 | font-family: 'Roboto';
28 | font-style: normal;
29 | font-weight: 300;
30 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/I3S1wsgSg9YCurV6PUkTORJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
31 | unicode-range: U+0370-03FF;
32 | }
33 | /* vietnamese */
34 | @font-face {
35 | font-family: 'Roboto';
36 | font-style: normal;
37 | font-weight: 300;
38 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/NYDWBdD4gIq26G5XYbHsFBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
39 | unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
40 | }
41 | /* latin-ext */
42 | @font-face {
43 | font-family: 'Roboto';
44 | font-style: normal;
45 | font-weight: 300;
46 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/Pru33qjShpZSmG3z6VYwnRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
47 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
48 | }
49 | /* latin */
50 | @font-face {
51 | font-family: 'Roboto';
52 | font-style: normal;
53 | font-weight: 300;
54 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/Hgo13k-tfSpn0qi1SFdUfVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
55 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
56 | }
57 | /* cyrillic-ext */
58 | @font-face {
59 | font-family: 'Roboto';
60 | font-style: normal;
61 | font-weight: 400;
62 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/ek4gzZ-GeXAPcSbHtCeQI_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
63 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
64 | }
65 | /* cyrillic */
66 | @font-face {
67 | font-family: 'Roboto';
68 | font-style: normal;
69 | font-weight: 400;
70 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/mErvLBYg_cXG3rLvUsKT_fesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
71 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
72 | }
73 | /* greek-ext */
74 | @font-face {
75 | font-family: 'Roboto';
76 | font-style: normal;
77 | font-weight: 400;
78 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/-2n2p-_Y08sg57CNWQfKNvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
79 | unicode-range: U+1F00-1FFF;
80 | }
81 | /* greek */
82 | @font-face {
83 | font-family: 'Roboto';
84 | font-style: normal;
85 | font-weight: 400;
86 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/u0TOpm082MNkS5K0Q4rhqvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
87 | unicode-range: U+0370-03FF;
88 | }
89 | /* vietnamese */
90 | @font-face {
91 | font-family: 'Roboto';
92 | font-style: normal;
93 | font-weight: 400;
94 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/NdF9MtnOpLzo-noMoG0miPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
95 | unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
96 | }
97 | /* latin-ext */
98 | @font-face {
99 | font-family: 'Roboto';
100 | font-style: normal;
101 | font-weight: 400;
102 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/Fcx7Wwv8OzT71A3E1XOAjvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
103 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
104 | }
105 | /* latin */
106 | @font-face {
107 | font-family: 'Roboto';
108 | font-style: normal;
109 | font-weight: 400;
110 | src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v15/CWB0XYA8bzo0kSThX0UTuA.woff2) format('woff2');
111 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
112 | }
113 | /* cyrillic-ext */
114 | @font-face {
115 | font-family: 'Roboto';
116 | font-style: normal;
117 | font-weight: 500;
118 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/ZLqKeelYbATG60EpZBSDyxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
119 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
120 | }
121 | /* cyrillic */
122 | @font-face {
123 | font-family: 'Roboto';
124 | font-style: normal;
125 | font-weight: 500;
126 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/oHi30kwQWvpCWqAhzHcCSBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
127 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
128 | }
129 | /* greek-ext */
130 | @font-face {
131 | font-family: 'Roboto';
132 | font-style: normal;
133 | font-weight: 500;
134 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/rGvHdJnr2l75qb0YND9NyBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
135 | unicode-range: U+1F00-1FFF;
136 | }
137 | /* greek */
138 | @font-face {
139 | font-family: 'Roboto';
140 | font-style: normal;
141 | font-weight: 500;
142 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/mx9Uck6uB63VIKFYnEMXrRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
143 | unicode-range: U+0370-03FF;
144 | }
145 | /* vietnamese */
146 | @font-face {
147 | font-family: 'Roboto';
148 | font-style: normal;
149 | font-weight: 500;
150 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/mbmhprMH69Zi6eEPBYVFhRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
151 | unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
152 | }
153 | /* latin-ext */
154 | @font-face {
155 | font-family: 'Roboto';
156 | font-style: normal;
157 | font-weight: 500;
158 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/oOeFwZNlrTefzLYmlVV1UBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
159 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
160 | }
161 | /* latin */
162 | @font-face {
163 | font-family: 'Roboto';
164 | font-style: normal;
165 | font-weight: 500;
166 | src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v15/RxZJdnzeo3R5zSexge8UUVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
167 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
168 | }
169 | /* cyrillic-ext */
170 | @font-face {
171 | font-family: 'Roboto';
172 | font-style: normal;
173 | font-weight: 700;
174 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/77FXFjRbGzN4aCrSFhlh3hJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
175 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
176 | }
177 | /* cyrillic */
178 | @font-face {
179 | font-family: 'Roboto';
180 | font-style: normal;
181 | font-weight: 700;
182 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/isZ-wbCXNKAbnjo6_TwHThJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
183 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
184 | }
185 | /* greek-ext */
186 | @font-face {
187 | font-family: 'Roboto';
188 | font-style: normal;
189 | font-weight: 700;
190 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/UX6i4JxQDm3fVTc1CPuwqhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
191 | unicode-range: U+1F00-1FFF;
192 | }
193 | /* greek */
194 | @font-face {
195 | font-family: 'Roboto';
196 | font-style: normal;
197 | font-weight: 700;
198 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/jSN2CGVDbcVyCnfJfjSdfBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
199 | unicode-range: U+0370-03FF;
200 | }
201 | /* vietnamese */
202 | @font-face {
203 | font-family: 'Roboto';
204 | font-style: normal;
205 | font-weight: 700;
206 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/PwZc-YbIL414wB9rB1IAPRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
207 | unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
208 | }
209 | /* latin-ext */
210 | @font-face {
211 | font-family: 'Roboto';
212 | font-style: normal;
213 | font-weight: 700;
214 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/97uahxiqZRoncBaCEI3aWxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
215 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
216 | }
217 | /* latin */
218 | @font-face {
219 | font-family: 'Roboto';
220 | font-style: normal;
221 | font-weight: 700;
222 | src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/d-6IYplOFocCacKzxwXSOFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
223 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
224 | }
225 | /* cyrillic-ext */
226 | @font-face {
227 | font-family: 'Roboto';
228 | font-style: italic;
229 | font-weight: 400;
230 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/WxrXJa0C3KdtC7lMafG4dRTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
231 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
232 | }
233 | /* cyrillic */
234 | @font-face {
235 | font-family: 'Roboto';
236 | font-style: italic;
237 | font-weight: 400;
238 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/OpXUqTo0UgQQhGj_SFdLWBTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
239 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
240 | }
241 | /* greek-ext */
242 | @font-face {
243 | font-family: 'Roboto';
244 | font-style: italic;
245 | font-weight: 400;
246 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/1hZf02POANh32k2VkgEoUBTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
247 | unicode-range: U+1F00-1FFF;
248 | }
249 | /* greek */
250 | @font-face {
251 | font-family: 'Roboto';
252 | font-style: italic;
253 | font-weight: 400;
254 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/cDKhRaXnQTOVbaoxwdOr9xTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
255 | unicode-range: U+0370-03FF;
256 | }
257 | /* vietnamese */
258 | @font-face {
259 | font-family: 'Roboto';
260 | font-style: italic;
261 | font-weight: 400;
262 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/K23cxWVTrIFD6DJsEVi07RTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
263 | unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
264 | }
265 | /* latin-ext */
266 | @font-face {
267 | font-family: 'Roboto';
268 | font-style: italic;
269 | font-weight: 400;
270 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/vSzulfKSK0LLjjfeaxcREhTbgVql8nDJpwnrE27mub0.woff2) format('woff2');
271 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
272 | }
273 | /* latin */
274 | @font-face {
275 | font-family: 'Roboto';
276 | font-style: italic;
277 | font-weight: 400;
278 | src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v15/vPcynSL0qHq_6dX7lKVByfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
279 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
280 | }
281 |
--------------------------------------------------------------------------------
/src/assets/css/footer.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | #footer-component{
3 | position: fixed;
4 | bottom: 0;
5 | width: 100%;
6 | z-index: 999;
7 | }
--------------------------------------------------------------------------------
/src/assets/css/head.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | .header-head{
3 | position: fixed;
4 | width: 100%;
5 | top: 0;
6 | z-index: 999;
7 | }
8 | .demo-grid-head{
9 | margin: 45px auto 45px auto;
10 | }
11 | .text-center-head{
12 | text-align: center;
13 | color: #999;
14 | background: #e4e4e4;
15 | border-bottom: 1px solid #dfdfdf;
16 | letter-spacing: 2px;
17 | }
18 | .mu-list-head{
19 | background: url("http://www.51pptmoban.com/d/file/2014/11/22/cbe98f91bb8b49448237780a94f7fe71.jpg");
20 | }
21 | .bottom-bq p{
22 | position: absolute;
23 | bottom: 0;
24 | left: 0;
25 | text-align: center;
26 | margin: 0 auto;
27 | color: #c5c5c5;
28 | width: 100%;
29 | padding: 5px 0;
30 | }
--------------------------------------------------------------------------------
/src/assets/css/icon.css:
--------------------------------------------------------------------------------
1 | /* fallback */
2 | @font-face {
3 | font-family: 'Material Icons';
4 | font-style: normal;
5 | font-weight: 400;
6 | src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://fonts.gstatic.com/s/materialicons/v21/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
7 | }
8 |
9 | .material-icons {
10 | font-family: 'Material Icons';
11 | font-weight: normal;
12 | font-style: normal;
13 | font-size: 24px;
14 | line-height: 1;
15 | letter-spacing: normal;
16 | text-transform: none;
17 | display: inline-block;
18 | white-space: nowrap;
19 | word-wrap: normal;
20 | direction: ltr;
21 | -webkit-font-feature-settings: 'liga';
22 | -webkit-font-smoothing: antialiased;
23 | }
24 |
--------------------------------------------------------------------------------
/src/assets/fonts/materialicons.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/src/assets/fonts/materialicons.woff2
--------------------------------------------------------------------------------
/src/assets/img/babel.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/assets/img/material.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/assets/img/npm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/src/assets/img/npm.png
--------------------------------------------------------------------------------
/src/assets/img/vue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/src/assets/img/vue.png
--------------------------------------------------------------------------------
/src/assets/img/webpack.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/components/footer/footer.vue:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
16 |
35 |
36 |
39 |
--------------------------------------------------------------------------------
/src/components/head/head.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | {{$LeftAboutMe.LeftAboutMeFirst.WeiXinImgTitle}}
30 |
31 |
32 |
33 |
34 |
35 |
38 | {{item.TitleSub}}
39 |
40 |
41 |
42 |
43 |
44 | {{$LeftAboutMe.LeftAboutMeFirst.WeiXinImgByBmy}}
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
73 |
74 |
77 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App'
3 | import router from './router'
4 | import VueResource from 'vue-resource'
5 |
6 | //全局方法
7 | import Public from './GlobalJS/Public_Function'
8 | //数据接口
9 | import Api from './api/api'
10 | //全局配置
11 | import config from './config/config'
12 | //muse-ui 组件库
13 | import MuseUI from 'muse-ui'
14 | import 'muse-ui/dist/muse-ui.css'
15 | import 'muse-ui/dist/theme-teal.css'
16 |
17 | //实例化各配置
18 | Vue.use(Public)
19 | Vue.use(Api)
20 | Vue.use(config)
21 | Vue.use(MuseUI)
22 | Vue.use(VueResource)
23 |
24 |
25 | Vue.config.productionTip = false
26 | Vue.http.options.emulateJSON = true
27 |
28 | //挂着app节点,示例路由,引入组件
29 | new Vue({
30 | el: '#app',
31 | router,
32 | template: '',
33 | components: { App }
34 | })
35 |
--------------------------------------------------------------------------------
/src/pages/Index/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
生活助手
4 |
5 |
19 |
20 |
便捷工具
21 |
22 |
36 |
37 |
38 |
39 |
40 |
64 |
65 |
79 |
--------------------------------------------------------------------------------
/src/pages/Index/info.js:
--------------------------------------------------------------------------------
1 |
2 | export default{
3 | //根据单击产生的id跳转载入不同的iframe地址
4 | ChangeUrl(vm,id){
5 | var self = vm
6 | switch (id){
7 | case '1':
8 | self.url = self.$IndexClass[0].IndexClassItemInfoUrl
9 | break;
10 | case '2':
11 | self.url = self.$IndexClass[1].IndexClassItemInfoUrl
12 | this.$CloseFooter()
13 | break;
14 | case '3':
15 | self.url = self.$IndexClass[2].IndexClassItemInfoUrl
16 | break;
17 | case '4':
18 | self.url = self.$IndexClass[3].IndexClassItemInfoUrl
19 | break;
20 | case '5':
21 | self.url = self.$IndexClass[4].IndexClassItemInfoUrl
22 | break;
23 | case '6':
24 | self.url = self.$IndexClass[5].IndexClassItemInfoUrl
25 | break;
26 | case '7':
27 | self.dialog = true
28 | setTimeout( function () {
29 | location.href = self.$IndexClass[6].IndexClassItemInfoUrl
30 | },2000)
31 |
32 | break;
33 | case '8':
34 | self.url = self.$IndexClass[7].IndexClassItemInfoUrl
35 | break;
36 | case '9':
37 | self.url = self.$IndexClass[8].IndexClassItemInfoUrl
38 | break;
39 | case '10':
40 | self.url = self.$IndexClass[9].IndexClassItemInfoUrl
41 | break;
42 | case '11':
43 | self.url = self.$IndexClass[10].IndexClassItemInfoUrl
44 | self.$CloseFooter()
45 | break;
46 | case '12':
47 | self.url = self.$IndexClass[11].IndexClassItemInfoUrl
48 | break;
49 | case '13':
50 | self.url = self.$ConvenientTool[0].IndexClassItemInfoUrl
51 | break;
52 | case '14':
53 | self.url = self.$ConvenientTool[1].IndexClassItemInfoUrl
54 | break;
55 | case '15':
56 | self.url = self.$ConvenientTool[2].IndexClassItemInfoUrl
57 | self.$CloseFooter()
58 | break;
59 | case '16':
60 | self.url = self.$ConvenientTool[3].IndexClassItemInfoUrl
61 | self.$CloseFooter()
62 | break;
63 | }
64 | }
65 | }
--------------------------------------------------------------------------------
/src/pages/Index/toolinfo.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 | 亲,记得点两次返回键回来哦!
14 |
15 |
16 |
17 |
18 |
19 |
20 |
39 |
40 |
45 |
--------------------------------------------------------------------------------
/src/pages/about/about.js:
--------------------------------------------------------------------------------
1 | export default{
2 | openBottomSheet (vm,val) {
3 | var self = vm
4 | if (!(typeof(val.title) === 'undefined')){
5 | switch (val.title){
6 | case "MyBlog":
7 | self.$GoToUrl(self.$myblog)
8 | break;
9 | case "GitHub":
10 | self.$GoToUrl(self.$github)
11 | break;
12 | case "KnowMe":
13 | self.$GoToUrl(self.$knowme)
14 | break;
15 | default:;
16 | }
17 | }
18 | //关闭或展示弹窗
19 | self.bottomSheet = !self.bottomSheet
20 | }
21 | }
--------------------------------------------------------------------------------
/src/pages/about/about.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | {{$LeftAboutMe.LeftAboutMeFirst.AboutMeTitle}}
20 |
21 |
22 | {{$LeftAboutMe.LeftAboutMeSecond[3].Title}}
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | {{$LeftAboutMe.LeftAboutMeFirst.MuLogoAbout}}
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 | {{$LeftAboutMe.LeftAboutMeFirst.UpdateLog}}
74 |
77 |
81 |
82 | {{log.UpdateLogContent}}
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
96 |
97 |
98 |
99 |
100 | {{$LeftAboutMe.LeftAboutMeFirst.YourChoice}}
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
136 |
137 |
140 |
--------------------------------------------------------------------------------
/src/pages/all/all.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 你的贴心助手
7 |
11 |
12 |
13 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | 甩卖各类票
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 码农独家专属
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
90 |
91 |
94 |
--------------------------------------------------------------------------------
/src/pages/all/journalism/info.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
38 | {{tile.title}}
39 | by {{tile.author_name}}
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | {{tile.title}}
53 | by {{tile.author_name}}
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | {{tile.title}}
66 | by {{tile.author_name}}
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 | {{tile.title}}
80 | by {{tile.author_name}}
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 | {{tile.title}}
93 | by {{tile.author_name}}
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 | {{tile.title}}
106 | by {{tile.author_name}}
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
168 |
169 |
187 |
--------------------------------------------------------------------------------
/src/pages/all/movie/movie.vue:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
44 |
45 |
48 |
--------------------------------------------------------------------------------
/src/pages/all/weather/weather.js:
--------------------------------------------------------------------------------
1 |
2 | export default{
3 |
4 | CityData (){
5 | return ['北京', '上海', '苏州','杭州','合肥']
6 | },
7 | WeatherApiUrl (val){
8 | return "http://api.map.baidu.com/telematics/v3/weather?" + "location=" + val + "&output=json&ak=t1fLY5kTo0eegUAqtENfvPzn"
9 | }
10 |
11 | }
--------------------------------------------------------------------------------
/src/pages/all/weather/weather.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | 没有数据
28 |
29 |
30 |
31 |
32 |
33 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
98 |
99 |
114 |
--------------------------------------------------------------------------------
/src/pages/all/weixin/weixin.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | {{tile.title}}
22 | by {{tile.source}}
23 |
24 |
25 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
105 |
106 |
114 |
--------------------------------------------------------------------------------
/src/pages/contact/contact.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | 主要方式
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 给我留言
23 |
34 |
35 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
75 |
76 |
88 |
--------------------------------------------------------------------------------
/src/router/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Router from 'vue-router'
3 |
4 | const movie = r => require.ensure([], () => r(require('@/pages/all/movie/movie.vue')), 'movie')
5 | const weixin = r => require.ensure([], () => r(require('@/pages/all/weixin/weixin.vue')), 'weixin')
6 | const weather = r => require.ensure([], () => r(require('@/pages/all/weather/weather.vue')), 'weather')
7 | const toolinfo = r => require.ensure([], () => r(require('@/pages/Index/toolinfo.vue')), 'toolinfo')
8 | const index = r => require.ensure([], () => r(require('@/pages/Index/index.vue')), 'index')
9 | const about = r => require.ensure([], () => r(require('@/pages/about/about.vue')), 'about')
10 | const contact = r => require.ensure([], () => r(require('@/pages/contact/contact.vue')), 'contact')
11 | const all = r => require.ensure([], () => r(require('@/pages/all/all.vue')), 'all')
12 | const journalism = r => require.ensure([], () => r(require('@/pages/all/journalism/info.vue')), 'journalism')
13 |
14 |
15 | Vue.use(Router)
16 |
17 | export default new Router({
18 | routes: [
19 | {
20 | path: '/',
21 | name: 'root',
22 | component: index
23 | },
24 | {
25 | path: '/index',
26 | name: 'index',
27 | component: index
28 | },
29 | {
30 | path: '/about',
31 | name: 'about',
32 | component: about,
33 | beforeEnter(to, from, next){
34 | console.log("from从哪个界面过来的")
35 | console.log(from)
36 | console.log("to要去的界面")
37 | console.log(to)
38 | next()
39 | }
40 | },
41 | {
42 | path: '/contact',
43 | name: 'contact',
44 | component: contact
45 | },
46 | {
47 | path: '/all',
48 | name: 'all',
49 | component: all
50 | },
51 | {
52 | path: '/journalism/:id',
53 | name: 'journalism',
54 | component: journalism
55 | },
56 | {
57 | path: '/weather/:id',
58 | name: 'weather',
59 | component: weather
60 | },
61 | {
62 | path: '/weixin/:id',
63 | name: 'weixin',
64 | component: weixin
65 | },
66 | {
67 | path: '/movie/:id',
68 | name: 'movie',
69 | component: movie
70 | },
71 | {
72 | path: '/toolinfo/:id',
73 | name: 'toolinfo',
74 | component: toolinfo
75 | }
76 | ]
77 | })
78 |
--------------------------------------------------------------------------------
/static/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helpcode/WebTools/47c9e8cff7b60f0419037dac59522997dafcf9d4/static/.gitkeep
--------------------------------------------------------------------------------