Browse Source

Merge branch 'master' into dev

master
w-R 3 years ago
parent
commit
a4e67a2a09
  1. BIN
      assets/image/2x/icon_gold_blessing.png
  2. BIN
      assets/image/2x/icon_gold_coin.png
  3. BIN
      assets/image/2x/icon_integral_login.png
  4. BIN
      assets/image/2x/icon_integral_order.png
  5. BIN
      assets/image/2x/icon_integral_share.png
  6. BIN
      assets/image/2x/icon_integral_sign.png
  7. BIN
      assets/image/2x/qr_share_bg.png
  8. BIN
      assets/image/2x/qr_share_info_bg.png
  9. BIN
      assets/image/2x/share_image_bg.png
  10. BIN
      assets/image/2x/share_image_close.png
  11. BIN
      assets/image/3x/icon_gold_blessing.png
  12. BIN
      assets/image/3x/icon_gold_coin.png
  13. BIN
      assets/image/3x/icon_integral_login.png
  14. BIN
      assets/image/3x/icon_integral_order.png
  15. BIN
      assets/image/3x/icon_integral_share.png
  16. BIN
      assets/image/3x/icon_integral_sign.png
  17. BIN
      assets/image/3x/qr_share_bg.png
  18. BIN
      assets/image/3x/qr_share_info_bg.png
  19. BIN
      assets/image/3x/share_image_bg.png
  20. BIN
      assets/image/3x/share_image_close.png
  21. BIN
      assets/image/icon_gold_blessing.png
  22. BIN
      assets/image/icon_gold_coin.png
  23. BIN
      assets/image/icon_integral_login.png
  24. BIN
      assets/image/icon_integral_order.png
  25. BIN
      assets/image/icon_integral_share.png
  26. BIN
      assets/image/icon_integral_sign.png
  27. BIN
      assets/image/qr_share_bg.png
  28. BIN
      assets/image/qr_share_info_bg.png
  29. BIN
      assets/image/share_image_bg.png
  30. BIN
      assets/image/share_image_close.png
  31. 81
      ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings
  32. 81
      ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings
  33. 41
      lib/generated/intl/messages_en.dart
  34. 41
      lib/generated/intl/messages_zh_CN.dart
  35. 41
      lib/generated/intl/messages_zh_Hans_CN.dart
  36. 41
      lib/generated/intl/messages_zh_Hant_CN.dart
  37. 41
      lib/generated/intl/messages_zh_TW.dart
  38. 78
      lib/generated/l10n.dart
  39. 16
      lib/home/home_view/home_banner.dart
  40. 14
      lib/home/huixiang_brand_page.dart
  41. 19
      lib/home/huixiang_view/huixiang_banner.dart
  42. 16
      lib/home/points_mall_view/points_mall_banner.dart
  43. 78
      lib/integral/integral_page.dart
  44. 16
      lib/integral/intergra_view/in_for_points.dart
  45. 71
      lib/integral/intergra_view/integral_task.dart
  46. 88
      lib/integral/intergra_view/integral_vip.dart
  47. 13
      lib/l10n/intl_en.arb
  48. 13
      lib/l10n/intl_zh_CN.arb
  49. 13
      lib/l10n/intl_zh_Hans_CN.arb
  50. 11
      lib/l10n/intl_zh_Hant_CN.arb
  51. 11
      lib/l10n/intl_zh_TW.arb
  52. 46
      lib/qr/qr_share.dart
  53. 190
      lib/qr/qr_share_image.dart
  54. 41
      lib/retrofit/data/page.g.dart
  55. 10
      lib/retrofit/retrofit_api.dart
  56. 4
      lib/union/union_details_page.dart
  57. 4
      lib/view_widget/share_dialog.dart
  58. 2
      pubspec.yaml

BIN
assets/image/2x/icon_gold_blessing.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/image/2x/icon_gold_coin.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
assets/image/2x/icon_integral_login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/image/2x/icon_integral_order.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/image/2x/icon_integral_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
assets/image/2x/icon_integral_sign.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 590 B

BIN
assets/image/2x/qr_share_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

BIN
assets/image/2x/qr_share_info_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
assets/image/2x/share_image_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
assets/image/2x/share_image_close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

BIN
assets/image/3x/icon_gold_blessing.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
assets/image/3x/icon_gold_coin.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
assets/image/3x/icon_integral_login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
assets/image/3x/icon_integral_order.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
assets/image/3x/icon_integral_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
assets/image/3x/icon_integral_sign.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 992 B

BIN
assets/image/3x/qr_share_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

BIN
assets/image/3x/qr_share_info_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

BIN
assets/image/3x/share_image_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

BIN
assets/image/3x/share_image_close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/image/icon_gold_blessing.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 946 B

BIN
assets/image/icon_gold_coin.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/image/icon_integral_login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

BIN
assets/image/icon_integral_order.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

After

Width:  |  Height:  |  Size: 674 B

BIN
assets/image/icon_integral_share.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 790 B

BIN
assets/image/icon_integral_sign.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 386 B

BIN
assets/image/qr_share_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
assets/image/qr_share_info_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
assets/image/share_image_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
assets/image/share_image_close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

81
ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings

@ -0,0 +1,81 @@
// common
"return"="regreso";
"Cancel"="Cancelar";
"OK"="OK";
// unimp
"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="No hay un recurso de aplicación uni applet (% @) en la ruta de ejecución, verifique si el recurso de la aplicación se implementa normalmente";
// ad
"Refresh"="Actualizar";
"copy Link"="copiar link";
"Use Safari to open"="Usa Safari para abrir";
"Share page"="Compartir pagina";
"AD"="ANUNCIO";
"View details"="Ver detalles";
"Download"="Descargar";
"Open"="Abierto";
"jump over"="salte por encima";
// video
"Brightness"="Brillo";
"Volume"="Volumen";
"Barrage"="Bombardeo";
// devtool
"search"="buscar";
"Connecting to debugging service (%@)"="Conectando al servicio de depuración (% @)";
"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Se ha desconectado la conexión con el servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall.";
"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="No se puede conectar a la conexión del servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall.";
"Reconnection debugging service"="Servicio de depuración de reconexión";
// map
"starting point"="punto de partida";
"terminal point"="punto terminal";
"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="No se pudo verificar la clave de mapa de Baidu configurada (appkey) [% d], referencia: https://ask.dcloud.net.cn/article/29";
"Baidu Maps"="Mapas de Baidu";
"Gaode Maps"="Mapas de Gaode";
"Take %@: get on at %@ and get off at %@ via %ld station"="Tome% @: suba en% @ y bájese en% @ a través de la estación% ld";
// gallery
"download failed"="Descarga fracasó";
"File download failed, try to download again?"="Error al descargar el archivo, ¿intentar descargarlo de nuevo?";
"Retry"="Rever";
"Next" = "Próximo";
"Done" = "Hecho";
"Sorry" = "Lo siento";
"Setting" = "Configuración";
"Photos" = "Fotos";
"Videos" = "Videos";
"Preview" = "Avance";
"Full image" = "Imagen completa";
"Processing..." = "Procesando...";
"Synchronizing photos from iCloud" = "Sincronizar fotos desde iCloud";
"Can not use camera" = "No puedo usar la cámara";
"Can not choose both video and photo" = "No se puede elegir tanto el video como la foto.";
"Can not choose both photo and GIF" = "No se puede elegir tanto la foto como el GIF";
"Select the video when in multi state, we will handle the video as a photo" = "Seleccione el video cuando esté en varios estados, manejaremos el video como una foto";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "No se puede saltar a la página de configuración de privacidad, vaya a la página de configuración por sí mismo, gracias";
"Select a maximum of %zd photos" = "Seleccione un máximo de %zd fotos";
"Select a minimum of %zd photos" = "Seleccione un mínimo de %zd fotos";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Permita que %@ acceda a su álbum en \"Configuración -> Privacidad -> Fotos\"";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Permita que %@ acceda a su cámara en \"Configuración -> Privacidad -> Cámara\"";
"Can not access photos in album" = "No se puede acceder a las fotos del álbum.";
"Can not access all photos in album" = "No se puede acceder a todas las fotos del álbum.";
"No photo access" = "Actualmente no hay permiso de acceso a fotos. Se recomienda ir a la configuración del sistema para permitir que las aplicaciones accedan a [Todas las fotos] en [Fotos]";
"Photo access restricted" = "La aplicación solo puede acceder a algunas fotos del álbum. Se recomienda ir a la configuración del sistema para permitir que la aplicación acceda a [Todas las fotos] en [Fotos]";
"Go to system settings" = "Ir a la configuración del sistema";
"Limit tips" = "No se puede acceder a todas las fotos del álbum. \ NPermita el acceso a 「Todas las fotos」 en 「Fotos」.";
"Limit Alert Tips" = "Continuar visitando algunas fotos";
"Edit" = "Editar";
"_LFME_oKButtonTitle" = "Hecho";
"_LFME_cancelButtonTitle" = "Cancelar";
"_LFME_processHintStr" = "Procesando...";
"_LFME_alertViewCancelTitle" = "Hecho";
"_LFME_reachMaximumLimitTitle" = "Límite de entrada alcanzado";
"Original" = "Original";
"_LFME_sticker_remove_normal" = "Arrastra aquí para borrar";
"_LFME_sticker_remove_selected" = "Deja ir a borrar";
"_LFME_UserGuide_ToolBar_Scroll" = "Desplácese hacia la izquierda encontrará más funciones.";
"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Dos dedos también pueden hacer zoom y rotar.";
"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Mantenga pulsado para obtener una vista previa de la imagen.";

