Skip to content

Commit

Permalink
Merge pull request #20 from mgz0227/dev_2008
Browse files Browse the repository at this point in the history
取消浏览历史宫格展示
  • Loading branch information
MaoXiaoone authored May 6, 2024
2 parents acaba50 + 0f3ed47 commit b1b9600
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions entry/src/main/ets/pages/view/bookShelf/BookInfoGrid.ets
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion entry/src/main/ets/pages/view/bookShelf/cartoonPage.ets
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion entry/src/main/ets/pages/view/bookShelf/novelPage.ets
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion entry/src/main/ets/pages/view/bookShelf/soundPage.ets
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b1b9600

Please sign in to comment.