Merge branch 'master' of http://172.16.20.1:3000/duanhao/SocialNetworks_duan
This commit is contained in:
commit
ecec584550
|
|
@ -118,9 +118,6 @@ const initChart = () => {
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
data: legendData,
|
data: legendData,
|
||||||
itemStyle: {
|
|
||||||
// color: "#fff"
|
|
||||||
},
|
|
||||||
right: 5, // 距离右侧 10px
|
right: 5, // 距离右侧 10px
|
||||||
top: 15,
|
top: 15,
|
||||||
itemWidth: 10, // 图例图标的宽度
|
itemWidth: 10, // 图例图标的宽度
|
||||||
|
|
@ -232,9 +229,7 @@ const initChart = () => {
|
||||||
padding: [0, 0, 5, -28] // 负值让文字更靠左
|
padding: [0, 0, 5, -28] // 负值让文字更靠左
|
||||||
},
|
},
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
textStyle: {
|
color: "#94C1EC"
|
||||||
color: "#94C1EC"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
type: "value",
|
type: "value",
|
||||||
splitLine: {
|
splitLine: {
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
import abnormalPostItemTitle from "@/assets/images/abnormalGroup/abnormal-action-analysis-item-title.png"
|
import abnormalPostItemTitle from "@/assets/images/abnormalGroup/abnormal-action-analysis-item-title.png"
|
||||||
import groupEvolutionTitle from "@/assets/images/groupEvolution/group-evolution-analysis-titlt.png"
|
import groupEvolutionTitle from "@/assets/images/groupEvolution/group-evolution-analysis-titlt.png"
|
||||||
import abnormalTitle from "@/assets/images/abnormalGroup/abnormal-action-analysis-title.png"
|
import abnormalTitle from "@/assets/images/abnormalGroup/abnormal-action-analysis-title.png"
|
||||||
import { ref, computed, defineProps, defineEmits, onMounted, onBeforeUnmount } from "vue"
|
import { ref, defineProps, defineEmits, onMounted, onBeforeUnmount } from "vue"
|
||||||
import { TansTimestamp } from "@/utils/transform"
|
import { TansTimestamp } from "@/utils/transform"
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
posts: {
|
posts: {
|
||||||
|
|
@ -109,7 +109,6 @@ const props = defineProps({
|
||||||
})
|
})
|
||||||
|
|
||||||
const emit = defineEmits(["click:openDialog"])
|
const emit = defineEmits(["click:openDialog"])
|
||||||
const animationDuration = computed(() => `${props.posts.length * 3}s`)
|
|
||||||
|
|
||||||
const maxInfluence = 10000
|
const maxInfluence = 10000
|
||||||
|
|
||||||
|
|
@ -156,10 +155,6 @@ function resumeScroll() {
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
console.log("打印moudleName:")
|
|
||||||
console.log(props.moduleName)
|
|
||||||
console.log(props.posts)
|
|
||||||
|
|
||||||
startScroll()
|
startScroll()
|
||||||
})
|
})
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
|
|
@ -218,9 +213,12 @@ onBeforeUnmount(() => {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
|
&:hover {
|
||||||
|
background: linear-gradient(90deg, rgba(63, 169, 245, 0.4) 0%, rgba(0, 84, 187, 0) 100%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-item.highlighted {
|
.post-item .highlighted {
|
||||||
background: linear-gradient(90deg, rgba(63, 169, 245, 0.4) 0%, rgba(0, 84, 187, 0) 100%);
|
background: linear-gradient(90deg, rgba(63, 169, 245, 0.4) 0%, rgba(0, 84, 187, 0) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,9 +59,7 @@ const optionHandle = ({ xAxis, yAxis, data }, flag) => {
|
||||||
boundaryGap: true,
|
boundaryGap: true,
|
||||||
data: xAxis,
|
data: xAxis,
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
textStyle: {
|
color: "#94C1EC"
|
||||||
color: "#94C1EC"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
axisTick: {
|
axisTick: {
|
||||||
show: false
|
show: false
|
||||||
|
|
@ -79,9 +77,7 @@ const optionHandle = ({ xAxis, yAxis, data }, flag) => {
|
||||||
padding: [0, 0, 0, -28] // 负值让文字更靠左
|
padding: [0, 0, 0, -28] // 负值让文字更靠左
|
||||||
},
|
},
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
textStyle: {
|
color: "#94C1EC"
|
||||||
color: "#94C1EC"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
type: "value",
|
type: "value",
|
||||||
splitLine: {
|
splitLine: {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="userChart">
|
<div class="userChart">
|
||||||
<GroupChart
|
<GroupChart
|
||||||
:title="groupChartTitleImg"
|
:title="groupChartTitleImg"
|
||||||
:moduleName="群体规模演化图"
|
:moduleName="'群体规模演化图'"
|
||||||
:chartData="groupDiscoveryStore.chartData"
|
:chartData="groupDiscoveryStore.chartData"
|
||||||
></GroupChart>
|
></GroupChart>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -60,9 +60,9 @@ import groupChartTitleImg from "@/assets/images/groupEvolution/chart-title.png"
|
||||||
import groupGroupShowImg from "@/assets/images/groupEvolution/groupDisc-title.png"
|
import groupGroupShowImg from "@/assets/images/groupEvolution/groupDisc-title.png"
|
||||||
import { useGroupDiscoveryStore } from "@/store/groupEvolution/index"
|
import { useGroupDiscoveryStore } from "@/store/groupEvolution/index"
|
||||||
|
|
||||||
const groupDiscoveryStore = useGroupDiscoveryStore();
|
const groupDiscoveryStore = useGroupDiscoveryStore()
|
||||||
|
|
||||||
const moduleName = '群体识别发现';
|
const moduleName = "群体识别发现"
|
||||||
//控制弹窗
|
//控制弹窗
|
||||||
const postDialog = ref(false)
|
const postDialog = ref(false)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user