mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-09-24 00:11:48 +08:00
Compare commits
2 Commits
c5d1149c50
...
3b6b534211
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3b6b534211 | ||
![]() |
e48b6431f4 |
@ -192,6 +192,8 @@ export const ListPage = defineComponent<
|
|||||||
emit('update:selected', key);
|
emit('update:selected', key);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const close = () => emit('close');
|
||||||
|
|
||||||
return () => (
|
return () => (
|
||||||
<container loc={props.loc}>
|
<container loc={props.loc}>
|
||||||
<List
|
<List
|
||||||
@ -211,6 +213,7 @@ export const ListPage = defineComponent<
|
|||||||
text="关闭"
|
text="关闭"
|
||||||
cursor="pointer"
|
cursor="pointer"
|
||||||
font={props.font}
|
font={props.font}
|
||||||
|
onClick={close}
|
||||||
></text>
|
></text>
|
||||||
)}
|
)}
|
||||||
</container>
|
</container>
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
UIComponentProps
|
UIComponentProps
|
||||||
} from '@motajs/system-ui';
|
} from '@motajs/system-ui';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { waitbox, ListPage } from '../components';
|
import { waitbox, ListPage, TextContent } from '../components';
|
||||||
import { DefaultProps } from '@motajs/render-vue';
|
import { DefaultProps } from '@motajs/render-vue';
|
||||||
import { ItemState } from '@user/data-state';
|
import { ItemState } from '@user/data-state';
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ export const Statistics = defineComponent<StatisticsProps>(props => {
|
|||||||
<ListPage
|
<ListPage
|
||||||
list={list}
|
list={list}
|
||||||
selected="total"
|
selected="total"
|
||||||
loc={[180, 0, 480, 480]}
|
loc={[180, 0, 630, 480]}
|
||||||
close
|
close
|
||||||
onClose={close}
|
onClose={close}
|
||||||
lineHeight={24}
|
lineHeight={24}
|
||||||
@ -75,7 +75,7 @@ const statisticsPanelProps = {
|
|||||||
const TotalStatistics = defineComponent<StatisticsPanelProps>(props => {
|
const TotalStatistics = defineComponent<StatisticsPanelProps>(props => {
|
||||||
return () => (
|
return () => (
|
||||||
<container>
|
<container>
|
||||||
<text text="测试"></text>
|
<TextContent text='' width={310}></TextContent>
|
||||||
</container>
|
</container>
|
||||||
);
|
);
|
||||||
}, statisticsPanelProps);
|
}, statisticsPanelProps);
|
||||||
|
Loading…
Reference in New Issue
Block a user