diff --git a/src/views/counter/components/screen.vue b/src/views/counter/components/screen.vue
index 06ee523..a54ef5a 100644
--- a/src/views/counter/components/screen.vue
+++ b/src/views/counter/components/screen.vue
@@ -2,11 +2,8 @@
-
- - 设备: {{deviceID}}
- - 地区: 尖沙咀
- - 设备名称: 香港大学1号机
-
+
{{$t('counter.device')}}: {{deviceID}}
+
{{$t('counter.deviceName')}}: {{lastItem.device_name}}
@@ -93,18 +90,17 @@ export default {
overflow: auto;
.device-base {
display: flex;
- justify-content: center;
- min-width: 600px;
- ul {
- padding: 0;
- li {
- font-size: .85rem;
- list-style-type: none;
- display: inline-block;
- }
- .region {
- margin: 0 5rem 0 5rem;
- }
+ flex-direction: column;
+ align-items: center;
+ min-width: 600px;
+ .item {
+ width: 300px;
+ margin: 0 0 5px 0;
+ }
+ .keyword {
+ display: inline-block;
+ width: 90px;
+ font-size: 0.8em;
}
}
}