田源
2023-10-24 58e9f388a3ee2612560790124153518f12155bf1
主数据Tree滚动条
已修改1个文件
20 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/Master/MasterTree.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -1,5 +1,5 @@
<template>
  <div style="overflow: auto; height: calc(100vh - 150px);">
  <div class="app">
    <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="Treedata" :defaultExpandAll="false" :option="Treeoption" @node-click="nodeClick" style="width: fit-content;">
      <template slot-scope="{ node }">
        <span style="display: inline-block;">{{ node.label }}</span>
@@ -188,6 +188,22 @@
}
</script>
<style scoped>
<style lang="scss" scoped>
.app{
  overflow: auto;
  height: calc(100vh - 150px);
}
 .app::-webkit-scrollbar {
  height: 15px ; // 纵向滚动条 必写
  background: white;
  border: white;
  width: 10px;
}
// 滚动条的滑块
 .app::-webkit-scrollbar-thumb {
  background-color: #ececec;
  border-radius: 20px;
  border: #ececec;
}
</style>