index.tsx 563 B

123456789101112131415161718192021222324252627
  1. import { Badge, Cell } from "@nutui/nutui-react-taro";
  2. import { ArrowRight } from "@nutui/icons-react-taro";
  3. import { View } from "@tarojs/components";
  4. const Message = () => {
  5. return (
  6. <>
  7. <Cell
  8. title={
  9. <>
  10. <Badge right="0" dot>
  11. 赞和收藏
  12. </Badge>
  13. </>
  14. }
  15. extra={
  16. <View className="flex items-center">
  17. <ArrowRight />
  18. </View>
  19. }
  20. />
  21. <Cell title="评论" extra={<ArrowRight />} />
  22. </>
  23. );
  24. };
  25. export default Message;