Procházet zdrojové kódy

refactor(views): streamline input components and enhance layout consistency

- Consolidated attributes in input components across `live-stream/index.vue` and `lss/index.vue` for improved readability and consistency.
- Updated table and pagination components to enhance layout and user experience.
- Adjusted drawer sizes for better visual structure and usability.
yb před 3 dny
rodič
revize
19950cc0c9
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2 2
      src/views/live-stream/index.vue
  2. 1 1
      src/views/lss/index.vue

+ 2 - 2
src/views/live-stream/index.vue

@@ -132,7 +132,7 @@
     <el-drawer
       v-model="drawerVisible"
       direction="rtl"
-      :size="activeDrawerTab === 'edit' ? '550px' : '90%'"
+      :size="activeDrawerTab === 'edit' ? '800px' : '90%'"
       :with-header="false"
       destroy-on-close
       class="combined-drawer"
@@ -1471,7 +1471,7 @@ onMounted(async () => {
 .media-drawer-content {
   display: flex;
   height: 100%;
-  padding: 16px 0;
+  padding: 16px;
   gap: 8px;
   overflow: hidden;
 }

+ 1 - 1
src/views/lss/index.vue

@@ -857,7 +857,7 @@ const lssEditForm = reactive({
 
 // 根据当前 tab 计算抽屉宽度
 const editDrawerSize = computed(() => {
-  return editActiveTab.value === 'detail' ? '500px' : '80%'
+  return editActiveTab.value === 'detail' ? '800px' : '80%'
 })
 
 // 设备列表抽屉状态