Mr.Zhang
2023-08-23 166982c6c138b0b3face42de4a4e1b305ef0e02e
screen_standard/src/views/process.vue
@@ -249,14 +249,14 @@
    scrollDom = planContainer.value
  } else {
    // 如果列表数量过少不进行滚动
    if (scrollDom.children.length < 10) {
    if (scrollDom.children.length < 11) {
      clearTimeout(planTimer.value)
      return
    }
    // 组件进行滚动
    scrollDom.scrollTop += 1.5
    scrollDom.scrollTop += 2
    // 判断是否滚动到底部
    if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight)) {
    if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight - 2)) {
      // 获取组件第一个节点
      let first = scrollDom.children[0]
      // 删除节点
@@ -495,7 +495,7 @@
    flex: 1;
    margin-right: 20px;
    .proccess-plan {
      height: 424px;
      height: 464px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      margin-bottom: 20px;
    }
@@ -601,7 +601,7 @@
    flex: 1;
    .report-log {
      height: 424px;
      height: 464px;
      background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%);
      margin-bottom: 20px;
    }