From 635d1d226d079bd4c137b27c70cbde3c8d2a431d Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Tue, 6 Sep 2022 09:49:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=8E=A7=E4=BB=B6btn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/echarts/echartDark.js | 420 ------------------------------- src/assets/styles/yxk-admin.scss | 16 ++ 2 files changed, 16 insertions(+), 420 deletions(-) delete mode 100644 src/assets/echarts/echartDark.js diff --git a/src/assets/echarts/echartDark.js b/src/assets/echarts/echartDark.js deleted file mode 100644 index ac8c7e9..0000000 --- a/src/assets/echarts/echartDark.js +++ /dev/null @@ -1,420 +0,0 @@ -(function (root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['exports', 'echarts'], factory); - } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { - // CommonJS - factory(exports, require('echarts')); - } else { - // Browser globals - factory({}, root.echarts); - } -}(this, function (exports, echarts) { - var log = function (msg) { - if (typeof console !== 'undefined') { - console && console.error && console.error(msg); - } - }; - if (!echarts) { - log('ECharts is not Loaded'); - return; - } - echarts.registerTheme('dark', { - "color": [ - "#0fbed9", - "#f65163", - "#ff8447", - "#76af50", - "#8378e8", - "#eedd78", - "#73a373", - "#73b9bc", - "#7289ab", - "#91ca8c", - "#f49f42" - ], - "backgroundColor": "rgba(51,51,51,0)", - "textStyle": {}, - "title": { - "textStyle": { - "color": "#eeeeee" - }, - "subtextStyle": { - "color": "#aaaaaa" - } - }, - "line": { - "itemStyle": { - "borderWidth": 1 - }, - "lineStyle": { - "width": 2 - }, - "symbolSize": 4, - "symbol": "circle", - "smooth": false - }, - "radar": { - "itemStyle": { - "borderWidth": 1 - }, - "lineStyle": { - "width": 2 - }, - "symbolSize": 4, - "symbol": "circle", - "smooth": false - }, - "bar": { - "itemStyle": { - "barBorderWidth": 0, - "barBorderColor": "#cccccc" - } - }, - "pie": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "scatter": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "boxplot": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "parallel": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "sankey": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "funnel": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "gauge": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - } - }, - "candlestick": { - "itemStyle": { - "color": "#fd1050", - "color0": "#0cf49b", - "borderColor": "#fd1050", - "borderColor0": "#0cf49b", - "borderWidth": 1 - } - }, - "graph": { - "itemStyle": { - "borderWidth": 0, - "borderColor": "#cccccc" - }, - "lineStyle": { - "width": 1, - "color": "#aaaaaa" - }, - "symbolSize": 4, - "symbol": "circle", - "smooth": false, - "color": [ - "#0fbed9", - "#f65163", - "#ff8447", - "#76af50", - "#8378e8", - "#eedd78", - "#73a373", - "#73b9bc", - "#7289ab", - "#91ca8c", - "#f49f42" - ], - "label": { - "color": "#eeeeee" - } - }, - "map": { - "itemStyle": { - "areaColor": "#eee", - "borderColor": "#444", - "borderWidth": 0.5 - }, - "label": { - "color": "#000" - }, - "emphasis": { - "itemStyle": { - "areaColor": "rgba(255,215,0,0.8)", - "borderColor": "#444", - "borderWidth": 1 - }, - "label": { - "color": "rgb(100,0,0)" - } - } - }, - "geo": { - "itemStyle": { - "areaColor": "#eee", - "borderColor": "#444", - "borderWidth": 0.5 - }, - "label": { - "color": "#000" - }, - "emphasis": { - "itemStyle": { - "areaColor": "rgba(255,215,0,0.8)", - "borderColor": "#444", - "borderWidth": 1 - }, - "label": { - "color": "rgb(100,0,0)" - } - } - }, - "categoryAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisTick": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisLabel": { - "show": true, - "color": "#eeeeee" - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#aaaaaa" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "#eeeeee" - ] - } - } - }, - "valueAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisTick": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisLabel": { - "show": true, - "color": "#eeeeee" - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#aaaaaa" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "#eeeeee" - ] - } - } - }, - "logAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisTick": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisLabel": { - "show": true, - "color": "#eeeeee" - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#aaaaaa" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "#eeeeee" - ] - } - } - }, - "timeAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisTick": { - "show": true, - "lineStyle": { - "color": "#eeeeee" - } - }, - "axisLabel": { - "show": true, - "color": "#eeeeee" - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#aaaaaa" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "#eeeeee" - ] - } - } - }, - "toolbox": { - "iconStyle": { - "borderColor": "#999999" - }, - "emphasis": { - "iconStyle": { - "borderColor": "#666666" - } - } - }, - "legend": { - "textStyle": { - "color": "#eeeeee" - } - }, - "tooltip": { - "axisPointer": { - "lineStyle": { - "color": "#eeeeee", - "width": "1" - }, - "crossStyle": { - "color": "#eeeeee", - "width": "1" - } - } - }, - "timeline": { - "lineStyle": { - "color": "#eeeeee", - "width": 1 - }, - "itemStyle": { - "color": "#dd6b66", - "borderWidth": 1 - }, - "controlStyle": { - "color": "#eeeeee", - "borderColor": "#eeeeee", - "borderWidth": 0.5 - }, - "checkpointStyle": { - "color": "#e43c59", - "borderColor": "#c23531" - }, - "label": { - "color": "#eeeeee" - }, - "emphasis": { - "itemStyle": { - "color": "#a9334c" - }, - "controlStyle": { - "color": "#eeeeee", - "borderColor": "#eeeeee", - "borderWidth": 0.5 - }, - "label": { - "color": "#eeeeee" - } - } - }, - "visualMap": { - "color": [ - "#bf444c", - "#d88273", - "#f6efa6" - ] - }, - "dataZoom": { - "backgroundColor": "rgba(47,69,84,0)", - "dataBackgroundColor": "rgba(255,255,255,0.3)", - "fillerColor": "rgba(167,183,204,0.4)", - "handleColor": "#a7b7cc", - "handleSize": "100%", - "textStyle": { - "color": "#eeeeee" - } - }, - "markPoint": { - "label": { - "color": "#eeeeee" - }, - "emphasis": { - "label": { - "color": "#eeeeee" - } - } - } - }); -})); diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index fd9533d..7f8b960 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -1238,4 +1238,20 @@ input[type='number'] { color: #999; margin-top: -10px; } +} + +// 日期控件btn +.el-date-range-picker{ + .el-picker-panel__footer .el-button{ + border: 1px solid #339cff; + color: #333; + } + .el-picker-panel__footer .el-button:hover{ + background-color: transparent; + } + .el-picker-panel__footer .el-button.is-plain { + background-color: #1890ff; + border-color: #1890ff; + color: #fff; + } } \ No newline at end of file