test submit
This commit is contained in:
parent
462060283d
commit
cc4a25495d
|
|
@ -20,7 +20,7 @@
|
||||||
<!-- 显示不同的数据信息 -->
|
<!-- 显示不同的数据信息 -->
|
||||||
<div v-if="activeButton === 0">
|
<div v-if="activeButton === 0">
|
||||||
<!-- 全部种类的数据信息 -->
|
<!-- 全部种类的数据信息 -->
|
||||||
全部种类的数据信息
|
全部种类的数据信息2
|
||||||
</div>
|
</div>
|
||||||
<div v-if="activeButton === 1">
|
<div v-if="activeButton === 1">
|
||||||
<!-- 新闻媒体的数据信息 -->
|
<!-- 新闻媒体的数据信息 -->
|
||||||
|
|
@ -143,6 +143,7 @@ const breakpoints = [4, 12.5, 25, 37.5, 50, 62.5, 75, 87.5];
|
||||||
// 定义是否暂停
|
// 定义是否暂停
|
||||||
const isPaused = ref(false);
|
const isPaused = ref(false);
|
||||||
|
|
||||||
|
const timePointDataIndex = ref(0)
|
||||||
// 开始拖动
|
// 开始拖动
|
||||||
const startDrag = () => {
|
const startDrag = () => {
|
||||||
isDragging.value = true;
|
isDragging.value = true;
|
||||||
|
|
@ -192,7 +193,7 @@ onMounted(async () => {
|
||||||
scrollInterval = setInterval(() => {
|
scrollInterval = setInterval(() => {
|
||||||
const container = leaderPost.value;
|
const container = leaderPost.value;
|
||||||
container.scrollTop += 1;
|
container.scrollTop += 1;
|
||||||
console.log('当前滚动位置:', container.scrollTop);
|
// console.log('当前滚动位置:', container.scrollTop);
|
||||||
|
|
||||||
// 当滚动到复制内容的起始位置时,重置滚动位置
|
// 当滚动到复制内容的起始位置时,重置滚动位置
|
||||||
if (container.scrollTop >= originalContent.value.offsetHeight) {
|
if (container.scrollTop >= originalContent.value.offsetHeight) {
|
||||||
|
|
@ -257,7 +258,10 @@ onUnmounted(() => {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
/* 解决 inline-block 元素间的间隙问题 */
|
/* 解决 inline-block 元素间的间隙问题 */
|
||||||
}
|
}
|
||||||
|
.leader-data{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.all-leader button {
|
.all-leader button {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user