Compare commits

..

No commits in common. "3b6b5342113f73f7c1b4bf25e652e893ba91e820" and "c5d1149c50211614ada99c1abe6e285a56ef249f" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -192,8 +192,6 @@ export const ListPage = defineComponent<
emit('update:selected', key);
};
const close = () => emit('close');
return () => (
<container loc={props.loc}>
<List
@ -213,7 +211,6 @@ export const ListPage = defineComponent<
text="关闭"
cursor="pointer"
font={props.font}
onClick={close}
></text>
)}
</container>

View File

@ -5,7 +5,7 @@ import {
UIComponentProps
} from '@motajs/system-ui';
import { defineComponent } from 'vue';
import { waitbox, ListPage, TextContent } from '../components';
import { waitbox, ListPage } from '../components';
import { DefaultProps } from '@motajs/render-vue';
import { ItemState } from '@user/data-state';
@ -48,7 +48,7 @@ export const Statistics = defineComponent<StatisticsProps>(props => {
<ListPage
list={list}
selected="total"
loc={[180, 0, 630, 480]}
loc={[180, 0, 480, 480]}
close
onClose={close}
lineHeight={24}
@ -75,7 +75,7 @@ const statisticsPanelProps = {
const TotalStatistics = defineComponent<StatisticsPanelProps>(props => {
return () => (
<container>
<TextContent text='' width={310}></TextContent>
<text text="测试"></text>
</container>
);
}, statisticsPanelProps);