From 611b9f688bd45b6d5564d867f3a20848c5f1c643 Mon Sep 17 00:00:00 2001 From: wyl2022 <2373073266@qq.com> Date: Wed, 15 Jun 2022 14:56:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=AE=89=E5=8D=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/home/ic_kaimen_android.png | Bin 0 -> 2673 bytes assets/home/{ic_kaimen.png => ic_kaimen_ios.png} | Bin lib/gen/assets.gen.dart | 10 +++++++--- lib/pages/tab_navigator.dart | 11 +++++++++-- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 assets/home/ic_kaimen_android.png rename assets/home/{ic_kaimen.png => ic_kaimen_ios.png} (100%) diff --git a/assets/home/ic_kaimen_android.png b/assets/home/ic_kaimen_android.png new file mode 100644 index 0000000000000000000000000000000000000000..93595d07ccc087537cf40ff68449766de0fecab1 GIT binary patch literal 2673 zcmbuBc{JPk7QlZIL~WC3jMgsHT6@J-Yom5XYG|oqP*o8vt=fgQ8cT!LTB4nZNsUGo z32L7bt#yQ`rIu0DzVGYPp7-B-f4%p|_ipEV&b{|@&$-`k!Y_8_eB8p^008h=TAB)VZlodt2-)#WvekrBt#6`W(^ z)l3|;@Z7%Fwdi*{&N8XSRxOv3IHsX9heAJP

n*93@QL5;=u&~OZ9 zA;Pyi-_2fJbylBA52n*nb9-ns8rT6I1qH+*xNc}q{YLdym8VC^cz0zux2o#-^N*xo zExRcug7b+)W%}^qlY|*{AbaWZSNYxBffeahnTpJc+U%D;a``ehx5Ze z%gV}@@E2=ALD!2M#Sx_EsEt?mlstJDsgoF>u?#(T)~myhy4ix|kqQZ)$DPpQraH}Y zAQZ!@^n<>p?QsKhI|w(TkyK+J=Tl!N5)&nd$1iem%pyN`G;|<|yDa>@BEq z9=MZ%9|dsgfX*X4Bw@x4fbu#l+Z_||W9LYeivHsaok|v0iKC)~Cgb1_eTo>$Jw5~s zxESo~A?Wz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bz$?vMSh@mPHSQIBX*AUOnthisHn&}o<&}| z{3+Teo-MSPjpkz8+1+h_){7t9C<9xaDhH3W-`cMUcIYze=sC(1gK47r_K5)^2%st% z-@qL=-n_g1?d@>Lp4!x42tjbfx)4pjdVX3PiA;2W3&u&xpYh^GIsRgGe^mOnw6W6; z`S?Wq!0ySa%-?Rw@Aguc-usMy9gF8H>{}Lo%5VosB3U(p4>=x_1yIOGf`$UOBwjrDPt3%&k-9y@VCxhr%j<-c~BaUUp~(ziww_#{^=r_3vtH zJBr-R#TUdR2p7jAig=GxTEiO&SGI8m9<2uBRbhs4|CezLK9%g(+s6kqpZp;KOEWuE JiK$22zW~Iq9Y_EG literal 0 HcmV?d00001 diff --git a/assets/home/ic_kaimen.png b/assets/home/ic_kaimen_ios.png similarity index 100% rename from assets/home/ic_kaimen.png rename to assets/home/ic_kaimen_ios.png diff --git a/lib/gen/assets.gen.dart b/lib/gen/assets.gen.dart index 99c95b26..750b4933 100644 --- a/lib/gen/assets.gen.dart +++ b/lib/gen/assets.gen.dart @@ -134,9 +134,13 @@ class $AssetsHomeGen { AssetGenImage get icGonggao => const AssetGenImage('assets/home/ic_gonggao.png'); - /// File path: assets/home/ic_kaimen.png - AssetGenImage get icKaimen => - const AssetGenImage('assets/home/ic_kaimen.png'); + /// File path: assets/home/ic_kaimen_android.png + AssetGenImage get icKaimenAndroid => + const AssetGenImage('assets/home/ic_kaimen_android.png'); + + /// File path: assets/home/ic_kaimen_ios.png + AssetGenImage get icKaimenIos => + const AssetGenImage('assets/home/ic_kaimen_ios.png'); /// File path: assets/home/ic_ljcw.png AssetGenImage get icLjcw => const AssetGenImage('assets/home/ic_ljcw.png'); diff --git a/lib/pages/tab_navigator.dart b/lib/pages/tab_navigator.dart index ddad9636..1f8be218 100644 --- a/lib/pages/tab_navigator.dart +++ b/lib/pages/tab_navigator.dart @@ -1,3 +1,5 @@ +import 'dart:io'; +import 'package:aku_new_community/pages/property/property_page.dart'; import 'package:aku_new_community/ui/home/application/all_application_new.dart'; import 'package:flutter/material.dart'; @@ -53,7 +55,9 @@ class _TabNavigatorState extends State HomePage(), MarketPage(), // PropertyPage(), - AllApplicationNewPage(), + Platform.isAndroid ? OpeningCodePage() : AllApplicationNewPage(), + + ///android的时候开门码 ios的时候全部应用 CommunityPage(), PersonalIndex( refreshController: _refreshController, @@ -165,7 +169,10 @@ class _TabNavigatorState extends State borderRadius: BorderRadius.circular(54.w), color: Color(0xFFFDE019), ), - child: Assets.home.icKaimen.image(width: 80.w, height: 80.w), + child: Platform.isAndroid + ? Assets.home.icKaimenAndroid + .image(width: 80.w, height: 80.w) + : Assets.home.icKaimenIos.image(width: 80.w, height: 80.w), ), ), ),