Compare commits
	
		
			6 Commits
		
	
	
		
			4026826869
			...
			zjl
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| b812a8eb01 | |||
| 6378239090 | |||
| 3cbe02f50a | |||
| c113ad3588 | |||
| 29dfb47b4b | |||
| 86a5d3737c | 
| @@ -7,7 +7,7 @@ | |||||||
| --> | --> | ||||||
| <template> | <template> | ||||||
|   <div class="visual-base-table-container"> |   <div class="visual-base-table-container"> | ||||||
|     <el-table v-loading="isLoading" class="techy-el-table" :data="renderData" border height="100%"> |     <el-table class="techy-el-table" v-loading="isLoading" :data="renderData" border height="100%"> | ||||||
|       <el-table-column |       <el-table-column | ||||||
|         v-if="page && limit && showIndex" |         v-if="page && limit && showIndex" | ||||||
|         prop="_pageIndex" |         prop="_pageIndex" | ||||||
| @@ -29,7 +29,7 @@ | |||||||
|             :inject-data="{ ...scope.row, ...item }" |             :inject-data="{ ...scope.row, ...item }" | ||||||
|             @emitData="emitData" |             @emitData="emitData" | ||||||
|           /> |           /> | ||||||
|           <span v-else :title="scope.row[item.prop]">{{ scope.row[item.prop] | commonFilter(item.filter) }}</span> |           <span v-else>{{ scope.row[item.prop] | commonFilter(item.filter) }}</span> | ||||||
|         </template> |         </template> | ||||||
|       </el-table-column> |       </el-table-column> | ||||||
|       <slot name="content" /> |       <slot name="content" /> | ||||||
|   | |||||||
| @@ -318,14 +318,20 @@ export default { | |||||||
|  |  | ||||||
| .techy-body-part__middle { | .techy-body-part__middle { | ||||||
|   position: absolute; |   position: absolute; | ||||||
|   /* background: #ff3311; */ |  | ||||||
|   top: 0; |   top: 0; | ||||||
|   right: calc(-16px * var(--beilv)); |   right: calc(-16px * var(--beilv)); | ||||||
|   transform: translateX(100%); | } | ||||||
|  |  | ||||||
|  | .techy-body-part__middle .techy-box { | ||||||
|  |   position: absolute; | ||||||
|  |   top: 0; | ||||||
|  |   left: 0; | ||||||
|  |   height: calc(128px * var(--beilv)); | ||||||
|  |   width: calc(188px * var(--beilv)); | ||||||
| } | } | ||||||
|  |  | ||||||
| .techy-body-part__middle__inner { | .techy-body-part__middle__inner { | ||||||
|   /* height: 100%; */ |   height: 100%; | ||||||
|   padding: calc(16px * var(--beilv)); |   padding: calc(16px * var(--beilv)); | ||||||
|   display: flex; |   display: flex; | ||||||
|   flex-direction: column; |   flex-direction: column; | ||||||
| @@ -340,17 +346,8 @@ export default { | |||||||
|   line-height: 1.5; |   line-height: 1.5; | ||||||
|   color: #fff; |   color: #fff; | ||||||
|   display: flex; |   display: flex; | ||||||
|   min-width: calc(168px * var(--beilv)); |  | ||||||
| } | } | ||||||
|  |  | ||||||
| .techy-body-part__middle__inner p:not(:last-child) { |  | ||||||
|   margin-bottom: calc(8px * var(--beilv)); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* .techy-body-part__middle__inner p > b { |  | ||||||
|   width: calc(90px * var(--beilv)); |  | ||||||
| } */ |  | ||||||
|  |  | ||||||
| .techy-body-part__middle__inner p > span { | .techy-body-part__middle__inner p > span { | ||||||
|   position: relative; |   position: relative; | ||||||
|   padding-left: calc(16px * var(--beilv)); |   padding-left: calc(16px * var(--beilv)); | ||||||
|   | |||||||
| @@ -1,19 +1,19 @@ | |||||||
| <template> | <template> | ||||||
|   <div class="state-box"> |   <div class="state-box"> | ||||||
|     <span v-if="this.injectData.status === 1"> |     <span v-if="this.injectData.status === 1"> | ||||||
|       <svg-icon icon-class="yellow_dot" style="font-size: 14px; position: relative; top: .08em" /> |       <svg-icon icon-class="yellow_dot" class="tip"/> | ||||||
|       在途 |       在途 | ||||||
|     </span> |     </span> | ||||||
|     <span v-if="this.injectData.status === 2"> |     <span v-if="this.injectData.status === 2"> | ||||||
|       <svg-icon icon-class="blue_dot" style="font-size: 14px; position: relative; top: .08em" /> |       <svg-icon icon-class="blue_dot" class="tip"/> | ||||||
|       已下发 |       已下发 | ||||||
|     </span> |     </span> | ||||||
|     <span v-if="this.injectData.status === 3"> |     <span v-if="this.injectData.status === 3"> | ||||||
|       <svg-icon icon-class="green_dot" style="font-size: 14px; position: relative; top: .08em" /> |       <svg-icon icon-class="green_dot" class="tip" /> | ||||||
|       已完成 |       已完成 | ||||||
|     </span> |     </span> | ||||||
|     <span v-if="this.injectData.status === 4"> |     <span v-if="this.injectData.status === 4"> | ||||||
|       <svg-icon icon-class="orange_dot" style="font-size: 14px; position: relative; top: .08em" /> |       <svg-icon icon-class="orange_dot" class="tip" /> | ||||||
|       待下发 |       待下发 | ||||||
|     </span> |     </span> | ||||||
|   </div> |   </div> | ||||||
| @@ -44,8 +44,11 @@ export default { | |||||||
|   } |   } | ||||||
| } | } | ||||||
| </script> | </script> | ||||||
| <style scoped> | <style lang="scss" scoped> | ||||||
| .state-box { | .state-box { | ||||||
|   height: calc(15px * var(--beilv)) |   .tip { | ||||||
|  |     font-size: calc(14px * var(--beilv)); | ||||||
|  |     vertical-align: middle; | ||||||
|  |   } | ||||||
| } | } | ||||||
| </style> | </style> | ||||||
|   | |||||||
| @@ -63,6 +63,7 @@ export default { | |||||||
|   justify-content: space-between; |   justify-content: space-between; | ||||||
|   .box { |   .box { | ||||||
|     width: 49.5%; |     width: 49.5%; | ||||||
|  |     height: 49.5%; | ||||||
|     margin-bottom: 8px; |     margin-bottom: 8px; | ||||||
|     background-image: url('../../../../assets/img/cockpit/module-back.png'); |     background-image: url('../../../../assets/img/cockpit/module-back.png'); | ||||||
|     background-repeat: no-repeat; |     background-repeat: no-repeat; | ||||||
| @@ -92,6 +93,26 @@ export default { | |||||||
|       background: #366F5D; |       background: #366F5D; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |   ::-webkit-scrollbar { | ||||||
|  |     width: calc(8px * var(--beilv)); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   ::-webkit-scrollbar-track { | ||||||
|  |     background-color: #14243f; | ||||||
|  |     border-radius: 0; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   ::-webkit-scrollbar-button { | ||||||
|  |     width: calc(8px * var(--beilv)); | ||||||
|  |     height: calc(8px * var(--beilv)); | ||||||
|  |     background: #5bc4bf9f; | ||||||
|  |     position: relative; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   ::-webkit-scrollbar-thumb { | ||||||
|  |     border-radius: calc(8px * var(--beilv)); | ||||||
|  |     background: #5bc4bf9f; | ||||||
|  |   } | ||||||
| } | } | ||||||
| .progress-box { | .progress-box { | ||||||
|   border-radius: 5px; |   border-radius: 5px; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user