Procházet zdrojové kódy

优化:后台其他列表页在小屏幕显示超出问题(补充)

萤火科技 před 3 roky
rodič
revize
0590ef79cd

+ 5 - 1
src/views/content/article/Index.vue

@@ -92,6 +92,7 @@ const columns = [
   {
     title: '文章标题',
     dataIndex: 'title',
+    width: '320px',
     scopedSlots: { customRender: 'stitle' }
   },
   {
@@ -110,16 +111,19 @@ const columns = [
   },
   {
     title: '创建时间',
+    width: '180px',
     dataIndex: 'create_time'
   },
   {
     title: '更新时间',
+    width: '180px',
     dataIndex: 'update_time'
   },
   {
     title: '操作',
     dataIndex: 'action',
-    width: '180px',
+    width: '150px',
+    fixed: 'right',
     scopedSlots: { customRender: 'action' }
   }
 ]

+ 4 - 1
src/views/content/files/Index.vue

@@ -147,6 +147,7 @@ export default {
         },
         {
           title: '文件名称',
+          width: '302px',
           dataIndex: 'file_name'
         },
         {
@@ -169,12 +170,14 @@ export default {
         },
         {
           title: '上传时间',
+          width: '180px',
           dataIndex: 'create_time'
         },
         {
           title: '操作',
           dataIndex: 'action',
-          width: '180px',
+          width: '150px',
+          fixed: 'right',
           scopedSlots: { customRender: 'action' }
         }
       ],

+ 4 - 1
src/views/goods/comment/Index.vue

@@ -105,6 +105,7 @@ const columns = [
   {
     title: '商品信息',
     dataIndex: 'orderGoods',
+    width: '320px',
     scopedSlots: { customRender: 'orderGoods' }
   },
   {
@@ -138,12 +139,14 @@ const columns = [
   },
   {
     title: '评价时间',
+    width: '180px',
     dataIndex: 'create_time'
   },
   {
     title: '操作',
     dataIndex: 'action',
-    width: '180px',
+    width: '150px',
+    fixed: 'right',
     scopedSlots: { customRender: 'action' }
   }
 ]