homepage.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "result": 1,
  3. "count": 5,
  4. "view_0": {
  5. "type": "slideview",
  6. "count": 2,
  7. "item_0": {
  8. "pic_url": "http://127.0.0.1/photo1.jpg",
  9. "action": "detail",
  10. "id": "1234567"
  11. },
  12. "item_1": {
  13. "pic_url": "http://127.0.0.1/photo2.jpg",
  14. "action": "category",
  15. "id": "1234567",
  16. "filter":"..."
  17. },
  18. "item_2": {
  19. "pic_url": "http://127.0.0.1/photo3.jpg",
  20. "action": "detail",
  21. "id": "1234567"
  22. },
  23. "item_3": {
  24. "pic_url": "http://127.0.0.1/photo4.jpg",
  25. "action": "detail",
  26. "id": "1234567"
  27. },
  28. "item_4": {
  29. "pic_url": "http://127.0.0.1/photo5.jpg",
  30. "action": "category",
  31. "id": "1234567",
  32. "filter":"..."
  33. }
  34. },
  35. "view_1": {
  36. "width":768,
  37. "height":300,
  38. "type": "banner",
  39. "description": "Sample description",
  40. "img": "http://127.0.0.1/s1.jpg",
  41. "action": "detail",
  42. "id": "1234567"
  43. },
  44. "view_2": {
  45. "width":768,
  46. "height":300,
  47. "type": "banner",
  48. "description": "Sample description",
  49. "img": "http://127.0.0.1/s1.jpg",
  50. "action": "category",
  51. "id": "1234567",
  52. "filter":"..."
  53. },
  54. "view_3": {
  55. "type": "topicview",
  56. "item_count": 8,
  57. "title": "New!",
  58. "item_0": {
  59. "description": "Sample description",
  60. "img": "http://127.0.0.1/s1.jpg",
  61. "old_price": "$123",
  62. "price": "$12",
  63. "action": "detail",
  64. "id": "1234567"
  65. },
  66. "item_1": {
  67. "description": "test",
  68. "img": "http://127.0.0.1/s2.jpg",
  69. "old_price": "$234",
  70. "price": "$123",
  71. "action": "detail",
  72. "id": "1234567"
  73. },
  74. "item_2": {
  75. "description": "name1",
  76. "img": "http://127.0.0.1/s3.jpg",
  77. "old_price": "",
  78. "price": "$234",
  79. "action": "detail",
  80. "id": "1234567"
  81. },
  82. "item_3": {
  83. "description": "abc",
  84. "img": "http://127.0.0.1/s4.jpg",
  85. "old_price": "$345",
  86. "price": "$345",
  87. "action": "detail",
  88. "id": "1234567"
  89. },
  90. "item_4": {
  91. "description": "ddddddd",
  92. "img": "http://127.0.0.1/s5.jpg",
  93. "old_price": "",
  94. "price": "$456",
  95. "action": "detail",
  96. "id": "1234567"
  97. },
  98. "item_5": {
  99. "description": "blablabla",
  100. "img": "http://127.0.0.1/s6.jpg",
  101. "old_price": "$456",
  102. "price": "$126",
  103. "action": "detail",
  104. "id": "1234567"
  105. },
  106. "item_6": {
  107. "description": "name6",
  108. "img": "http://127.0.0.1/s7.jpg",
  109. "old_price": "$567",
  110. "price": "$213",
  111. "action": "detail",
  112. "id": "1234567"
  113. },
  114. "item_7": {
  115. "description": "abcdefg",
  116. "img": "http://127.0.0.1/s8.jpg",
  117. "old_price": "$678",
  118. "price": "$767",
  119. "action": "detail",
  120. "id": "1234567"
  121. }
  122. },
  123. "view_4": {
  124. "type": "topicview",
  125. "item_count": 4,
  126. "title": "Hot!",
  127. "item_0": {
  128. "description": "",
  129. "img": "http://127.0.0.1/s9.jpg",
  130. "old_price": "$123",
  131. "price": "$12",
  132. "action": "detail",
  133. "id": "1234567"
  134. },
  135. "item_1": {
  136. "description": "",
  137. "img": "http://127.0.0.1/s10.jpg",
  138. "old_price": "$234",
  139. "price": "$123",
  140. "action": "detail",
  141. "id": "1234567"
  142. },
  143. "item_2": {
  144. "description": "",
  145. "img": "http://127.0.0.1/s11.jpg",
  146. "old_price": "",
  147. "price": "$234",
  148. "action": "detail",
  149. "id": "1234567"
  150. },
  151. "item_3": {
  152. "description": "",
  153. "img": "http://127.0.0.1/s12.jpg",
  154. "old_price": "$345",
  155. "price": "$345",
  156. "action": "detail",
  157. "id": "1234567"
  158. }
  159. }
  160. }