predef_query.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. {
  2. "result": 2,
  3. "table_title":"Resutl Title",
  4. "menu": [
  5. {
  6. "title": "Export 1",
  7. "action": "download",
  8. "url": "xxx"
  9. },
  10. {
  11. "title": "Export 2",
  12. "action": "download",
  13. "url": "xxx"
  14. },
  15. {
  16. "title": "Save",
  17. "action": "save"
  18. }
  19. ],
  20. "row_action": [
  21. {
  22. "title": "demo title",
  23. "module0": "quick_look",
  24. "module1": "kv_detail",
  25. "module": "order_detail",
  26. "url": "http://1.1.1.1",
  27. "params": {
  28. "order#": 0
  29. }
  30. }
  31. ],
  32. "data": {
  33. "count": 17,
  34. "item_0": [
  35. "<b></b>",
  36. "<b>def</b>",
  37. "$ 123.45",
  38. "43",
  39. "metal table with 4 chairs"
  40. ],
  41. "item_1": [
  42. "2",
  43. "315318",
  44. "$ 99.49",
  45. "13",
  46. "WOOD table with 4 chairs"
  47. ],
  48. "item_2": [
  49. "3",
  50. "7033566",
  51. "$ 13.45",
  52. "57",
  53. "bed"
  54. ],
  55. "item_3": [
  56. "4",
  57. "8533-UVR",
  58. "$ 1123.45",
  59. "143",
  60. "<b>Desk</b> & chair UILongPressGestureRecognizer *longPress"
  61. ],
  62. "item_4": [
  63. "1",
  64. "8533-UPK",
  65. "$ 123.45",
  66. "43",
  67. "metal table with 4 chairs"
  68. ],
  69. "item_5": [
  70. "2",
  71. "315318",
  72. "$ 99.49",
  73. "13",
  74. "WOOD table with 4 chairs"
  75. ],
  76. "item_6": [
  77. "3",
  78. "7033566",
  79. "$ 13.45",
  80. "57",
  81. "bed"
  82. ],
  83. "item_7": [
  84. "4",
  85. "8533-UVR",
  86. "$ 1123.45",
  87. "143",
  88. "Desk & chair UILongPressGestureRecognizer *longPress"
  89. ],
  90. "item_8": [
  91. "1",
  92. "8533-UPK",
  93. "$ 123.45",
  94. "43",
  95. "metal table with 4 chairs"
  96. ],
  97. "item_9": [
  98. "2",
  99. "315318",
  100. "$ 99.49",
  101. "13",
  102. "WOOD table with 4 chairs"
  103. ],
  104. "item_10": [
  105. "3",
  106. "7033566",
  107. "$ 13.45",
  108. "57",
  109. "bed"
  110. ],
  111. "item_11": [
  112. "1",
  113. "8533-UPK",
  114. "$ 123.45",
  115. "43",
  116. "metal table with 4 chairs"
  117. ],
  118. "item_12": [
  119. "2",
  120. "315318",
  121. "$ 99.49",
  122. "13",
  123. "WOOD table with 4 chairs"
  124. ],
  125. "item_13": [
  126. "3",
  127. "7033566",
  128. "$ 13.45",
  129. "57",
  130. "bed"
  131. ],
  132. "item_14": [
  133. "1",
  134. "8533-UPK",
  135. "$ 123.45",
  136. "43",
  137. "metal table with 4 chairs"
  138. ],
  139. "item_15": [
  140. "2",
  141. "315318",
  142. "$ 99.49",
  143. "13",
  144. "WOOD table with 4 chairs"
  145. ],
  146. "item_16": [
  147. "3",
  148. "7033566",
  149. "$ 13.45",
  150. "57",
  151. "bed"
  152. ]
  153. },
  154. "layout": {
  155. "header": {
  156. "width": 810,
  157. "height": 44,
  158. "margin_r": 10,
  159. "margin_l": 10,
  160. "margin_t": 10,
  161. "margin_b": 10,
  162. "bg_color": "0x123456",
  163. "f_color": "0x987654",
  164. "col": [
  165. {
  166. "width": 100,
  167. "name": "id",
  168. "h_align": "center",
  169. "v_center": "center",
  170. "bg_color": "0x123456",
  171. "f_color": "0x654321"
  172. },
  173. {
  174. "width": 160,
  175. "name": "model",
  176. "h_align": "center",
  177. "v_center": "center",
  178. "bg_color": "0x123456",
  179. "f_color": "0x654321"
  180. },
  181. {
  182. "width": 180,
  183. "name": "price",
  184. "h_align": "center",
  185. "v_center": "center",
  186. "bg_color": "0x123456",
  187. "f_color": "0x654321"
  188. },
  189. {
  190. "width": 120,
  191. "name": "stock",
  192. "h_align": "center",
  193. "v_center": "center",
  194. "bg_color": "0x123456",
  195. "f_color": "0x654321"
  196. },
  197. {
  198. "width": 250,
  199. "name": "description",
  200. "h_align": "center",
  201. "v_center": "center",
  202. "bg_color": "0x123456",
  203. "f_color": "0x654321"
  204. }
  205. ]
  206. },
  207. "row": {
  208. "height": 44,
  209. "f_color": "0x654321",
  210. "color_0": "0xffffff",
  211. "color_1": "0x666666",
  212. "val": [
  213. {
  214. "type": "image",
  215. "h_align": "center",
  216. "v_center": "center",
  217. "bg_color": "0x123456",
  218. "f_color": "0x654321"
  219. },
  220. {
  221. "type": "text",
  222. "h_align": "center",
  223. "v_center": "center",
  224. "bg_color": "0x123456",
  225. "f_color": "0x654321"
  226. },
  227. {
  228. "type": "text",
  229. "h_align": "center",
  230. "v_center": "center",
  231. "bg_color": "0x123456",
  232. "f_color": "0x654321"
  233. },
  234. {
  235. "type": "text",
  236. "h_align": "center",
  237. "v_center": "center",
  238. "bg_color": "0x123456",
  239. "f_color": "0x654321"
  240. },
  241. {
  242. "type": "text",
  243. "h_align": "center",
  244. "v_center": "center",
  245. "bg_color": "0x123456",
  246. "f_color": "0x654321"
  247. }
  248. ]
  249. }
  250. }
  251. }