From ac8989e7501e8e90b80e744f68fbc25a247447ef Mon Sep 17 00:00:00 2001 From: Dai Date: Sun, 22 Sep 2024 22:04:22 +0800 Subject: [PATCH] fix bug --- app/api/controller/TeacherScheduleTimeController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/TeacherScheduleTimeController.php b/app/api/controller/TeacherScheduleTimeController.php index 5e41707..a612e30 100644 --- a/app/api/controller/TeacherScheduleTimeController.php +++ b/app/api/controller/TeacherScheduleTimeController.php @@ -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'];//图片高度