jinhui.wang

样式修改

...@@ -1116,7 +1116,7 @@ input:disabled { ...@@ -1116,7 +1116,7 @@ input:disabled {
1116 } 1116 }
1117 1117
1118 .el-dialog__body { 1118 .el-dialog__body {
1119 - padding: 10px 50px !important; 1119 + padding: 10px 30px !important;
1120 } 1120 }
1121 } 1121 }
1122 1122
...@@ -1177,3 +1177,65 @@ input:disabled { ...@@ -1177,3 +1177,65 @@ input:disabled {
1177 } 1177 }
1178 } 1178 }
1179 } 1179 }
1180 +
1181 +.el-table__body-wrapper {
1182 + &::-webkit-scrollbar {
1183 + height: 8px;
1184 + width: 8px;
1185 + }
1186 +
1187 + &::-webkit-scrollbar-track {
1188 + background-color: #fff;
1189 + }
1190 +
1191 + &::-webkit-scrollbar-thumb {
1192 + background-color: #ccc;
1193 + }
1194 +
1195 + &::-webkit-scrollbar-thumb:hover {
1196 + background-color: #409eff;
1197 + }
1198 +}
1199 +
1200 +.el-scrollbar__wrap {
1201 + &::-webkit-scrollbar {
1202 + height: 0px;
1203 + width: 0px;
1204 + }
1205 +}
1206 +
1207 +// 当表格有纵向滚动条时
1208 +.el-table--scrollable-y .el-table__fixed-right {
1209 + right: 7px !important;
1210 +}
1211 +
1212 +// 当表格只有横向滚动条,没有纵向滚动条时
1213 +.el-table--scrollable-x:not(.el-table--scrollable-y) .el-table__fixed-right {
1214 + right: 0 !important;
1215 +}
1216 +
1217 +
1218 +::-webkit-scrollbar {
1219 + height: 8px;
1220 + width: 8px;
1221 +}
1222 +
1223 +::-webkit-scrollbar-track {
1224 + background-color: #fff;
1225 +}
1226 +
1227 +::-webkit-scrollbar-thumb {
1228 + background-color: #ccc;
1229 +}
1230 +
1231 +::-webkit-scrollbar-thumb:hover {
1232 + background-color: #409eff;
1233 +}
1234 +
1235 +
1236 +.el-scrollbar__wrap {
1237 + &::-webkit-scrollbar {
1238 + height: 0px;
1239 + width: 0px;
1240 + }
1241 +}
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -105,8 +105,8 @@ ...@@ -105,8 +105,8 @@
105 prop="option" 105 prop="option"
106 label="" 106 label=""
107 :fixed="false" 107 :fixed="false"
108 - align="right" 108 + align="center"
109 - width="120" 109 + width="150"
110 > 110 >
111 <template slot-scope="scope"> 111 <template slot-scope="scope">
112 <div class="historyOption"> 112 <div class="historyOption">
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
180 { 180 {
181 label: "ACTION", 181 label: "ACTION",
182 prop: "action", 182 prop: "action",
183 - width: 180, 183 + width: 100,
184 align: "left", 184 align: "left",
185 }, 185 },
186 ], 186 ],
......