Merge branch 'main' of git.zdool.com:xs/ggfwjsc

This commit is contained in:
姚宇浩 2024-05-27 15:56:54 +08:00
commit f4f02dfc85
3 changed files with 662 additions and 547 deletions

View File

@ -3,251 +3,297 @@
</template>
<script setup>
import { onMounted, reactive, ref } from "vue";
import {
onBeforeMount,
onMounted,
ref,
reactive,
defineProps,
nextTick,
} from "vue";
// echarts
import * as echarts from "echarts";
const props = defineProps({
list: {
type: Array,
default: () => {
return [];
},
},
// list2: {
// type: Array,
// default: () => {
// return [];
// },
// },
year: {
type: Array,
default: () => {
return [];
},
},
});
const chart = ref(); // DOM
const data = [120, 200, 50, 80, 70];
const lineData = [1500, 2300, 204, 2018, 1305];
const max = data
.concat(lineData)
.reduce((pre, cur) => (pre > cur ? pre : cur), 0); //
const data = reactive({
list: [],
list1: [],
list2: [],
year: [],
option: {},
// max: null,
});
const option = {
tooltip: {
trigger: "axis",
formatter: "{b0}<br/> {a0}:{c0}<br/>{a1}:{c1}",
},
legend: {
data: ["救助金额", "救助人数"],
top: "8%",
textStyle: {
fontSize: 14,
color: "#ffffff", //
},
},
grid: {
left: "6%",
right: "9%",
bottom: "0%",
containLabel: true,
color: "#ffffff",
},
calculable: true,
// const data1 = [120, 200, 50, 80, 70];
// const lineData = [1500, 2300, 204, 2018, 1305];
// const max = data1
// .concat(lineData)
// .reduce((pre, cur) => (pre > cur ? pre : cur), 0); //
xAxis: [
{
type: "category",
axisLabel: {
//
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisTick: {
show: false, //
},
data: ["2019", "2020", "2021", "2022", "2023"],
const getOption = () => {
data.option = {
tooltip: {
trigger: "axis",
formatter: "{b0}<br/> {a0}:{c0}<br/>{a1}:{c1}",
},
{
type: "category",
show: false,
data: ["2019", "2020", "2021", "2022", "2023"],
},
],
yAxis: [
{
type: "value",
scale: true,
name: "救助人数",
splitLine: {
//线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
},
},
axisLabel: {
//y
textStyle: {
fontSize: 14,
color: "#ffffff",
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
{
type: "value",
scale: true,
min: 0,
name: "救助金额/万",
splitLine: {
show: false,
lineStyle: {
color: "rgba(226, 226, 226, 0.3)",
width: 1,
},
},
axisLabel: {
//y
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
{
type: "value",
min: 0,
max: 100,
splitLine: {
show: false,
lineStyle: {
type: "solid",
color: "rgb(221, 242, 255,0.1)",
},
},
axisLine: {
show: false,
lineStyle: {
type: "dotted",
},
},
axisLabel: {
show: false,
legend: {
data: ["救助金额", "救助人数"],
top: "8%",
textStyle: {
fontSize: 14,
fontFamily: "MicrosoftYaHei",
color: "#ffffff",
lineHeight: 19,
color: "#ffffff", //
},
},
],
series: [
{
yAxisIndex: 1,
name: "救助金额",
data: lineData,
type: "line", //线
stack: "Total",
symbol: "emptyCircle",
symbolSize: 10,
label:{
show:true,
position:'top',
color:'#ffffff',
formatter:function(data){
return data.value
}
},
itemStyle: {
borderColor: "#00FCFF",
borderWidth: 1,
color: "#00FCFF",
},
},
{
yAxisIndex: 0,
name: "救助人数",
data: data,
barWidth: 20,
type: "bar",
label:{
show:true,
position:'insideTop',
color:'#ffffff',
formatter:function(data){
return data.value
}
},
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: "rgba(255, 243, 119, 1)",
},
{
offset: 1,
color: "rgba(255, 242, 142, 0.20)",
},
]),
},
grid: {
left: "6%",
right: "9%",
bottom: "0%",
containLabel: true,
color: "#ffffff",
},
calculable: true,
xAxis: [
{
type: "bar",
xAxisIndex: 1,
yAxisIndex: 2,
emphasis: {
itemStyle: {
color: {
type: "linear",
x: 0,
x2: 0,
y: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: "rgba(64, 247, 176, 0.25)",
},
{
offset: 1,
color: "rgba(17, 34, 64, 0.25)",
},
],
type: "category",
axisLabel: {
//
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisTick: {
show: false, //
},
// data: ["2019", "2020", "2021", "2022", "2023"],
data: data.list.year,
},
{
type: "category",
show: false,
data: data.list.year,
},
],
yAxis: [
{
type: "value",
scale: true,
name: "救助人数",
min: 0,
splitLine: {
//线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
},
},
axisLabel: {
//y
textStyle: {
fontSize: 14,
color: "#ffffff",
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
itemStyle: {
color: "rgba(221, 242, 255, 0.1)",
{
type: "value",
scale: true,
min: 0,
name: "救助金额/万",
splitLine: {
show: false,
lineStyle: {
color: "rgba(226, 226, 226, 0.3)",
width: 1,
},
},
axisLabel: {
//y
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
data: ["2019", "2020", "2021", "2022", "2023"].map(() => 100),
barWidth: 50,
},
],
{
type: "value",
min: 0,
max: 100,
splitLine: {
show: false,
lineStyle: {
type: "solid",
color: "rgb(221, 242, 255,0.1)",
},
},
axisLine: {
show: false,
lineStyle: {
type: "dotted",
},
},
axisLabel: {
show: false,
fontSize: 14,
fontFamily: "MicrosoftYaHei",
color: "#ffffff",
lineHeight: 19,
},
},
],
series: [
{
yAxisIndex: 1,
name: "救助金额",
data: data.list2,
type: "line", //线
stack: "Total",
symbol: "emptyCircle",
symbolSize: 10,
label: {
show: true,
position: "top",
color: "#ffffff",
formatter: function (data) {
return data.value;
},
},
itemStyle: {
borderColor: "#00FCFF",
borderWidth: 1,
color: "#00FCFF",
},
},
{
yAxisIndex: 0,
name: "救助人数",
data: data.list1,
barWidth: 20,
type: "bar",
label: {
show: true,
// position: "insideTop",
color: "#ffffff",
formatter: function (data) {
return data.value;
},
},
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: "rgba(255, 243, 119, 1)",
},
{
offset: 1,
color: "rgba(255, 242, 142, 0.20)",
},
]),
},
},
{
type: "bar",
xAxisIndex: 1,
yAxisIndex: 2,
emphasis: {
itemStyle: {
color: {
type: "linear",
x: 0,
x2: 0,
y: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: "rgba(64, 247, 176, 0.25)",
},
{
offset: 1,
color: "rgba(17, 34, 64, 0.25)",
},
],
},
},
},
itemStyle: {
color: "rgba(221, 242, 255, 0.1)",
},
data: data.list.year.map(() => 100),
barWidth: 50,
},
],
};
};
const setChart = () => {
var myChart = echarts.init(chart.value);
myChart.setOption(data.option);
};
const setChart1 = () => {
data.list.data.forEach((item) => {
data.list1.push(item.jzrs); //
data.list2.push(item.jzje); //
});
};
// 使
onMounted(() => {
// domecharts
// var myChart = echarts.init(document.getElementById('main'));
// Vue3
var myChart = echarts.init(chart.value);
// init(); // vue3.2this
// 使
myChart.setOption(option);
// :
// window.addEventListener("resize", () => {
// myChart.resize();
// });
onBeforeMount(() => {
setTimeout(() => {
data.list = props.list;
setChart1();
// console.log(data.list, data.list1, data.list2, "");
getOption();
setChart();
}, 600);
});
</script>

View File

@ -1,268 +1,299 @@
<template>
<div ref="chart" style="width: 100%; height: 340px"></div>
<div ref="chart" style="width: 100%; height: 330px"></div>
</template>
<script setup>
import { onMounted, reactive, ref } from "vue";
import {
onBeforeMount,
onMounted,
ref,
reactive,
defineProps,
nextTick,
} from "vue";
// echarts
import * as echarts from "echarts";
const props = defineProps({
list: {
type: Array,
default: () => {
return [];
},
},
// list2: {
// type: Array,
// default: () => {
// return [];
// },
// },
year: {
type: Array,
default: () => {
return [];
},
},
});
const chart = ref(); // DOM
const data = [1200, 2000, 500, 800, 700];
const lineData = [150, 230, 24, 218, 135];
const max = data
.concat(lineData)
.reduce((pre, cur) => (pre > cur ? pre : cur), 0); //
const maxRs = data.reduce((pre, cur) => (pre > cur ? pre : cur), 0);
const maxJe = lineData.reduce((pre, cur) => (pre > cur ? pre : cur), 0);
//
const color = [
{
type: "linear",
x: 0,
x2: 0,
y: 0,
y2: 1,
colorStops: [
const data = reactive({
list: [],
list1: [],
list2: [],
year: [],
option: {},
// max: null,
});
// const data1 = [120, 200, 50, 80, 70];
// const lineData = [1500, 2300, 204, 2018, 1305];
// const max = data1
// .concat(lineData)
// .reduce((pre, cur) => (pre > cur ? pre : cur), 0); //
const getOption = () => {
data.option = {
tooltip: {
trigger: "axis",
formatter: "{b0}<br/> {a0}:{c0}<br/>{a1}:{c1}",
},
legend: {
data: ["救助金额", "救助人数"],
top: "8%",
textStyle: {
fontSize: 14,
color: "#ffffff", //
},
},
grid: {
left: "6%",
right: "9%",
bottom: "0%",
containLabel: true,
color: "#ffffff",
},
calculable: true,
xAxis: [
{
offset: 0,
color: "rgba(142, 187, 255, 1)",
type: "category",
axisLabel: {
//
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisTick: {
show: false, //
},
// data: ["2019", "2020", "2021", "2022", "2023"],
data: data.list.year,
},
{
offset: 0.5,
color: "rgba(142, 187, 255, 0.5)",
},
{
offset: 1,
color: "rgba(142, 187, 255, 0.20)",
type: "category",
show: false,
data: data.list.year,
},
],
},
];
const option = {
tooltip: {
trigger: "axis",
formatter: "{b0}<br/> {a0}:{c0}<br/>{a1}:{c1}",
},
legend: {
data: ["救助金额", "救助人数"],
top: "8%",
textStyle: {
fontSize: 14,
color: "#ffffff", //
},
},
grid: {
left: "6%",
right: "9%",
bottom: "0%",
containLabel: true,
color: "#ffffff",
fontSize: 14,
},
calculable: true,
color,
xAxis: [
{
type: "category",
axisLabel: {
//
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisTick: {
show: false, //
},
data: ["2019", "2020", "2021", "2022", "2023"],
},
{
type: "category",
show: false,
data: ["2019", "2020", "2021", "2022", "2023"],
},
],
yAxis: [
{
type: "value",
scale: true,
name: "救助人数",
splitLine: {
//线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
},
},
axisLabel: {
//y
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
{
type: "value",
scale: true,
min: 0,
name: "救助金额/万",
splitLine: {
show: false,
lineStyle: {
color: "rgba(226, 226, 226, 0.3)",
width: 1,
},
},
axisLabel: {
//y
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
{
type: "value",
min: 0,
max: 100,
splitLine: {
show: false,
lineStyle: {
type: "solid",
color: "rgb(221, 242, 255,0.1)",
},
},
axisLine: {
show: false,
lineStyle: {
type: "dotted",
},
},
axisLabel: {
show: false,
fontSize: 14,
color: "#DEF1FF",
lineHeight: 19,
fontFamily: "MicrosoftYaHei",
},
},
],
series: [
{
yAxisIndex: 1,
name: "救助金额",
data: lineData,
type: "line", //线
stack: "Total",
symbol: "emptyCircle",
symbolSize: 10,
label:{
show:true,
position:'top',
color:'#ffffff',
formatter:function(data){
return data.value
}
},
itemStyle: {
borderColor: "#00FCFF",
borderWidth: 1,
color: "#2468FF",
},
},
{
yAxisIndex: 0,
name: "救助人数",
data: data,
barWidth: 20,
type: "bar",
label:{
show:true,
position:'insideTop',
color:'#ffffff',
formatter:function(data){
return data.value
}
},
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: "rgba(23, 237, 255, 1)",
yAxis: [
{
type: "value",
scale: true,
name: "救助人数",
min: 0,
splitLine: {
//线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
},
{
offset: 1,
color: "rgba(23, 237, 255, 0.20)",
},
axisLabel: {
//y
textStyle: {
fontSize: 14,
color: "#ffffff",
},
]),
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
},
{
type: "bar",
xAxisIndex: 1,
yAxisIndex: 2,
emphasis: {
{
type: "value",
scale: true,
min: 0,
name: "救助金额/万",
splitLine: {
show: false,
lineStyle: {
color: "rgba(226, 226, 226, 0.3)",
width: 1,
},
},
axisLabel: {
//y
textStyle: {
color: "#ffffff",
fontSize: 14,
},
},
axisLine: {
//y线
show: false,
lineStyle: {
color: "#ffffff",
fontSize: 14,
width: 1,
type: "solid",
},
},
},
{
type: "value",
min: 0,
max: 100,
splitLine: {
show: false,
lineStyle: {
type: "solid",
color: "rgb(221, 242, 255,0.1)",
},
},
axisLine: {
show: false,
lineStyle: {
type: "dotted",
},
},
axisLabel: {
show: false,
fontSize: 14,
fontFamily: "MicrosoftYaHei",
color: "#ffffff",
lineHeight: 19,
},
},
],
series: [
{
yAxisIndex: 1,
name: "救助金额",
data: data.list2,
type: "line", //线
stack: "Total",
symbol: "emptyCircle",
symbolSize: 10,
label: {
show: true,
position: "top",
color: "#ffffff",
formatter: function (data) {
return data.value;
},
},
itemStyle: {
color: {
type: "linear",
x: 0,
x2: 0,
y: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: "rgba(64, 247, 176, 0.25)",
},
{
offset: 1,
color: "rgba(17, 34, 64, 0.25)",
},
],
},
borderColor: "#00FCFF",
borderWidth: 1,
color: "#2468FF",
},
},
itemStyle: {
color: "rgba(221, 242, 255, 0.1)",
{
yAxisIndex: 0,
name: "救助人数",
data: data.list1,
barWidth: 20,
type: "bar",
label: {
show: true,
// position: "insideTop",
color: "#ffffff",
formatter: function (data) {
return data.value;
},
},
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: "rgba(23, 237, 255, 1)",
},
{
offset: 1,
color: "rgba(23, 237, 255, 0.20)",
},
]),
},
},
data: ["2019", "2020", "2021", "2022", "2023"].map(() => 100),
barWidth: 50,
},
],
{
type: "bar",
xAxisIndex: 1,
yAxisIndex: 2,
emphasis: {
itemStyle: {
color: {
type: "linear",
x: 0,
x2: 0,
y: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: "rgba(64, 247, 176, 0.25)",
},
{
offset: 1,
color: "rgba(17, 34, 64, 0.25)",
},
],
},
},
},
itemStyle: {
color: "rgba(221, 242, 255, 0.1)",
},
data: data.list.year.map(() => 100),
barWidth: 50,
},
],
};
};
const setChart = () => {
var myChart = echarts.init(chart.value);
myChart.setOption(data.option);
};
const setChart1 = () => {
data.list.data.forEach((item) => {
data.list1.push(item.jzrs); //
data.list2.push(item.jzje); //
});
};
// 使
onMounted(() => {
var myChart = echarts.init(chart.value);
myChart.setOption(option);
onBeforeMount(() => {
setTimeout(() => {
data.list = props.list;
setChart1();
// console.log(data.list, data.list1, data.list2, "");
getOption();
setChart();
}, 600);
});
</script>

View File

@ -21,14 +21,14 @@
>
医疗
</div>
<div
<!-- <div
:class="jz[0].choose == '3' ? 'choose_1' : 'choose_2'"
@click="jzChange(0, '3')"
>
就业
</div>
</div> -->
</div>
<eP1></eP1>
<eP1 :list="data.education"></eP1>
<div class="choose">
<div
:class="jz[1].choose == '1' ? 'choose_1' : 'choose_2'"
@ -36,12 +36,12 @@
>
住房
</div>
<div
<!-- <div
:class="jz[1].choose == '2' ? 'choose_1' : 'choose_2'"
@click="jzChange(1, '2')"
>
自然灾害
</div>
</div> -->
<div
:class="jz[1].choose == '3' ? 'choose_1' : 'choose_2'"
@click="jzChange(1, '3')"
@ -49,7 +49,7 @@
临时救助
</div>
</div>
<eP2></eP2>
<eP2 :list="data.housing"></eP2>
</div>
</div>
<div class="displayFlex center_bg">
@ -70,7 +70,12 @@
<span>金额()</span>
<!-- <span>数据对比</span> -->
</div>
<div class="rolling">
<div
class="rolling"
ref="mainRef"
@mouseenter="stopAutoScroll"
@mouseleave="startAutoScroll"
>
<div
v-for="(item, index) in data.lifeAssistance.subsidyInformation"
:key="index"
@ -111,42 +116,31 @@
</div>
<div class="flex1">
<div class="yd_title right_2"></div>
<div style="margin-top: 20px">
<div class="czr-bj">
<div class="dyh">
<div
class="czr-bj"
v-for="(item, index) in data.diversification.hszhxms"
:key="index"
>
<div class="czrBox">
<div class="situation situation1"></div>
<div class="column">
<!-- <div v-for="item in data.diversification.hszhxms">
发起单位: {{ item.fqdw }}
<br>
项目名称: {{item.xmmc}}
<br>
公众筹款金额(): {{ item.gzzcje }}
<br>
捐赠支出金额: {{ item.jzzcje }}
<br>
捐赠人次: {{ item.jzrc }}
</div> -->
</div>
<div>发起单位:</div>
<div>{{ item.fqdw }}</div>
</div>
<div class="czrBox">
<div class="situation situation2"></div>
<div class="column">
<div v-for="item in data.diversification.hszhxms">
发起单位: {{ item.fqdw }}
<br />
项目名称: {{ item.xmmc }}
<br />
公众筹款金额(): {{ item.gzzcje }}
<br />
捐赠支出金额: {{ item.jzzcje }}
<br />
捐赠人次: {{ item.jzrc }}
</div>
</div>
<div>项目名称:</div>
<div>{{ item.xmmc }}</div>
</div>
<div class="czrBox">
<div class="situation situation3"></div>
<div>公众筹款金额():</div>
<div>{{ item.gzzcje }}</div>
</div>
<div class="czrBox">
<div>捐赠支出金额:</div>
<div>{{ item.jzzcje }}</div>
</div>
<div class="czrBox">
<div>捐赠人次:</div>
<div>{{ item.jzrc }}</div>
</div>
</div>
</div>
@ -235,11 +229,12 @@ const getData = async () => {
await http.get("/api/ggfwyth/succour").then((res) => {
if (res.code == 200) {
console.log(res.data);
data.diversification.hszhxms = res.data.diversification.hszhxms;
//
// &&
// &
data.education.data = res.data.specialAssistance.education.data;
data.education.year = res.data.specialAssistance.education.year;
// &&
// &
data.housing.data = res.data.specialAssistance.housing.data;
data.housing.year = res.data.specialAssistance.housing.year;
//
@ -258,9 +253,42 @@ const getData = async () => {
}
});
};
//
const mainRef = ref(null);
let isAutoScrolling = true;
const stopAutoScroll = () => {
isAutoScrolling = false;
};
const startAutoScroll = () => {
isAutoScrolling = true;
autoScroll();
};
const autoScroll = () => {
if (!isAutoScrolling) return;
const mainEl = mainRef.value;
mainEl.scrollTop += 1; //
if (mainEl.scrollTop + 1 >= mainEl.scrollHeight - mainEl.clientHeight) {
setTimeout(() => {
mainEl.scrollTo({ top: 0, behavior: "smooth" });
setTimeout(autoScroll, 2000); // 2
}, 1000); // 1
} else {
requestAnimationFrame(autoScroll);
}
};
onBeforeMount(() => {
getData();
});
onMounted(() => {
startAutoScroll();
});
</script>
<style lang="scss" scoped>
@ -322,6 +350,7 @@ onBeforeMount(() => {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_1_1 {
background-image: url(@/assets/images/work/new_qtjz.png);
background-repeat: no-repeat;
@ -351,6 +380,7 @@ onBeforeMount(() => {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.right_2 {
background-image: url(@/assets/images/work/new_dyh.png);
background-repeat: no-repeat;
@ -597,11 +627,13 @@ onBeforeMount(() => {
top: 3px;
}
}
.choose {
display: flex;
justify-content: center;
margin-top: 47px;
margin-bottom: 20px;
.choose_1 {
cursor: pointer;
width: 124px;
@ -618,6 +650,7 @@ onBeforeMount(() => {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.choose_2 {
cursor: pointer;
width: 124px;
@ -645,6 +678,7 @@ onBeforeMount(() => {
.flex11 {
padding: 12px 0;
}
.czr-sl {
display: flex;
@ -780,57 +814,49 @@ onBeforeMount(() => {
}
}
.czr-bj {
width: 529px;
// height: 350px;
// height: calc(100% - 26px);
background: rgba(0, 103, 165, 0.18);
box-shadow: inset 0px 0px 58px 0px rgba(37, 175, 252, 0.47);
border-radius: 2px;
padding: 20px 0 0 14px;
// box-sizing: border-box;
.dyh {
margin-top: 10px;
overflow: hidden;
height: 380px;
overflow-y: auto;
width: 100%;
.czrBox {
height: 118px;
.column {
height: calc(100% - 26px);
overflow-y: auto;
font-size: 14px;
.czr-bj {
width: 480px;
// height: calc(100% - 26px);
background: rgba(0, 103, 165, 0.18);
box-shadow: inset 0px 0px 58px 0px rgba(37, 175, 252, 0.47);
border-radius: 2px;
padding: 20px 26px 1px 32px;
margin: 0 auto 12px;
// box-sizing: border-box;
.czrBox {
height: 22px;
font-weight: 500;
font-size: 16px;
color: #ffffff;
padding-left: 18px;
padding-right: 18px;
line-height: 22px;
letter-spacing: 3px;
text-shadow: 0px 0px 17px rgba(0, 255, 254, 0.5);
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
}
.situation {
width: 495px;
height: 26px;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.situation1 {
background-image: url(@/assets/images/work/dyh.png);
}
.situation2 {
background-image: url(@/assets/images/work/dyh2.png);
}
.situation3 {
background-image: url(@/assets/images/work/dyh1.png);
}
}
.school {
display: flex;
flex-direction: column;
justify-content: space-around;
}
.fundingBox {
display: flex;
flex-direction: column;
align-items: center;
.funding {
width: 520px;
height: 34px;
@ -843,6 +869,7 @@ onBeforeMount(() => {
display: flex;
align-items: center;
justify-content: space-around;
// align-items: center;
// justify-content: center;
// flex-direction: column;
@ -856,6 +883,7 @@ onBeforeMount(() => {
letter-spacing: 3px;
}
}
.rolling {
width: 100%;
height: 200px;
@ -864,7 +892,7 @@ onBeforeMount(() => {
display: flex;
flex-direction: column;
align-items: center;
// padding-left: 6px;
padding-left: 6px;
.fundingContent {
display: flex;
@ -888,6 +916,7 @@ onBeforeMount(() => {
width: 70%;
padding-left: 38px;
}
span:nth-child(2) {
width: 30%;
// padding-left: 50px;
@ -895,11 +924,13 @@ onBeforeMount(() => {
}
}
}
.rating {
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
.ratingBtn {
display: flex;
// align-items: center;
@ -910,7 +941,8 @@ onBeforeMount(() => {
background-image: url(@/assets/eduImg/jyImg19.png);
background-repeat: no-repeat;
background-size: 100% 100%;
cursor: pointer; /* 添加指针样式以指示可点击 */
cursor: pointer;
/* 添加指针样式以指示可点击 */
}
.ratingImg {
@ -920,6 +952,7 @@ onBeforeMount(() => {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.onImg.active {
width: 62px;
height: 29px;
@ -927,6 +960,7 @@ onBeforeMount(() => {
background-repeat: no-repeat;
background-size: 100% 100%;
}
span {
height: 100%;
display: flex;
@ -955,20 +989,24 @@ onBeforeMount(() => {
}
}
.column::-webkit-scrollbar {
display: none; /* Chrome Safari */
.dyh::-webkit-scrollbar {
display: none;
/* Chrome Safari */
}
/* 滚动条整体部分 */
.rolling::-webkit-scrollbar {
width: 5px;
// height: 10px;
}
/* 滚动槽 */
.rolling::-webkit-scrollbar-track {
border-radius: 1px;
background: rgba(0, 128, 231, 0.56);
-webkit-box-shadow: inset 0 0 6px rgba(139, 139, 139, 0.3);
}
/* 滚动条滑块样式 */
.rolling::-webkit-scrollbar-thumb {
background-clip: content-box;