master
夜笙歌 23 hours ago
commit 7eca889f67

@ -0,0 +1,12 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-vue-jsx", "transform-runtime"]
}

@ -0,0 +1,9 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

14
.gitignore vendored

@ -0,0 +1,14 @@
.DS_Store
node_modules/
/dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

@ -0,0 +1,10 @@
// https://github.com/michael-ciniawsky/postcss-load-config
module.exports = {
"plugins": {
"postcss-import": {},
"postcss-url": {},
// to edit target browsers: use "browserslist" field in package.json
"autoprefixer": {}
}
}

@ -0,0 +1,21 @@
# hw
>
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

@ -0,0 +1,41 @@
'use strict'
require('./check-versions')()
process.env.NODE_ENV = 'production'
const ora = require('ora')
const rm = require('rimraf')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
const config = require('../config')
const webpackConfig = require('./webpack.prod.conf')
const spinner = ora('building for production...')
spinner.start()
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
if (err) throw err
webpack(webpackConfig, (err, stats) => {
spinner.stop()
if (err) throw err
process.stdout.write(stats.toString({
colors: true,
modules: false,
children: false, // If you are using ts-loader, setting this to true will make TypeScript errors show up during build.
chunks: false,
chunkModules: false
}) + '\n\n')
if (stats.hasErrors()) {
console.log(chalk.red(' Build failed with errors.\n'))
process.exit(1)
}
console.log(chalk.cyan(' Build complete.\n'))
console.log(chalk.yellow(
' Tip: built files are meant to be served over an HTTP server.\n' +
' Opening index.html over file:// won\'t work.\n'
))
})
})

@ -0,0 +1,54 @@
'use strict'
const chalk = require('chalk')
const semver = require('semver')
const packageConfig = require('../package.json')
const shell = require('shelljs')
function exec (cmd) {
return require('child_process').execSync(cmd).toString().trim()
}
const versionRequirements = [
{
name: 'node',
currentVersion: semver.clean(process.version),
versionRequirement: packageConfig.engines.node
}
]
if (shell.which('npm')) {
versionRequirements.push({
name: 'npm',
currentVersion: exec('npm --version'),
versionRequirement: packageConfig.engines.npm
})
}
module.exports = function () {
const warnings = []
for (let i = 0; i < versionRequirements.length; i++) {
const mod = versionRequirements[i]
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
warnings.push(mod.name + ': ' +
chalk.red(mod.currentVersion) + ' should be ' +
chalk.green(mod.versionRequirement)
)
}
}
if (warnings.length) {
console.log('')
console.log(chalk.yellow('To use this template, you must update following to modules:'))
console.log()
for (let i = 0; i < warnings.length; i++) {
const warning = warnings[i]
console.log(' ' + warning)
}
console.log()
process.exit(1)
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

@ -0,0 +1,101 @@
'use strict'
const path = require('path')
const config = require('../config')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const packageConfig = require('../package.json')
exports.assetsPath = function (_path) {
const assetsSubDirectory = process.env.NODE_ENV === 'production'
? config.build.assetsSubDirectory
: config.dev.assetsSubDirectory
return path.posix.join(assetsSubDirectory, _path)
}
exports.cssLoaders = function (options) {
options = options || {}
const cssLoader = {
loader: 'css-loader',
options: {
sourceMap: options.sourceMap
}
}
const postcssLoader = {
loader: 'postcss-loader',
options: {
sourceMap: options.sourceMap
}
}
// generate loader string to be used with extract text plugin
function generateLoaders (loader, loaderOptions) {
const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader]
if (loader) {
loaders.push({
loader: loader + '-loader',
options: Object.assign({}, loaderOptions, {
sourceMap: options.sourceMap
})
})
}
// Extract CSS when that option is specified
// (which is the case during production build)
if (options.extract) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: 'vue-style-loader'
})
} else {
return ['vue-style-loader'].concat(loaders)
}
}
// https://vue-loader.vuejs.org/en/configurations/extract-css.html
return {
css: generateLoaders(),
postcss: generateLoaders(),
less: generateLoaders('less'),
sass: generateLoaders('sass', { indentedSyntax: true }),
scss: generateLoaders('sass'),
stylus: generateLoaders('stylus'),
styl: generateLoaders('stylus')
}
}
// Generate loaders for standalone style files (outside of .vue)
exports.styleLoaders = function (options) {
const output = []
const loaders = exports.cssLoaders(options)
for (const extension in loaders) {
const loader = loaders[extension]
output.push({
test: new RegExp('\\.' + extension + '$'),
use: loader
})
}
return output
}
exports.createNotifierCallback = () => {
const notifier = require('node-notifier')
return (severity, errors) => {
if (severity !== 'error') return
const error = errors[0]
const filename = error.file && error.file.split('!').pop()
notifier.notify({
title: packageConfig.name,
message: severity + ': ' + error.name,
subtitle: filename || '',
icon: path.join(__dirname, 'logo.png')
})
}
}

@ -0,0 +1,22 @@
'use strict'
const utils = require('./utils')
const config = require('../config')
const isProduction = process.env.NODE_ENV === 'production'
const sourceMapEnabled = isProduction
? config.build.productionSourceMap
: config.dev.cssSourceMap
module.exports = {
loaders: utils.cssLoaders({
sourceMap: sourceMapEnabled,
extract: isProduction
}),
cssSourceMap: sourceMapEnabled,
cacheBusting: config.dev.cacheBusting,
transformToRequire: {
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
}
}

@ -0,0 +1,82 @@
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
context: path.resolve(__dirname, '../'),
entry: {
app: './src/main.js'
},
output: {
path: config.build.assetsRoot,
filename: '[name].js',
publicPath: process.env.NODE_ENV === 'production'
? config.build.assetsPublicPath
: config.dev.assetsPublicPath
},
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
}
},
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
{
test: /\.js$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client')]
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('media/[name].[hash:7].[ext]')
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
},
node: {
// prevent webpack from injecting useless setImmediate polyfill because Vue
// source contains it (although only uses it if it's native).
setImmediate: false,
// prevent webpack from injecting mocks to Node native modules
// that does not make sense for the client
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
}
}

