Commit 29cbe3f5 authored by 沈翠玲's avatar 沈翠玲

修复样式问题

parent 4eaefc8e
...@@ -356,7 +356,6 @@ ...@@ -356,7 +356,6 @@
<style> <style>
.line-content-item { .line-content-item {
width: 100%; width: 100%;
padding: 0 10px;
height: 300px; height: 300px;
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
......
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
<view class="list-bar"> <view class="list-bar">
<!-- 新增 --> <!-- 新增 -->
<view class="btnbox"> <view class="btnbox" v-if="getAddShow()">
<u-button v-if="getAddShow()" type="success" size="medium" @click="handleAddClick">新增</u-button> <u-button type="success" size="medium" @click="handleAddClick">新增</u-button>
</view> </view>
<view class="tableListClass"> <view class="tableListClass" :class="{'nobtn': !getAddShow()}">
<!-- style="{ height: this.screenHeight - 280 + 'px' }" --> <!-- style="{ height: this.screenHeight - 280 + 'px' }" -->
<zb-table :columns="tableColumn" :data="qcList" :stripe="true"> <zb-table :columns="tableColumn" :data="qcList" :stripe="true">
<template slot="checkResult" slot-scope="scope"> <template slot="checkResult" slot-scope="scope">
...@@ -874,7 +874,8 @@ export default { ...@@ -874,7 +874,8 @@ export default {
} }
.list-bar { .list-bar {
width: calc(100vw - 130px); width: calc(100vw);
height: calc(100% - 120rpx);
} }
.button-bar { .button-bar {
...@@ -886,6 +887,9 @@ export default { ...@@ -886,6 +887,9 @@ export default {
.tableListClass { .tableListClass {
height: calc(100vh - 300rpx); height: calc(100vh - 300rpx);
&.nobtn {
height: 100%;
}
} }
.button-frame { .button-frame {
...@@ -952,7 +956,6 @@ export default { ...@@ -952,7 +956,6 @@ export default {
.line-content-item { .line-content-item {
width: 100%; width: 100%;
padding: 0 10px;
height: 300px; height: 300px;
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment