static constexpr const int kTimeFontSize = 28;
static constexpr const char *kTimeViewId = "time";
// static constexpr const Color kTimeTextColor = Color::Gray();
-
+#if 0
std::string titleStr = "12306中国高速铁路";
std::string timeStr = "2023.12.26 17:23";
std::string messageStr = "【铁路12306】系统已自动为您生成订单EC09828333,04月23日G2231次,深圳北站13:31开。请您在2小时内完成支付。您可通过以下链接进行支付。https://www.12306.cn/index/";
-
+#endif
+ std::string titleStr, timeStr, messageStr;
+
MessageShowView::MessageShowView()
{
g_pMessageShowView = this;
InitializeButton(messageButton, 33, 157, 380, 350, "message");
messageButton->SetStyle(STYLE_BORDER_RADIUS, 30);
messageButton->SetText(messageStr.c_str());
- //messageButton->SetAlign(TEXT_ALIGNMENT_LEFT);
+ // messageButton->SetAlign(TEXT_ALIGNMENT_LEFT);
messageButton->SetTextColor(Color::Gray());
messageButton->SetTouchable(false);
messageButton->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 30);