There is an error in this line of code, I guess it should be like this:
lv_obj_add_style(label, LV_LABEL_PART_MAIN, &style_font_tYaHeiB18);
After modification:
lv_obj_add_style(label, LV_LABEL_PART_MAIN, &lv_Font_YaHeiB_18);
There is an error in this line of code, I guess it should be like this:
lv_obj_add_style(label, LV_LABEL_PART_MAIN, &style_font_tYaHeiB18);
After modification:
lv_obj_add_style(label, LV_LABEL_PART_MAIN, &lv_Font_YaHeiB_18);