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({