Skip to content

Commit

Permalink
feat: 修正crud2移动端简单查询折叠器箭头方向,没数据时不显示[没有更多了]文案
Browse files Browse the repository at this point in the history
  • Loading branch information
jinye authored and CheshireJCat committed Oct 17, 2024
1 parent a3ad371 commit fcf6d76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/amis-ui/scss/components/_crud2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@
width: 100%;
}

.#{$ns}Cards-placeholder {
font-size: var(--fonts-size-7);
}

.#{$ns}Card {
--Card-borderRadius: var(--sizes-size-5);
--gap-base: var(--sizes-size-9);
Expand Down
3 changes: 2 additions & 1 deletion packages/amis-ui/scss/components/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@

&-arrow {
transition: transform 0.1s ease-in;
transform: rotate(180deg);
&.is-collapsed {
transform: rotate(180deg);
transform: rotate(0deg);
}
}

Expand Down
1 change: 1 addition & 0 deletions packages/amis/src/renderers/CRUD2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1590,6 +1590,7 @@ export default class CRUD2 extends React.Component<CRUD2Props, any> {
store.lastPage > 0 &&
store.page >= store.lastPage
}
completedText={store.total > 0 ? undefined : ''}
>
{body}
</PullRefresh>
Expand Down

0 comments on commit fcf6d76

Please sign in to comment.