81
ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings

@ -0,0 +1,81 @@
// common
"return"="revenir";
"Cancel"="Annuler";
"OK"="d'accord";
// unimp
"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="Il n'y a pas de ressource d'application uni applet (%@) dans le chemin d'exécution, veuillez vérifier si la ressource d'application est déployée normalement";
// ad
"Refresh"="Rafraîchir";
"copy Link"="Copier le lien";
"Use Safari to open"="Utilisez Safari pour ouvrir";
"Share page"="Partager la page";
"AD"="UN D";
"View details"="Voir les détails";
"Download"="Télécharger";
"Open"="Ouvert";
"jump over"="franchir";
// video
"Brightness"="Luminosité";
"Volume"="Le volume";
"Barrage"="Barrage";
// devtool
"search"="rechercher";
"Connecting to debugging service (%@)"="Connexion au service de débogage (%@)";
"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="La connexion avec le service de débogage a été déconnectée. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu.";
"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Impossible de se connecter à la connexion du service de débogage. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu.";
"Reconnection debugging service"="Service de débogage de reconnexion";
// map
"starting point"="starting point";
"terminal point"="Point final";
"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="Échec de la vérification de la clé de carte Baidu configurée (appkey) [%d], référence :https://ask.dcloud.net.cn/article/29";
"Baidu Maps"="Cartes de Baidu";
"Gaode Maps"="Cartes Gaode";
"Take %@: get on at %@ and get off at %@ via %ld station"="Prendre %@ : monter à %@ et descendre à %@ via la station %ld";
// gallery
"download failed"="Échec du téléchargement";
"File download failed, try to download again?"="Échec du téléchargement du fichier, réessayer de télécharger ?";
"Retry"="Réessayez";
"Next" = "Suivant";
"Done" = "Fait";
"Sorry" = "Pardon";
"Setting" = "Réglage";
"Photos" = "Photos";
"Videos" = "Vidéos";
"Preview" = "Aperçu";
"Full image" = "Image complète";
"Processing..." = "Traitement...";
"Synchronizing photos from iCloud" = "Synchroniser des photos depuis iCloud";
"Can not use camera" = "Impossible d'utiliser l'appareil photo";
"Can not choose both video and photo" = "Impossible de choisir à la fois la vidéo et la photo";
"Can not choose both photo and GIF" = "Impossible de choisir à la fois photo et GIF";
"Select the video when in multi state, we will handle the video as a photo" = "Sélectionnez la vidéo lorsqu'elle est en multi-état, nous traiterons la vidéo comme une photo";
"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "Impossible d'accéder à la page des paramètres de confidentialité, veuillez vous rendre à la page des paramètres par vous-même, merci";
"Select a maximum of %zd photos" = "Sélectionnez un maximum de %zd photos";
"Select a minimum of %zd photos" = "Sélectionnez un minimum de %zd photos";
"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Autorisez %@ à accéder à votre album dans \"Paramètres -> Confidentialité -> Photos\"";
"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Veuillez autoriser %@ à accéder à votre caméra dans \"Paramètres -> Confidentialité -> Caméra\"";
"Can not access photos in album" = "Impossible d'accéder aux photos dans l'album";
"Can not access all photos in album" = "Impossible d'accéder à toutes les photos de l'album";
"No photo access" = "Il n'y a actuellement aucune autorisation d'accès aux photos. Il est recommandé d'aller dans les paramètres système pour permettre aux applications d'accéder à [Toutes les photos] dans [Photos]";
"Photo access restricted" = "L'application ne peut accéder qu'à certaines photos de l'album. Il est recommandé d'aller dans les paramètres système pour permettre à l'application d'accéder à [Toutes les photos] dans [Photos]";
"Go to system settings" = "Allez dans les paramètres système";
"Limit tips" = "Impossible d'accéder à toutes les photos de l'album.\nVeuillez autoriser l'accès à 「Toutes les photos」 dans 「Photos」.";
"Limit Alert Tips" = "Continuez à visiter quelques photos";
"Edit" = "Éditer";
"_LFME_oKButtonTitle" = "Fait";
"_LFME_cancelButtonTitle" = "Annuler";
"_LFME_processHintStr" = "Traitement...";
"_LFME_alertViewCancelTitle" = "Fait";
"_LFME_reachMaximumLimitTitle" = "Limite d'entrée atteinte";
"Original" = "Original";
"_LFME_sticker_remove_normal" = "Faites glisser ici pour supprimer";
"_LFME_sticker_remove_selected" = "Lâcher prise pour supprimer";
"_LFME_UserGuide_ToolBar_Scroll" = "Faites défiler vers la gauche pour trouver plus de fonctions.";
"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Deux doigts peuvent également zoomer et pivoter.";
"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Appuyez longuement pour prévisualiser l'image.";

41
lib/generated/intl/messages_en.dart

