diff --git a/postcss.config.js b/postcss.config.js index a54d237..253040d 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -10,7 +10,7 @@ module.exports = { mediaQuery: true, propList: ['*'], rootValue: 16, - unitPrecision: 3, + unitPrecision: 4, } } }; diff --git a/src/assets/css/global.less b/src/assets/css/global.less index ea782ec..1a0878f 100644 --- a/src/assets/css/global.less +++ b/src/assets/css/global.less @@ -142,6 +142,11 @@ body { } .el-input { + &.is-disabled .el-input__inner { + background-color: #FFF; + color: #888; + } + input::-webkit-inner-spin-button, input::-webkit-outer-spin-button { -webkit-appearance: none; diff --git a/src/assets/js/utils.js b/src/assets/js/utils.js index 9aa5eb1..1a73e7e 100644 --- a/src/assets/js/utils.js +++ b/src/assets/js/utils.js @@ -10,11 +10,7 @@ class Utils { * @param {string} [value] 新的标题 */ changeTitle(value) { - if (value) { - document.title = config.siteName + ' - ' + value; - } else { - document.title = config.siteName; - } + document.title = (value ? (value + ' - ') : '') + config.siteName; } /** diff --git a/src/components/tools/ConvertEncodeDecode.vue b/src/components/tools/ConvertEncodeDecode.vue index f760813..d7a9433 100644 --- a/src/components/tools/ConvertEncodeDecode.vue +++ b/src/components/tools/ConvertEncodeDecode.vue @@ -1,5 +1,5 @@