From 0f3ed47ae6a1ead437f5f912f4a15512685527a6 Mon Sep 17 00:00:00 2001 From: 2008 <49343738+MaoXiaoone@users.noreply.github.com> Date: Mon, 6 May 2024 15:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=B5=8F=E8=A7=88=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=AE=AB=E6=A0=BC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 取消浏览历史宫格展示 --- entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets | 4 ++-- entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets | 2 +- entry/src/main/ets/pages/view/bookShelf/novelPage.ets | 2 +- entry/src/main/ets/pages/view/bookShelf/soundPage.ets | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets b/entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets index 633a992e..30fe44d9 100644 --- a/entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets +++ b/entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets @@ -71,7 +71,7 @@ export default struct BookInfoGrid{ .backgroundColor(this.isShowCheck ?'rgba(0, 0, 0, 0.3)':'') .width(90).height(120) } - if (this.searchValue === '浏览历史'){ + /* if (this.searchValue === '浏览历史'){ Flex({ justifyContent:FlexAlign.SpaceBetween, alignItems: ItemAlign.End @@ -108,7 +108,7 @@ export default struct BookInfoGrid{ .borderRadius(10) .backgroundColor(this.searchValue === '浏览历史'?'rgba(0, 0, 0, 0.3)':'') .width(90).height(120) - } + }*/ } .borderRadius(10) .width(90).height(120) diff --git a/entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets b/entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets index fd44d2bb..7d0b9d42 100644 --- a/entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets +++ b/entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets @@ -65,7 +65,7 @@ export default struct cartoonPage{ Column( {space:10} ){ - if (this.EXHIBIT === '宫格') { + if (this.EXHIBIT === '宫格' && this.searchValue !== '浏览历史') { Flex({ direction: FlexDirection.Row, wrap: FlexWrap.Wrap,alignContent:FlexAlign.Center}){ ForEach(this.cartoonList, (item: BookList,index:number) => { BookInfoGrid({ diff --git a/entry/src/main/ets/pages/view/bookShelf/novelPage.ets b/entry/src/main/ets/pages/view/bookShelf/novelPage.ets index 04fc4d62..34395bc7 100644 --- a/entry/src/main/ets/pages/view/bookShelf/novelPage.ets +++ b/entry/src/main/ets/pages/view/bookShelf/novelPage.ets @@ -67,7 +67,7 @@ export default struct novelPage{ Column( {space:10} ){ - if (this.EXHIBIT === '宫格') { + if (this.EXHIBIT === '宫格' && this.searchValue !== '浏览历史') { Flex({ direction: FlexDirection.Row, wrap: FlexWrap.Wrap,alignContent:FlexAlign.Center}){ ForEach(this.bookList, (item: BookList,index:number) => { BookInfoGrid({ diff --git a/entry/src/main/ets/pages/view/bookShelf/soundPage.ets b/entry/src/main/ets/pages/view/bookShelf/soundPage.ets index 9f99b65d..4d47de90 100644 --- a/entry/src/main/ets/pages/view/bookShelf/soundPage.ets +++ b/entry/src/main/ets/pages/view/bookShelf/soundPage.ets @@ -71,7 +71,7 @@ export default struct soundPage{ Column( {space:10} ){ - if (this.EXHIBIT === '宫格') { + if (this.EXHIBIT === '宫格' && this.searchValue !== '浏览历史') { Flex({ direction: FlexDirection.Row, wrap: FlexWrap.Wrap,alignContent:FlexAlign.Center}){ ForEach(this.cartoonList, (item: BookList,index:number) => { BookInfoGrid({