隐藏首页以及社区搜索功能

pull/1/head
戴余标 3 years ago
parent 1455940627
commit 0cc6e06851

@ -157,13 +157,13 @@ class _HomePageState extends State<HomePage>
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
Spacer(), Spacer(),
GestureDetector( // GestureDetector(
onTap: () { // onTap: () {
Get.to(() => BeeSearch()); // Get.to(() => BeeSearch());
}, // },
child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_FIND_PNG, // child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_FIND_PNG,
height: 40.w, width: 40.w), // height: 40.w, width: 40.w),
), // ),
Padding( Padding(
padding: EdgeInsets.only(right: 16.w, left: 12.w), padding: EdgeInsets.only(right: 16.w, left: 12.w),
child: Badge( child: Badge(

@ -156,8 +156,8 @@ class _CommunityPageState extends State<CommunityPage>
? SizedBox() ? SizedBox()
: ListView( : ListView(
children: [ children: [
_geSearch(), // _geSearch(),
2.hb, // 2.hb,
_hotNewsModels.isEmpty ? SizedBox() : _getInfo(), _hotNewsModels.isEmpty ? SizedBox() : _getInfo(),
16.hb, 16.hb,
_gambitModels.isEmpty ? SizedBox() : _getNews(), _gambitModels.isEmpty ? SizedBox() : _getNews(),

Loading…
Cancel
Save