List.jsx 872B

12345678910111213141516171819202122232425262728
  1. import React from 'react';
  2. import { View, Text } from '@tarojs/components';
  3. import { Button, Row, Col } from '@antmjs/vantui';
  4. import Taro from '@tarojs/taro';
  5. import style from './list.module.less';
  6. export default (props) => {
  7. const onClick = () => {
  8. Taro.navigateTo({
  9. url: `/pages/check/edit/index`
  10. })
  11. }
  12. return (
  13. <View className={style['box']}>
  14. <Row>
  15. <View className={style['box-text']}>
  16. <Col span={19}>关于第X界实地测评</Col>
  17. <Col span={5}>
  18. <Button round size="mini" color="#1A7565" onClick={onClick}>去完成</Button>
  19. </Col>
  20. </View>
  21. </Row>
  22. <View className={style['dashed']}></View>
  23. <View className={style['box-text2']}>发布日期:<Text className={style['time']}>2022-12-06</Text><Text>12:00</Text></View>
  24. </View>
  25. )
  26. }