解决Alipay名字错误显示问题 1787/1
authorluozheng <1732036298@qq.com>
Sat, 24 May 2025 10:00:58 +0000 (18:00 +0800)
committerluozheng <1732036298@qq.com>
Sat, 24 May 2025 10:00:58 +0000 (18:00 +0800)
code/sdk/application/wearable/fd230/nativeapp/nativeui/alipay/src/AlipayPresenter.cpp

index eb1bff4..e95c202 100644 (file)
 #include "common/key_code.h"\r
 #include "gfx_utils/mem_check.h"\r
 #include "AlipayC.h"\r
+#include "ui_resource_string.h"\r
 namespace OHOS {\r
 \r
-REGIST_MENU(VIEW_MAIN_ALIPAY, AlipayMainView, AlipayPresenter, PNG_APPLIST_ALIPAY_IMAGE, PNG_APPLIST_DEFAULT_IMG, "支付宝");\r
+REGIST_MENU_PRO(VIEW_MAIN_ALIPAY, AlipayMainView, AlipayPresenter,\r
+        PNG_APPLIST_ALIPAY_IMAGE_BIG, PNG_APPLIST_ALIPAY_IMAGE,PNG_APPLIST_ALIPAY_IMAGE, "支付宝", STR_ALIPAY);\r
 \r
 static AlipayPresenter *g_alipayPresenter = nullptr;\r
 \r