a1307a3c847a34e08000d6f943ba9667.json 4.8 KB

1
  1. {"remainingRequest":"D:\\test\\ssi-satoken\\ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\test\\ssi-satoken\\ui\\src\\views\\largeScreen\\components\\strategyGain.vue?vue&type=style&index=0&id=3f452e2d&prod&scoped=true&lang=css&","dependencies":[{"path":"D:\\test\\ssi-satoken\\ui\\src\\views\\largeScreen\\components\\strategyGain.vue","mtime":1697162389201},{"path":"D:\\test\\ssi-satoken\\ui\\node_modules\\css-loader\\dist\\cjs.js","mtime":1669864554855},{"path":"D:\\test\\ssi-satoken\\ui\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1697679531049},{"path":"D:\\test\\ssi-satoken\\ui\\node_modules\\postcss-loader\\src\\index.js","mtime":1669864555556},{"path":"D:\\test\\ssi-satoken\\ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1669864538178},{"path":"D:\\test\\ssi-satoken\\ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1697679531049}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCi5zdHJhdGVneUdhaW5EaXYgewogIG1hcmdpbi10b3A6IDElOwp9Cgojc3RyYXRlZ3lHYWluQ2hhcnQgewogIHdpZHRoOiAxMDAlOwogIGhlaWdodDogY2FsYygyNXZoKTsKfQo="},{"version":3,"sources":["strategyGain.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+HA;AACA;AACA;;AAEA;AACA;AACA;AACA","file":"strategyGain.vue","sourceRoot":"src/views/largeScreen/components","sourcesContent":["<template>\n <div class=\"strategyGainDiv\">\n <div id=\"strategyGainChart\"/>\n </div>\n</template>\n\n<script>\nimport * as echarts from 'echarts';\n\nexport default {\n name: \"strategyGain\",\n data() {\n return {\n strategyGainChart: null\n }\n },\n destroyed() {\n this.strategyGainChart = null\n },\n mounted() {\n this.initChart()\n },\n methods: {\n initChart() {\n if (this.strategyGainChart === null) {\n this.strategyGainChart = echarts.init(document.getElementById('strategyGainChart'));\n }\n\n const option = {\n grid: {\n left: 10,\n right: 10,\n bottom: 20,\n top: 30,\n containLabel: true\n },\n tooltip: {\n trigger: 'axis', // x轴触发\n },\n xAxis: {\n type: 'category',\n data: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10',\n '11', '12', '13', '14', '15', '16', '17', '18', '19', '20',\n '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31'],\n nameTextStyle: {\n color: '#fff'\n },\n axisLine: {\n lineStyle: {\n color: '#fff'\n }\n }\n },\n yAxis: {\n type: 'value',\n name: '单位:元',\n nameTextStyle: {\n color: '#fff'\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: '#fff'\n }\n }\n },\n series: [\n {\n data: [\n \"8451.1975\",\n \"1497.0825\",\n \"3576.11\",\n \"4595.125\",\n \"-580.595\",\n \"-596.8\",\n \"12617.415\",\n \"13571.3125\",\n \"8411.5\",\n \"-242.865\",\n \"-571.035\",\n \"680\",\n \"1552.1075\",\n \"2480\",\n \"8860\",\n \"4565.28\",\n \"17799.8\",\n \"291.995\",\n \"-507.5\",\n \"566.8825\",\n \"571.4725\",\n \"10531.21\",\n \"4452\",\n \"-569.0175\",\n \"752.44\",\n \"1849.03\",\n \"-252.5\",\n \"4632.57\",\n \"254\",\n \"-750\",\n \"1150\"\n ],\n type: 'bar',\n showBackground: true,\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\n // {offset: 1, color: '#83f6f6'},\n {offset: 0.8, color: '#18d0f0'},\n // {offset: 0.4, color: '#189df0'},\n // {offset: 0, color: '#7b50ee'}\n ])\n }\n }\n ]\n };\n\n option && this.strategyGainChart.setOption(option);\n window.addEventListener('resize', () => {\n if (this.dayIncomeChart) {\n this.dayIncomeChart.resize()\n }\n })\n }\n }\n}\n</script>\n\n<style scoped>\n.strategyGainDiv {\n margin-top: 1%;\n}\n\n#strategyGainChart {\n width: 100%;\n height: calc(25vh);\n}\n</style>\n"]}]}