@ -0,0 +1,95 @@
'use strict'
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const path = require('path')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
const devWebpackConfig = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })
},
// cheap-module-eval-source-map is faster for development
devtool: config.dev.devtool,
// these devServer options should be customized in /config/index.js
devServer: {
clientLogLevel: 'warning',
historyApiFallback: {
rewrites: [
{ from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
],
},
hot: true,
contentBase: false, // since we use CopyWebpackPlugin.
compress: true,
host: HOST || config.dev.host,
port: PORT || config.dev.port,
open: config.dev.autoOpenBrowser,
overlay: config.dev.errorOverlay
? { warnings: false, errors: true }
: false,
publicPath: config.dev.assetsPublicPath,
proxy: config.dev.proxyTable,
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll,
}
},
plugins: [
new webpack.DefinePlugin({
'process.env': require('../config/dev.env')
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update.
new webpack.NoEmitOnErrorsPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true
}),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../static'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
}
])
]
})
module.exports = new Promise((resolve, reject) => {
portfinder.basePort = process.env.PORT || config.dev.port
portfinder.getPort((err, port) => {
if (err) {
reject(err)
} else {
// publish the new Port, necessary for e2e tests
process.env.PORT = port
// add port to devServer config
devWebpackConfig.devServer.port = port
// Add FriendlyErrorsPlugin
devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({
compilationSuccessInfo: {
messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`],
},
onErrors: config.dev.notifyOnErrors
? utils.createNotifierCallback()
: undefined
}))
resolve(devWebpackConfig)
}
})
})

@ -0,0 +1,145 @@
'use strict'
const path = require('path')
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const env = require('../config/prod.env')
const webpackConfig = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
extract: true,
usePostCSS: true
})
},
devtool: config.build.productionSourceMap ? config.build.devtool : false,
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
'process.env': env
}),
new UglifyJsPlugin({
uglifyOptions: {
compress: {
warnings: false
}
},
sourceMap: config.build.productionSourceMap,
parallel: true
}),
// extract css into its own file
new ExtractTextPlugin({
filename: utils.assetsPath('css/[name].[contenthash].css'),
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks: true,
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
new OptimizeCSSPlugin({
cssProcessorOptions: config.build.productionSourceMap
? { safe: true, map: { inline: false } }
: { safe: true }
}),
// generate dist index.html with correct asset hash for caching.
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: config.build.index,
template: 'index.html',
inject: true,
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
}),
// keep module.id stable when vendor modules does not change
new webpack.HashedModuleIdsPlugin(),
// enable scope hoisting
new webpack.optimize.ModuleConcatenationPlugin(),
// split vendor js into its own file
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
minChunks (module) {
// any required modules inside node_modules are extracted to vendor
return (
module.resource &&
/\.js$/.test(module.resource) &&
module.resource.indexOf(
path.join(__dirname, '../node_modules')
) === 0
)
}
}),
// extract webpack runtime and module manifest to its own file in order to
// prevent vendor hash from being updated whenever app bundle is updated
new webpack.optimize.CommonsChunkPlugin({
name: 'manifest',
minChunks: Infinity
}),
// This instance extracts shared chunks from code splitted chunks and bundles them
// in a separate chunk, similar to the vendor chunk
// see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk
new webpack.optimize.CommonsChunkPlugin({
name: 'app',
async: 'vendor-async',
children: true,
minChunks: 3
}),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../static'),
to: config.build.assetsSubDirectory,
ignore: ['.*']
}
])
]
})
if (config.build.productionGzip) {
const CompressionWebpackPlugin = require('compression-webpack-plugin')
webpackConfig.plugins.push(
new CompressionWebpackPlugin({
asset: '[path].gz[query]',
algorithm: 'gzip',
test: new RegExp(
'\\.(' +
config.build.productionGzipExtensions.join('|') +
')$'
),
threshold: 10240,
minRatio: 0.8
})
)
}
if (config.build.bundleAnalyzerReport) {
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
webpackConfig.plugins.push(new BundleAnalyzerPlugin())
}
module.exports = webpackConfig

@ -0,0 +1,7 @@
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"'
})

@ -0,0 +1,69 @@
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
/**
* Source Maps
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
// https://vue-loader.vuejs.org/en/options.html#cachebusting
cacheBusting: true,
cssSourceMap: true
},
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
/**
* Source Maps
*/
productionSourceMap: true,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
// npm install --save-dev compression-webpack-plugin
productionGzip: false,
productionGzipExtensions: ['js', 'css'],
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
}

@ -0,0 +1,4 @@
'use strict'
module.exports = {
NODE_ENV: '"production"'
}

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>hw</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}

@ -0,0 +1,70 @@
{
"name": "hw",
"version": "1.0.0",
"description": "",
"author": "夜笙歌 <2277317060@qq.com>",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"dev": "webpack-dev-server --inline --progress --config vue.config.js",
"dev1": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"build": "node build/build.js"
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"animate.css": "^4.1.1",
"element-ui": "^2.15.14",
"less": "^4.2.0",
"less-loader": "5.0.0",
"vue": "^2.5.2",
"vue-router": "^3.0.1"
},
"devDependencies": {
"@vue/cli-service": "~5.0.0",
"autoprefixer": "^7.1.2",
"babel-core": "^6.22.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.1",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0",
"babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0",
"chalk": "^2.0.1",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.0",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4",
"friendly-errors-webpack-plugin": "^1.6.1",
"html-webpack-plugin": "^2.30.1",
"node-notifier": "^5.1.2",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.2.0",
"portfinder": "^1.0.13",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.8",
"postcss-url": "^7.2.1",
"rimraf": "^2.6.0",
"semver": "^5.3.0",
"shelljs": "^0.7.6",
"uglifyjs-webpack-plugin": "^1.1.1",
"url-loader": "^0.5.8",
"vue-loader": "^13.3.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.5.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0"
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}

@ -0,0 +1,38 @@
<template>
<div id="app">
<router-view/>
</div>
</template>
<script>
export default {
name: 'App'
}
</script>
<style lang="less">
@font-face {
font-family: 'NotoSans';
src: url('./assets/font/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
//src: url('./assets/font/NotoSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
&::-webkit-scrollbar {
display: none
}
}
#app {
font-family: 'NotoSans', 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

@ -0,0 +1,44 @@
<template>
<div>
<div class="title">
<slot name="title"></slot>
</div>
<div class="subTitle">
<slot name="subTitle"></slot>
</div>
</div>
</template>
<script>
export default {
name: 'TitleGroup',
data() {
return {}
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.title {
padding-top: 4.2vw;
width: 100%;
text-align: center;
font-size: 2.5vw;
letter-spacing: 4px;
color: #0003;
}
.subTitle {
padding-top: 0.4vw;
width: 100%;
text-align: center;
font-size: 1.9vw;
letter-spacing: 2px;
color: #000;
}
</style>

@ -0,0 +1,167 @@
<template>
<div>
<div class="content">
<div class="left">
<div class="map" id="map"></div>
<div class="bottomInfo">
<div class="contactInfo">
<p>联系电话0532-88985832</p>
<p>联系邮箱market@highwayiot.com</p>
<p>公司地址青岛市市北区郑州路43号</p>
<p>邮编266042</p>
</div>
<img class="qrcode" :src="qrcode" alt="联系我们"/>
</div>
</div>
<div class="right">
<div class="title">联系我们</div>
<div class="form">
<el-form ref="form" :model="form" size="small">
<el-form-item>
<el-input v-model="form.name" placeholder="姓名(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form.name" placeholder="电话号码(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form.name" placeholder="电子邮箱(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input type="textarea" v-model="form.desc" :rows="6" placeholder="留言内容(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-col :span="8">
<el-input v-model="form.name" placeholder="验证码"></el-input>
</el-col>
<el-col :span="8" :offset="2">
<div style="width: 100%;height: 100%">
<el-image style="width: 100%; height: 2vw" :src="qrcode" fit="contain"></el-image>
</div>
</el-col>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit"></el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</div>
</template>
<script>
import qrcode from '@/assets/image/qrcode.png'
let map = null
export default {
name: 'ProductCenter',
data() {
return {
qrcode,
form: {
name: '',
}
}
},
mounted() {
this.createMap()
this.addMarker()
},
methods: {
createMap() {
map = new AMap.Map('map', {
zoom: 14,
center: [120.390436,36.146313],
});
},
addMarker(){
const marker = new AMap.Marker({
position: [120.390436,36.146313],
offset: new AMap.Pixel(9, 0), // icon [center bottom]
});
map.add(marker);
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
width: 65vw;
margin: 2.1vw auto 0;
padding-top: 3.1vw;
text-align: left;
display: flex;
justify-content: space-between;
}
.left {
width: 41.2vw;
display: inline-block;
text-align: left;
.map {
width: 100%;
height: 17.6vw;
}
.bottomInfo {
display: flex;
justify-content: space-between;
width: 100%;
margin-top: 0.85vw;
.contactInfo {
color: #ccc;
font-size: 0.8vw;
p {
line-height: 0.75vw;
letter-spacing: 1px;
}
}
.qrcode {
object-fit: contain;
}
}
}
.right {
width: 20vw;
display: inline-block;
text-align: left;
.title {
font-size: 1.2vw;
color: #eee;
letter-spacing: 2px;
}
.form {
margin-top: 1.3vw;
/deep/ .el-input__inner {
height: 2vw;
line-height: 2vw;
&::placeholder {
color: #999;
font-size: 0.8vw;
}
}
/deep/ .el-textarea__inner::placeholder {
font-weight: 500;
color: #999;
font-size: 0.8vw;
font-family: 'NotoSans', 'Avenir', Helvetica, Arial, sans-serif;
}
}
}
</style>

@ -0,0 +1,47 @@
<template>
<div>
<div class="content">
<div class="left">青岛海威物联科技有限公司 版权所有 鲁公网安备14010602004605号 网站技术支持</div>
<div class="right">鲁ICP备18001988号-1</div>
</div>
</div>
</template>
<script>
export default {
name: 'Copyright',
data() {
return {}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
width: 65vw;
margin: 0 auto;
display: flex;
justify-content: space-between;
color: #eee;
height: 4.2vw;
line-height: 4.2vw;
.left {
width: 60%;
text-align: left;
letter-spacing: 1px;
}
.right {
width: 40%;
text-align: right;
letter-spacing: 1px;
}
}
</style>

@ -0,0 +1,243 @@
<template>
<div class="menu">
<div v-for="(i,k) in menuList" :class="`menuItem ${k === 0 ? 'focus':''}`" @mouseenter="getChildren(i)">
<div :class="`name `" @click="toLink(i.path)">{{ i.name }}</div>
<div class="line"></div>
</div>
<div class="subMenu" v-if="(subMenuList||[]).length>0" @mouseleave="clearChildren">
<div :class="`topMenuItem${k===0 ? ' active':''}`" v-for="(ii,k) in subMenuList">
<div class="icon">
<img :src="ii.icon" alt="" style="width: 1.8vw;height: 1.8vw;object-fit: contain">
</div>
<div class="menuChildrenName">
<span>
{{ ii.name }}
</span>
</div>
</div>
</div>
</div>
</template>
<script>
import wlw from "@/assets/icon/wlw.png";
import znzz from "@/assets/icon/znzz.png";
import kdwl from "@/assets/icon/kdwl.png";
import znlt from "@/assets/icon/znlt.png";
export default {
name: 'Index',
data() {
return {
menuList: [
{
name: '首页',
path: 'index'
},
{
name: '产品中心',
path: 'productCenter',
children: [
{
name: '工业互联网',
icon: wlw,
path: '/'
},
{
name: '智能制造',
icon: znzz,
path: '/'
},
{
name: '快递物流',
icon: kdwl,
path: '/'
},
{
name: '智能轮胎',
icon: znlt,
path: '/'
},
]
},
{
name: '案例与客户',
path: 'index2',
children: [
{
name: '工业物联网案例',
icon: wlw,
path: '/'
},
{
name: '智能制造案例',
icon: znzz,
path: '/'
},
{
name: '快递物流案例',
icon: kdwl,
path: '/'
},
{
name: '智能轮胎案例',
icon: znlt,
path: '/'
},
{
name: '合作客户',
icon: znlt,
path: '/'
},
]
},
{
name: '新闻中心',
path: 'index3'
},
{
name: '关于我们',
path: 'index4'
},
],
subMenuList: [
{
name: '工业互联网',
icon: wlw,
path: '/'
},
{
name: '智能制造',
icon: znzz,
path: '/'
},
{
name: '快递物流',
icon: kdwl,
path: '/'
},
{
name: '智能轮胎',
icon: znlt,
path: '/'
},
]
}
},
mounted() {
let query = this.$route.path
console.log(this.$route)
console.log(query)
},
methods: {
toLink(e) {
console.log(e)
this.$router.push(e)
},
getChildren(e) {
if (e.children) {
this.subMenuList = e.children
} else {
this.subMenuList = []
}
},
clearChildren() {
this.subMenuList = []
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.menu {
position: relative;
.focus, .menuItem:hover {
font-weight: 700;
color: #3076f8;
background-color: #ebf1ff;
.line {
width: 100%;
height: 2px;
position: absolute;
bottom: 0;
left: 0;
background-color: #3076f8;
}
}
.menuItem {
//width: 120px;
padding: 0 2vw;
position: relative;
display: inline-block;
cursor: pointer;
transition: all 0.2s;
.name {
line-height: @top-height;
font-size: 1vw;
letter-spacing: 2px;
}
}
.subMenu {
position: absolute;
width: 100vw;
left: 50%;
transform: translateX(-50%);
height: @menuHeight;
display: flex;
justify-content: center;
background-color: #fff;
z-index: -1;
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.04);
.topMenuItem.active, .topMenuItem:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
.menuChildrenName {
color: @standard-color;
}
}
.topMenuItem {
width: @menuHeight;
height: @menuHeight;
transition: all 0.2s;
.icon {
width: 100%;
height: 36%;
margin-top: 22%;
display: flex;
align-items: center;
justify-content: center;
}
.menuName {
height: 20%;
font-size: 0.9vw;
color: #111;
letter-spacing: 1px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
@menuHeight: 11vw;
</style>

@ -0,0 +1,97 @@
<template>
<div>
<div class="top">
<Menu class="menu"/>
<img :src="logo" alt="" class="logo">
<div class="experience">体验云平台</div>
</div>
<div class="shadow">
</div>
<div class="content">
<router-view></router-view>
</div>
</div>
</template>
<script>
import Menu from '@/components/menu/index'
import logo from '@/assets/logo.png'
export default {
name: 'Index',
components: {
Menu
},
data() {
return {
logo,
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.top {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: @top-height;
background-image: radial-gradient(transparent 1px, #fff 1px);
backdrop-filter: saturate(50%) blur(4px);
z-index: 2;
}
.shadow{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: @top-height;
box-shadow: 0 -30px 40px rgba(0, 0, 0, 0.8);
z-index: 3;
pointer-events: none
}
.menu {
position: absolute;
left: 50%;
top: 0;
height: 100%;
transform: translateX(-50%);
z-index: 4;
}
.logo {
position: absolute;
top: 50%;
left: 2%;
transform: translateY(-50%);
height: 40%;
}
.experience {
position: absolute;
top: 0;
right: 0;
width: 9vw;
height: 100%;
font-size: 1vw;
letter-spacing: 2px;
line-height: @top-height;
text-align: center;
color: #fff;
background-color: #3372ff;
cursor: pointer;
}
.content {
position: absolute;
top: @top-height;
left: 0;
width: 100%;
height: calc(100vh - @top-height);
z-index: 1;
}
</style>

@ -0,0 +1,30 @@
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui';
import App from './App'
import router from './router'
import 'element-ui/lib/theme-chalk/index.css';
import 'animate.css'
import AMapLoader from "@amap/amap-jsapi-loader";
Vue.config.productionTip = false
Vue.use(ElementUI);
window._AMapSecurityConfig = {
securityJsCode:'86aa5d3d73bfb4fb80874f18ab3bb755',
}
await AMapLoader.load({
'key': 'c3977afea8e6dc24a851a2819213cf4e',
'securityJsCode':'86aa5d3d73bfb4fb80874f18ab3bb755',
'version': '2.0',
'plugins': ['AMap.Scale','AMap.GeoJSON','AMap.MarkerClusterer','AMap.PolygonEditor','AMap.Polygon','AMap.CircleEditor']
}).then((AMap) => {
Vue.use(AMap)
})
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: {App},
template: '<App/>'
})

@ -0,0 +1,37 @@
import Vue from 'vue'
import Router from 'vue-router'
import Layout from '@/layout/index.vue'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
component: Layout,
redirect: '/index',
children: [
{
path: '/index',
component: () => import('@/views/index/index.vue'),
},
{
path: '/productCenter',
component: () => import('@/views/productCenter/index.vue'),
},
{
path: '/index2',
component: () => import('@/views/index/index.vue'),
},
{
path: '/index3',
component: () => import('@/views/index/index.vue'),
},
{
path: '/index4',
component: () => import('@/views/index/index.vue'),
},
]
},
]
})

@ -0,0 +1,2 @@
@top-height: 4.5vw;
@standard-color: #3372ff;

@ -0,0 +1,52 @@
<template>
<div>
<el-carousel trigger="click" style="height:100%">
<el-carousel-item v-for="item in 4" :key="item">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</el-carousel-item>
</el-carousel>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
export default {
name: 'Carousel',
data() {
return {
banner,
}
}
}
</script>
<style lang="less" scoped>
/deep/ .el-carousel__container {
height: 100%;
}
/deep/ .el-carousel__button {
width: 50px;
height: 6px;
border-radius: 3px;
background-color: #cfd6de;
}
/deep/ .el-carousel__indicator--horizontal {
padding: 12px 8px;
}
/deep/ .el-carousel__indicator.is-active button {
opacity: 1;
background-color: #3372ff;
}
/deep/ .el-carousel__indicators--horizontal {
bottom: 5%;
}
</style>

@ -0,0 +1,234 @@
<template>
<div>
<div class="title">CLASSIC CASE</div>
<div class="subTitle">典型案例</div>
<div class="content">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="物联网" name="1">
<transition name="fade">
<div v-if="activeName === '1'" style="position:relative;">
<div class="left">
<div class="caseTitle">智慧变电站</div>
<div class="caseInfo">
针对变配电场景下高压场/GIS组合电器变压器电容电抗蛋避雷器高压开关柜隔离开关等电气设备采用不同的手段进行监测系统可对实时监测的数据进行智能化多维度分析和诊断评估设备运行状态捕捉设备运行中的异常通过对采集的设备图像温度环境参数等进行分析使用户可以随时了解设备的运行状态设备缺陷信息变电站整体系统运行状态信息等为管理者提供决策提高管理水平
</div>
<div class="getCaseInfo" @click="getCaseInfo"> >></div>
</div>
<div class="learnMore" @click="learnMore">
<span>
想了解更多
</span>
<div class="toRight">
<i class="el-icon-arrow-right"></i>
</div>
</div>
<div class="caseImage">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</div>
</div>
</transition>
</el-tab-pane>
<el-tab-pane label="制造中心" name="2">
<transition name="fade">
<div v-if="activeName === '2'" style="position:relative;">
<div class="left">
<div class="caseTitle">智慧变电站</div>
<div class="caseInfo">
针对变配电场景下高压场/GIS组合电器变压器电容电抗蛋避雷器高压开关柜隔离开关等电气设备采用不同的手段进行监测系统可对实时监测的数据进行智能化多维度分析和诊断评估设备运行状态捕捉设备运行中的异常通过对采集的设备图像温度环境参数等进行分析使用户可以随时了解设备的运行状态设备缺陷信息变电站整体系统运行状态信息等为管理者提供决策提高管理水平
</div>
<div class="getCaseInfo" @click="getCaseInfo"> >></div>
</div>
<div class="learnMore" @click="learnMore">
<span>
想了解更多
</span>
<div class="toRight">
<i class="el-icon-arrow-right"></i>
</div>
</div>
</div>
</transition>
</el-tab-pane>
<el-tab-pane label="快递物流" name="3">
<transition name="fade">
<div v-if="activeName === '3'" style="position:relative;">
<div class="left">
<div class="caseTitle">智慧变电站</div>
<div class="caseInfo">
针对变配电场景下高压场/GIS组合电器变压器电容电抗蛋避雷器高压开关柜隔离开关等电气设备采用不同的手段进行监测系统可对实时监测的数据进行智能化多维度分析和诊断评估设备运行状态捕捉设备运行中的异常通过对采集的设备图像温度环境参数等进行分析使用户可以随时了解设备的运行状态设备缺陷信息变电站整体系统运行状态信息等为管理者提供决策提高管理水平
</div>
<div class="getCaseInfo" @click="getCaseInfo"> >></div>
</div>
<div class="learnMore" @click="learnMore">
<span>
想了解更多
</span>
<div class="toRight">
<i class="el-icon-arrow-right"></i>
</div>
</div>
</div>
</transition>
</el-tab-pane>
</el-tabs>
</div>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
export default {
name: 'ProductCenter',
data() {
return {
banner,
activeName: '1'
}
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
},
getCaseInfo() {
},
learnMore() {
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
/deep/ .el-tabs__nav-wrap::after {
display: none;
}
/deep/ .el-tabs__item {
letter-spacing: 3px;
padding: 0 30px;
height: 2.9vw;
font-size: 1.6vw;
}
/deep/ .el-tabs__item.is-active {
font-weight: 600;
color: @standard-color;
}
/deep/ .el-tabs__active-bar {
height: 4px;
background-color: @standard-color;
}
.content {
width: 65vw;
margin: 2.1vw auto 0;
}
.title {
margin-top: 4.2vw;
width: 100%;
text-align: center;
font-size: 2.5vw;
letter-spacing: 2px;
color: #0003;
}
.subTitle {
margin-top: 0.4vw;
width: 100%;
text-align: center;
font-size: 1.9vw;
letter-spacing: 2px;
color: #000;
}
.left {
width: 52%;
padding-top: 1.7vw;
word-break:break-all;
.caseTitle {
color: #000;
font-size: 1.5vw;
text-align: left;
letter-spacing: 2px;
}
.caseInfo {
font-size: 1.1vw;
color: #666;
text-align: left;
margin-top: 0.9vw;
line-height: 1.78vw;
letter-spacing: 2px;
}
.getCaseInfo {
color: @standard-color;
font-size: 1.2vw;
margin-top: 1vw;
text-align: left;
letter-spacing: 2px;
cursor: pointer;
}
}
.learnMore {
width: 100%;
height: 4.7vw;
line-height: 4.7vw;
font-size: 1.1vw;
background-color: #3372ff;
text-align: left;
padding-left: 6vw;
color: #fefefe;
margin-top: 1.1vw;
letter-spacing: 2px;
cursor: pointer;
.toRight {
display: inline-block;
width: 2vw;
height: 2vw;
border: 1px solid #eee;
border-radius: 50%;
text-align: center;
line-height: 2vw;
font-size: 1.2vw;
margin-left: 3vw;
transition: all 1s;
}
}
.learnMore:hover {
.toRight {
margin-left: 4vw;
}
}
.caseImage {
position: absolute;
bottom: 0;
left: 55%;
width: 45%;
height: 100%;
}
.fade-enter-active {
animation: fadeInRight;
animation-duration: 0.5s;
}
.fade-leave-active {
animation: fadeOutLeft;
animation-duration: 0.5s;
}
</style>

@ -0,0 +1,167 @@
<template>
<div>
<div class="content">
<div class="left">
<div class="map" id="map"></div>
<div class="bottomInfo">
<div class="contactInfo">
<p>联系电话0532-88985832</p>
<p>联系邮箱market@highwayiot.com</p>
<p>公司地址青岛市市北区郑州路43号</p>
<p>邮编266042</p>
</div>
<img class="qrcode" :src="qrcode" alt="联系我们"/>
</div>
</div>
<div class="right">
<div class="title">联系我们</div>
<div class="form">
<el-form ref="form" :model="form" size="small">
<el-form-item>
<el-input v-model="form.name" placeholder="姓名(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form.name" placeholder="电话号码(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input v-model="form.name" placeholder="电子邮箱(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-input type="textarea" v-model="form.desc" :rows="6" placeholder="留言内容(必填)"></el-input>
</el-form-item>
<el-form-item>
<el-col :span="8">
<el-input v-model="form.name" placeholder="验证码"></el-input>
</el-col>
<el-col :span="8" :offset="2">
<div style="width: 100%;height: 100%">
<el-image style="width: 100%; height: 2vw" :src="qrcode" fit="contain"></el-image>
</div>
</el-col>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit"></el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</div>
</template>
<script>
import qrcode from '@/assets/image/qrcode.png'
let map = null
export default {
name: 'ProductCenter',
data() {
return {
qrcode,
form: {
name: '',
}
}
},
mounted() {
this.createMap()
this.addMarker()
},
methods: {
createMap() {
map = new AMap.Map('map', {
zoom: 14,
center: [120.390436,36.146313],
});
},
addMarker(){
const marker = new AMap.Marker({
position: [120.390436,36.146313],
offset: new AMap.Pixel(9, 0), // icon [center bottom]
});
map.add(marker);
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
width: 65vw;
margin: 2.1vw auto 0;
padding-top: 3.1vw;
text-align: left;
display: flex;
justify-content: space-between;
}
.left {
width: 41.2vw;
display: inline-block;
text-align: left;
.map {
width: 100%;
height: 17.6vw;
}
.bottomInfo {
display: flex;
justify-content: space-between;
width: 100%;
margin-top: 0.85vw;
.contactInfo {
color: #ccc;
font-size: 0.8vw;
p {
line-height: 0.75vw;
letter-spacing: 1px;
}
}
.qrcode {
object-fit: contain;
}
}
}
.right {
width: 20vw;
display: inline-block;
text-align: left;
.title {
font-size: 1.2vw;
color: #eee;
letter-spacing: 2px;
}
.form {
margin-top: 1.3vw;
/deep/ .el-input__inner {
height: 2vw;
line-height: 2vw;
&::placeholder {
color: #999;
font-size: 0.8vw;
}
}
/deep/ .el-textarea__inner::placeholder {
font-weight: 500;
color: #999;
font-size: 0.8vw;
font-family: 'NotoSans', 'Avenir', Helvetica, Arial, sans-serif;
}
}
}
</style>

@ -0,0 +1,65 @@
<template>
<div>
<Carousel class="carousel"/>
<ProductCenter class="productCenter"/>
<ClassicCase class="classicCase"/>
<NewsCenter class="newsCenter"/>
<ContactUs class="contactUs"/>
<Copyright class="copyright"/>
</div>
</template>
<script>
import Carousel from './carousel'
import ProductCenter from './productCenter'
import ClassicCase from './classicCase'
import NewsCenter from './newsCenter'
import ContactUs from './contactUs'
import Copyright from '@/components/copyright'
export default {
name: 'Index',
components: {
Carousel,
ProductCenter,
ClassicCase,
NewsCenter,
ContactUs,
Copyright
},
data() {
return {}
}
}
</script>
<style lang="less" scoped>
.carousel {
width: 100%;
height: 650px;
}
.productCenter {
width: 100%;
}
.classicCase {
width: 100%;
background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)), url("~@/assets/image/bg.jpg");
background-size: 100% 36.41vw;
background-repeat: no-repeat;
}
.newsCenter {
width: 100%;
}
.contactUs {
width: 100%;
background-color: #2e445c;
}
.copyright{
width: 100%;
background-color: #1d3348;
}
</style>

@ -0,0 +1,167 @@
<template>
<div>
<div class="title">NEWS CENTER</div>
<div class="subTitle">新闻中心</div>
<div class="newsList">
<div v-for="i in 3" class="newsItem">
<div class="newsDay">03</div>
<div class="newsTime">11/2024</div>
<div class="newsTitle">[央视镜头]海威物联技术支持的智慧物流</div>
<div class="newsImage">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</div>
<div class="newsInfo">
近日央视记者探访目前全球规模最大的仓检一体智能物流园区 - 京东昆明
</div>
<div class="newsDetail">查看详情 ></div>
</div>
</div>
<div class="learnMore">
<el-button type="primary" plain>查看更多</el-button>
</div>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
export default {
name: 'ProductCenter',
data() {
return {
banner,
}
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
width: 70vw;
margin: 0 auto;
}
.title {
margin-top: 4.2vw;
width: 100%;
text-align: center;
font-size: 2.5vw;
letter-spacing: 2px;
color: #0003;
}
.subTitle {
margin-top: 0.4vw;
width: 100%;
text-align: center;
font-size: 1.9vw;
letter-spacing: 2px;
color: #000;
}
.newsList {
margin-top: 3.9vw;
.newsItem {
cursor: pointer;
transition: all 0.2s;
display: inline-block;
width: 17vw;
margin: 0 1vw;
background-color: #f8f8f8;
text-align: left;
padding: 1.5vw;
.newsDay {
margin-top: 0.7vw;
font-size: 2.9vw;
color: #000;
transition: all 0.2s;
}
.newsTime {
font-size: 1.1vw;
margin-top: 0.15vw;
color: #666;
transition: all 0.2s;
letter-spacing: 2px;
}
.newsTitle {
margin-top: 0.8vw;
font-size: 1.2vw;
color: #000;
transition: all 0.2s;
line-height: 1.9vw;
letter-spacing: 3px;
}
.newsImage {
margin-top: 1vw;
width: 100%;
height: 10.4vw;
}
.newsInfo {
margin-top: 0.85vw;
font-size: 0.9vw;
color: #666;
transition: all 0.2s;
line-height: 1.4vw;
}
.newsDetail {
margin-top: 1vw;
font-size: 1vw;
color: @standard-color;
transition: all 0.2s;
}
}
.newsItem:hover {
background-color: @standard-color;
.newsDay {
color: #fff;
}
.newsTime {
color: #fff;
}
.newsTitle {
color: #fff;
}
.newsInfo {
color: #fff;
}
.newsDetail {
color: #fff;
}
}
}
.learnMore {
margin-top: 3.2vw;
/deep/ .el-button {
background-color: #0000;
padding: 1vw 3vw;
border-color: @standard-color;
span {
font-size: 1.2vw;
letter-spacing: 3px;
color: @standard-color;
}
}
}
</style>

@ -0,0 +1,155 @@
<template>
<div>
<div class="title">PRODUCT CENTER</div>
<div class="subTitle">产品中心</div>
<div class="productList">
<div v-for="i in 4" class="productItem">
<div class="imageArea">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</div>
<div class="imageAreaModel">
<span>
随着技术的不断发展和物联网概念的新奇物联网应用正逐渐渗透到我们的日常生活的各行各业
</span>
</div>
<div class="titleArea">
<span>
物联网解决方案
</span>
</div>
</div>
</div>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
export default {
name: 'ProductCenter',
data() {
return {
banner
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.title {
margin-top: 4.2vw;
width: 100%;
text-align: center;
font-size: 2.5vw;
letter-spacing: 2px;
color: #0003;
}
.subTitle {
margin-top: 0.4vw;
width: 100%;
text-align: center;
font-size: 1.9vw;
letter-spacing: 2px;
color: #000;
}
.productList {
position: relative;
margin-top: 4vw;
.productItem {
display: inline-block;
width: 14.5vw;
height: 22vw;
margin: 0 1vw;
box-shadow: 0 0 10px #0003;
position: relative;
.imageArea {
width: 12.5vw;
height: 12.5vw;
padding: 1vw;
position: relative;
background-color: #fff;
}
.imageAreaModel {
position: absolute;
width: 14.5vw;
height: 14.5vw;
top: 0;
left: 0;
opacity: 0;
background-image: radial-gradient(transparent 1px, fade(@standard-color, 80) 1px);
backdrop-filter: saturate(50%) blur(4px);
transition: all 0.3s;
span {
display: inline-block;
width: 10vw;
height: 10vw;
padding: 2.25vw;
color: #fefefe;
font-size: 0.9vw;
line-height: 1.7vw;
}
}
.titleArea {
width: 100%;
height: calc(100% - 14.5vw);
text-align: center;
background-color: #d8eaff;
transition: all 0.2s;
position: relative;
&::after {
transition: all 0.2s;
position: absolute;
top: 0%;
left: 50%;
transform: translateX(-50%);
content: "";
border: 1vw solid #0000;
border-top-color: #fff;
}
span {
transition: all 0.2s;
display: grid;
place-items: center;
height: 100%;
font-size: 1.4vw;
letter-spacing: 2px;
color: @standard-color;
}
}
}
.productItem:hover {
.imageAreaModel {
opacity: 1;
}
.titleArea {
background-color: @standard-color;
&::after {
border-top-color: #5c8eff;
}
span {
color: #fefefe;
}
}
}
}
</style>

@ -0,0 +1,161 @@
<template>
<div>
<div class="banner">
<el-image
style="width: 100%; height: 100%;position:absolute;top: 0;left: 0;"
:src="banner"
fit="contain"></el-image>
<div class="bannerInfo">青岛海威物联科技有限公司致力于工业物联网软硬件系统研发生产和销售提供感知互联的工业化联网整体解决方案</div>
<el-button type="primary" class="bannerBtn">免费体验</el-button>
<div class="tabs">
<div class="content">
<div class="tab active">物联网平台</div>
<div class="tab">物联网硬件产品系列</div>
</div>
</div>
</div>
<platformAdvantages class="platformAdvantages"/>
<PlatformIntroduction class="platformIntroduction"/>
<PlatformAdvantages2 class="platformAdvantages2"/>
<PlatformAdvantages3 class="platformAdvantages3"/>
<PlatformArchitecture class="platformArchitecture"/>
<TechnicalArchitecture class="technicalArchitecture"/>
<platformFeatures class="platformFeatures"/>
<ContactUs class="contactUs"/>
<Copyright class="copyright"/>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
import PlatformAdvantages from './platformAdvantages'
import PlatformIntroduction from './platformIntroduction'
import PlatformAdvantages2 from './platformAdvantages2'
import PlatformAdvantages3 from './platformAdvantages3'
import PlatformArchitecture from './platformArchitecture'
import TechnicalArchitecture from './technicalArchitecture'
import PlatformFeatures from './platformFeatures'
import ContactUs from '@/components/contactUs'
import Copyright from '@/components/copyright'
export default {
name: 'ProductCenter',
components: {
PlatformAdvantages,
PlatformIntroduction,
PlatformAdvantages2,
PlatformAdvantages3,
PlatformArchitecture,
TechnicalArchitecture,
PlatformFeatures,
ContactUs,
Copyright
},
data() {
return {
banner
}
}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.banner {
width: 100%;
height: 35.5vw;
position: relative;
.bannerInfo {
position: absolute;
top: 35%;
left: 19%;
width: 45%;
text-align: left;
font-size: 1.4vw;
color: @standard-color;
line-height: 2.5vw;
letter-spacing: 4px;
word-break: break-all;
}
.bannerBtn {
position: absolute;
top: 58%;
left: 19%;
width: 11.5vw;
font-size: 1.2vw;
line-height: 2vw;
letter-spacing: 2px;
}
.tabs {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to bottom, fade(@standard-color, 10), fade(#fff, 10));
backdrop-filter: saturate(50%) blur(4px);
.content {
width: 62%;
position: relative;
left: 50%;
bottom: 0;
transform: translateX(-50%);
.tab {
display: inline-block;
width: 50%;
line-height: 6.2vw;
font-size: 1.6vw;
letter-spacing: 3px;
}
.tab.active {
color: @standard-color;
width: calc(50% - 2px);
border: 1px solid #fff;
box-shadow: 0 0 3px #0002;
}
}
}
}
.platformAdvantages {
width: 100%;
}
.platformIntroduction {
width: 100%;
background-color: #f4f9ff;
}
.platformAdvantages2 {
width: 100%;
}
.platformAdvantages3 {
width: 100%;
background-color: #f6f7fb;
}
.platformArchitecture {
width: 100%;
}
.technicalArchitecture {
width: 100%;
background-color: #f4f9ff;
}
.contactUs {
width: 100%;
background-color: #2e445c;
}
.copyright {
width: 100%;
background-color: #1d3348;
}
</style>

@ -0,0 +1,125 @@
<template>
<div>
<TitleGroup>
<template slot="title">PLATFORM ADVANTAGES</template>
<template slot="subTitle">平台优势</template>
</TitleGroup>
<div class="list">
<div class="item" v-for="i in list">
<div class="icon">
<el-image
style="width: 100%;height: 100%"
:src="i.icon"
fit="contain"></el-image>
</div>
<div class="itemTitle">{{ i.name }}</div>
<div class="itemInfo">{{ i.info }}</div>
</div>
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
import znzz from "@/assets/icon/znzz.png";
import kdwl from "@/assets/icon/kdwl.png";
import znlt from "@/assets/icon/znlt.png";
let map = null
export default {
name: 'PlatformAdvantages',
components: {
TitleGroup
},
data() {
return {
list: [
{
name: '实时数据管理',
icon: wlw,
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
},
{
name: '数据存档',
icon: znzz,
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
},
{
name: '数据采集',
icon: kdwl,
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
},
{
name: '数据分析',
icon: znlt,
info: '通过获取实时数据,生产过程中,生产环境等结合产品质量进行相应关键指标参数分析,形成标准产品控制计划。'
},
],
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.list {
margin-top: 3.9vw;
padding-bottom: 5.3vw;
.item {
display: inline-block;
width: 14.5vw;
height: 16.7vw;
border-radius: 5px;
box-shadow: 0 0 3px #0002;
margin: 0 0.75vw;
transition: all 0.2s;
&:hover {
background-color: @standard-color;
.itemTitle {
color: #fff;
}
.itemInfo {
color: #fff;
}
}
.icon {
width: 4vw;
height: 4vw;
margin-top: 2vw;
display: inline-block;
}
.itemTitle {
transition: all 0.2s;
font-size: 1vw;
color: #000;
margin-top: 1vw;
letter-spacing: 1px;
}
.itemInfo {
transition: all 0.2s;
display: inline-block;
width: 82%;
font-size: 0.8vw;
color: #666;
margin-top: 0.9vw;
letter-spacing: 2px;
line-height: 1.45vw;
text-align: left;
}
}
}
</style>

@ -0,0 +1,96 @@
<template>
<div>
<TitleGroup>
<template slot="title">PLATFORM ADVANTAGES</template>
<template slot="subTitle">平台优势</template>
</TitleGroup>
<div class="list">
<div class="item" v-for="i in 4">
<div class="icon">
<el-image
style="width: 100%;height: 100%"
:src="wlw"
fit="contain"></el-image>
</div>
<div class="itemTitle">质量问题早发现</div>
<div class="itemInfo">获得采购商对质量管理的认可从而获得采购商对质量管理的</div>
</div>
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
let map = null
export default {
name: 'PlatformAdvantages',
components: {
TitleGroup
},
data() {
return {
wlw
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.list {
width: 65vw;
display: inline-block;
margin-top: 3.5vw;
margin-bottom: 3.9vw;
.item {
display: inline-block;
position: relative;
width: 47%;
height: 10vw;
box-shadow: 0 0 3px #0002;
margin: 0 1.5% 1.1vw 1.5%;
.icon {
width: 4vw;
height: 4vw;
position: absolute;
top: 54%;
left: 18.2%;
transform: translate(-50%, -50%);
}
.itemTitle {
top: 37%;
left: 33.9%;
position: absolute;
transform: translatey(-50%);
font-size: 1.2vw;
letter-spacing: 3px;
}
.itemInfo {
top: 62.2%;
left: 33.9%;
position: absolute;
transform: translatey(-50%);
font-size: 0.9vw;
color: #666;
letter-spacing: 2px;
text-align: left;
white-space: nowrap;
width: 63%;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
</style>

@ -0,0 +1,133 @@
<template>
<div>
<div class="content">
<div class="left">
<div class="leftTitle">平台优势</div>
<div class="leftSubTitle">PLATFORM ADVANTA-GES</div>
</div>
<div class="right">
<div class="list">
<div class="item" v-for="i in 4">
<div class="itemTitle">质量问题早发现</div>
<div class="itemInfo">针对变配电场景下高压场/GIS组合电器变压器电容电抗蛋避雷器高压开关柜隔离开关等电气设备采用不同的手段进行监测</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
let map = null
export default {
name: 'PlatformAdvantages',
components: {
TitleGroup
},
data() {
return {
wlw
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
display: inline-block;
padding-top: 5.1vw;
width: 65vw;
height: 31vw;
margin: 0 auto;
text-align: left;
vertical-align: top;
margin-bottom: 5.3vw;
.left {
width: 26%;
height: 100%;
margin: 0% 2%;
display: inline-block;
vertical-align: top;
background-color: #0378f9;
.leftTitle {
color: #fff;
font-size: 1.9vw;
letter-spacing: 2px;
margin-top: 21.7%;
margin-left: 11.8%;
}
.leftSubTitle {
color: #fff;
width: 75%;
line-height: 1.8vw;
font-size: 1.1vw;
letter-spacing: 2px;
margin-top: 5.1%;
margin-left: 11.8%;
word-break: break-all;
}
}
.right {
width: 68.5%;
height: 100%;
display: inline-block;
.list {
width: 100%;
height: 100%;
.item {
display: inline-block;
width: 48%;
height: 48%;
box-shadow: 0 0 3px #0002;
background-color: #f2f3f5;
&:nth-child(1) {
margin: 0 4% 3% 0;
}
&:nth-child(2) {
margin: 0 0 3% 0;
}
&:nth-child(3) {
margin: 0 4% 0 0;
}
.itemTitle {
margin-top: 8.2%;
margin-left: 7.6%;
font-size: 1.2vw;
line-height: 1.4vw;
color: #000;
letter-spacing: 2.7px;
border-left: 4px solid #3372ff;
padding-left: 0.7vw;
}
.itemInfo{
margin-top: 6%;
width: 88%;
margin-left: 7.3%;
font-size: 1.1vw;
line-height: 1.8vw;
color: #333;
letter-spacing: 4px;
}
}
}
}
}
</style>

@ -0,0 +1,45 @@
<template>
<div>
<TitleGroup>
<template slot="title">PLATFORM ARCHITECTURE</template>
<template slot="subTitle">平台架构</template>
</TitleGroup>
<div class="image">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import banner from '@/assets/image/banner.png'
let map = null
export default {
name: 'PlatformArchitecture',
components: {
TitleGroup
},
data() {
return {
banner,
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.image{
width: 65vw;
height: 33.3vw;
display: inline-block;
margin: 4vw 0 6vw 0;
}
</style>

@ -0,0 +1,110 @@
<template>
<div>
<TitleGroup>
<template slot="title">PLATFORM FEATURES</template>
<template slot="subTitle">平台功能</template>
</TitleGroup>
<div class="list">
<div class="item" v-for="i in 6">
<div class="icon">
<el-image
style="width: 100%;height: 100%"
:src="wlw"
fit="contain"></el-image>
</div>
<div class="itemTitle">实时数据管理</div>
<div class="itemInfo">通过获取实时数据生产过程中生产环境等结合产品质量进行相应关键指标参数分析形成标准产品控制计划</div>
</div>
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
let map = null
export default {
name: 'PlatformAdvantages',
components: {
TitleGroup
},
data() {
return {
wlw
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.list {
width: 65vw;
display: inline-block;
margin-top: 3.8vw;
margin-bottom: 2.8vw;
box-shadow: 0 0 3px #0002;
.item {
display: inline-block;
position: relative;
width: calc(100% / 3 - 2px);
height: 13.3vw;
border: 1px solid #3332;
margin: 0;
overflow: hidden;
float: left;
transition: all 0.2s;
&:hover {
background-color: @standard-color;
.itemTitle {
color: #fff;
}
.itemInfo {
color: #eee;
}
}
.icon {
width: 2.3vw;
height: 2.3vw;
position: absolute;
top: 22%;
left: 50%;
transform: translate(-50%, -50%);
}
.itemTitle {
top: 42%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
font-size: 1.1vw;
letter-spacing: 1px;
transition: all 0.2s;
}
.itemInfo {
top: 52.2%;
left: 9.6%;
position: absolute;
font-size: 0.8vw;
line-height: 1.5vw;
color: #666;
letter-spacing: 2.5px;
text-align: left;
width: 80%;
transition: all 0.2s;
}
}
}
</style>

@ -0,0 +1,105 @@
<template>
<div>
<TitleGroup>
<template slot="title">PLATFORM INTRODUCTION</template>
<template slot="subTitle">平台简介</template>
</TitleGroup>
<div class="content">
<div class="left">
<div class="contentTitle">开发平台是什么</div>
<div class="contentSubTitle">DEVELOPMENT PLATFORM</div>
<div class="contentInfo">
通过生产指令看板生产现场的所有人员均可及时了解生产任务的投入产出等情况并且实现对生产节奏的控制同时也为生产的前期准备提供了信息比如当天需要生产哪些产品应该准备哪些物料工艺文件生产夹具等
</div>
</div>
<div class="right">
<el-image
style="width: 100%;height: 100%"
:src="banner"
fit="contain"></el-image>
</div>
</div>
</div>
</template>
<script>
import banner from '@/assets/image/banner.png'
import TitleGroup from "@/components/TitleGroup";
import wlw from "@/assets/icon/wlw.png";
let map = null
export default {
name: 'PlatformIntroduction',
components: {
TitleGroup
},
data() {
return {
banner
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.content {
display: inline-block;
width: 62vw;
height: 20.1vw;
border: 1px solid #ccc3;
margin-top: 3.7vw;
margin-bottom: 5.2vw;
vertical-align: top;
.left {
vertical-align: top;
display: inline-block;
width: 50%;
height: 100%;
position: relative;
background-color: #ffffff;
.contentTitle {
position: absolute;
top: 18.6%;
left: 12.7%;
letter-spacing: 1px;
font-size: 1.4vw;
color: @standard-color;
}
.contentSubTitle {
position: absolute;
top: 14.6%;
left: 12.7%;
letter-spacing: 3.2px;
font-size: 1.6vw;
color: #6666;
}
.contentInfo {
text-align: left;
position: absolute;
top: 35.6%;
width: 73%;
left: 50%;
transform: translateX(-50%);
letter-spacing: 2.5px;
font-size: 0.8vw;
line-height: 1.6vw;
color: #666;
}
}
.right {
display: inline-block;
width: 50%;
height: 100%;
}
}
</style>

@ -0,0 +1,56 @@
<template>
<div>
<TitleGroup>
<template slot="title">TECHNICAL ARCHITECTURE</template>
<template slot="subTitle">技术架构</template>
</TitleGroup>
<div class="pageInfo">针对变配电场景下高压场/GIS组合电器变压器电容电抗蛋避雷器高压开关柜隔离开关等电气设备采用不同的手段进行监测</div>
<div class="image">
<el-image
style="width: 100%;height: 100%"
:src="banner"
></el-image>
<!-- fit="contain"></el-image>-->
</div>
</div>
</template>
<script>
import TitleGroup from "@/components/TitleGroup";
import banner from '@/assets/image/banner.png'
let map = null
export default {
name: 'PlatformArchitecture',
components: {
TitleGroup
},
data() {
return {
banner,
}
},
mounted() {
},
methods: {}
}
</script>
<style lang="less" scoped>
@import "~@/style.less";
.image{
width: 65vw;
height: 33.3vw;
display: inline-block;
margin: 4vw 0 6vw 0;
}
.pageInfo{
width: 63vw;
margin-top: 0.9vw;
display: inline-block;
color: #6666;
font-size: 1.2vw;
line-height: 2.2vw;
letter-spacing: 2.8px;
}
</style>

@ -0,0 +1,22 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
runtimeCompiler: true,
devServer: {
host: "0.0.0.0",
port: 8899,
open: true,
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
'/dev-api': {
target: `http://124.223.15.102:9600`,
// target: `http://1345442242.gnway.cc:80`,
changeOrigin: true,
pathRewrite: {
["^" + '/dev-api']: "",
},
},
},
},
})

10313
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save