Selaa lähdekoodia

会员列表调整宽度

kevin_zhangl 3 vuotta sitten
vanhempi
commit
c5a8f6fef1
1 muutettua tiedostoa jossa 6 lisäystä ja 3 poistoa
  1. 6 3
      backendApi/modules/v1/models/lists/user/IndexList.php

+ 6 - 3
backendApi/modules/v1/models/lists/user/IndexList.php

@@ -127,11 +127,14 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     },
                     'headerOther' => ['width' => '170'],
                 ],
-                'PERIOD_AT' => 'Joining Period',//加入期数
+                'PERIOD_AT' => [
+                    'header' => 'Joining Period',//加入期数
+                    'headerOther' => ['width' => '180'],
+                ],
                 'DEC_LV_NAME' => [
                     'header' => 'Real time membership level',//实时会员级别
                     'headerOther' => [
-                        'width' => '180',
+                        'width' => '110',
                     ],
                     'value' => function($row) use($decLevelConfig) {
                         return $decLevelConfig[$row['DEC_LV']]['LEVEL_NAME'];
@@ -147,7 +150,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                             'value' => $row['DEC_LV_UPDATED_AT'],
                         ]))->result();
                     },
-                    'headerOther' => ['width' => '180'],
+                    'headerOther' => ['width' => '170'],
                 ],
                 'LAST_DEC_LV_NAME' => [
                     'header' => 'Member level at settlement',//结算时会员级别