This commit is contained in:
Dai 2024-09-22 22:04:22 +08:00
parent 213307c0af
commit ac8989e750

View File

@ -110,8 +110,8 @@ class TeacherScheduleTimeController extends BaseController
'filed_name_width' => 120,//玩家名称的宽度
'filed_data_width' => 220,//数据列的宽度
'table_header' => ['', 'Week', 'Date', 'Time', 'Subject', 'Teacher', 'Student', 'Duration'],//表头文字
'column_text_offset_arr' => [45, 70, 70, 90, 55, 65, 65, 65],//表头文字左偏移量
'row_text_offset_arr' => [50, 110, 90, 110, 90, 90, 90, 90],//数据列文字左偏移量
'column_text_offset_arr' => [100, 70, 120, 140, 110, 120, 120, 120],//表头文字左偏移量
'row_text_offset_arr' => [50, 100, 140, 160, 140, 140, 140, 140],//数据列文字左偏移量
];
$base['img_width'] = $base['filed_id_width'] + $base['filed_name_width'] + $base['filed_data_width'] * 5 + $base['border'] * 2;//图片宽度
$base['img_height'] = $params['row'] * $base['row_hight'] + $base['border'] * 2 + $base['title_height'];//图片高度