ggfwjsc/src/view/work.vue

1308 lines
28 KiB
Vue
Raw Normal View History

2024-04-12 09:26:48 +08:00
<template>
<div class="module">
2024-04-18 13:46:17 +08:00
<div class="displayFlex left_bg">
<div class="flex1">
2024-06-04 09:24:23 +08:00
<div class="yd_title left_1">
<div class="animate-border">
<i></i>
<i></i>
</div>
</div>
2024-04-18 13:46:17 +08:00
<div class="choose">
2024-05-27 15:48:31 +08:00
<div
:class="jz[0].choose == '1' ? 'choose_1' : 'choose_2'"
@click="jzChange(0, '1')"
>
2024-04-18 14:52:07 +08:00
教育
</div>
2024-05-27 15:48:31 +08:00
<div
:class="jz[0].choose == '2' ? 'choose_1' : 'choose_2'"
@click="jzChange(0, '2')"
>
2024-04-18 14:52:07 +08:00
医疗
</div>
2024-05-27 15:42:54 +08:00
<!-- <div
2024-04-18 14:52:07 +08:00
:class="jz[0].choose == '3' ? 'choose_1' : 'choose_2'"
@click="jzChange(0, '3')"
>
就业
2024-05-27 15:42:54 +08:00
</div> -->
2024-04-12 09:26:48 +08:00
</div>
2024-05-29 10:44:17 +08:00
<eP1 :list="data.list2"></eP1>
2024-04-18 14:52:07 +08:00
<div class="choose">
2024-05-27 15:48:31 +08:00
<div
:class="jz[1].choose == '1' ? 'choose_1' : 'choose_2'"
@click="jzChange(1, '1')"
>
2024-04-18 14:52:07 +08:00
住房
</div>
2024-05-27 15:42:54 +08:00
<!-- <div
2024-04-18 14:52:07 +08:00
:class="jz[1].choose == '2' ? 'choose_1' : 'choose_2'"
@click="jzChange(1, '2')"
>
自然灾害
2024-05-27 15:42:54 +08:00
</div> -->
2024-04-18 14:52:07 +08:00
<div
2024-05-28 15:11:03 +08:00
:class="jz[1].choose == '2' ? 'choose_1' : 'choose_2'"
@click="jzChange(1, '2')"
2024-04-18 14:52:07 +08:00
>
临时救助
</div>
</div>
2024-05-28 15:11:03 +08:00
<eP2 :list="data.list"></eP2>
2024-04-18 13:46:17 +08:00
</div>
</div>
<div class="displayFlex center_bg">
<div class="flex1">
2024-06-04 09:24:23 +08:00
<div class="yd_title center_0">
<div class="animate-border">
<i></i>
<i></i>
</div>
</div>
2024-04-18 13:46:17 +08:00
<div class="school">
2024-07-02 10:44:54 +08:00
<ePjz :list="data.totalAssistance" v-if="showEchart"></ePjz>
2024-04-12 09:26:48 +08:00
</div>
</div>
2024-04-18 13:46:17 +08:00
<div class="flex1">
2024-06-04 09:24:23 +08:00
<div class="yd_title center_1">
<div class="animate-border">
<i></i>
<i></i>
</div>
</div>
2024-07-02 10:44:54 +08:00
<eP3 :list="data.salvation" v-if="showEchart"></eP3>
2024-04-12 09:26:48 +08:00
</div>
2024-04-18 13:46:17 +08:00
<div class="flex1">
<div class="fundingBox">
<div class="funding">
2024-05-29 09:25:32 +08:00
<span
>一卡通财政补贴补贴总额{{
data.lifeAssistance.yktTotal
}}万元</span
>
<span>金额(万元)</span>
2024-05-23 11:47:43 +08:00
<!-- <span>数据对比</span> -->
2024-04-12 09:26:48 +08:00
</div>
2024-05-27 15:48:31 +08:00
<div
class="rolling"
ref="mainRef"
@mouseenter="stopAutoScroll"
@mouseleave="startAutoScroll"
>
2024-04-18 13:46:17 +08:00
<div
2024-05-27 14:56:38 +08:00
v-for="(item, index) in data.lifeAssistance.subsidyInformation"
2024-04-18 13:46:17 +08:00
:key="index"
class="fundingContent"
>
2024-05-27 14:56:38 +08:00
<span class="spot">{{ item.btsx }}</span>
<span class="spot">{{ item.btje }}</span>
2024-05-23 11:47:43 +08:00
<!-- <span class="spot">70.88</span> -->
2024-04-18 13:46:17 +08:00
</div>
2024-04-12 09:26:48 +08:00
</div>
</div>
</div>
</div>
2024-04-18 13:46:17 +08:00
<div class="displayFlex right_bg">
2024-04-12 09:26:48 +08:00
<div class="flex1">
2024-06-04 09:24:23 +08:00
<div class="yd_title right_1">
<div class="animate-border">
<i></i>
<i></i>
</div>
</div>
2024-04-18 14:52:07 +08:00
<div class="choose">
2024-05-27 15:48:31 +08:00
<div
:class="jz[2].choose == '1' ? 'choose_1' : 'choose_2'"
@click="jzChange(2, '1')"
>
2024-04-18 14:52:07 +08:00
困难残疾人
2024-04-12 09:26:48 +08:00
</div>
2024-05-27 15:48:31 +08:00
<div
:class="jz[2].choose == '2' ? 'choose_1' : 'choose_2'"
@click="jzChange(2, '2')"
>
2024-04-18 14:52:07 +08:00
困难军人
2024-04-12 09:26:48 +08:00
</div>
2024-05-27 15:48:31 +08:00
<div
:class="jz[2].choose == '3' ? 'choose_1' : 'choose_2'"
@click="jzChange(2, '3')"
>
2024-04-18 14:52:07 +08:00
困难职工
2024-04-12 09:26:48 +08:00
</div>
</div>
2024-07-15 10:13:22 +08:00
<eP6 v-if="jz[2].choose == '1' && showEchart" :list="data.list1"></eP6>
2024-06-06 11:32:34 +08:00
<eP4 v-else :list="data.list1"></eP4>
2024-04-12 09:26:48 +08:00
</div>
<div class="flex1">
2024-06-04 09:24:23 +08:00
<div class="yd_title right_2">
<div class="animate-border">
<i></i>
<i></i>
</div>
</div>
2024-05-27 15:40:49 +08:00
<div class="dyh">
2024-05-27 15:48:31 +08:00
<div
class="czr-bj"
v-for="(item, index) in data.diversification.hszhxms"
:key="index"
>
2024-04-18 13:46:17 +08:00
<div class="czrBox">
2024-05-27 15:40:49 +08:00
<div>发起单位:</div>
<div>{{ item.fqdw }}</div>
2024-04-12 09:26:48 +08:00
</div>
2024-04-18 13:46:17 +08:00
<div class="czrBox">
2024-05-27 15:40:49 +08:00
<div>项目名称:</div>
<div>{{ item.xmmc }}</div>
2024-04-12 09:26:48 +08:00
</div>
2024-04-18 13:46:17 +08:00
<div class="czrBox">
2024-05-27 15:40:49 +08:00
<div>公众筹款金额():</div>
<div>{{ item.gzzcje }}</div>
2024-05-27 14:56:38 +08:00
</div>
<div class="czrBox">
2024-05-27 15:40:49 +08:00
<div>捐赠支出金额:</div>
<div>{{ item.jzzcje }}</div>
</div>
<div class="czrBox">
<div>捐赠人次:</div>
<div>{{ item.jzrc }}</div>
2024-05-27 14:28:51 +08:00
</div>
2024-04-12 09:26:48 +08:00
</div>
</div>
2024-04-18 13:46:17 +08:00
<!-- <eBubble></eBubble> -->
2024-04-12 09:26:48 +08:00
</div>
2024-04-18 13:46:17 +08:00
</div>
2024-04-12 09:26:48 +08:00
</div>
</template>
<script setup>
2024-06-20 09:55:26 +08:00
import {
ref,
reactive,
onMounted,
onBeforeMount,
onBeforeUnmount,
computed,
} from "vue";
2024-04-18 13:46:17 +08:00
import eP1 from "./echarts_work/eP1.vue";
2024-04-18 14:52:07 +08:00
import eP2 from "./echarts_work/eP2.vue";
import eP3 from "./echarts_work/eP3.vue";
import eP4 from "./echarts_work/eP4.vue";
2024-05-28 15:11:03 +08:00
import eP5 from "./echarts_work/eP5.vue";
2024-05-29 10:44:17 +08:00
import eP6 from "./echarts_work/eP6.vue";
2024-04-18 17:30:21 +08:00
import ePjz from "./echarts_work/ePjz.vue";
2024-05-27 14:28:51 +08:00
import http from "@/utils/request.js";
// 专项&其他救助切换
2024-04-18 13:46:17 +08:00
const zxjz = ref(true);
const zxjzChange = () => {
zxjz.value = !zxjz.value;
};
2024-05-27 14:28:51 +08:00
// 救助tap切换
2024-04-18 13:46:17 +08:00
const jz = ref([
{
choose: "1",
},
{
choose: "1",
},
2024-04-18 14:52:07 +08:00
{
choose: "1",
},
2024-04-18 13:46:17 +08:00
]);
2024-06-06 17:30:20 +08:00
2024-04-18 14:52:07 +08:00
const jzChange = (index, value) => {
2024-04-18 13:46:17 +08:00
jz.value[index].choose = value;
2024-05-29 10:44:17 +08:00
if (index === 0) {
2024-06-04 09:15:17 +08:00
data.list2 = value == "1" ? data.education : data.medical;
// console.log(value, data.education, data.medical);
2024-05-29 10:44:17 +08:00
} else if (index === 1) {
data.list = value === "1" ? data.housing : data.temporary;
} else if (index === 2) {
const listMap = {
2024-06-06 11:32:34 +08:00
1: data.disabilitySubsidies,
2024-06-06 11:41:26 +08:00
2: data.difficultSoldiers,
2024-05-29 10:44:17 +08:00
3: data.needyWorkers,
};
data.list1 = listMap[value];
2024-07-15 10:13:22 +08:00
if (value == 2) {
data.list1.name = "困难军人";
} else if (value == 3) {
data.list1.name = "困难职工";
}
2024-05-28 15:11:03 +08:00
}
2024-04-18 14:52:07 +08:00
};
2024-04-18 13:46:17 +08:00
2024-07-02 10:44:54 +08:00
const showEchart = ref(false);
2024-05-27 14:28:51 +08:00
const data = reactive({
2024-05-28 15:11:03 +08:00
list: {},
2024-05-29 10:44:17 +08:00
list1: {},
list2: {},
2024-05-27 14:28:51 +08:00
education: {
data: [
{
nf: "2019", //救助年份
jzrs: "4202", //救助人数
jzje: "1523", //救助金额
},
],
year: ["2019"],
}, //教育
2024-06-03 09:29:05 +08:00
medical: {
2024-05-29 10:44:17 +08:00
data: [
{
nf: "2019", //救助年份
jzrs: "4202", //救助人数
2024-06-04 09:15:17 +08:00
jzje: "1200", //救助金额
2024-05-29 10:44:17 +08:00
},
],
year: ["2019"],
}, //医疗
2024-05-27 14:28:51 +08:00
housing: {
data: [
{
nf: "2019", //救助年份
jzrs: "4202", //救助人数
jzje: "1523", //救助金额
},
],
year: ["2019"],
}, //住房
2024-05-28 15:11:03 +08:00
temporary: {
data: [
{
nf: "2019", //救助年份
jzrs: "4202", //救助人数
jzje: "1523", //救助金额
},
],
year: ["2019"],
}, //临时救助
2024-05-27 14:28:51 +08:00
lifeAssistance: {
2024-05-29 09:25:32 +08:00
yktTotal: "11515620",
2024-05-27 14:28:51 +08:00
subsidyInformation: [
{
btsx: "80至99岁老人生活补助", //补贴事项
btje: "11515620", //补贴金额
},
],
2024-06-04 11:25:28 +08:00
}, //一卡通
salvation: {
data: [
2024-06-03 09:29:05 +08:00
{
2024-06-06 11:32:34 +08:00
tkjzje: "868.4888", //特困救助金额
tkjzrs: "9430", //特困救助人数
dbjzrs: "9430", //低保救助人数
2024-06-04 11:25:28 +08:00
dbjzje: "868.4888", //低保救助金额
dibianJzrs: "2310", //低边救助人数
2024-06-03 09:29:05 +08:00
},
],
2024-06-04 11:25:28 +08:00
month: ["1"],
2024-06-03 09:29:05 +08:00
}, //生活类救助模块
2024-06-06 11:32:34 +08:00
//困难残疾人补助信息
disabilitySubsidies: {
2024-05-28 15:11:03 +08:00
data: [
2024-06-06 11:32:34 +08:00
// {
// nf: "2019", //补贴年份
// jzrs: "62", //补贴人数
// jzje: "6.24", //补贴金额 万元
// },
2024-05-28 15:11:03 +08:00
],
2024-06-06 11:32:34 +08:00
month: ["1"],
},
//困难军人
2024-06-06 11:41:26 +08:00
difficultSoldiers: {
2024-05-29 10:44:17 +08:00
data: [
{
nf: "2019", //补贴年份
jzrs: "0", //补贴人数
jzje: "0", //补贴金额 万元
},
],
year: ["2019"],
2024-06-06 11:32:34 +08:00
},
//困难职工补助信息
2024-05-29 10:44:17 +08:00
needyWorkers: {
data: [
{
nf: "2019", //补贴年份
jzrs: "0", //补贴人数
jzje: "0", //补贴金额 万元
},
],
year: ["2019"],
2024-07-15 10:13:22 +08:00
name: "困难军人",
2024-06-06 11:32:34 +08:00
},
2024-05-27 14:28:51 +08:00
diversification: {
hszhxms: [
{
fqdw: "龙游县红十字会", //发起单位
xmmc: "防溺水设施配置", //项目名称
gzzcje: "10800.42", //公众筹款金额(元)
jzzcje: "0", //捐赠支出金额
jzrc: "444", //捐赠人次
},
],
}, //多元化力量参与模块
2024-05-29 09:25:32 +08:00
totalAssistance: {
data: [],
year: [],
}, //救助概况
2024-04-18 13:46:17 +08:00
});
2024-05-27 14:56:38 +08:00
// 添加千位分隔符
const addThousandSeparator = (numberString) => {
return parseInt(numberString.trim(), 10).toLocaleString("en-US");
};
2024-04-18 13:46:17 +08:00
2024-05-27 14:28:51 +08:00
const getData = async () => {
await http.get("/api/ggfwyth/succour").then((res) => {
if (res.code == 200) {
2024-05-27 15:48:31 +08:00
data.diversification.hszhxms = res.data.diversification.hszhxms;
2024-05-27 14:28:51 +08:00
// 专项救助模块
2024-05-27 15:42:54 +08:00
// 教育&医疗
2024-05-27 14:56:38 +08:00
data.education.data = res.data.specialAssistance.education.data;
data.education.year = res.data.specialAssistance.education.year;
2024-05-29 10:44:17 +08:00
data.list2 = data.education;
2024-06-03 09:29:05 +08:00
data.medical.data = res.data.specialAssistance.medical.data;
data.medical.year = res.data.specialAssistance.medical.year;
2024-05-27 15:42:54 +08:00
// 住房&临时救助
2024-05-27 14:56:38 +08:00
data.housing.data = res.data.specialAssistance.housing.data;
data.housing.year = res.data.specialAssistance.housing.year;
2024-05-28 15:11:03 +08:00
data.list = data.housing;
data.temporary.data = res.data.specialAssistance.temporary.data;
data.temporary.year = res.data.specialAssistance.temporary.year;
2024-05-27 14:28:51 +08:00
// 救助概况
2024-05-28 14:19:57 +08:00
data.totalAssistance.data = res.data.totalAssistance.data;
data.totalAssistance.year = res.data.totalAssistance.year;
2024-05-27 14:28:51 +08:00
// 生活类救助模块
// 一卡通补贴
2024-05-29 09:25:32 +08:00
data.lifeAssistance.yktTotal = addThousandSeparator(
2024-05-29 10:44:17 +08:00
String((res.data.lifeAssistance.yktTotal / 10000).toFixed(2))
2024-05-29 09:25:32 +08:00
);
2024-05-29 10:44:17 +08:00
data.lifeAssistance.subsidyInformation =
res.data.lifeAssistance.subsidyInformation;
2024-05-27 14:56:38 +08:00
res.data.lifeAssistance.subsidyInformation.forEach((item, index) => {
data.lifeAssistance.subsidyInformation[index].btje =
2024-05-29 10:44:17 +08:00
addThousandSeparator((item.btje / 10000).toFixed(2));
2024-05-27 14:56:38 +08:00
});
2024-06-04 11:25:28 +08:00
// 救助统计图
data.salvation = res.data.lifeAssistance.jz;
2024-05-27 14:28:51 +08:00
// 弱势群体补贴
// 困难残疾人&困难军人&困难职工
2024-06-06 11:32:34 +08:00
//困难残疾人
data.disabilitySubsidies.data =
res.data.underprivileged.disabilitySubsidies.data;
data.disabilitySubsidies.month =
res.data.underprivileged.disabilitySubsidies.month;
2024-05-29 10:44:17 +08:00
// 困难军人
2024-06-06 17:30:20 +08:00
data.difficultSoldiers.data =
res.data.underprivileged.difficultSoldiers.data;
2024-06-06 11:41:26 +08:00
data.difficultSoldiers.year =
2024-05-28 15:11:03 +08:00
res.data.underprivileged.difficultSoldiers.year;
2024-05-29 10:44:17 +08:00
// 困难职工
data.needyWorkers.data = res.data.underprivileged.needyWorkers.data;
data.needyWorkers.year = res.data.underprivileged.needyWorkers.year;
2024-06-06 11:32:34 +08:00
//初试默认残疾人
data.list1 = data.disabilitySubsidies;
2024-05-28 15:11:03 +08:00
2024-05-27 14:28:51 +08:00
// 多元化力量参与
2024-05-27 15:03:10 +08:00
data.diversification.hszhxms = res.data.diversification.hszhxms;
2024-07-02 10:44:54 +08:00
showEchart.value = true;
2024-05-27 14:28:51 +08:00
}
});
2024-04-18 13:46:17 +08:00
};
2024-05-27 15:48:31 +08:00
//自动滚动
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;
2024-06-20 09:55:26 +08:00
if (!mainEl) {
// console.error("mainRef is not defined");
return;
}
2024-05-27 15:48:31 +08:00
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);
}
};
2024-06-07 11:48:45 +08:00
const typeSwitching = ref(true);
const toggleShow = () => {
typeSwitching.value = !typeSwitching.value;
const type = typeSwitching.value ? "1" : "2";
jz.value[2].choose = (jz.value[2].choose % 3) + 1;
jzChange(0, type);
jzChange(1, type);
jzChange(2, jz.value[2].choose);
};
let interval;
const startAutoSwitching = () => {
interval = setInterval(toggleShow, 6000); // 每6秒切换一次
};
2024-05-27 15:48:31 +08:00
onMounted(() => {
2024-07-15 10:13:22 +08:00
setTimeout(() => {
startAutoScroll();
}, 600);
2024-07-13 13:37:35 +08:00
// startAutoSwitching();
2024-06-07 11:48:45 +08:00
});
onBeforeMount(() => {
getData();
2024-06-17 11:50:40 +08:00
});
onBeforeUnmount(() => {
2024-06-07 11:48:45 +08:00
clearInterval(interval); //清除定时器
2024-05-27 15:48:31 +08:00
});
2024-04-12 09:26:48 +08:00
</script>
<style lang="scss" scoped>
.displayFlex {
2024-04-18 13:46:17 +08:00
box-sizing: border-box;
height: 100%;
2024-04-12 09:26:48 +08:00
display: flex;
flex-direction: column;
2024-04-18 13:46:17 +08:00
// flex: 1;
width: 30%;
2024-04-12 09:26:48 +08:00
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.flex1 {
flex: 1;
2024-04-18 13:46:17 +08:00
// padding: 0 28px;
2024-04-12 09:26:48 +08:00
box-sizing: border-box;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.module {
display: flex;
2024-04-18 13:46:17 +08:00
width: 100%;
2024-07-24 14:58:07 +08:00
margin-top: 112px;
2024-04-12 09:26:48 +08:00
}
2024-04-18 13:46:17 +08:00
.left_bg {
width: 642px;
// height: 100%;
box-sizing: border-box;
padding-left: 50px;
padding-right: 20px;
margin-right: 28px;
background-image: url(@/assets/images/left_bg.png);
2024-04-12 09:26:48 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
2024-04-18 13:46:17 +08:00
}
.center_bg {
width: 582px;
2024-04-12 09:26:48 +08:00
box-sizing: border-box;
2024-04-18 13:46:17 +08:00
padding-left: 10px;
padding-right: 10px;
background-image: url(@/assets/images/center_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.right_bg {
width: 642px;
box-sizing: border-box;
padding-right: 50px;
padding-left: 20px;
margin-left: 28px;
background-image: url(@/assets/images/right_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_1 {
2024-05-28 10:03:33 +08:00
background-image: url(@/assets/images/work/zxjz.png);
2024-04-18 13:46:17 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.left_1_1 {
2024-05-23 14:33:54 +08:00
background-image: url(@/assets/images/work/new_qtjz.png);
2024-04-18 13:46:17 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_2 {
background-image: url(@/assets/eduImg/title2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-04-19 14:01:48 +08:00
.center_0 {
2024-05-23 14:33:54 +08:00
background-image: url(@/assets/images/work/new_jzgk.png);
2024-04-19 14:01:48 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-04-18 13:46:17 +08:00
.center_1 {
2024-05-23 14:33:54 +08:00
background-image: url(@/assets/images/work/new_shljz.png);
2024-04-18 13:46:17 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
}
.right_1 {
2024-05-23 14:33:54 +08:00
background-image: url(@/assets/images/work/new_rsqt.png);
2024-04-18 14:52:07 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-05-27 15:40:49 +08:00
2024-04-18 14:52:07 +08:00
.right_2 {
2024-05-23 14:33:54 +08:00
background-image: url(@/assets/images/work/new_dyh.png);
2024-04-18 13:46:17 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
2024-04-12 09:26:48 +08:00
}
.basicInformation {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 22px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.basicInformation_item {
flex: 0 0 50%;
padding: 0 2px;
margin-bottom: 10px;
margin-top: 10px;
box-sizing: border-box;
display: flex;
align-items: center;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.icon {
width: 79px;
height: 47px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.right {
margin-left: 4px;
.label {
background-image: url(@/assets/img_11.png);
background-size: 100%;
background-repeat: no-repeat;
background-position: bottom;
margin-bottom: 4px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
span {
font-size: 12px;
font-weight: 400;
color: #eff0f1;
line-height: 19px;
margin-left: 2px;
}
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 16px;
font-weight: bold;
color: #6acbff;
line-height: 24px;
}
}
}
}
.visitLog {
.visitLog_item {
display: flex;
align-items: center;
background-image: url(@/assets/img_12.png);
background-size: 100% 100%;
margin-top: 16px;
padding: 15px 8px;
box-sizing: border-box;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
img {
display: inline-block;
margin-right: 10px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.visitLog_item_box {
flex: auto;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
h4 {
font-size: 18px;
font-family: MicrosoftYaHei;
font-weight: bold;
color: #0096ff;
margin-bottom: 2px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #ffffff;
margin-top: 6px;
}
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.check {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #0096ff;
line-height: 20px;
}
}
}
.history {
padding-top: 12px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
margin-top: 12px;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 28px;
border-bottom: 13px solid rgba(57, 59, 109, 1);
}
}
.concernLabel {
display: flex;
align-items: center;
justify-content: center;
margin: 12px 0 20px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
span {
text-align: center;
background: rgba(0, 89, 130, 0.73);
border-radius: 10px;
width: 118px;
height: 49px;
line-height: 49px;
font-size: 18px;
font-weight: 400;
color: #ffffff;
margin: 0 10px;
}
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.property {
display: flex;
padding: 14px 0 10px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.property_box {
2024-06-25 09:13:19 +08:00
//background-image: url(@/assets/img_05.png);
2024-04-12 09:26:48 +08:00
background-size: 100% 100%;
background-repeat: no-repeat;
width: 179px;
height: 91px;
margin: 0 12px;
text-align: center;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
h5 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
margin: 9px 0 16px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 21px;
font-weight: bold;
color: #48ece7;
}
}
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.activity {
h5 {
font-size: 14px;
font-weight: bold;
color: rgba(0, 164, 250, 0.8);
line-height: 47px;
border-bottom: 2px solid rgba(0, 164, 250, 1);
margin-bottom: 17px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.activity_content {
margin: 0 -6px 12px;
display: flex;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.activity_box {
width: 50%;
display: inline-block;
margin: 0 6px;
box-sizing: border-box;
background-color: rgba(15, 28, 54, 1);
padding: 12px 12px 19px;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 27px;
height: 100%;
}
}
}
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.monitor {
.monitor_box {
display: flex;
padding: 8px 0;
border-bottom: 2px solid rgba(255, 255, 255, 0.67);
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
img {
width: 115px;
height: 84px;
margin-right: 21px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
.monitor_box_text {
display: flex;
flex-direction: column;
justify-content: space-between;
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
h4 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 20px;
}
2024-04-18 13:46:17 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 14px;
font-weight: 400;
color: #818181;
line-height: 23px;
}
}
}
}
2024-04-18 13:46:17 +08:00
.yd_title {
box-sizing: border-box;
width: 98%;
height: 42px;
position: relative;
2024-06-04 09:24:23 +08:00
overflow: hidden;
2024-04-18 13:46:17 +08:00
.text {
display: flex;
position: absolute;
font-size: 16px;
font-family: SourceHanSansCN;
font-weight: bold;
color: #ffffff;
position: absolute;
right: 5px;
top: 3px;
2024-06-04 09:24:23 +08:00
} /* 利用伪元素和两个i元素产生4条线 */
.animate-border {
position: absolute;
top: 0px;
width: 100%;
height: 100%;
&::before,
&::after {
content: "";
position: absolute;
width: 100%;
2024-06-04 09:47:11 +08:00
height: 2px;
2024-06-04 09:24:23 +08:00
}
i {
position: absolute;
display: inline-block;
height: 100%;
2024-06-04 09:47:11 +08:00
width: 2px;
2024-06-04 09:24:23 +08:00
}
&::before {
top: 0;
left: -100%;
background-image: linear-gradient(
90deg,
transparent,
#03e9f4,
transparent
);
animation: one 4s linear infinite;
}
i:nth-child(1) {
top: -100%;
right: 0;
background-image: linear-gradient(
180deg,
transparent,
#03e9f4,
transparent
);
/* 动画名称 动画持续时间 动画渲染函数 动画延迟时间 动画执行次数 */
animation: two 4s linear 1s infinite;
}
&::after {
bottom: 0;
right: -100%;
background-image: linear-gradient(
-90deg,
transparent,
#03e9f4,
transparent
);
animation: three 4s linear 2s infinite;
}
i:nth-child(2) {
bottom: -100%;
left: 0;
background-image: linear-gradient(
360deg,
transparent,
#03e9f4,
transparent
);
animation: four 4s linear 3s infinite;
}
}
}
@keyframes one {
0% {
left: -100%;
}
50%,
100% {
left: 100%;
}
}
@keyframes two {
0% {
top: -100%;
}
50%,
100% {
top: 100%;
}
}
@keyframes three {
0% {
right: -100%;
}
50%,
100% {
right: 100%;
}
}
@keyframes four {
0% {
bottom: -100%;
}
50%,
100% {
bottom: 100%;
2024-04-18 13:46:17 +08:00
}
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.choose {
display: flex;
justify-content: center;
margin-top: 47px;
2024-04-18 14:52:07 +08:00
margin-bottom: 20px;
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.choose_1 {
2024-04-18 14:52:07 +08:00
cursor: pointer;
2024-04-18 13:46:17 +08:00
width: 124px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
font-size: 16px;
color: #ffffff;
line-height: 22px;
margin-right: 15px;
background-image: url(@/assets/images/work/choose.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.choose_2 {
2024-04-18 14:52:07 +08:00
cursor: pointer;
2024-04-18 13:46:17 +08:00
width: 124px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
font-size: 16px;
color: #ffffff;
line-height: 22px;
margin-right: 15px;
background-image: url(@/assets/images/work/noChoose.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
.mechanism {
background-image: url(@/assets/YLTitle/titleImg10.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.flex11 {
padding: 12px 0;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.czr-sl {
display: flex;
.historyimg {
width: 255px;
height: 56px;
background-repeat: no-repeat;
background-size: 100% 100%;
margin-top: 20px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 70px;
span {
font-weight: 400;
font-size: 16px;
color: #ffffff;
line-height: 22px;
letter-spacing: 2px;
text-align: left;
font-style: normal;
font-family: PingFangSC, PingFang SC;
padding-right: 10px;
}
}
.historyimg1 {
background-image: url(@/assets/eduImg/jyImg14.png);
margin-right: 10px;
}
.historyimg2 {
background-image: url(@/assets/eduImg/jyImg15.png);
}
}
.earlyWarning {
height: calc(100% - 10px);
display: flex;
align-items: center;
justify-content: space-around;
.earlyWarning1 {
font-size: 26px;
color: #ffffff;
line-height: 30px;
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: PangMenZhengDao;
display: flex;
flex-direction: column;
align-items: center;
img {
width: 136px;
height: 100px;
}
.green {
font-size: 26px;
font-weight: bold;
letter-spacing: 2px;
text-align: center;
font-style: normal;
2024-05-21 16:12:54 +08:00
font-family: TCloudNumber, TCloudNumber;
2024-04-18 13:46:17 +08:00
background-image: linear-gradient(180deg, #7be546 0%, #38ffb1 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.yellow {
font-size: 26px;
font-weight: bold;
letter-spacing: 2px;
text-align: center;
font-style: normal;
2024-05-21 16:12:54 +08:00
font-family: TCloudNumber, TCloudNumber;
2024-04-18 13:46:17 +08:00
background-image: linear-gradient(180deg, #ee8404 0%, #efd404 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.red {
font-size: 26px;
font-weight: bold;
letter-spacing: 2px;
text-align: center;
font-style: normal;
2024-05-21 16:12:54 +08:00
font-family: TCloudNumber, TCloudNumber;
2024-04-18 13:46:17 +08:00
background-image: linear-gradient(180deg, #ff3e00 0%, #ed5a2d 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.historyimg {
width: 133px;
height: 19px;
background-repeat: no-repeat;
background-size: 100% 100%;
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
span {
font-weight: 500;
font-size: 14px;
color: #ffffff;
letter-spacing: 4px;
font-style: normal;
font-family: PingFangSC, PingFang SC;
}
}
.historyimg1 {
background-image: url(@/assets/eduImg/jyImg4.png);
}
.historyimg2 {
background-image: url(@/assets/eduImg/jyImg6.png);
}
.historyimg3 {
background-image: url(@/assets/eduImg/jyImg5.png);
}
}
}
2024-05-27 15:40:49 +08:00
.dyh {
margin-top: 10px;
overflow: hidden;
height: 380px;
overflow-y: auto;
width: 100%;
.czr-bj {
2024-05-27 15:48:31 +08:00
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;
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;
}
2024-04-18 13:46:17 +08:00
}
2024-05-27 15:40:49 +08:00
}
2024-04-18 13:46:17 +08:00
.school {
display: flex;
flex-direction: column;
justify-content: space-around;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.fundingBox {
display: flex;
flex-direction: column;
align-items: center;
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.funding {
width: 520px;
height: 34px;
margin-top: 20px;
// padding: 10px 0 14px 0;
box-sizing: border-box;
background-image: url(@/assets/eduImg/jyImg17.png);
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;
justify-content: space-around;
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
// align-items: center;
// justify-content: center;
// flex-direction: column;
// justify-content: space-between;
span {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
2024-07-11 10:46:45 +08:00
font-size: 16px;
2024-04-18 13:46:17 +08:00
color: #ffffff;
line-height: 20px;
letter-spacing: 3px;
}
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.rolling {
width: 100%;
height: 200px;
// height: calc(100% - 26px);
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: center;
2024-05-27 15:48:31 +08:00
padding-left: 6px;
2024-05-23 11:47:43 +08:00
2024-04-18 13:46:17 +08:00
.fundingContent {
display: flex;
align-items: center;
justify-content: space-around;
margin-top: 10px;
width: 92%;
2024-05-23 11:47:43 +08:00
// height: 34px;
padding: 4px 0;
2024-04-18 13:46:17 +08:00
box-sizing: border-box;
background-image: url(@/assets/eduImg/jyImg16.png);
span {
font-family: PingFangSC, PingFang SC;
2024-07-11 10:46:45 +08:00
font-weight: 500;
font-size: 16px;
2024-04-18 13:46:17 +08:00
color: #ffffff;
letter-spacing: 3px;
text-align: left;
font-style: normal;
2024-05-29 09:25:32 +08:00
width: 78%;
2024-05-23 11:47:43 +08:00
padding-left: 38px;
}
2024-05-27 15:40:49 +08:00
2024-05-23 11:47:43 +08:00
span:nth-child(2) {
2024-05-29 09:25:32 +08:00
width: 22%;
2024-05-23 11:47:43 +08:00
// padding-left: 50px;
2024-04-18 13:46:17 +08:00
}
}
}
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.rating {
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.ratingBtn {
display: flex;
// align-items: center;
.onImg {
width: 62px;
height: 29px;
background-image: url(@/assets/eduImg/jyImg19.png);
background-repeat: no-repeat;
background-size: 100% 100%;
2024-05-27 15:40:49 +08:00
cursor: pointer;
/* 添加指针样式以指示可点击 */
2024-04-18 13:46:17 +08:00
}
.ratingImg {
width: 62px;
height: 29px;
background-image: url(@/assets/eduImg/jyImg18.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
.onImg.active {
width: 62px;
height: 29px;
background-image: url(@/assets/eduImg/jyImg18.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
span {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 14px;
color: #ffffff;
letter-spacing: 1px;
font-family: PingFangSC, PingFang SC;
}
}
}
.selectLint {
width: 94%;
display: flex;
margin: 30px 0 10px;
justify-content: space-between;
.selectBox {
width: 48%;
background-image: url(@/assets/eduImg/jyImg7.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
2024-05-27 15:40:49 +08:00
.dyh::-webkit-scrollbar {
display: none;
/* Chrome Safari */
2024-04-18 13:46:17 +08:00
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
/* 滚动条整体部分 */
.rolling::-webkit-scrollbar {
width: 5px;
// height: 10px;
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
/* 滚动槽 */
.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);
}
2024-05-27 15:40:49 +08:00
2024-04-18 13:46:17 +08:00
/* 滚动条滑块样式 */
.rolling::-webkit-scrollbar-thumb {
background-clip: content-box;
border-radius: 6px;
background: rgba(0, 162, 231, 1);
-webkit-box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.3);
}
</style>