chenyc
2024-12-26 ac6966408a1de4c95c383d91da6bfd45d63ddbb5
优化页面自适应滚动条
2个文件已修改
6 ■■■■ 已修改文件
src/views/home/components/patient_file.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/suifangjilu/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/patient_file.vue
@@ -102,6 +102,7 @@
                        <CreditCard />
                    </el-icon> <span> &nbsp; 最新生化数据</span>
                </div>
                <el-scrollbar :height="(tableHeight-520)+'px'">
                <div>
                    <el-row :gutter="10" v-if="state.listData.length">
                        <el-col :xs="8" :sm="8" :md="6" :lg="6" :xl="4" v-for="(item, key) in state.listData"
@@ -130,6 +131,7 @@
                        </el-col>
                    </el-row>
                </div>
                </el-scrollbar>
            </el-card>
        </div>
src/views/home/components/suifangjilu/index.vue
@@ -3,7 +3,8 @@
        <el-row>
            <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                <div class="tableDiv">
                    <table>
                    <el-scrollbar :height="(tableHeight-130)+'px'">
                    <table v-if="tableHeight > 0" >
                        <tr>
                            <th colspan="7" style="text-align: left">营养服务管理记录</th>
                        </tr>
@@ -545,6 +546,7 @@
                        </tr>
                    </table>
                    </el-scrollbar>
                </div>
            </el-col>