From 67e66c9fcedbaa78bc5df6240fd45f31cdb79e72 Mon Sep 17 00:00:00 2001 From: dxy15521469561 <1731678236@qq.com> Date: Tue, 18 Jul 2023 18:01:35 +0800 Subject: [PATCH] =?utf8?q?=E9=83=A8=E5=88=86ui=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../ports/quectel/core/appWechat.py | 12 ++++++------ .../microPython/ports/quectel/core/ui.py | 4 +--- .../ports/quectel/core/ui_setting.py | 2 +- .../images/firmware_base_release_pack.zip | Bin 5508799 -> 5508799 bytes 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/appWechat.py b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/appWechat.py index 9ca790f4..3cf2dd12 100644 --- a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/appWechat.py +++ b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/appWechat.py @@ -63,7 +63,7 @@ wechat_screen_list_screen.add_style(style_screen, lv.PART.MAIN | lv.STATE.DEFAUL wechat_press_btn = lv.btn(wechat_screen) -wechat_press_btn.set_pos(10, 260) +wechat_press_btn.set_pos(10, 264) wechat_press_btn.set_size(220, 56) wechat_press_btn.add_style(style_wechat_btn, lv.PART.MAIN | lv.STATE.DEFAULT) wechat_press_btn.add_style(style_common_bg_rect_btn_pressed, lv.PART.MAIN | lv.STATE.PRESSED) @@ -72,7 +72,7 @@ wechat_press_btn.set_style_radius(30,0) wechat_press_label = lv.label(wechat_screen) wechat_press_label.set_text("请æä½è¯´è¯") wechat_press_label.set_size(240, 56) -wechat_press_label.set_pos(0,278) +wechat_press_label.set_pos(0,282) wechat_press_label.set_style_text_align(lv.TEXT_ALIGN.CENTER, 0) wechat_press_label.add_style(style_font_youyuan_20, lv.PART.MAIN | lv.STATE.DEFAULT) @@ -326,12 +326,12 @@ class WechatScreen(Screen): #_btn_label1 = lv.label(wechat_btn) if value.find("R:") != -1: self.wechat_list_dict[i]["_btn_label1"].set_size(0, 0) - self.wechat_list_dict[i]["_btn_label1"].set_pos(35, 8) + self.wechat_list_dict[i]["_btn_label1"].set_pos(35, 18) self.wechat_list_dict[i]["_btn_label1"].set_text(str(self.msg_tmp)+'\"') elif value.find("S:") != -1: self.wechat_list_dict[i]["_btn_label1"].set_size(0, 0) - self.wechat_list_dict[i]["_btn_label1"].set_pos(self.startWidth-78, 8) + self.wechat_list_dict[i]["_btn_label1"].set_pos(self.startWidth-78, 18) self.wechat_list_dict[i]["_btn_label1"].set_text(str(self.msg_tmp)+'\"') elif value.find("T:") != -1: self.wechat_list_dict[i]["_btn_label1"].set_size(216, 66) @@ -351,10 +351,10 @@ class WechatScreen(Screen): #_btn_img = lv.img(wechat_btn) self.wechat_list_dict[i]["_btn_img"].set_size(30, 30) if value.find("R:") != -1: - self.wechat_list_dict[i]["_btn_img"].set_pos(5, 0) + self.wechat_list_dict[i]["_btn_img"].set_pos(5, 10) self.wechat_list_dict[i]["_btn_img"].set_src("E:/static/APP/wechat/R_3.png") elif value.find("S:") != -1: - self.wechat_list_dict[i]["_btn_img"].set_pos(self.startWidth-50, 0) + self.wechat_list_dict[i]["_btn_img"].set_pos(self.startWidth-50, 10) self.wechat_list_dict[i]["_btn_img"].set_src("E:/static/APP/wechat/S_3.png") #self.wechat_list_dict[i]["_btn_img"].add_style(style_img, lv.PART.MAIN | lv.STATE.DEFAULT) self.wechat_list_dict[i]["_btn_img"].clear_flag(lv.obj.FLAG.HIDDEN) diff --git a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui.py b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui.py index 931d315a..d48cd5c4 100644 --- a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui.py +++ b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui.py @@ -1544,7 +1544,7 @@ class MessageFullScreen(Screen): message_full_label = lv.label(message_full_screen) message_full_label.set_pos(0, 100) - message_full_label.set_size(240, 40) + message_full_label.set_size(240, 50) message_full_label.set_text("ä¿¡æ¯å·²æ»¡,æ¯å¦æ¸ 餿æï¼") message_full_label.set_long_mode(lv.label.LONG.WRAP) message_full_label.set_style_text_align(lv.TEXT_ALIGN.CENTER, 0) @@ -1595,8 +1595,6 @@ class MessageFullScreen(Screen): def done_return(self): EventMesh.publish("return_prev_screen") - def done_click(self): - EventMesh.publish("load_screen", {"screen": "popup"}) def btn1_release(self): EventMesh.publish("load_screen", {"screen": "main_menu"}) diff --git a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui_setting.py b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui_setting.py index 4f9451db..54a873ff 100644 --- a/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui_setting.py +++ b/2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui_setting.py @@ -827,7 +827,7 @@ update_title.add_style(style_font_youyuan_20, lv.PART.MAIN | lv.STATE.DEFAULT) update_label = lv.label(update_screen) update_label.set_text(" å·²ç»æ¯ææ°çæ¬") -update_label.set_style_text_align(lv.TEXT_ALIGN.LEFT, 0) +update_label.set_style_text_align(lv.TEXT_ALIGN.CENTER, 0) update_label.set_size(240, 50) update_label.set_pos(0,50) update_label.add_style(style_font_youyuan_20, lv.PART.MAIN | lv.STATE.DEFAULT) diff --git a/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/images/firmware_base_release_pack.zip b/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/images/firmware_base_release_pack.zip index dbd37e61c3aa3ae193e8ab491d4294e3c374a37e..bf7aae90d3faa03a08dd991afd98f8ae77039510 100644 GIT binary patch delta 506 zcmZ9{J2L}u6vpA*6>F1->xKy868E?#h)aaHh1dxGrBn*vKy5~mPP-MA51_KijF}V) zg~pgoq0#7#O3N=X3W{e=ao+dLoZ{t^QpC-(P$C!Sw#eB+hJq?MPz@C|(BOm%Zq&kq zI@F^9jc7tMba>H%R`}2cKibiOP6W_}ZuFoRLG+;?0~o{*hB1N=MlptQOkfgIm`2#L zMda&^zjCGM3}!KhDCV(%MJyqPWyG<9RV1*6b!=c0TUIHWJUuHPH3~^=V+Seh!ay2( z$Y37_mQgr7F({e0st9|6??xzFc#*I5bSP_ms^U>D@9s5`@aC_6c7LYncZz(V5~ucC n&!l7}F6ojaX%h7hr-%h!A5xXm|7SU?OXi(B?X!+u;>ht0KB(Eq delta 506 zcmZ9{xlRIM6o%n{Mno2I1w~NY7u*rl5kV9;5C>8JO6e@T13MEF3oe1m&I_<|oWz8} z(#9BwvGxXRwAB}kg%(e~;+*d!r*!qCmT>bd)tCHbSr*Dtfr>g
dF(i7zAEW!()hH>N2NM@u*sw+