Commit d918d635b4b33bb3de52914e98a25a6d50e6583c
1 parent
9a842983
perf: device list modal of matter panel history data style adjust
Showing
2 changed files
with
16 additions
and
4 deletions
| ... | ... | @@ -176,12 +176,12 @@ | 
| 176 | 176 | </script> | 
| 177 | 177 | |
| 178 | 178 | <template> | 
| 179 | - <section class="flex flex-col p-4 h-full" style="color: #f0f2f5"> | |
| 180 | - <section class="bg-white p-3"> | |
| 179 | + <section class="flex flex-col p-4 h-full" style="background-color: #f0f2f5"> | |
| 180 | + <section class="bg-white p-3 mb-4"> | |
| 181 | 181 | <TimePeriodForm @register="register" /> | 
| 182 | 182 | </section> | 
| 183 | 183 | <section class="bg-white p-3"> | 
| 184 | - <div v-show="isNull" ref="chartRef" :style="{ height: '550px', width: '100%' }"> | |
| 184 | + <div v-show="isNull" ref="chartRef" :style="{ height: '400px', width: '100%' }"> | |
| 185 | 185 | <Spin :spinning="loading" :absolute="true" /> | 
| 186 | 186 | </div> | 
| 187 | 187 | <Empty v-show="!isNull" /> | ... | ... | 
| ... | ... | @@ -239,7 +239,13 @@ | 
| 239 | 239 | </div> | 
| 240 | 240 | </template> | 
| 241 | 241 | </BasicTable> | 
| 242 | - <BasicModal @register="registerModal" width="50%" destroy-on-close> | |
| 242 | + <BasicModal | |
| 243 | + @register="registerModal" | |
| 244 | + title="历史数据" | |
| 245 | + width="50%" | |
| 246 | + destroy-on-close | |
| 247 | + dialogClass="history-modal" | |
| 248 | + > | |
| 243 | 249 | <HistoryData :deviceDetail="props.deviceDetail" :attr="socketInfo.attr" /> | 
| 244 | 250 | </BasicModal> | 
| 245 | 251 | </PageWrapper> | 
| ... | ... | @@ -254,3 +260,9 @@ | 
| 254 | 260 | padding-top: 0; | 
| 255 | 261 | } | 
| 256 | 262 | </style> | 
| 263 | + | |
| 264 | +<style> | |
| 265 | + .history-modal .ant-input-number { | |
| 266 | + min-width: 0 !important; | |
| 267 | + } | |
| 268 | +</style> | ... | ... |