mainData.js 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //首页中组件itemCard的数据与发布者详情页面中itemPublisher中的数据
  2. var json = [{
  3. "id": "1",
  4. //此条通知对应id
  5. "publisherAvatar": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608131389634&di=bf796ce931cfbe3befff359069468b0f&imgtype=0&src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F162260862%2F0.jpg",
  6. //组织头像
  7. "publisherName": "蓝田文体发展中心",
  8. "publisherID": 1,
  9. //组织id(不同组织有不同标号)
  10. "time": "1分钟前",
  11. "title": "紫金新生达人秀|期待你的精彩",
  12. //主标题
  13. "subTitle": "紫金新生达人秀现面向全校学生开启报名通道,报名即有综素加分,通过初赛就有二课!",
  14. //副标题
  15. "poster": [],
  16. //图片(可以添加多张,所以是数组)
  17. "messageAttribute": "7",
  18. //对应上栏-信息类型
  19. "messageSource": "3",
  20. //对应上栏-发布来源
  21. "additionPoint": ""
  22. //对应上栏-智能筛选
  23. },
  24. {
  25. "id": "2",
  26. "publisherAvatar": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608131389634&di=bf796ce931cfbe3befff359069468b0f&imgtype=0&src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F162260862%2F0.jpg",
  27. "publisherName": "蓝田文体发展中心",
  28. "publisherID": 2,
  29. "time": "1分钟前",
  30. "title": "紫金新生达人秀|期待你的精彩",
  31. "subTitle": "紫金新生达人秀现面向全校学生开启报名通道,报名即有综素加分,通过初赛就有二课!",
  32. "poster": ["https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1180478225,661749625&fm=26&gp=0.jpg"],
  33. "messageAttribute": "6",
  34. "messageSource": "3",
  35. "AdditionPoint": ""
  36. },
  37. {
  38. "id": "3",
  39. "publisherAvatar": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608131389634&di=bf796ce931cfbe3befff359069468b0f&imgtype=0&src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_match%2F0%2F162260862%2F0.jpg",
  40. "publisherName": "蓝田文体发展中心",
  41. "publisherID": 2,
  42. "time": "1分钟前",
  43. "title": "紫金新生达人秀|期待你的精彩",
  44. "subTitle": "紫金新生达人秀现面向全校学生开启报名通道,报名即有综素加分,通过初赛就有二课!",
  45. "poster": ["https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1180478225,661749625&fm=26&gp=0.jpg"],
  46. "messageAttribute": "5",
  47. "messageSource": "3",
  48. "AdditionPoint": ""
  49. }
  50. ]
  51. module.exports = {
  52. mainData: json
  53. }