部分ui调整
authordxy15521469561 <1731678236@qq.com>
Tue, 18 Jul 2023 10:01:35 +0000 (18:01 +0800)
committerdxy15521469561 <1731678236@qq.com>
Tue, 18 Jul 2023 10:01:35 +0000 (18:01 +0800)
2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/appWechat.py
2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui.py
2.sdk/project/K5/sdk/services/microPython/ports/quectel/core/ui_setting.py
2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/images/firmware_base_release_pack.zip

index 9ca790f..3cf2dd1 100644 (file)
@@ -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)
index 931d315..d48cd5c 100644 (file)
@@ -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"})
index 4f9451d..54a873f 100644 (file)
@@ -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)
index dbd37e6..bf7aae9 100644 (file)
Binary files a/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/images/firmware_base_release_pack.zip and b/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/images/firmware_base_release_pack.zip differ