@ -83,19 +83,21 @@ class MessageLookup extends MessageLookupByLibrary {
static m31(xihuan) => "喜欢(${xihuan})";
static m32(jian) => "已兑换${jian}";
static m32(shoujihao) => "邀请人手机号:${shoujihao}";
static m33(time) => "营业时间: ${time}";
static m33(jian) => "已兑换${jian}";
static m34(date) => "有效期:${date}";
static m34(time) => "营业时间: ${time}";
static m35(date) => "有效期${date}";
static m35(date) => "有效期:${date}";
static m36(yuan) => "${yuan}";
static m36(date) => "有效期至${date}";
static m37(yue) => "余额${yue}";
static m37(yuan) => "${yuan}";
static m38(zuozhe) => "作者:${zuozhe}";
static m38(yue) => "余额${yue}";
static m39(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -106,6 +108,7 @@ class MessageLookup extends MessageLookupByLibrary {
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
"baocunchenggong" : MessageLookupByLibrary.simpleMessage("保存成功"),
"baocunsaoma" : MessageLookupByLibrary.simpleMessage("截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!"),
"beizhu" : MessageLookupByLibrary.simpleMessage("备注"),
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
@ -179,6 +182,8 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanquan" : MessageLookupByLibrary.simpleMessage("兑换券"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("兑换商品详情"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fangshier" : MessageLookupByLibrary.simpleMessage("方式二"),
"fangshiyi" : MessageLookupByLibrary.simpleMessage("方式一"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
@ -190,6 +195,8 @@ class MessageLookup extends MessageLookupByLibrary {
"feishiwuduihuanma" : MessageLookupByLibrary.simpleMessage("非实物兑换吗"),
"feishiwushangpin" : MessageLookupByLibrary.simpleMessage("非实物商品兑换后领取到卡包即可使用!"),
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -391,6 +398,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ruheqiandao" : MessageLookupByLibrary.simpleMessage("如何签到?"),
"ruheqiandao1" : MessageLookupByLibrary.simpleMessage("1.点击净弼,进入首页,点击上方的去签到。\n2.点击我的,进入我的页面,点击上方的积分详情,进入后即可签到。"),
"ruxutuikuanqingyumendianlianxi" : MessageLookupByLibrary.simpleMessage("如需退款,请您提前准备好订单号/取单号,并与门店人员进行联系"),
"saomashibieguanzhugongzonghao" : MessageLookupByLibrary.simpleMessage("扫码识别,关注公众号"),
"send_code" : MessageLookupByLibrary.simpleMessage("发送验证"),
"shanchu" : MessageLookupByLibrary.simpleMessage("删除"),
"shanchudingdan" : MessageLookupByLibrary.simpleMessage("删除一单"),
@ -486,7 +494,7 @@ class MessageLookup extends MessageLookupByLibrary {
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m31,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
@ -495,8 +503,9 @@ class MessageLookup extends MessageLookupByLibrary {
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m32,
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
@ -509,7 +518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m33,
"yingyeshijian" : m34,
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),
@ -537,13 +546,13 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m34,
"youxiaoqi" : m35,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m35,
"youxiaoqizhi" : m36,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m36,
"yuan_" : m37,
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m37,
"yue_" : m38,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
"yuyan" : MessageLookupByLibrary.simpleMessage("语言"),
@ -560,7 +569,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zhengzaihujiaoqishou" : MessageLookupByLibrary.simpleMessage("正在呼叫骑手"),
"zhengzaijiazai" : MessageLookupByLibrary.simpleMessage("正在加载"),
"zhengzaipeisong" : MessageLookupByLibrary.simpleMessage("正在配送"),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhidianmendian" : MessageLookupByLibrary.simpleMessage("致电门店"),
"zhifubao" : MessageLookupByLibrary.simpleMessage("支付宝"),
"zhifufangshi" : MessageLookupByLibrary.simpleMessage("支付方式"),
@ -575,6 +584,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zitishijian" : MessageLookupByLibrary.simpleMessage("自提时间"),
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m38
"zuozhe" : m39
};
}

41
lib/generated/intl/messages_zh_CN.dart

@ -83,19 +83,21 @@ class MessageLookup extends MessageLookupByLibrary {
static m31(xihuan) => "喜欢(${xihuan})";
static m32(jian) => "已兑换${jian}";
static m32(shoujihao) => "邀请人手机号:${shoujihao}";
static m33(time) => "营业时间: ${time}";
static m33(jian) => "已兑换${jian}";
static m34(date) => "有效期:${date}";
static m34(time) => "营业时间: ${time}";
static m35(date) => "有效期${date}";
static m35(date) => "有效期:${date}";
static m36(yuan) => "${yuan}";
static m36(date) => "有效期至${date}";
static m37(yue) => "余额${yue}";
static m37(yuan) => "${yuan}";
static m38(zuozhe) => "作者:${zuozhe}";
static m38(yue) => "余额${yue}";
static m39(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -106,6 +108,7 @@ class MessageLookup extends MessageLookupByLibrary {
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
"baocunchenggong" : MessageLookupByLibrary.simpleMessage("保存成功"),
"baocunsaoma" : MessageLookupByLibrary.simpleMessage("截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!"),
"beizhu" : MessageLookupByLibrary.simpleMessage("备注"),
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
@ -179,6 +182,8 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanquan" : MessageLookupByLibrary.simpleMessage("兑换券"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("兑换商品详情"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fangshier" : MessageLookupByLibrary.simpleMessage("方式二"),
"fangshiyi" : MessageLookupByLibrary.simpleMessage("方式一"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
@ -190,6 +195,8 @@ class MessageLookup extends MessageLookupByLibrary {
"feishiwuduihuanma" : MessageLookupByLibrary.simpleMessage("非实物兑换吗"),
"feishiwushangpin" : MessageLookupByLibrary.simpleMessage("非实物商品兑换后领取到卡包即可使用!"),
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -390,6 +397,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ruheqiandao" : MessageLookupByLibrary.simpleMessage("如何签到?"),
"ruheqiandao1" : MessageLookupByLibrary.simpleMessage("1.点击净弼,进入首页,点击上方的去签到。\n2.点击我的,进入我的页面,点击上方的积分详情,进入后即可签到。"),
"ruxutuikuanqingyumendianlianxi" : MessageLookupByLibrary.simpleMessage("如需退款,请您提前准备好订单号/取单号,并与门店人员进行联系"),
"saomashibieguanzhugongzonghao" : MessageLookupByLibrary.simpleMessage("扫码识别,关注公众号"),
"send_code" : MessageLookupByLibrary.simpleMessage("发送验证"),
"shanchu" : MessageLookupByLibrary.simpleMessage("删除"),
"shanchudingdan" : MessageLookupByLibrary.simpleMessage("删除一单"),
@ -485,7 +493,7 @@ class MessageLookup extends MessageLookupByLibrary {
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m31,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
@ -494,8 +502,9 @@ class MessageLookup extends MessageLookupByLibrary {
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m32,
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
@ -508,7 +517,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m33,
"yingyeshijian" : m34,
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),
@ -536,13 +545,13 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m34,
"youxiaoqi" : m35,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m35,
"youxiaoqizhi" : m36,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m36,
"yuan_" : m37,
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m37,
"yue_" : m38,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
"yuyan" : MessageLookupByLibrary.simpleMessage("语言"),
@ -558,7 +567,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zhengzaihujiaoqishou" : MessageLookupByLibrary.simpleMessage("正在呼叫骑手"),
"zhengzaijiazai" : MessageLookupByLibrary.simpleMessage("正在加载"),
"zhengzaipeisong" : MessageLookupByLibrary.simpleMessage("正在配送"),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhidianmendian" : MessageLookupByLibrary.simpleMessage("致电门店"),
"zhifubao" : MessageLookupByLibrary.simpleMessage("支付宝"),
"zhifufangshi" : MessageLookupByLibrary.simpleMessage("支付方式"),
@ -573,6 +582,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zitishijian" : MessageLookupByLibrary.simpleMessage("自提时间"),
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m38
"zuozhe" : m39
};
}

41
lib/generated/intl/messages_zh_Hans_CN.dart

@ -83,19 +83,21 @@ class MessageLookup extends MessageLookupByLibrary {
static m31(xihuan) => "喜欢(${xihuan})";
static m32(jian) => "已兑换${jian}";
static m32(shoujihao) => "邀请人手机号:${shoujihao}";
static m33(time) => "营业时间: ${time}";
static m33(jian) => "已兑换${jian}";
static m34(date) => "有效期:${date}";
static m34(time) => "营业时间: ${time}";
static m35(date) => "有效期${date}";
static m35(date) => "有效期:${date}";
static m36(yuan) => "${yuan}";
static m36(date) => "有效期至${date}";
static m37(yue) => "余额${yue}";
static m37(yuan) => "${yuan}";
static m38(zuozhe) => "作者:${zuozhe}";
static m38(yue) => "余额${yue}";
static m39(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -106,6 +108,7 @@ class MessageLookup extends MessageLookupByLibrary {
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("帮助与反馈"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
"baocunchenggong" : MessageLookupByLibrary.simpleMessage("保存成功"),
"baocunsaoma" : MessageLookupByLibrary.simpleMessage("截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!"),
"beizhu" : MessageLookupByLibrary.simpleMessage("备注"),
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("编辑地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("标为已读"),
@ -179,6 +182,8 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanquan" : MessageLookupByLibrary.simpleMessage("兑换券"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("兑换商品详情"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fangshier" : MessageLookupByLibrary.simpleMessage("方式二"),
"fangshiyi" : MessageLookupByLibrary.simpleMessage("方式一"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兑换历史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反馈"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在这里输入反馈内容,例如产品建议,功能异常等"),
@ -190,6 +195,8 @@ class MessageLookup extends MessageLookupByLibrary {
"feishiwuduihuanma" : MessageLookupByLibrary.simpleMessage("非实物兑换吗"),
"feishiwushangpin" : MessageLookupByLibrary.simpleMessage("非实物商品兑换后领取到卡包即可使用!"),
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接点击右上方的分享给到你想要邀请的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("给我评分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -390,6 +397,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ruheqiandao" : MessageLookupByLibrary.simpleMessage("如何签到?"),
"ruheqiandao1" : MessageLookupByLibrary.simpleMessage("1.点击净弼,进入首页,点击上方的去签到。\n2.点击我的,进入我的页面,点击上方的积分详情,进入后即可签到。"),
"ruxutuikuanqingyumendianlianxi" : MessageLookupByLibrary.simpleMessage("如需退款,请您提前准备好订单号/取单号,并与门店人员进行联系"),
"saomashibieguanzhugongzonghao" : MessageLookupByLibrary.simpleMessage("扫码识别,关注公众号"),
"send_code" : MessageLookupByLibrary.simpleMessage("发送验证"),
"shanchu" : MessageLookupByLibrary.simpleMessage("删除"),
"shanchudingdan" : MessageLookupByLibrary.simpleMessage("删除一单"),
@ -485,7 +493,7 @@ class MessageLookup extends MessageLookupByLibrary {
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等级"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("载完成"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回乡用户隐私政策"),
"xihuan_" : m31,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活动"),
@ -494,8 +502,9 @@ class MessageLookup extends MessageLookupByLibrary {
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系统消息"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xuni" : MessageLookupByLibrary.simpleMessage("虚拟"),
"yaoqingrenshoujihao_" : m32,
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兑换"),
"yiduihuanjian" : m32,
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已发货"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫骑手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核销"),
@ -508,7 +517,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集团联盟店会员点餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("会员活动专区"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("过健康有机生活"),
"yingyeshijian" : m33,
"yingyeshijian" : m34,
"yinshi" : MessageLookupByLibrary.simpleMessage("饮食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隐私声明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隐私协议》"),
@ -536,13 +545,13 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("优惠券领取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("优惠金额无法累积积分,订单撤销或其他原因造成的未成功支付的订单,无法获得对应的积分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("游客登录"),
"youxiaoqi" : m34,
"youxiaoqi" : m35,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m35,
"youxiaoqizhi" : m36,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m36,
"yuan_" : m37,
"yue" : MessageLookupByLibrary.simpleMessage("余额"),
"yue_" : m37,
"yue_" : m38,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("余额明细"),
"yunfei" : MessageLookupByLibrary.simpleMessage("运费"),
"yuyan" : MessageLookupByLibrary.simpleMessage("语言"),
@ -558,7 +567,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zhengzaihujiaoqishou" : MessageLookupByLibrary.simpleMessage("正在呼叫骑手"),
"zhengzaijiazai" : MessageLookupByLibrary.simpleMessage("正在加载"),
"zhengzaipeisong" : MessageLookupByLibrary.simpleMessage("正在配送"),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在载中..."),
"zhidianmendian" : MessageLookupByLibrary.simpleMessage("致电门店"),
"zhifubao" : MessageLookupByLibrary.simpleMessage("支付宝"),
"zhifufangshi" : MessageLookupByLibrary.simpleMessage("支付方式"),
@ -573,6 +582,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zitishijian" : MessageLookupByLibrary.simpleMessage("自提时间"),
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("钻石会员"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任务得积分"),
"zuozhe" : m38
"zuozhe" : m39
};
}

41
lib/generated/intl/messages_zh_Hant_CN.dart

@ -83,19 +83,21 @@ class MessageLookup extends MessageLookupByLibrary {
static m31(xihuan) => "喜歡(${xihuan})";
static m32(jian) => "已兌換${jian}";
static m32(shoujihao) => "邀请人手機號:${shoujihao}";
static m33(time) => "營業時間: ${time}";
static m33(jian) => "已兌換${jian}";
static m34(date) => "有效期:${date}";
static m34(time) => "營業時間: ${time}";
static m35(date) => "有效期${date}";
static m35(date) => "有效期:${date}";
static m36(yuan) => "${yuan}";
static m36(date) => "有效期至${date}";
static m37(yue) => "餘額${yue}";
static m37(yuan) => "${yuan}";
static m38(zuozhe) => "作者:${zuozhe}";
static m38(yue) => "餘額${yue}";
static m39(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -106,6 +108,7 @@ class MessageLookup extends MessageLookupByLibrary {
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
"baocunchenggong" : MessageLookupByLibrary.simpleMessage("保存成功"),
"baocunsaoma" : MessageLookupByLibrary.simpleMessage("截屏保存下方二維碼,邀請他人微信掃一掃識別,長按關注後,完成小遊戲,領取優惠券後,即邀請成功哦!"),
"beizhu" : MessageLookupByLibrary.simpleMessage("備注"),
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("編輯地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("標為已讀"),
@ -179,6 +182,8 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanquan" : MessageLookupByLibrary.simpleMessage("兌換券"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("兑换商品详情"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fangshier" : MessageLookupByLibrary.simpleMessage("方式二"),
"fangshiyi" : MessageLookupByLibrary.simpleMessage("方式一"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兌換歷史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反饋"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在這裡輸入迴響內容,例如產品建議,功能异常等"),
@ -190,6 +195,8 @@ class MessageLookup extends MessageLookupByLibrary {
"feishiwuduihuanma" : MessageLookupByLibrary.simpleMessage("非實物兌換碼"),
"feishiwushangpin" : MessageLookupByLibrary.simpleMessage("非實物商品!"),
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接點擊右上方的分享給到你想要邀請的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("給我評分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -390,6 +397,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ruheqiandao" : MessageLookupByLibrary.simpleMessage("如何簽到?"),
"ruheqiandao1" : MessageLookupByLibrary.simpleMessage("1.點擊淨弼,進入首頁,點擊上方的去簽到。\n2.點擊我的,進入我的頁面,點擊上方的積分詳情,進入後即可簽到。"),
"ruxutuikuanqingyumendianlianxi" : MessageLookupByLibrary.simpleMessage("如需退款,請您提前準備好訂單號/取單號,並與門店人員進行聯繫"),
"saomashibieguanzhugongzonghao" : MessageLookupByLibrary.simpleMessage("掃碼識別,關注公眾號"),
"send_code" : MessageLookupByLibrary.simpleMessage("發送驗證碼"),
"shanchu" : MessageLookupByLibrary.simpleMessage("刪除"),
"shanchudingdan" : MessageLookupByLibrary.simpleMessage("刪除訂單"),
@ -485,7 +493,7 @@ class MessageLookup extends MessageLookupByLibrary {
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等級"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("載完成"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("載完成"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回鄉用戶隱私協議"),
"xihuan_" : m31,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活動"),
@ -494,8 +502,9 @@ class MessageLookup extends MessageLookupByLibrary {
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系統消息"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xuni" : MessageLookupByLibrary.simpleMessage("虛擬"),
"yaoqingrenshoujihao_" : m32,
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m32,
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫騎手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核銷"),
@ -508,7 +517,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集團聯盟店會員點餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m33,
"yingyeshijian" : m34,
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隱私協議》"),
@ -536,13 +545,13 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("優惠券領取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("優惠金額無法累積積分,訂單撤銷或其他原因造成的未成功支付的訂單,無法獲得對應的積分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("遊客登錄"),
"youxiaoqi" : m34,
"youxiaoqi" : m35,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m35,
"youxiaoqizhi" : m36,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m36,
"yuan_" : m37,
"yue" : MessageLookupByLibrary.simpleMessage("餘額"),
"yue_" : m37,
"yue_" : m38,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("餘額明細"),
"yunfei" : MessageLookupByLibrary.simpleMessage("運費"),
"yuyan" : MessageLookupByLibrary.simpleMessage("語言"),
@ -559,7 +568,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zhengzaihujiaoqishou" : MessageLookupByLibrary.simpleMessage("正在呼叫騎手"),
"zhengzaijiazai" : MessageLookupByLibrary.simpleMessage("正在加載"),
"zhengzaipeisong" : MessageLookupByLibrary.simpleMessage("正在配送"),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在載中..."),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在載中..."),
"zhidianmendian" : MessageLookupByLibrary.simpleMessage("致電門店"),
"zhifubao" : MessageLookupByLibrary.simpleMessage("支付寶"),
"zhifufangshi" : MessageLookupByLibrary.simpleMessage("支付方式"),
@ -574,6 +583,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zitishijian" : MessageLookupByLibrary.simpleMessage("自提時間"),
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("鑽石會員"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任務得積分"),
"zuozhe" : m38
"zuozhe" : m39
};
}

41
lib/generated/intl/messages_zh_TW.dart

@ -83,19 +83,21 @@ class MessageLookup extends MessageLookupByLibrary {
static m31(xihuan) => "喜歡(${xihuan})";
static m32(jian) => "已兌換${jian}";
static m32(shoujihao) => "邀请人手機號:${shoujihao}";
static m33(time) => "營業時間: ${time}";
static m33(jian) => "已兌換${jian}";
static m34(date) => "有效期:${date}";
static m34(time) => "營業時間: ${time}";
static m35(date) => "有效期${date}";
static m35(date) => "有效期:${date}";
static m36(yuan) => "${yuan}";
static m36(date) => "有效期至${date}";
static m37(yue) => "餘額${yue}";
static m37(yuan) => "${yuan}";
static m38(zuozhe) => "作者:${zuozhe}";
static m38(yue) => "餘額${yue}";
static m39(zuozhe) => "作者:${zuozhe}";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
@ -106,6 +108,7 @@ class MessageLookup extends MessageLookupByLibrary {
"bangzhuyufankui" : MessageLookupByLibrary.simpleMessage("幫助與反饋"),
"baocun" : MessageLookupByLibrary.simpleMessage("保存"),
"baocunchenggong" : MessageLookupByLibrary.simpleMessage("保存成功"),
"baocunsaoma" : MessageLookupByLibrary.simpleMessage("截屏保存下方二維碼,邀請他人微信掃一掃識別,長按關注後,完成小遊戲,領取優惠券後,即邀請成功哦!"),
"beizhu" : MessageLookupByLibrary.simpleMessage("備注"),
"bianjidizhi" : MessageLookupByLibrary.simpleMessage("編輯地址"),
"biaojiweiyidu" : MessageLookupByLibrary.simpleMessage("標為已讀"),
@ -179,6 +182,8 @@ class MessageLookup extends MessageLookupByLibrary {
"duihuanquan" : MessageLookupByLibrary.simpleMessage("兌換券"),
"duihuanshangpinxiangqing" : MessageLookupByLibrary.simpleMessage("兑换商品详情"),
"duihuanxinxi" : MessageLookupByLibrary.simpleMessage("兑换信息"),
"fangshier" : MessageLookupByLibrary.simpleMessage("方式二"),
"fangshiyi" : MessageLookupByLibrary.simpleMessage("方式一"),
"fanhuiduihuanlishi" : MessageLookupByLibrary.simpleMessage("返回兌換歷史"),
"fankui" : MessageLookupByLibrary.simpleMessage("反饋"),
"fankuilizi" : MessageLookupByLibrary.simpleMessage("您可以在這裡輸入迴響內容,例如產品建議,功能异常等"),
@ -190,6 +195,8 @@ class MessageLookup extends MessageLookupByLibrary {
"feishiwuduihuanma" : MessageLookupByLibrary.simpleMessage("非實物兌換碼"),
"feishiwushangpin" : MessageLookupByLibrary.simpleMessage("非實物商品!"),
"fenxiangdao" : MessageLookupByLibrary.simpleMessage("分享到"),
"fenxiangyaoqing" : MessageLookupByLibrary.simpleMessage("也可以直接點擊右上方的分享給到你想要邀請的人。"),
"fenxiangzhiweixin" : MessageLookupByLibrary.simpleMessage("分享至微信"),
"ge" : m5,
"geiwopingfen" : MessageLookupByLibrary.simpleMessage("給我評分"),
"gengduo" : MessageLookupByLibrary.simpleMessage("更多"),
@ -390,6 +397,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ruheqiandao" : MessageLookupByLibrary.simpleMessage("如何簽到?"),
"ruheqiandao1" : MessageLookupByLibrary.simpleMessage("1.點擊淨弼,進入首頁,點擊上方的去簽到。\n2.點擊我的,進入我的頁面,點擊上方的積分詳情,進入後即可簽到。"),
"ruxutuikuanqingyumendianlianxi" : MessageLookupByLibrary.simpleMessage("如需退款,請您提前準備好訂單號/取單號,並與門店人員進行聯繫"),
"saomashibieguanzhugongzonghao" : MessageLookupByLibrary.simpleMessage("掃碼識別,關注公眾號"),
"send_code" : MessageLookupByLibrary.simpleMessage("發送驗證碼"),
"shanchu" : MessageLookupByLibrary.simpleMessage("刪除"),
"shanchudingdan" : MessageLookupByLibrary.simpleMessage("刪除訂單"),
@ -485,7 +493,7 @@ class MessageLookup extends MessageLookupByLibrary {
"xiaofeijifen" : MessageLookupByLibrary.simpleMessage("消费积分"),
"xiaoxi" : MessageLookupByLibrary.simpleMessage("消息"),
"xiayidengji" : MessageLookupByLibrary.simpleMessage("下一等級"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("載完成"),
"xiazaiwancheng" : MessageLookupByLibrary.simpleMessage("載完成"),
"xieyitanchuang" : MessageLookupByLibrary.simpleMessage("一心回鄉用戶隱私協議"),
"xihuan_" : m31,
"xindianhuodong" : MessageLookupByLibrary.simpleMessage("星店活動"),
@ -494,8 +502,9 @@ class MessageLookup extends MessageLookupByLibrary {
"xitongxiaoxi" : MessageLookupByLibrary.simpleMessage("系統消息"),
"xiugaichenggong" : MessageLookupByLibrary.simpleMessage("修改成功"),
"xuni" : MessageLookupByLibrary.simpleMessage("虛擬"),
"yaoqingrenshoujihao_" : m32,
"yiduihuan" : MessageLookupByLibrary.simpleMessage("已兌換"),
"yiduihuanjian" : m32,
"yiduihuanjian" : m33,
"yifahuo" : MessageLookupByLibrary.simpleMessage("已發貨"),
"yihujiaoqishou" : MessageLookupByLibrary.simpleMessage("已呼叫騎手"),
"yikexiao" : MessageLookupByLibrary.simpleMessage("已核銷"),
@ -508,7 +517,7 @@ class MessageLookup extends MessageLookupByLibrary {
"yindaoye2" : MessageLookupByLibrary.simpleMessage("全新集團聯盟店會員點餐"),
"yindaoye3" : MessageLookupByLibrary.simpleMessage("會員活動專區"),
"yindaoye4" : MessageLookupByLibrary.simpleMessage("過健康有機生活"),
"yingyeshijian" : m33,
"yingyeshijian" : m34,
"yinshi" : MessageLookupByLibrary.simpleMessage("飲食"),
"yinsishengming" : MessageLookupByLibrary.simpleMessage("隱私聲明"),
"yinsixieyi" : MessageLookupByLibrary.simpleMessage("《隱私協議》"),
@ -536,13 +545,13 @@ class MessageLookup extends MessageLookupByLibrary {
"youhuiquanlingqu" : MessageLookupByLibrary.simpleMessage("優惠券領取"),
"youhuiquanwufajileijifen" : MessageLookupByLibrary.simpleMessage("優惠金額無法累積積分,訂單撤銷或其他原因造成的未成功支付的訂單,無法獲得對應的積分。"),
"youkedenglu" : MessageLookupByLibrary.simpleMessage("遊客登錄"),
"youxiaoqi" : m34,
"youxiaoqi" : m35,
"youxiaoqixian" : MessageLookupByLibrary.simpleMessage("有效期限:"),
"youxiaoqizhi" : m35,
"youxiaoqizhi" : m36,
"yuan" : MessageLookupByLibrary.simpleMessage(""),
"yuan_" : m36,
"yuan_" : m37,
"yue" : MessageLookupByLibrary.simpleMessage("餘額"),
"yue_" : m37,
"yue_" : m38,
"yuemingxi" : MessageLookupByLibrary.simpleMessage("餘額明細"),
"yunfei" : MessageLookupByLibrary.simpleMessage("運費"),
"yuyan" : MessageLookupByLibrary.simpleMessage("語言"),
@ -559,7 +568,7 @@ class MessageLookup extends MessageLookupByLibrary {
"zhengzaihujiaoqishou" : MessageLookupByLibrary.simpleMessage("正在呼叫騎手"),
"zhengzaijiazai" : MessageLookupByLibrary.simpleMessage("正在加載"),
"zhengzaipeisong" : MessageLookupByLibrary.simpleMessage("正在配送"),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在載中..."),
"zhengzaixiazaizhong" : MessageLookupByLibrary.simpleMessage("正在載中..."),
"zhidianmendian" : MessageLookupByLibrary.simpleMessage("致電門店"),
"zhifubao" : MessageLookupByLibrary.simpleMessage("支付寶"),
"zhifufangshi" : MessageLookupByLibrary.simpleMessage("支付方式"),
@ -574,6 +583,6 @@ class MessageLookup extends MessageLookupByLibrary {
"zitishijian" : MessageLookupByLibrary.simpleMessage("自提時間"),
"zuanshihuiyuan" : MessageLookupByLibrary.simpleMessage("鑽石會員"),
"zuorenwudejifen" : MessageLookupByLibrary.simpleMessage("做任務得積分"),
"zuozhe" : m38
"zuozhe" : m39
};
}

78
lib/generated/l10n.dart

@ -3605,10 +3605,10 @@ class S {
);
}
/// `...`
/// `...`
String get zhengzaixiazaizhong {
return Intl.message(
'正在载中...',
'正在载中...',
name: 'zhengzaixiazaizhong',
desc: '',
args: [],
@ -4735,10 +4735,10 @@ class S {
);
}
/// ``
/// ``
String get xiazaiwancheng {
return Intl.message(
'载完成',
'载完成',
name: 'xiazaiwancheng',
desc: '',
args: [],
@ -4795,6 +4795,76 @@ class S {
);
}
/// ``
String get fangshiyi {
return Intl.message(
'方式一',
name: 'fangshiyi',
desc: '',
args: [],
);
}
/// ``
String get fangshier {
return Intl.message(
'方式二',
name: 'fangshier',
desc: '',
args: [],
);
}
/// ``
String get baocunsaoma {
return Intl.message(
'截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!',
name: 'baocunsaoma',
desc: '',
args: [],
);
}
/// ``
String get fenxiangyaoqing {
return Intl.message(
'也可以直接点击右上方的分享给到你想要邀请的人。',
name: 'fenxiangyaoqing',
desc: '',
args: [],
);
}
/// `:{shoujihao}`
String yaoqingrenshoujihao_(Object shoujihao) {
return Intl.message(
'邀请人手机号:$shoujihao',
name: 'yaoqingrenshoujihao_',
desc: '',
args: [shoujihao],
);
}
/// ``
String get saomashibieguanzhugongzonghao {
return Intl.message(
'扫码识别,关注公众号',
name: 'saomashibieguanzhugongzonghao',
desc: '',
args: [],
);
}
/// ``
String get fenxiangzhiweixin {
return Intl.message(
'分享至微信',
name: 'fenxiangzhiweixin',
desc: '',
args: [],
);
}
/// `使`
String get privacy_policy4 {
return Intl.message(

16
lib/home/home_view/home_banner.dart

@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/retrofit/data/banner.dart';
@ -70,9 +72,6 @@ class _HomeBanner extends State<HomeBanner> {
/// contentType 0123
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
// case 0:
// Navigator.of(context).pushNamed('/router/qr_share');
// break;
case 1:
Navigator.of(context).pushNamed(
'/router/integral_store_page',
@ -91,6 +90,17 @@ class _HomeBanner extends State<HomeBanner> {
arguments: {"articleId": bannerData.content},
);
break;
case 4:
String router = bannerData.content;
if (router.contains("?")) {
String params = router.substring(router.indexOf("?"));
params = params.replaceAll("?", "");
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(router, arguments: map);
} else {
Navigator.of(context).pushNamed(router);
}
break;
}
}
}

14
lib/home/huixiang_brand_page.dart

@ -41,13 +41,16 @@ class _BrandPage extends State<BrandPage>
List<GlobalKey> globaKeys = [];
List<BannerData> bannerData = [];
Future queryHome() async {
EasyLoading.show(status: S.current.zhengzaijiazai);
final SharedPreferences value = await SharedPreferences.getInstance();
apiService = ApiService(Dio(),
context: context, token: value.getString('token'), showLoading: false);
apiService = ApiService(
Dio(),
context: context,
token: value.getString('token'),
showLoading: false,
);
BaseData<BrandData> baseData =
await apiService.queryHome().catchError((error) {
@ -107,7 +110,7 @@ class _BrandPage extends State<BrandPage>
return Scaffold(
appBar: AppBar(
toolbarHeight: 40.h - MediaQuery.of(context).padding.top,
backgroundColor: Colors.white,
backgroundColor: Colors.transparent,
elevation: 0,
),
body: Container(
@ -168,8 +171,10 @@ class _BrandPage extends State<BrandPage>
var widgets = <Widget>[
///banner
HuiXiangBanner(bannerData),
///
OriginInfo(brandData),
StoreTitleTab(
brands,
globaKeys,
@ -204,7 +209,6 @@ class _BrandPage extends State<BrandPage>
return widgets;
}
@override
bool get wantKeepAlive => true;
}

19
lib/home/huixiang_view/huixiang_banner.dart

@ -1,4 +1,6 @@
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/retrofit/data/banner.dart';
@ -63,9 +65,9 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
/// contentType 0123
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
// case 0:
// Navigator.of(context).pushNamed('/router/qr_share');
// break;
case 0:
Navigator.of(context).pushNamed('/router/qr_share');
break;
case 1:
Navigator.of(context).pushNamed('/router/integral_store_page',
arguments: {"goodsId": bannerData.content});
@ -82,6 +84,17 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
"articleId": bannerData.content,
});
break;
case 4:
String router = bannerData.content;
if (router.contains("?")) {
String params = router.substring(router.indexOf("?"));
params = params.replaceAll("?", "");
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(router, arguments: map);
} else {
Navigator.of(context).pushNamed(router);
}
break;
}
}

16
lib/home/points_mall_view/points_mall_banner.dart

@ -1,4 +1,6 @@
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:huixiang/retrofit/data/banner.dart';
@ -70,9 +72,6 @@ class _PointMallBanner extends State<PointMallBanner> {
/// contentType 0123
bannerClick(BannerData bannerData) async {
switch (bannerData.contentType) {
// case 0:
// Navigator.of(context).pushNamed('/router/qr_share');
// break;
case 1:
Navigator.of(context).pushNamed('/router/integral_store_page',
arguments: {"goodsId": bannerData.content});
@ -89,6 +88,17 @@ class _PointMallBanner extends State<PointMallBanner> {
"articleId": bannerData.content,
});
break;
case 4:
String router = bannerData.content;
if (router.contains("?")) {
String params = router.substring(router.indexOf("?"));
params = params.replaceAll("?", "");
Map map = jsonDecode(params);
Navigator.of(context).pushNamed(router, arguments: map);
} else {
Navigator.of(context).pushNamed(router);
}
break;
}
}

78
lib/integral/integral_page.dart

@ -71,45 +71,53 @@ class _IntegralPage extends State<IntegralPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: MyAppBar(
background: Color(0xFF3A405A),
leadingColor: Colors.white,
title: S.of(context).jifenxiangqing,
titleColor: Colors.white,
titleSize: 16.sp,
brightness: Brightness.dark,
action: Container(
alignment: Alignment.center,
margin: EdgeInsets.only(right: 16.w),
child: GestureDetector(
onTap: () {
Navigator.of(context).pushNamed('/router/integral_detailed_page');
},
child: Text(
S.of(context).mingxi,
style: TextStyle(
color: Colors.white,
fontSize: 18.sp,
fontWeight: FontWeight.bold,
return Stack(
children: [
Positioned(
child: Container(
height: 122.h + kToolbarHeight + MediaQuery.of(context).padding.top,
decoration: BoxDecoration(
gradient: RadialGradient(
center: Alignment.center,
colors: [Color(0xFF36426E), Color(0xFF2D3247)],
focal: Alignment.center,
radius: 1,
),
),
),
top: 0,
left: 0,
right: 0,
),
),
body: Container(
child: Stack(
children: [
Positioned(
child: Container(
height: 122.h,
color: Color(0xFF3A405A),
Scaffold(
backgroundColor: Colors.transparent,
appBar: MyAppBar(
background: Colors.transparent,
leadingColor: Colors.white,
title: "",
titleColor: Colors.white,
titleSize: 16.sp,
brightness: Brightness.dark,
action: Container(
alignment: Alignment.center,
margin: EdgeInsets.only(right: 16.w),
child: GestureDetector(
onTap: () {
Navigator.of(context).pushNamed('/router/integral_detailed_page');
},
child: Text(
S.of(context).mingxi,
style: TextStyle(
color: Colors.white,
fontSize: 16.sp,
fontWeight: FontWeight.bold,
),
),
),
top: 0,
left: 0,
right: 0,
),
SingleChildScrollView(
),
body: Container(
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: FutureBuilder(
future: querySignInfo(),
@ -129,9 +137,9 @@ class _IntegralPage extends State<IntegralPage> {
},
),
),
],
),
),
),
],
);
}

16
lib/integral/intergra_view/in_for_points.dart

@ -38,7 +38,7 @@ class _InForPoints extends State<InForPoints> {
offset: Offset(0, 3),
blurRadius: 14,
spreadRadius: 0,
)
),
],
),
child: Column(
@ -87,19 +87,21 @@ class _InForPoints extends State<InForPoints> {
child: Container(
alignment: Alignment.center,
child: RoundButton(
width: 106.w,
width: 166.w,
height: 34.h,
text: (widget.signInfo != null && widget.signInfo.todayHasSignin)
? S.of(context).yiqiandao
: S.of(context).lijiqiandao,
textColor: Colors.white,
textColor: (widget.signInfo != null && widget.signInfo.todayHasSignin)
? Color(0xFF808080)
: Colors.white,
backgroup: (widget.signInfo != null && widget.signInfo.todayHasSignin)
? Colors.grey
? Color(0xFFF5F6FA)
: Color(0xFF32A060),
fontSize: 16.sp,
fontWeight: MyFontWeight.regular,
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 6.h),
radius: 4.w,
radius: 20.w,
),
),
),
@ -114,7 +116,7 @@ class _InForPoints extends State<InForPoints> {
return Container(
padding: EdgeInsets.all(4),
decoration: BoxDecoration(
color: Color(0xFFF0F0F2),
color: Color(0xFFF5F6FA),
borderRadius: BorderRadius.circular(4),
),
child: Row(
@ -177,7 +179,7 @@ class _InForPoints extends State<InForPoints> {
widget.signInfo.signInList != null &&
widget.signInfo.signInList.length > position)
? Color(0xFF32A060)
: Color(0xFFF0F0F2),
: Color(0xFFF5F6FA),
borderRadius: BorderRadius.circular(4),
),
child: Column(

71
lib/integral/intergra_view/integral_task.dart

@ -24,7 +24,7 @@ class _IntegralTask extends State<IntegralTask> {
Widget build(BuildContext context) {
return Container(
width: MediaQuery.of(context).size.width - 32,
height: 300.h,
height: 320.h,
margin: EdgeInsets.all(16),
padding: EdgeInsets.symmetric(
horizontal: 10.w,
@ -39,7 +39,7 @@ class _IntegralTask extends State<IntegralTask> {
offset: Offset(0, 3),
blurRadius: 14,
spreadRadius: 0,
)
),
],
),
child: Column(
@ -59,32 +59,28 @@ class _IntegralTask extends State<IntegralTask> {
),
Expanded(
child: Container(
child: Swiper(
loop: false,
physics: BouncingScrollPhysics(),
pagination: SwiperPagination(
alignment: Alignment.bottomCenter,
builder: DotSwiperPaginationBuilder(
size: 8,
activeSize: 8,
space: 5,
activeColor: Colors.black,
color: Colors.black.withAlpha(76),
),
),
child: ListView.builder(
padding: EdgeInsets.only(left: 10.w, top: 20.h),
physics: NeverScrollableScrollPhysics(),
// loop: false,
// pagination: SwiperPagination(
// alignment: Alignment.bottomCenter,
// builder: DotSwiperPaginationBuilder(
// size: 8,
// activeSize: 8,
// space: 5,
// activeColor: Colors.black,
// color: Colors.black.withAlpha(76),
// ),
// ),
itemBuilder: (context, position) {
return taskPage(position);
return taskItem(widget.signInfo.taskList[position]);
},
itemCount: (widget.signInfo != null &&
widget.signInfo.taskList != null &&
widget.signInfo.taskList.length > 0)
? (widget.signInfo.taskList.length < 3
? 1
: (widget.signInfo.taskList.length ~/ 3 +
(widget.signInfo.taskList.length % 3 > 0
? 1
: 0)))
: 1),
? widget.signInfo.taskList.length : 0
),
),
flex: 1,
)
@ -113,6 +109,9 @@ class _IntegralTask extends State<IntegralTask> {
taskImg(String taskType) {
switch (taskType) {
case "bill_type_point_login":
return "assets/image/icon_integral_login.png";
break;
case "bill_type_point_share":
return "assets/image/icon_integral_share.png";
break;
case "bill_type_point_order":
@ -131,17 +130,11 @@ class _IntegralTask extends State<IntegralTask> {
alignment: Alignment.center,
child: Row(
children: [
(task.type == "bill_type_point_login")
? SvgPicture.asset(
"assets/svg/svg_login.svg",
width: 24.w,
height: 24.h,
)
: Image.asset(
taskImg(task.type),
width: 24.w,
height: 24.h,
),
Image.asset(
taskImg(task.type),
width: 24.w,
height: 24.h,
),
SizedBox(
width: 21.w,
),
@ -193,13 +186,15 @@ class _IntegralTask extends State<IntegralTask> {
text: task.limitDay == (task.complateNum ?? task.conplateNum)
? S.of(context).yiwancheng
: S.of(context).quwancheng,
textColor: Colors.white,
textColor: task.limitDay == (task.complateNum ?? task.conplateNum)
? Color(0xFF808080)
: Colors.white,
backgroup: task.limitDay == (task.complateNum ?? task.conplateNum)
? Color(0xFFA0A0A0)
? Color(0xFFF5F6FA)
: Color(0xFF32A060),
radius: 12.w,
fontSize: 14.sp,
fontWeight: FontWeight.bold,
fontSize: 12.sp,
fontWeight: MyFontWeight.semi_bold,
padding: EdgeInsets.symmetric(vertical: 4.h, horizontal: 12.w),
),
],

88
lib/integral/intergra_view/integral_vip.dart

@ -64,61 +64,43 @@ class _IntegralVip extends State<IntegralVip> {
),
Expanded(
flex: 1,
child: InkWell(
onTap: () {
SharedPreferences.getInstance().then((value) {
if (value.getString("token") != null &&
value.getString("token") != "") {
Navigator.of(context)
.pushNamed('/router/mine_vip_level_page', arguments: {
"rankLevel": widget.rankLevel,
"createTime":
(widget.userinfo != null) ? "${widget.userinfo.createTime}" : "",
"points": (widget.userinfo != null)
? int.tryParse(widget.userinfo.points)
: 0,
});
}
});
},
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
(widget.signInfo != null && widget.signInfo.rank != null)
? "${widget.signInfo.rank.rankName.replaceAll("会员", "")}"
: "",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 21.sp,
color: Colors.white,
),
),
SizedBox(
height: 6.h,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
(widget.signInfo != null && widget.signInfo.rank != null)
? "${widget.signInfo.rank.rankName.replaceAll("会员", "")}"
: "",
style: TextStyle(
fontWeight: MyFontWeight.medium,
fontSize: 21.sp,
color: Colors.white,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
S.of(context).wodehuiyuandengji,
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFF2F2F2),
),
),
Icon(
Icons.keyboard_arrow_right,
color: Colors.white,
size: 15,
),
SizedBox(
height: 6.h,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
S.of(context).wodehuiyuandengji,
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFFF2F2F2),
),
],
),
],
),
),
// Icon(
// Icons.keyboard_arrow_right,
// color: Colors.white,
// size: 15,
// ),
],
),
],
),
),
],

13
lib/l10n/intl_en.arb

@ -373,7 +373,7 @@
"chaungshirengushi": "创始人故事",
"jituanchuangshiren": "集团创始人",
"jianjie": "简介:{jianjie}",
"zhengzaixiazaizhong": "正在载中...",
"zhengzaixiazaizhong": "正在载中...",
"qingxuanzeyigemendian": "请选择一个门店",
"muqianzanwuxingdianhuodong": "目前暂无星店活动",
"zanwuyouhuiquankelingqu": "暂无优惠券可领取",
@ -490,13 +490,20 @@
"qianshou": "已签收",
"wentijian": "问题件",
"zanwupinglun": "暂无评论,快来评论吧",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"daopinglunliebiaodingbu": "到评论列表顶部",
"dianzanxihuan_": "点赞喜欢{xihuan}",
"wenzhang": "文章",
"huodong": "活动",
"pinglun": "评论",
"fangshiyi": "方式一",
"fangshier": "方式二",
"baocunsaoma": "截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!",
"fenxiangyaoqing": "也可以直接点击右上方的分享给到你想要邀请的人。",
"yaoqingrenshoujihao_": "邀请人手机号:{shoujihao}",
"saomashibieguanzhugongzonghao": "扫码识别,关注公众号",
"fenxiangzhiweixin": "分享至微信",

13
lib/l10n/intl_zh_CN.arb

@ -374,7 +374,7 @@
"chaungshirengushi": "创始人故事",
"jituanchuangshiren": "集团创始人",
"jianjie": "简介:{jianjie}",
"zhengzaixiazaizhong": "正在载中...",
"zhengzaixiazaizhong": "正在载中...",
"qingxuanzeyigemendian": "请选择一个门店",
"muqianzanwuxingdianhuodong": "目前暂无星店活动",
"zanwuyouhuiquankelingqu": "暂无优惠券可领取",
@ -492,13 +492,20 @@
"qianshou": "已签收",
"wentijian": "问题件",
"zanwupinglun": "暂无评论,快来评论吧",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"daopinglunliebiaodingbu": "到评论列表顶部",
"dianzanxihuan_": "点赞喜欢{xihuan}",
"wenzhang": "文章",
"huodong": "活动",
"pinglun": "评论",
"fangshiyi": "方式一",
"fangshier": "方式二",
"baocunsaoma": "截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!",
"fenxiangyaoqing": "也可以直接点击右上方的分享给到你想要邀请的人。",
"yaoqingrenshoujihao_": "邀请人手机号:{shoujihao}",
"saomashibieguanzhugongzonghao": "扫码识别,关注公众号",
"fenxiangzhiweixin": "分享至微信",

13
lib/l10n/intl_zh_Hans_CN.arb

@ -374,7 +374,7 @@
"chaungshirengushi": "创始人故事",
"jituanchuangshiren": "集团创始人",
"jianjie": "简介:{jianjie}",
"zhengzaixiazaizhong": "正在载中...",
"zhengzaixiazaizhong": "正在载中...",
"qingxuanzeyigemendian": "请选择一个门店",
"muqianzanwuxingdianhuodong": "目前暂无星店活动",
"zanwuyouhuiquankelingqu": "暂无优惠券可领取",
@ -492,13 +492,20 @@
"qianshou": "已签收",
"wentijian": "问题件",
"zanwupinglun": "暂无评论,快来评论吧",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"xiazaiwancheng": "载完成",
"zhengzaixiazaizhong": "正在载中...",
"daopinglunliebiaodingbu": "到评论列表顶部",
"dianzanxihuan_": "点赞喜欢{xihuan}",
"wenzhang": "文章",
"huodong": "活动",
"pinglun": "评论",
"fangshiyi": "方式一",
"fangshier": "方式二",
"baocunsaoma": "截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!",
"fenxiangyaoqing": "也可以直接点击右上方的分享给到你想要邀请的人。",
"yaoqingrenshoujihao_": "邀请人手机号:{shoujihao}",
"saomashibieguanzhugongzonghao": "扫码识别,关注公众号",
"fenxiangzhiweixin": "分享至微信",

11
lib/l10n/intl_zh_Hant_CN.arb

@ -486,13 +486,20 @@
"qianshou": "已簽收",
"wentijian": "問題件",
"zanwupinglun": "暫無評論,快去評論吧~",
"xiazaiwancheng": "載完成",
"zhengzaixiazaizhong": "正在載中...",
"xiazaiwancheng": "載完成",
"zhengzaixiazaizhong": "正在載中...",
"daopinglunliebiaodingbu": "到評論列表頂部",
"dianzanxihuan_": "點贊喜歡{xihuan}",
"wenzhang": "文章",
"huodong": "活動",
"pinglun": "評論",
"fangshiyi": "方式一",
"fangshier": "方式二",
"baocunsaoma": "截屏保存下方二維碼,邀請他人微信掃一掃識別,長按關注後,完成小遊戲,領取優惠券後,即邀請成功哦!",
"fenxiangyaoqing": "也可以直接點擊右上方的分享給到你想要邀請的人。",
"yaoqingrenshoujihao_": "邀请人手機號:{shoujihao}",
"saomashibieguanzhugongzonghao": "掃碼識別,關注公眾號",
"fenxiangzhiweixin": "分享至微信",

11
lib/l10n/intl_zh_TW.arb

@ -484,13 +484,20 @@
"qianshou": "已簽收",
"wentijian": "問題件",
"zanwupinglun": "暫無評論,快去評論吧~",
"xiazaiwancheng": "載完成",
"zhengzaixiazaizhong": "正在載中...",
"xiazaiwancheng": "載完成",
"zhengzaixiazaizhong": "正在載中...",
"daopinglunliebiaodingbu": "到評論列表頂部",
"dianzanxihuan_": "點贊喜歡{xihuan}",
"wenzhang": "文章",
"huodong": "活動",
"pinglun": "評論",
"fangshiyi": "方式一",
"fangshier": "方式二",
"baocunsaoma": "截屏保存下方二維碼,邀請他人微信掃一掃識別,長按關注後,完成小遊戲,領取優惠券後,即邀請成功哦!",
"fenxiangyaoqing": "也可以直接點擊右上方的分享給到你想要邀請的人。",
"yaoqingrenshoujihao_": "邀请人手機號:{shoujihao}",
"saomashibieguanzhugongzonghao": "掃碼識別,關注公眾號",
"fenxiangzhiweixin": "分享至微信",

46
lib/qr/qr_share.dart

@ -3,6 +3,7 @@ import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/qr/qr_share_image.dart';
import 'package:huixiang/retrofit/data/user_info.dart';
import 'package:huixiang/utils/font_weight.dart';
@ -37,8 +38,8 @@ class _QrSharePage extends State<QrSharePage> {
@override
void dispose() {
super.dispose();
SmartDialog.dismiss();
super.dispose();
}
@override
@ -56,16 +57,17 @@ class _QrSharePage extends State<QrSharePage> {
margin: EdgeInsets.only(right: 16.w),
child: InkWell(
onTap: () {
if (phone == null || phone == "") return;
SmartDialog.show(
widget: QrShareImagePage("15827991714"),);
widget: QrShareImagePage(phone),
clickBgDismissTemp: true,
isPenetrateTemp: false,
);
},
child: Text(
"分享",
style: TextStyle(
color: Colors.black,
fontSize: 18.sp,
fontWeight: FontWeight.bold,
),
child: Icon(
Icons.share,
color: Colors.black,
size: 24.w,
),
),
),
@ -75,7 +77,6 @@ class _QrSharePage extends State<QrSharePage> {
height: height,
child: Stack(
children: [
// if (image != null)
Positioned(
child: Image.asset(
"assets/image/qr_share_bg.png",
@ -90,8 +91,10 @@ class _QrSharePage extends State<QrSharePage> {
child: Container(
width: MediaQuery.of(context).size.width,
height: height * 0.635,
padding:
EdgeInsets.symmetric(vertical: 28.h, horizontal: 19.w),
padding: EdgeInsets.symmetric(
vertical: 28.h,
horizontal: 19.w,
),
child: Stack(
children: [
Positioned(
@ -108,11 +111,11 @@ class _QrSharePage extends State<QrSharePage> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
shareTypeTitle("方式一"),
shareTypeTitle(S.of(context).fangshiyi),
Container(
margin: EdgeInsets.only(left: 16.w, right: 24.w),
child: Text(
"截屏保存下方二维码,邀请他人微信扫一扫识别,长按关注后,完成小游戏,领取优惠券后,即邀请成功哦!",
S.of(context).baocunsaoma,
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF2E3552),
@ -126,20 +129,22 @@ class _QrSharePage extends State<QrSharePage> {
height: 152.w,
decoration: BoxDecoration(
border: Border.all(
color: Color(0xFF2E3552), width: 1),
color: Color(0xFF2E3552),
width: 1,
),
),
child: QrImage(
data: phone ?? "",
data: "http://mp.hx.lotus-wallet.com/pages/invite/index?mobile=${phone ?? ""}",
version: QrVersions.auto,
size: 200.w,
gapless: true,
),
),
shareTypeTitle("方式二"),
shareTypeTitle(S.of(context).fangshier),
Container(
margin: EdgeInsets.only(left: 16.w, right: 24.w),
child: Text(
"也可以直接点击右上方的分享给到你想要邀请的人。",
S.of(context).fenxiangyaoqing,
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF2E3552),
@ -182,7 +187,10 @@ class _QrSharePage extends State<QrSharePage> {
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFFFC93B),
border: Border.all(color: Color(0xFF2E3552), width: 1),
border: Border.all(
color: Color(0xFF2E3552),
width: 1,
),
),
);
}

190
lib/qr/qr_share_image.dart

@ -1,11 +1,17 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'dart:ui' as ui;
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:path_provider/path_provider.dart';
import 'package:qr_flutter/qr_flutter.dart';
import 'package:sharesdk_plugin/sharesdk_plugin.dart';
class QrShareImagePage extends StatefulWidget {
String mobile;
QrShareImagePage(this.mobile);
@ -14,19 +20,138 @@ class QrShareImagePage extends StatefulWidget {
State<StatefulWidget> createState() {
return _QrShareImagePage();
}
}
class _QrShareImagePage extends State<QrShareImagePage> {
@override
Widget build(BuildContext context) {
widgetToImage();
return Container(
width: 200,
height: 300,
color: Colors.white.withAlpha(123),
child: Text(widget.mobile),
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
RepaintBoundary(
key: globalKey,
child: Container(
width: MediaQuery.of(context).size.width * 0.8,
height: (MediaQuery.of(context).size.width * 0.8) * 1.36,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10.w),
),
child: Column(
children: [
Image.asset(
"assets/image/share_image_bg.png",
height: (MediaQuery.of(context).size.width * 0.8) * 0.47,
width: (MediaQuery.of(context).size.width * 0.8),
),
Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.vertical(
bottom: Radius.circular(10.w),
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 206.w,
height: 30.h,
child: Text(
S.of(context).yaoqingrenshoujihao_("${widget.mobile.substring(0, 3)}****${widget.mobile.substring(7, 11)}"),
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize: 12.sp,
color: Color(0xFF2E3552),
),
),
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFFFFC93B),
border: Border.all(
color: Color(0xFF2E3552),
width: 1,
),
),
),
Container(
margin: EdgeInsets.symmetric(horizontal: 68.w),
decoration: BoxDecoration(
border: Border.all(
color: Color(0xFF2E3552),
width: 1,
),
),
child: AspectRatio(
aspectRatio: 1,
child: QrImage(
data: "http://mp.hx.lotus-wallet.com/pages/invite/index?mobile=${widget.mobile ?? ""}",
version: QrVersions.auto,
size: 200.w,
gapless: true,
),
),
),
Container(
margin: EdgeInsets.only(left: 16.w, right: 24.w),
child: Text(
S.of(context).saomashibieguanzhugongzonghao,
textAlign: TextAlign.center,
style: TextStyle(
color: Color(0xFF2E3552),
fontSize: 14.sp,
fontWeight: MyFontWeight.semi_bold,
),
),
),
],
),
),
flex: 1,
),
],
),
),
),
SizedBox(
height: 15,
),
TextButton(
onPressed: () {
widgetToImage();
},
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all(
Color(0xFFFFC93B),
),
shape: MaterialStateProperty.all(
RoundedRectangleBorder(
side: BorderSide(
color: Color(0xFF2E3552),
width: 1,
),
borderRadius: BorderRadius.circular(5),
),
),
elevation: MaterialStateProperty.all(3),
shadowColor: MaterialStateProperty.all(Colors.amber),
padding: MaterialStateProperty.all(
EdgeInsets.symmetric(
vertical: 5.h,
horizontal: 20.w,
),
),
),
child: Text(
S.of(context).fenxiangzhiweixin,
style: TextStyle(
color: Color(0xFF2E3552),
fontSize: 18.sp,
fontWeight: MyFontWeight.semi_bold),
),
),
],
);
}
@ -36,10 +161,49 @@ class _QrShareImagePage extends State<QrShareImagePage> {
BuildContext buildContext = globalKey.currentContext;
if (null != buildContext) {
RenderRepaintBoundary boundary = buildContext.findRenderObject();
ui.Image image = await boundary.toImage();
ByteData byteData = await image.toByteData(format: ui.ImageByteFormat.png);
// byteData.buffer.asUint16List()
ui.Image image = await boundary.toImage(pixelRatio: 3);
ByteData byteData =
await image.toByteData(format: ui.ImageByteFormat.png);
String filePath = "";
if (Platform.isAndroid) {
filePath = (await getExternalStorageDirectory()).path;
} else {
filePath = (await getApplicationDocumentsDirectory()).path;
}
filePath = "$filePath/${DateTime.now().millisecondsSinceEpoch}.png";
File file = File(filePath);
if (!file.existsSync()) {
file.createSync();
print("object: ${file.path}");
}
file.writeAsBytesSync(byteData.buffer.asUint8List());
SSDKMap params = SSDKMap()
..setGeneral(
"",
"",
[
file.path,
],
"",
file.path,
"",
"",
"",
"",
"",
SSDKContentTypes.image,
);
SharesdkPlugin.share(ShareSDKPlatforms.wechatSession, params,
(state, userData, contentEntity, error) {
print("share state !$state");
print("share userData !$userData");
print("share contentEntity !$contentEntity");
print("share error !$error");
});
}
}
}

41
lib/retrofit/data/page.g.dart

@ -1,41 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'page.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
PageInfo<D> _$PageInfoFromJson<D>(
Map<String, dynamic> json,
D Function(Object json) fromJsonD,
) {
return PageInfo<D>()
..pageNum = json['pageNum'] as int
..current = json['current']
..pageSize = json['pageSize'] as int
..size = json['size']
..pages = json['pages']
..hasPreviousPage = json['hasPreviousPage'] as bool
..hasNextPage = json['hasNextPage'] as bool
..total = json['total'] as String
..list = (json['list'] as List)?.map(fromJsonD)?.toList()
..records = (json['records'] as List)?.map(fromJsonD)?.toList();
}
Map<String, dynamic> _$PageInfoToJson<D>(
PageInfo<D> instance,
Object Function(D value) toJsonD,
) =>
<String, dynamic>{
'pageNum': instance.pageNum,
'current': instance.current,
'pageSize': instance.pageSize,
'size': instance.size,
'pages': instance.pages,
'hasPreviousPage': instance.hasPreviousPage,
'hasNextPage': instance.hasNextPage,
'total': instance.total,
'list': instance.list?.map(toJsonD)?.toList(),
'records': instance.records?.map(toJsonD)?.toList(),
};

10
lib/retrofit/retrofit_api.dart

@ -43,8 +43,8 @@ part 'retrofit_api.g.dart';
const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///
const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///
// const base_url = "http://192.168.10.236:8766/app/";
// const baseUrl = "http://192.168.10.236:8766/app/";
// const base_url = "http://192.168.10.236:8766/app/"; ///
// const baseUrl = "http://192.168.10.236:8766/app/"; ///
// const base_url = "http://192.168.10.74:8766/app/";
// const baseUrl = "http://192.168.10.74:8766/app/";
@ -70,7 +70,7 @@ abstract class ApiService {
responseType: ResponseType.json);
dio.interceptors.add(
InterceptorsWrapper(onRequest: (RequestOptions options) {
debugPrint("\n====================== 请求数据 =======================");
debugPrint("\n======================= 请求数据 =======================");
debugPrint("method = ${options.method.toString()}");
debugPrint("url = ${options.uri.toString()}");
debugPrint("headers = ${options.headers}");
@ -88,7 +88,7 @@ abstract class ApiService {
if (showLoading && EasyLoading.isShow) {
EasyLoading.dismiss();
}
debugPrint("\n====================== 响应数据开始 =====================");
debugPrint("\n======================= 响应数据开始 =======================");
debugPrint("code = ${response.statusCode}");
p(jsonEncode(response.data));
Map map = response.data;
@ -109,7 +109,7 @@ abstract class ApiService {
if (EasyLoading.isShow) {
EasyLoading.dismiss();
}
debugPrint("\n=======================错误响应数据 ========================");
debugPrint("\n======================= 错误响应数据 =======================");
debugPrint("type = ${e.type}");
debugPrint("message = ${e.message}");
debugPrint("\n");

4
lib/union/union_details_page.dart

@ -281,7 +281,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
double progressValue = 0;
String downText = S.current.zhengzaixiazaizhong;
downloadWgt(appid, savePath) async {
downloadWgt(appId, savePath) async {
downText = S.of(context).zhengzaixiazaizhong;
Response response = await Dio()
.download(storeInfo.mini.miniDownloadUrl, savePath,
@ -298,7 +298,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
(value.getStringList("miniAppid") != null
? value.getStringList("miniAppid")
: [])
..add(appid));
..add(appId));
});
} else {
print("print 下载失败");

4
lib/view_widget/share_dialog.dart

@ -40,9 +40,9 @@ class _ShareDialog extends State<ShareDialog> {
height: 200.h,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.vertical(top: Radius.circular(8)),
borderRadius: BorderRadius.vertical(top: Radius.circular(8),),
),
padding: EdgeInsets.only(top: 16.h, bottom: 66.h),
padding: EdgeInsets.only(top: 16.h, bottom: 66.h,),
child: Column(
mainAxisSize: MainAxisSize.max,
children: [

2
pubspec.yaml

@ -85,7 +85,7 @@ dependencies:
flutter_svg: ^0.20.0-nullsafety.3
font_awesome_flutter: ^9.1.0
# flutter_bugly: ^0.3.3
# bitmap: ^0.1.2
dev_dependencies:
flutter_test:

Loading…
Cancel
Save