Browse Source

调整背景光亮居中照射

lite
453530270@qq.com 3 years ago
parent
commit
85a69f9e9e
  1. 1
      src/views/cultrue/index.vue
  2. 9
      src/views/ty/index.vue

1
src/views/cultrue/index.vue

@ -983,6 +983,7 @@ export default {
.wh_bg { .wh_bg {
clear: both; clear: both;
background-image: url("../../assets/wh/whbg.png") !important; background-image: url("../../assets/wh/whbg.png") !important;
background-size: 100% 100%;
} }
.screen-box { .screen-box {

9
src/views/ty/index.vue

@ -167,8 +167,6 @@ import * as echarts from "echarts";
// api // api
import * as homeApi from '@/api/home' import * as homeApi from '@/api/home'
import $ from "jquery";
export default { export default {
components: { components: {
@ -1006,7 +1004,7 @@ export default {
itemStyle: { itemStyle: {
normal: { normal: {
color: (params) => { color: (params) => {
console.log('params', params) // console.log('params', params)
return color2[params.dataIndex]; return color2[params.dataIndex];
}, },
}, },
@ -1119,7 +1117,7 @@ export default {
}) })
that.groupsData = []; that.groupsData = [];
homeApi.homeBarData({groupsId:idArr}).then(res=>{ homeApi.homeBarData({groupsId:idArr}).then(res=>{
// console.log(res, '====='); console.log(res, '=====');
res.data.data.groupsData.forEach(item=>{ res.data.data.groupsData.forEach(item=>{
that.groupsData.push(item); that.groupsData.push(item);
}); });
@ -1145,7 +1143,7 @@ export default {
} }
}) })
homeApi.allGcgNumDatas({groupsId:idArr}).then(res=>{ homeApi.allGcgNumDatas({groupsId:idArr}).then(res=>{
console.log(res, '====='); // console.log(res, '=====');
const tmpdata = res.data.data; const tmpdata = res.data.data;
tmpdata.forEach((item) => { tmpdata.forEach((item) => {
that.rsqsDataName.push(item.groupName); that.rsqsDataName.push(item.groupName);
@ -1199,6 +1197,7 @@ export default {
.ty_bg { .ty_bg {
clear: both; clear: both;
background-image: url("../../assets/ty/bg.png") !important; background-image: url("../../assets/ty/bg.png") !important;
background-size: 100% 100%;
} }
.screen-box { .screen-box {

Loading…
Cancel
Save