Commit 65e69de5 by cwq0219

样式

1 parent f9d3781c
...@@ -45,8 +45,8 @@ $prefix: d2; ...@@ -45,8 +45,8 @@ $prefix: d2;
// element // element
.el-table--medium td { .el-table--medium td {
padding: 4px 0 !important; padding: 4px 0 !important;
} }
.el-table .cell { .el-table .cell {
padding: 5px 5px; padding: 5px 5px;
} }
\ No newline at end of file \ No newline at end of file
...@@ -10,7 +10,7 @@ process.env.VUE_APP_VERSION = require('./package.json').version ...@@ -10,7 +10,7 @@ process.env.VUE_APP_VERSION = require('./package.json').version
process.env.VUE_APP_BUILD_TIME = require('dayjs')().format('YYYY-M-D HH:mm:ss') process.env.VUE_APP_BUILD_TIME = require('dayjs')().format('YYYY-M-D HH:mm:ss')
// 基础路径 注意发布之前要先修改这里 // 基础路径 注意发布之前要先修改这里
let publicPath = '/AIoT-developer/' const publicPath = '/AIoT-developer/'
const CDN_DOMAIN = 'https://cdn.bootcss.com' const CDN_DOMAIN = 'https://cdn.bootcss.com'
const cdn = { const cdn = {
css: [ css: [
...@@ -106,7 +106,7 @@ module.exports = { ...@@ -106,7 +106,7 @@ module.exports = {
matchColors: [ matchColors: [
...forElementUI.getElementUISeries(process.env.VUE_APP_ELEMENT_COLOR) // Element-ui主色系列 ...forElementUI.getElementUISeries(process.env.VUE_APP_ELEMENT_COLOR) // Element-ui主色系列
], ],
externalCssFiles: [ './node_modules/element-ui/lib/theme-chalk/index.css' ], // optional, String or string array. Set external css files (such as cdn css) to extract colors. // externalCssFiles: [ './node_modules/element-ui/lib/theme-chalk/index.css' ], // optional, String or string array. Set external css files (such as cdn css) to extract colors.
changeSelector: forElementUI.changeSelector changeSelector: forElementUI.changeSelector
}]) }])
config config
...@@ -114,13 +114,13 @@ module.exports = { ...@@ -114,13 +114,13 @@ module.exports = {
.when(process.env.NODE_ENV === 'development', .when(process.env.NODE_ENV === 'development',
// sourcemap不包含列信息 // sourcemap不包含列信息
config => config.devtool('cheap-source-map') config => config.devtool('cheap-source-map')
) )
// TRAVIS 构建 vue-loader 添加 filename // TRAVIS 构建 vue-loader 添加 filename
.when(process.env.VUE_APP_BUILD_MODE === 'TRAVIS' || process.env.NODE_ENV === 'development', .when(process.env.VUE_APP_BUILD_MODE === 'TRAVIS' || process.env.NODE_ENV === 'development',
VueFilenameInjector(config, { VueFilenameInjector(config, {
propName: process.env.VUE_APP_SOURCE_VIEWER_PROP_NAME propName: process.env.VUE_APP_SOURCE_VIEWER_PROP_NAME
}) })
) )
// svg // svg
const svgRule = config.module.rule('svg') const svgRule = config.module.rule('svg')
svgRule.uses.clear() svgRule.uses.clear()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!