| | |
| | | <!-- |
| | | * @Date: 2024-01-13 20:46:33 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-03-10 17:42:26 |
| | | * @LastEditTime: 2024-03-11 19:20:55 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/workshop/device.vue |
| | | --> |
| | | <template> |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: 20px; |
| | | |
| | | overflow: hidden; |
| | | |
| | | .img { |
| | | // min-width: 100px; |
| | | width: 50%; |
| | | height: 100%; |
| | | width: 60%; |
| | | height: 150px; |
| | | border: 1px solid #444C55; |
| | | border-radius: 10px; |
| | | position: relative; |
| | | flex: 0 0 auto; |
| | | overflow: hidden; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | .img-status { |
| | | position: absolute; |
| | | font-size: 12px; |
| | |
| | | } |
| | | |
| | | img { |
| | | position: absolute; |
| | | top: 50%; |
| | | left: 50%; |
| | | transform: translate(-50%, -50%); |
| | | // position: absolute; |
| | | // top: 50%; |
| | | // left: 50%; |
| | | // transform: translate(-50%, -50%); |
| | | height: auto; |
| | | width: 80%; |
| | | } |
| | | } |
| | |
| | | align-items: center; |
| | | |
| | | &>div { |
| | | margin-left: 20px; |
| | | margin-left: 10px; |
| | | ; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | img { |
| | | width: 40px; |
| | | height: 40px; |
| | | width: 25px; |
| | | height: 25px; |
| | | } |
| | | } |
| | | } |