first commit
12
.babelrc
Normal file
@ -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"]
|
||||
}
|
9
.editorconfig
Normal file
@ -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
Normal file
@ -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
|
10
.postcssrc.js
Normal file
@ -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": {}
|
||||
}
|
||||
}
|
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# pingtai2_project
|
||||
|
||||
> A Vue.js project
|
||||
|
||||
## 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).
|
41
build/build.js
Normal file
@ -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'
|
||||
))
|
||||
})
|
||||
})
|
54
build/check-versions.js
Normal file
@ -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)
|
||||
}
|
||||
}
|
BIN
build/logo.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
101
build/utils.js
Normal file
@ -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')
|
||||
})
|
||||
}
|
||||
}
|
22
build/vue-loader.conf.js
Normal file
@ -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'
|
||||
}
|
||||
}
|
83
build/webpack.base.conf.js
Normal file
@ -0,0 +1,83 @@
|
||||
'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'),
|
||||
'styles': resolve('src/assets/styles')
|
||||
}
|
||||
},
|
||||
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'
|
||||
}
|
||||
}
|
95
build/webpack.dev.conf.js
Normal file
@ -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)
|
||||
}
|
||||
})
|
||||
})
|
145
build/webpack.prod.conf.js
Normal file
@ -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
|
7
config/dev.env.js
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
const merge = require('webpack-merge')
|
||||
const prodEnv = require('./prod.env')
|
||||
|
||||
module.exports = merge(prodEnv, {
|
||||
NODE_ENV: '"development"'
|
||||
})
|
69
config/index.js
Normal file
@ -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: '192.168.0.12', // 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
|
||||
}
|
||||
}
|
4
config/prod.env.js
Normal file
@ -0,0 +1,4 @@
|
||||
'use strict'
|
||||
module.exports = {
|
||||
NODE_ENV: '"production"'
|
||||
}
|
12
index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>pingtai2_project</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
11862
package-lock.json
generated
Normal file
65
package.json
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "pingtai2_project",
|
||||
"version": "1.0.0",
|
||||
"description": "A Vue.js project",
|
||||
"author": "dong_bo0602 <358256383@qq.com>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
||||
"start": "npm run dev",
|
||||
"build": "node build/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"stylus": "^0.54.8",
|
||||
"stylus-loader": "^3.0.2",
|
||||
"vue": "^2.5.2",
|
||||
"vue-awesome-swiper": "^2.6.7",
|
||||
"vue-router": "^3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"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"
|
||||
]
|
||||
}
|
14
src/App.vue
Normal file
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<router-view/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'App'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
56
src/assets/components/Footer.vue
Normal file
@ -0,0 +1,56 @@
|
||||
<template>
|
||||
<div class="footer">
|
||||
<div class="footer-content">
|
||||
<div class="footer-top">
|
||||
<div class="footer-logo">
|
||||
<img src="@/assets/images/bot_logo.png" alt="">
|
||||
</div>
|
||||
<div class="footer-text">
|
||||
<p>版权所有:中经国际招标集团有限公司 京ICP备06001912号-1</p>
|
||||
<p>地址:北京市东城区滨河路1号 邮编:100013 管理信箱:ceitcl@ceitcl.com</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-bottom">
|
||||
<img src="@/assets/images/rz.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Footer',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.footer
|
||||
background #2a5ca1
|
||||
padding 30px 0
|
||||
.footer-content
|
||||
width 875px
|
||||
margin 0 auto
|
||||
.footer-top
|
||||
margin-bottom 20px
|
||||
overflow hidden
|
||||
.footer-logo
|
||||
float left
|
||||
.footer-text
|
||||
float right
|
||||
width 495px
|
||||
margin-top 3px
|
||||
p
|
||||
color #fff
|
||||
font-size 14px
|
||||
line-height 25px
|
||||
.footer-bottom
|
||||
text-align center
|
||||
</style>
|
77
src/assets/components/Header.vue
Normal file
@ -0,0 +1,77 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="header">
|
||||
<div class="header-content">
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/logo.png" alt="">
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav">
|
||||
<div class="nav-content">
|
||||
<ul>
|
||||
<router-link to="/" tag="li" :class="{active: this.$route.path == '/'}">首页</router-link>
|
||||
<router-link to="/survey" tag="li" :class="{active: this.$route.path == '/survey'}">集团概况</router-link>
|
||||
<router-link to="/news" tag="li" :class="{active: this.$route.path == '/news'}">集团新闻</router-link>
|
||||
<router-link to="/qualify" tag="li" :class="{active: this.$route.path == '/qualify'}">公司资质</router-link>
|
||||
<router-link to="/culture" tag="li" :class="{active: this.$route.path == '/culture'}">企业文化</router-link>
|
||||
<router-link to="/business" tag="li" :class="{active: this.$route.path == '/business'}">集团业务</router-link>
|
||||
<router-link to="/notice" tag="li" :class="{active: this.$route.path == '/notice'}">招标公告</router-link>
|
||||
<router-link to="/responsibility" tag="li" :class="{active: this.$route.path == '/responsibility'}">社会责任</router-link>
|
||||
<router-link to="/publication" tag="li" :class="{active: this.$route.path == '/publication'}">集团刊物</router-link>
|
||||
<router-link to="/recruit" tag="li" :class="{active: this.$route.path == '/recruit'}">人才招聘</router-link>
|
||||
<router-link to="/cooperation" tag="li" :class="{active: this.$route.path == '/cooperation'}">战略合作</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Header',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.header
|
||||
min-width 1200px
|
||||
padding 45px 0
|
||||
background url("~@/assets/images/topbg.jpg") no-repeat center
|
||||
background-size 100% 100%
|
||||
.header-content
|
||||
width 1200px
|
||||
margin 0 auto
|
||||
.nav
|
||||
height 40px
|
||||
background #2a5ca1
|
||||
.nav-content
|
||||
width 1200px
|
||||
margin 0 auto
|
||||
ul
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
clear both
|
||||
li
|
||||
float left
|
||||
line-height 40px
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #fff
|
||||
width 108px
|
||||
cursor pointer
|
||||
border-right 1px solid #336bb8
|
||||
&:first-child
|
||||
border-left 1px solid #336bb8
|
||||
&.active, &:hover
|
||||
background #ff4f01
|
||||
</style>
|
BIN
src/assets/images/arrow-b.png
Normal file
After Width: | Height: | Size: 981 B |
BIN
src/assets/images/bot_logo.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/images/example.jpg
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
src/assets/images/honor.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
src/assets/images/honor1.jpg
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
src/assets/images/intro.jpg
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
src/assets/images/link1.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/images/list-icon.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/assets/images/logo.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/assets/images/magazine1.jpg
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
src/assets/images/magazine2.jpg
Normal file
After Width: | Height: | Size: 204 KiB |
BIN
src/assets/images/more.png
Normal file
After Width: | Height: | Size: 952 B |
BIN
src/assets/images/rz.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
src/assets/images/search-btn.jpg
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
src/assets/images/slide1.jpg
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
src/assets/images/slide2.jpg
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/images/suggest.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/images/topbg.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
1
src/assets/styles/reset.css
Normal file
@ -0,0 +1 @@
|
||||
@charset "utf-8";a,body,dd,div,dl,dt,em,form,h1,h2,h3,h4,h5,h6,img,input,li,ol,option,p,select,span,strong,table,td,textarea,th,ul,var{margin:0;padding:0}body,html{font:400 100% "宋体",Arail,Tabhoma;text-align:left;color:#535353;-webkit-font-smoothing:antialiased;line-height:normal}ol,ul{list-style:none}img{border:0;vertical-align:top}input,select,textarea{outline:0}textarea{resize:none}table{border-collapse:collapse;border-spacing:0}em,strong,th,var{font-weight:400;font-style:normal}a{text-decoration:none;color:#555}a,input{-webkit-tap-highlight-color:transparent}[v-cloak]{display: none}
|
18
src/main.js
Normal file
@ -0,0 +1,18 @@
|
||||
// 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 App from './App'
|
||||
import router from './router'
|
||||
import VueAwesomeSwiper from 'vue-awesome-swiper'
|
||||
import 'swiper/dist/css/swiper.css'
|
||||
Vue.use(VueAwesomeSwiper)
|
||||
import 'styles/reset.css'
|
||||
Vue.config.productionTip = false
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
components: { App },
|
||||
template: '<App/>'
|
||||
})
|
133
src/pages/CompanyBusiness/CompanyBusiness.vue
Normal file
@ -0,0 +1,133 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团业务
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">招标代理业务</li>
|
||||
<li>工程咨询业务</li>
|
||||
<li>造价咨询业务</li>
|
||||
<li>项目管理业务</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 集团业务
|
||||
</div>
|
||||
<div class="right-content">
|
||||
<h3>招标代理业务范围</h3>
|
||||
<p>招标代理业务是本集团的主营业务之一,拥有工程招标代理甲级资质、政府采购代理甲级资质、中央投资项目招标代理资质、国际招标代理等经营资格。</p>
|
||||
<p>集团拥有覆盖全国的经营网络和服务团队,现有从事招标代理、造价咨询等专职员工1200余人,国内拥有60多家分支机构,构成了经营服务网络遍布全国主要省区的集中式管理的集团管理模式。集团汇集了多方面的专业人才。公司还聘请36名具有较高理论水平和丰富实践经验的教授级专家组建了专家委员会,在招标代理行业中率先领航。</p>
|
||||
<p>经过十多年的积累,已经建立了具有大规模的专家库,汇集了1200多名具有较高实践经验的各类咨询和评标专家,涉及70多个行业、300多个专业,可根据需要随时提供制定招标方案、编制标书、评标及其工程咨询等各方面的服务。另外,公司还与国外堪萨斯大学和一些知名的咨询机构建立了长期合作关系,为国际其他国家项目的货物采购、供应商招标、工程招标等具备国际竞争力招标咨询机构的能力,并保证招标项目的质量和评标过程中的公正性提供了权威性的技术支撑。</p>
|
||||
<p>集团在北京拥有自己的办公场所,办公面积1200多平方米,设有300多平米以上的专用开标室和评标室。招标业务管理系统、招标专用门户网站、办公自动化系统及财务管理系统软件的运用,实现了招标及其他各类业务网上流程审批及远程移动办公的自动化。</p>
|
||||
<p>公司成立以来,已陆续承接了各类工程施工、地铁、机场、高速公路、电厂、光伏、风电、通讯、机械、化工、计算机、影像制品、舞台设备、广电设备、教学仪器、科学科研仪器、能源、市政、农业、环保、医疗卫生、公路、物业、方案、服务、基础工程等领域项目的招标代理过程中提供优质服务体系及对应高素质的服务团队,得到了各行业主管部门及业主的认可。年代理项目总投资额已超过1000亿元人民币以上,平均节资率在13%以上。</p>
|
||||
<p>联系人:刘先生 电话:13701250379 / 010-68372528</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyBusiness',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
min-height 500px
|
||||
h3
|
||||
font-size 18px
|
||||
text-align center
|
||||
margin-bottom 20px
|
||||
color #333
|
||||
p
|
||||
font-size 14px
|
||||
line-height 25px
|
||||
text-indent 28px
|
||||
margin-bottom 20px
|
||||
</style>
|
240
src/pages/CompanyCulture/CompanyCulture.vue
Normal file
@ -0,0 +1,240 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
企业文化
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">企业文化</li>
|
||||
<li>文化建设</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 企业文化
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyCulture',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
240
src/pages/CompanyNews/CompanyNews.vue
Normal file
@ -0,0 +1,240 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团概况
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">集团新闻</li>
|
||||
<li>行业资讯</li>
|
||||
<li>政策解读</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 集团新闻
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyNews',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
237
src/pages/CompanyPublication/CompanyPublication.vue
Normal file
@ -0,0 +1,237 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团刊物
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">集团刊物</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 集团刊物
|
||||
</div>
|
||||
<div class="right-content qualify-list">
|
||||
<ul>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/magazine1.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
《中经招标》季刊第四期
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/magazine2.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
《中经招标》季刊第三期
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/magazine1.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
《中经招标》季刊第二期
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/magazine2.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
《中经招标》季刊第一期
|
||||
</div>
|
||||
</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyPublication',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
.qualify-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 616px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
clear both
|
||||
li
|
||||
width 32%
|
||||
float left
|
||||
margin-right 2%
|
||||
margin-bottom 10px
|
||||
cursor pointer
|
||||
&:nth-child(3n)
|
||||
margin-right 0
|
||||
&:hover
|
||||
.img-title
|
||||
color #ff4f01
|
||||
.img-box
|
||||
padding 3px
|
||||
border 1px solid #e3e3e3
|
||||
img
|
||||
width 100%
|
||||
height 280px
|
||||
.img-title
|
||||
text-align center
|
||||
line-height 40px
|
||||
font-size 14px
|
||||
color #333
|
||||
</style>
|
236
src/pages/CompanyQualify/CompanyQualify.vue
Normal file
@ -0,0 +1,236 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团概况
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">公司资质</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 公司资质
|
||||
</div>
|
||||
<div class="right-content qualify-list">
|
||||
<ul>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
机电产品国际招标电子交易证书
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
机电产品国际招标电子交易证书
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
机电产品国际招标电子交易证书
|
||||
</div>
|
||||
</router-link>
|
||||
<router-link to="/detail" tag="li">
|
||||
<div class="img-box">
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</div>
|
||||
<div class="img-title">
|
||||
机电产品国际招标电子交易证书
|
||||
</div>
|
||||
</router-link>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyQualify',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
.qualify-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 616px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
clear both
|
||||
li
|
||||
width 49%
|
||||
float left
|
||||
margin-bottom 10px
|
||||
cursor pointer
|
||||
&:nth-child(even)
|
||||
float right
|
||||
&:hover
|
||||
.img-title
|
||||
color #ff4f01
|
||||
.img-box
|
||||
padding 3px
|
||||
border 1px solid #e3e3e3
|
||||
img
|
||||
width 100%
|
||||
height 250px
|
||||
.img-title
|
||||
text-align center
|
||||
line-height 40px
|
||||
font-size 14px
|
||||
color #333
|
||||
</style>
|
136
src/pages/CompanySurvey/CompanySurvey.vue
Normal file
@ -0,0 +1,136 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团概况
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">企业概况</li>
|
||||
<li>董事长致辞</li>
|
||||
<li>历史沿革</li>
|
||||
<li>企业理念</li>
|
||||
<li>组织架构</li>
|
||||
<li>企业荣誉</li>
|
||||
<li>综合实力</li>
|
||||
<li>企业信誉</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 集团概况
|
||||
</div>
|
||||
<div class="right-content">
|
||||
<h3>企业概况</h3>
|
||||
<p>中经国际招标集团有限公司(简称“中经招标集团”),于2001年经国家工商总局批准成立,注册资金6000万元人民币。经过十几年的经营,中经招标集团已发展成以项目招标代理、造价咨询、工程咨询、工程设计、工程监理、环境评估、建设工程、PPP项目全流程服务、国际贸易、物资供应等为主业的大型建设服务集团。</p>
|
||||
<p>目前,中经招标旗下拥有150多家分公司,员工总数达2500余人。中经招标集团已经在全国主要省区建立了完善的经营服务网络,施行集中式管理的集团化管理模式;同时,国际业务并行发展,在中东和非洲等国家和地区已建立了完善的国际服务标准化体系,拥有广泛的经营网络和强大的服务团队。</p>
|
||||
<p>中经招标集团始终秉持“开拓、进取、创新”的企业精神,建立了一套完整的涉及建筑、通讯、机械、化工、计算机、影像制品、舞台设备、广电设备、教学仪器、科学可研仪器、能源、市政、农业、环保、医疗卫生、公路、基础工程、物业等领域的优质服务流程体系及庞大的人才库,汇聚了一批各行业最顶尖的专家和工程招标、通信建设项目招标、国际招标、政府采购招标、进出口贸易等多方面的专业人才。在项目全程提供完善、细致、周到的服务,并得到了客户和业内人士的高度赞扬,以及上级部门的充分肯定。</p>
|
||||
<p>中经招标恪守“公开、公平、公正、择优”的经营宗旨,本着“依法经营,平等竞争”的原则,结合自身优势建立了广泛的经营渠道,充分利用国内外资源,采取“内外联合经营、合作开发“等多元化经营方式,是集团立于市场并不断超越自我的强大核心竞争力。</p>
|
||||
<p>欢迎各界朋友、企业家与我们共同合作,共同创造美好的未来!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanySurvey',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
min-height 500px
|
||||
h3
|
||||
font-size 18px
|
||||
text-align center
|
||||
margin-bottom 20px
|
||||
color #333
|
||||
p
|
||||
font-size 14px
|
||||
line-height 25px
|
||||
text-indent 28px
|
||||
margin-bottom 20px
|
||||
</style>
|
151
src/pages/Cooperation/Cooperation.vue
Normal file
@ -0,0 +1,151 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
战略合作
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">战略合作</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 战略合作
|
||||
</div>
|
||||
<div class="right-content">
|
||||
<h3>联系我们</h3>
|
||||
<div class="cooperation">
|
||||
<h4>中经国际招标集团有限公司</h4>
|
||||
<p>联系人:何经理</p>
|
||||
<p>电 话:010-68372787</p>
|
||||
<p>传 真:010-68373131</p>
|
||||
<p>邮 编:100013</p>
|
||||
<p>官 网:www.ceitcl.com </p>
|
||||
<p>地 址:北京市东城区滨河路1号</p>
|
||||
</div>
|
||||
<div class="cooperation">
|
||||
<h4>中经国际招标集团有限公司企业发展部</h4>
|
||||
<p>联系人:何经理</p>
|
||||
<p>电 话:010-68372787</p>
|
||||
<p>传 真:010-68373131</p>
|
||||
<p>邮 编:100013</p>
|
||||
<p>官 网:www.ceitcl.com </p>
|
||||
<p>地 址:北京市东城区滨河路1号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'Cooperation',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
min-height 500px
|
||||
h3
|
||||
font-size 18px
|
||||
text-align center
|
||||
margin-bottom 20px
|
||||
color #333
|
||||
p
|
||||
font-size 14px
|
||||
line-height 25px
|
||||
text-indent 28px
|
||||
margin-bottom 20px
|
||||
.cooperation
|
||||
margin-bottom 20px
|
||||
h4
|
||||
font-size 14px
|
||||
color #333
|
||||
p
|
||||
text-indent 0
|
||||
line-height 30px
|
||||
margin-bottom 0
|
||||
</style>
|
115
src/pages/Index/Index.vue
Normal file
@ -0,0 +1,115 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="notice-search">
|
||||
<div class="notice">
|
||||
最新公告:
|
||||
<router-link to="/">湖北省某部三相分离设备采购项目(二次) 中标结果公告</router-link>
|
||||
</div>
|
||||
<div class="search">
|
||||
<input type="text" placeholder="请输入关键字" @keyup.13="doSearch" v-model="keyword">
|
||||
<button @click="doSearch"></button>
|
||||
</div>
|
||||
</div>
|
||||
<NewsAbout></NewsAbout>
|
||||
<NoticeCase></NoticeCase>
|
||||
<InfoHonor></InfoHonor>
|
||||
<CompanySuggest></CompanySuggest>
|
||||
<FriendLink></FriendLink>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
import NewsAbout from './components/NewsAbout'
|
||||
import NoticeCase from './components/NoticeCase'
|
||||
import InfoHonor from './components/InfoHonor'
|
||||
import CompanySuggest from './components/CompanySuggest'
|
||||
import FriendLink from './components/FriendLink'
|
||||
export default {
|
||||
name: 'Index',
|
||||
components: {
|
||||
Header,
|
||||
NewsAbout,
|
||||
NoticeCase,
|
||||
InfoHonor,
|
||||
CompanySuggest,
|
||||
FriendLink,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
keyword: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
doSearch: function () {
|
||||
var self = this
|
||||
if (self.keyword) {
|
||||
this.$router.push({
|
||||
path: '/search',
|
||||
query: {
|
||||
keyword: self.keyword
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.notice-search
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
padding 5px 20px
|
||||
background #ff4f01
|
||||
overflow hidden
|
||||
box-sizing border-box
|
||||
position relative
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
background #2a5ca1
|
||||
width 5px
|
||||
height 16px
|
||||
position absolute
|
||||
top 50%
|
||||
left 0
|
||||
transform translate(0, -50%)
|
||||
.notice
|
||||
float left
|
||||
width 60%
|
||||
line-height 25px
|
||||
color #fff
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
font-size 14px
|
||||
a
|
||||
color #fff
|
||||
.search
|
||||
float right
|
||||
width 210px
|
||||
font-size 0
|
||||
input
|
||||
width 180px
|
||||
font-size 14px
|
||||
height 25px
|
||||
padding 0 10px
|
||||
box-sizing border-box
|
||||
border none
|
||||
background #fff
|
||||
vertical-align top
|
||||
button
|
||||
width 30px
|
||||
height 25px
|
||||
cursor pointer
|
||||
vertical-align top
|
||||
border none
|
||||
outline none
|
||||
background #fcddd0 url("~@/assets/images/search-btn.jpg") no-repeat center
|
||||
</style>
|
74
src/pages/Index/components/CompanySuggest.vue
Normal file
@ -0,0 +1,74 @@
|
||||
<template>
|
||||
<div class="com-sug">
|
||||
<div class="company">
|
||||
<div class="company-box">机构名录</div>
|
||||
<div class="company-box">总公司</div>
|
||||
<div class="company-box">子公司</div>
|
||||
<div class="company-box">一级分公司</div>
|
||||
<div class="company-box">二级分公司</div>
|
||||
</div>
|
||||
<div class="suggest">
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/suggest.jpg" alt="">
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CompanySuggest',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.com-sug
|
||||
width 1200px
|
||||
margin 0 auto 20px
|
||||
overflow hidden
|
||||
.company
|
||||
float left
|
||||
width 830px
|
||||
overflow hidden
|
||||
.company-box
|
||||
float left
|
||||
width 20%
|
||||
text-align center
|
||||
height 50px
|
||||
line-height 50px
|
||||
color #fff
|
||||
cursor pointer
|
||||
font-size 16px
|
||||
border-left 1px solid #ff7f46
|
||||
box-sizing border-box
|
||||
background #ff4f01
|
||||
position relative
|
||||
&:first-child
|
||||
border none
|
||||
background #2a5ca1
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 6px
|
||||
height 12px
|
||||
background url("~@/assets/images/arrow-b.png") no-repeat
|
||||
position absolute
|
||||
top 50%
|
||||
right -6px
|
||||
transform translate(0, -50%)
|
||||
z-index 1
|
||||
.suggest
|
||||
float right
|
||||
width 350px
|
||||
img
|
||||
width 100%
|
||||
height 50px
|
||||
</style>
|
88
src/pages/Index/components/FriendLink.vue
Normal file
@ -0,0 +1,88 @@
|
||||
<template>
|
||||
<div class="friend-link">
|
||||
<div class="title">
|
||||
<span>友情链接</span>
|
||||
<p>LINKS</p>
|
||||
</div>
|
||||
<div class="link-list">
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<img src="@/assets/images/link1.png" alt="">
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'FriendLink',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.friend-link
|
||||
width 1200px
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 20px 40px
|
||||
box-sizing border-box
|
||||
overflow hidden
|
||||
margin 0 auto 20px
|
||||
.title
|
||||
float left
|
||||
border-bottom 2px solid #FF4F01
|
||||
margin-top 3px
|
||||
span
|
||||
font-size 16px
|
||||
font-weight normal
|
||||
color #333
|
||||
p
|
||||
font-family Arial
|
||||
font-size 10px
|
||||
color #c8c8c8
|
||||
margin 5px 0
|
||||
.link-list
|
||||
float left
|
||||
margin-left 40px
|
||||
overflow hidden
|
||||
width 1010px
|
||||
a
|
||||
display block
|
||||
float left
|
||||
width 145px
|
||||
height 45px
|
||||
border 1px solid #dfdfdf
|
||||
margin-right 15px
|
||||
margin-bottom 10px
|
||||
img
|
||||
width 100%
|
||||
height 100%
|
||||
</style>
|
285
src/pages/Index/components/InfoHonor.vue
Normal file
@ -0,0 +1,285 @@
|
||||
<template>
|
||||
<div class="notice-case">
|
||||
<div class="notice">
|
||||
<div class="notice-box">
|
||||
<div class="notice-title">
|
||||
<div class="title">
|
||||
<span>行业资讯</span>
|
||||
<p>INDUSTRY INFORMATION</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-box">
|
||||
<div class="notice-title">
|
||||
<div class="title">
|
||||
<span>政策法规</span>
|
||||
<p>POLICIES AND REGULATIONS</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="case">
|
||||
<div class="case-title">
|
||||
<div class="title">
|
||||
<span>资质荣誉</span>
|
||||
<p>THE HONOR</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="case-content">
|
||||
<swiper ref="mySwiper" :options="swiperOptions">
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/honor1.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/honor.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/honor1.jpg" alt="">
|
||||
</swiper-slide>
|
||||
</swiper>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'InfoHonor',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.notice-case
|
||||
width 1200px
|
||||
margin 0 auto 20px
|
||||
overflow hidden
|
||||
.notice
|
||||
width 830px
|
||||
float left
|
||||
.notice-box
|
||||
float left
|
||||
width 49%
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
float right
|
||||
.notice-title
|
||||
overflow hidden
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
float left
|
||||
span
|
||||
padding-top 10px
|
||||
font-weight normal
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
display inline-block
|
||||
margin-bottom 5px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 100%
|
||||
height 4px
|
||||
background #2a5ca1
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
p
|
||||
font-size 12px
|
||||
color #c8c8c8
|
||||
font-family arial
|
||||
.more
|
||||
float right
|
||||
line-height 45px
|
||||
font-size 12px
|
||||
color #333
|
||||
cursor pointer
|
||||
position relative
|
||||
padding-right 10px
|
||||
img
|
||||
position absolute
|
||||
right 0
|
||||
top 50%
|
||||
transform translate(0, -50%)
|
||||
.notice-list
|
||||
padding 10px 0
|
||||
height 268px
|
||||
box-sizing border-box
|
||||
ul
|
||||
li
|
||||
height 31px
|
||||
padding-left 15px
|
||||
background url("~@/assets/images/list-icon.png") no-repeat left center
|
||||
line-height 31px
|
||||
a
|
||||
display inline-block
|
||||
max-width 75%
|
||||
overflow hidden
|
||||
white-space nowrap
|
||||
text-overflow ellipsis
|
||||
color #333
|
||||
font-size 14px
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.case
|
||||
float right
|
||||
width 350px
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
.case-title
|
||||
border-bottom 1px solid #e3e3e3
|
||||
overflow hidden
|
||||
.title
|
||||
float left
|
||||
span
|
||||
padding-top 10px
|
||||
font-weight normal
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
display inline-block
|
||||
margin-bottom 5px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 100%
|
||||
height 4px
|
||||
background #2a5ca1
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
p
|
||||
font-size 12px
|
||||
color #c8c8c8
|
||||
font-family arial
|
||||
.more
|
||||
float right
|
||||
line-height 45px
|
||||
font-size 12px
|
||||
color #333
|
||||
cursor pointer
|
||||
position relative
|
||||
padding-right 10px
|
||||
img
|
||||
position absolute
|
||||
right 0
|
||||
top 50%
|
||||
transform translate(0, -50%)
|
||||
.case-content
|
||||
width 100%
|
||||
height 268px
|
||||
box-sizing border-box
|
||||
padding 30px 0 10px
|
||||
img
|
||||
width 308px
|
||||
height 200px
|
||||
p
|
||||
line-height 45px
|
||||
font-size 14px
|
||||
color #333
|
||||
text-align center
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
</style>
|
207
src/pages/Index/components/NewsAbout.vue
Normal file
@ -0,0 +1,207 @@
|
||||
<template>
|
||||
<div class="news-about">
|
||||
<div class="news">
|
||||
<div class="news-title">
|
||||
<div class="title">
|
||||
<span>集团新闻</span>
|
||||
<p>NEWS</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="news-content">
|
||||
<div class="slide-news">
|
||||
<swiper ref="mySwiper" :options="swiperOptions">
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/slide1.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/slide2.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/slide1.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/slide2.jpg" alt="">
|
||||
</swiper-slide>
|
||||
<div class="swiper-pagination" slot="pagination"></div>
|
||||
</swiper>
|
||||
</div>
|
||||
<div class="list-news">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail" title="企业复工给员工发口罩">企业复工给员工发口罩</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="about news">
|
||||
<div class="about-title news-title">
|
||||
<div class="title">
|
||||
<span>集团新闻</span>
|
||||
<p>NEWS</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="about-content">
|
||||
<img src="@/assets/images/intro.jpg" alt="">
|
||||
<p>中经国际招标集团有限公司(简称“中经招标集团”),于2001年经国家工商总局批准成立,注册资金6000万元人民币。经过十几年的经营,中经招标集团已发展成以项目招标代理、造价咨询、工程咨询、工程设计、工程监理、环境评... </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: '',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
swiperOptions: {
|
||||
pagination: '.swiper-pagination',
|
||||
paginationClickable: true,
|
||||
autoplay: 3000
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.news-about
|
||||
width 1200px
|
||||
margin 0 auto 20px
|
||||
overflow hidden
|
||||
.news
|
||||
width 830px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.news-title
|
||||
overflow hidden
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
float left
|
||||
span
|
||||
padding-top 10px
|
||||
font-weight normal
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
display inline-block
|
||||
margin-bottom 5px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 100%
|
||||
height 4px
|
||||
background #2a5ca1
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
p
|
||||
font-size 12px
|
||||
color #c8c8c8
|
||||
font-family arial
|
||||
.more
|
||||
float right
|
||||
line-height 48px
|
||||
font-size 12px
|
||||
color #333
|
||||
cursor pointer
|
||||
position relative
|
||||
padding-right 10px
|
||||
img
|
||||
position absolute
|
||||
right 0
|
||||
top 50%
|
||||
transform translate(0, -50%)
|
||||
.news-content
|
||||
padding 20px 0
|
||||
overflow hidden
|
||||
.slide-news
|
||||
width 380px
|
||||
height 240px
|
||||
float left
|
||||
img
|
||||
width 380px
|
||||
height 240px
|
||||
.list-news
|
||||
width 380px
|
||||
float right
|
||||
ul
|
||||
li
|
||||
height 31px
|
||||
padding-left 15px
|
||||
background url("~@/assets/images/list-icon.png") no-repeat left center
|
||||
line-height 31px
|
||||
a
|
||||
display inline-block
|
||||
max-width 75%
|
||||
overflow hidden
|
||||
white-space nowrap
|
||||
text-overflow ellipsis
|
||||
color #333
|
||||
font-size 14px
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.about
|
||||
float right
|
||||
width 350px
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 0 20px
|
||||
.about-content
|
||||
margin-top 20px
|
||||
height 268px
|
||||
overflow hidden
|
||||
img
|
||||
width 100%
|
||||
margin-bottom 10px
|
||||
p
|
||||
font-size 14px
|
||||
color #333
|
||||
line-height 30px
|
||||
text-indent 28px
|
||||
</style>
|
287
src/pages/Index/components/NoticeCase.vue
Normal file
@ -0,0 +1,287 @@
|
||||
<template>
|
||||
<div class="notice-case">
|
||||
<div class="notice">
|
||||
<div class="notice-box">
|
||||
<div class="notice-title">
|
||||
<div class="title">
|
||||
<span>招标公告</span>
|
||||
<p>A TENDER ANNOUNCEMENT</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-box">
|
||||
<div class="notice-title">
|
||||
<div class="title">
|
||||
<span>中标公告</span>
|
||||
<p>THE BID NOTICE</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">湖北省某部职业教育配套条件建设项目</router-link>
|
||||
<span>01-01</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="case">
|
||||
<div class="case-title">
|
||||
<div class="title">
|
||||
<span>经典案例</span>
|
||||
<p>THE CLASSIC CASE</p>
|
||||
</div>
|
||||
<div class="more">
|
||||
更多 <img src="@/assets/images/more.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="case-content">
|
||||
<swiper ref="mySwiper" :options="swiperOptions">
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/example.jpg" alt="">
|
||||
<p>鸟巢—2008奥运会国家体育场项目法人合</p>
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/example.jpg" alt="">
|
||||
<p>鸟巢—2008奥运会国家体育场项目法人合</p>
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<img src="@/assets/images/example.jpg" alt="">
|
||||
<p>鸟巢—2008奥运会国家体育场项目法人合</p>
|
||||
</swiper-slide>
|
||||
</swiper>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'NoticeCase',
|
||||
components: {},
|
||||
data () {
|
||||
return {
|
||||
swiperOptions: {
|
||||
autoplay: 3000
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.notice-case
|
||||
width 1200px
|
||||
margin 0 auto 20px
|
||||
overflow hidden
|
||||
.notice
|
||||
width 830px
|
||||
float left
|
||||
.notice-box
|
||||
float left
|
||||
width 49%
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
float right
|
||||
.notice-title
|
||||
overflow hidden
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
float left
|
||||
span
|
||||
padding-top 10px
|
||||
font-weight normal
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
display inline-block
|
||||
margin-bottom 5px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 100%
|
||||
height 4px
|
||||
background #2a5ca1
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
p
|
||||
font-size 12px
|
||||
color #c8c8c8
|
||||
font-family arial
|
||||
.more
|
||||
float right
|
||||
line-height 45px
|
||||
font-size 12px
|
||||
color #333
|
||||
cursor pointer
|
||||
position relative
|
||||
padding-right 10px
|
||||
img
|
||||
position absolute
|
||||
right 0
|
||||
top 50%
|
||||
transform translate(0, -50%)
|
||||
.notice-list
|
||||
padding 10px 0
|
||||
height 268px
|
||||
box-sizing border-box
|
||||
ul
|
||||
li
|
||||
height 31px
|
||||
padding-left 15px
|
||||
background url("~@/assets/images/list-icon.png") no-repeat left center
|
||||
line-height 31px
|
||||
a
|
||||
display inline-block
|
||||
max-width 75%
|
||||
overflow hidden
|
||||
white-space nowrap
|
||||
text-overflow ellipsis
|
||||
color #333
|
||||
font-size 14px
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.case
|
||||
float right
|
||||
width 350px
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
.case-title
|
||||
border-bottom 1px solid #e3e3e3
|
||||
overflow hidden
|
||||
.title
|
||||
float left
|
||||
span
|
||||
padding-top 10px
|
||||
font-weight normal
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
display inline-block
|
||||
margin-bottom 5px
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 100%
|
||||
height 4px
|
||||
background #2a5ca1
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
p
|
||||
font-size 12px
|
||||
color #c8c8c8
|
||||
font-family arial
|
||||
.more
|
||||
float right
|
||||
line-height 45px
|
||||
font-size 12px
|
||||
color #333
|
||||
cursor pointer
|
||||
position relative
|
||||
padding-right 10px
|
||||
img
|
||||
position absolute
|
||||
right 0
|
||||
top 50%
|
||||
transform translate(0, -50%)
|
||||
.case-content
|
||||
width 100%
|
||||
height 268px
|
||||
box-sizing border-box
|
||||
padding 10px 0
|
||||
img
|
||||
width 308px
|
||||
height 200px
|
||||
p
|
||||
line-height 45px
|
||||
font-size 14px
|
||||
color #333
|
||||
text-align center
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
</style>
|
141
src/pages/NewsDetail/NewsDetail.vue
Normal file
@ -0,0 +1,141 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
集团概况
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">企业概况</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 集团概况
|
||||
</div>
|
||||
<div class="right-content">
|
||||
<div class="news-title">
|
||||
<h3>机电产品国际招标电子交易证书</h3>
|
||||
<span class="time">发布时间:2019-12-12 </span>
|
||||
<span>来源:</span>
|
||||
</div>
|
||||
<p>中经国际招标集团有限公司(简称“中经招标集团”),于2001年经国家工商总局批准成立,注册资金6000万元人民币。经过十几年的经营,中经招标集团已发展成以项目招标代理、造价咨询、工程咨询、工程设计、工程监理、环境评估、建设工程、PPP项目全流程服务、国际贸易、物资供应等为主业的大型建设服务集团。</p>
|
||||
<p>目前,中经招标旗下拥有150多家分公司,员工总数达2500余人。中经招标集团已经在全国主要省区建立了完善的经营服务网络,施行集中式管理的集团化管理模式;同时,国际业务并行发展,在中东和非洲等国家和地区已建立了完善的国际服务标准化体系,拥有广泛的经营网络和强大的服务团队。</p>
|
||||
<p>中经招标集团始终秉持“开拓、进取、创新”的企业精神,建立了一套完整的涉及建筑、通讯、机械、化工、计算机、影像制品、舞台设备、广电设备、教学仪器、科学可研仪器、能源、市政、农业、环保、医疗卫生、公路、基础工程、物业等领域的优质服务流程体系及庞大的人才库,汇聚了一批各行业最顶尖的专家和工程招标、通信建设项目招标、国际招标、政府采购招标、进出口贸易等多方面的专业人才。在项目全程提供完善、细致、周到的服务,并得到了客户和业内人士的高度赞扬,以及上级部门的充分肯定。</p>
|
||||
<p>中经招标恪守“公开、公平、公正、择优”的经营宗旨,本着“依法经营,平等竞争”的原则,结合自身优势建立了广泛的经营渠道,充分利用国内外资源,采取“内外联合经营、合作开发“等多元化经营方式,是集团立于市场并不断超越自我的强大核心竞争力。</p>
|
||||
<p>欢迎各界朋友、企业家与我们共同合作,共同创造美好的未来!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'NewsDetail',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
min-height 500px
|
||||
.news-title
|
||||
margin-bottom 20px
|
||||
text-align center
|
||||
h3
|
||||
font-size 18px
|
||||
text-align center
|
||||
margin-bottom 20px
|
||||
color #333
|
||||
p
|
||||
font-size 16px
|
||||
color #999
|
||||
.time
|
||||
margin-right 30px
|
||||
p
|
||||
font-size 14px
|
||||
line-height 25px
|
||||
text-indent 28px
|
||||
margin-bottom 20px
|
||||
</style>
|
240
src/pages/Notice/Notice.vue
Normal file
@ -0,0 +1,240 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
招标公告
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">集团新闻</li>
|
||||
<li>行业资讯</li>
|
||||
<li>政策解读</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 招标公告
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'CompanyNews',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
239
src/pages/Recruit/Recruit.vue
Normal file
@ -0,0 +1,239 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
人才招聘
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">人才招聘</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 人才招聘
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/news">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'Recruit',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
239
src/pages/Responsibility/Responsibility.vue
Normal file
@ -0,0 +1,239 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
社会责任
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">社会责任</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 社会责任
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'Responsibility',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
239
src/pages/Search/Search.vue
Normal file
@ -0,0 +1,239 @@
|
||||
<template>
|
||||
<div>
|
||||
<Header></Header>
|
||||
<div class="main">
|
||||
<div class="left">
|
||||
<div class="left-title">
|
||||
<div class="title">
|
||||
内容搜索
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-list">
|
||||
<ul>
|
||||
<li :class="{active: tab == 0}" @click="tab = 0">内容搜索</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="location">
|
||||
当前位置:<router-link to="/">首页</router-link> > 内容搜索
|
||||
</div>
|
||||
<div class="right-content news-list">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
<li>
|
||||
<router-link to="/detail">企业复工给员工发口罩</router-link>
|
||||
<span>2020-04-08</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pager">
|
||||
<span @click="paging(1)">首页</span>
|
||||
<span @click="paging(page.page - 1)" v-if="page.page > 1">上一页</span>
|
||||
<ul v-if="page.totalPage > 0 && page.totalPage <= 5">
|
||||
<li v-for="cpage in page.totalPage" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="page.totalPage > 5">
|
||||
<li v-if="page.page < 3" v-for="cpage in 5" :class="{'active': page.page == cpage}" :key="cpage" @click="paging(cpage)">
|
||||
{{cpage}}
|
||||
</li>
|
||||
<li v-if="page.page > page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.totalPage - 5 + cpage)}" :key="cpage" @click="paging(page.totalPage - 5 + cpage)">
|
||||
{{page.totalPage - 5 + cpage}}
|
||||
</li>
|
||||
<li v-if="page.page >= 3 && page.page <= page.totalPage - 2" v-for="cpage in 5" :class="{'active': page.page == (page.page - (3 - cpage))}" :key="cpage" @click="paging(page.page - (3 - cpage))">
|
||||
{{page.page - (3 - cpage)}}
|
||||
</li>
|
||||
</ul>
|
||||
<span @click="paging(page.page + 1)" v-if="page.page < page.totalPage">下一页</span>
|
||||
<span @click="paging(page.totalPage)">尾页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Header from '@/assets/components/Header'
|
||||
import Footer from '@/assets/components/Footer'
|
||||
export default {
|
||||
name: 'Search',
|
||||
components: {
|
||||
Header,
|
||||
Footer
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tab: 0,
|
||||
page: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
totalPage: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted: function () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
||||
.main
|
||||
width 1200px
|
||||
margin 20px auto
|
||||
overflow hidden
|
||||
.left
|
||||
width 350px
|
||||
float left
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.left-title
|
||||
height 50px
|
||||
font-size 16px
|
||||
color #333
|
||||
border-bottom 1px solid #e3e3e3
|
||||
.title
|
||||
display inline-block
|
||||
border-top 4px solid #ff4f01
|
||||
line-height 46px
|
||||
box-sizing border-box
|
||||
.tab-list
|
||||
padding 20px 0
|
||||
ul
|
||||
li
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
padding-left 30px
|
||||
height 45px
|
||||
line-height 45px
|
||||
box-sizing border-box
|
||||
font-size 16px
|
||||
color #333
|
||||
position relative
|
||||
cursor pointer
|
||||
&.active
|
||||
background #ededed
|
||||
color #ff4f01
|
||||
&:after
|
||||
content ''
|
||||
display block
|
||||
width 3px
|
||||
height 100%
|
||||
background #ff4f01
|
||||
position absolute
|
||||
top 0
|
||||
left 0
|
||||
.right
|
||||
float right
|
||||
width 830px
|
||||
padding 0 20px
|
||||
box-sizing border-box
|
||||
border 1px solid #e3e3e3
|
||||
border-bottom 3px solid #e3e3e3
|
||||
.location
|
||||
height 50px
|
||||
line-height 50px
|
||||
border-bottom 1px solid #e3e3e3
|
||||
font-size 14px
|
||||
color #333
|
||||
a
|
||||
color #333
|
||||
.right-content
|
||||
margin 20px 0
|
||||
.news-list
|
||||
padding 0 20px
|
||||
ul
|
||||
min-height 460px
|
||||
li
|
||||
padding-left 15px
|
||||
height 45px
|
||||
line-height 45px
|
||||
border-bottom 1px dashed #e3e3e3
|
||||
background url("~@/assets/images/list-icon.png") left center no-repeat
|
||||
a
|
||||
font-size 16px
|
||||
color #333
|
||||
display inline-block
|
||||
white-space nowrap
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
max-width 65%
|
||||
&:hover
|
||||
color #ff4f01
|
||||
span
|
||||
float right
|
||||
color #999
|
||||
font-size 14px
|
||||
.pager
|
||||
text-align center
|
||||
font-size 0
|
||||
margin-bottom 20px
|
||||
span
|
||||
display inline-block
|
||||
padding 0 15px
|
||||
line-height 30px
|
||||
color #333
|
||||
font-size 14px
|
||||
margin 0 5px
|
||||
vertical-align middle
|
||||
cursor pointer
|
||||
border 1px solid #CCCCCC
|
||||
ul
|
||||
display inline-block
|
||||
overflow hidden
|
||||
vertical-align middle
|
||||
li
|
||||
width 30px
|
||||
line-height 30px
|
||||
float left
|
||||
margin-right 10px
|
||||
cursor pointer
|
||||
text-align center
|
||||
font-size 14px
|
||||
color #333
|
||||
border 1px solid #CCCCCC
|
||||
&.active
|
||||
color: #ff4f01
|
||||
border 1px solid #ff4f01
|
||||
box-sizing border-box
|
||||
&:last-child
|
||||
margin 0
|
||||
</style>
|
87
src/router/index.js
Normal file
@ -0,0 +1,87 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import Index from '@/pages/Index/Index'
|
||||
import CompanySurvey from '@/pages/CompanySurvey/CompanySurvey'
|
||||
import CompanyNews from '@/pages/CompanyNews/CompanyNews'
|
||||
import CompanyQualify from '@/pages/CompanyQualify/CompanyQualify'
|
||||
import CompanyCulture from '@/pages/CompanyCulture/CompanyCulture'
|
||||
import CompanyBusiness from '@/pages/CompanyBusiness/CompanyBusiness'
|
||||
import Notice from '@/pages/Notice/Notice'
|
||||
import Responsibility from '@/pages/Responsibility/Responsibility'
|
||||
import CompanyPublication from '@/pages/CompanyPublication/CompanyPublication'
|
||||
import Recruit from '@/pages/Recruit/Recruit'
|
||||
import Cooperation from '@/pages/Cooperation/Cooperation'
|
||||
import NewsDetail from '@/pages/NewsDetail/NewsDetail'
|
||||
import Search from '@/pages/Search/Search'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Index',
|
||||
component: Index
|
||||
},
|
||||
{
|
||||
path: '/survey',
|
||||
name: 'CompanySurvey',
|
||||
component: CompanySurvey
|
||||
},
|
||||
{
|
||||
path: '/news',
|
||||
name: 'CompanyNews',
|
||||
component: CompanyNews
|
||||
},
|
||||
{
|
||||
path: '/qualify',
|
||||
name: 'CompanyQualify',
|
||||
component: CompanyQualify
|
||||
},
|
||||
{
|
||||
path: '/culture',
|
||||
name: 'CompanyCulture',
|
||||
component: CompanyCulture
|
||||
},
|
||||
{
|
||||
path: '/business',
|
||||
name: 'CompanyBusiness',
|
||||
component: CompanyBusiness
|
||||
},
|
||||
{
|
||||
path: '/notice',
|
||||
name: 'Notice',
|
||||
component: Notice
|
||||
},
|
||||
{
|
||||
path: '/responsibility',
|
||||
name: 'Responsibility',
|
||||
component: Responsibility
|
||||
},
|
||||
{
|
||||
path: '/publication',
|
||||
name: 'CompanyPublication',
|
||||
component: CompanyPublication
|
||||
},
|
||||
{
|
||||
path: '/recruit',
|
||||
name: 'Recruit',
|
||||
component: Recruit
|
||||
},
|
||||
{
|
||||
path: '/cooperation',
|
||||
name: 'Cooperation',
|
||||
component: Cooperation
|
||||
},
|
||||
{
|
||||
path: '/detail',
|
||||
name: 'NewsDetail',
|
||||
component: NewsDetail
|
||||
},
|
||||
{
|
||||
path: '/search',
|
||||
name: 'Search',
|
||||
component: Search
|
||||
}
|
||||
]
|
||||
})
|