index.js 704 Bytes
Newer Older
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
import React from 'react';
import List from '../components/list';
const Index = () => {
  const dataSource = [
    {
      id: 1,
      image: '/images/exam1.png',
      title: '2020版中西医结合执业助理医师 模拟试',
      like: 0,
      share: 1,
    },
    {
      id: 2,
      image: '/images/exam1.png',
      title: '2020版中西医结合执业助理医师 模拟试',
      like: 0,
      share: 0,
    },
    {
      id: 3,
      image: '/images/exam1.png',
      title: '2020版中西医结合执业助理医师 模拟试',
      like: 1,
      share: 1,
    },
  ];

  const opt={
    dataSource,
  }
  return (
    <>
      <List {...opt}/>
    </>
  );
};
export default Index;