uni-app-pages.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?php
  2. return [
  3. 'pages' => <<<EOT
  4. // PAGE_BEGIN
  5. {
  6. "root": "addon/mall",
  7. "pages": [
  8. // *********************************** 商城 ***********************************
  9. {
  10. "path": "pages/index",
  11. "style": {
  12. // #ifndef H5
  13. "navigationStyle": "custom",
  14. // #endif
  15. "navigationBarTitleText": "%shop.pages.index%"
  16. }
  17. },
  18. {
  19. "path": "pages/coupon/list",
  20. "style": {
  21. // #ifndef H5
  22. "navigationStyle": "custom",
  23. // #endif
  24. "navigationBarTitleText": "%mall.pages.coupon.list%"
  25. }
  26. },
  27. {
  28. "path": "pages/coupon/detail",
  29. "style": {
  30. // #ifndef H5
  31. "navigationStyle": "custom",
  32. // #endif
  33. "navigationBarTitleText": "%mall.pages.coupon.detail%"
  34. }
  35. },
  36. {
  37. "path": "pages/evaluate/list",
  38. "style": {
  39. "navigationBarTitleText": "%mall.pages.evaluate.list%"
  40. }
  41. },
  42. {
  43. "path": "pages/evaluate/order_evaluate",
  44. "style": {
  45. "navigationBarTitleText": "%mall.pages.evaluate.order_evaluate%"
  46. }
  47. },
  48. {
  49. "path": "pages/evaluate/order_evaluate_view",
  50. "style": {
  51. "navigationBarTitleText": "%mall.pages.evaluate.order_evaluate_view%"
  52. }
  53. },
  54. {
  55. "path": "pages/member/index",
  56. "style": {
  57. // #ifndef H5
  58. "navigationStyle": "custom",
  59. // #endif
  60. "navigationBarTitleText": "%mall.pages.member.index%"
  61. }
  62. },
  63. {
  64. "path": "pages/member/my_coupon",
  65. "style": {
  66. "navigationBarTitleText": "%mall.pages.member.my_coupon%"
  67. },
  68. "needLogin": true
  69. },
  70. {
  71. "path": "pages/member/browse",
  72. "style": {
  73. "navigationBarTitleText": "%mall.pages.member.browse%"
  74. },
  75. "needLogin": true
  76. },
  77. {
  78. "path": "pages/member/merchant_settled",
  79. "style": {
  80. // #ifndef H5
  81. "navigationStyle": "custom",
  82. // #endif
  83. "navigationBarTitleText": "%mall.pages.member.merchant_settled%"
  84. },
  85. "needLogin": true
  86. },
  87. {
  88. "path": "pages/member/merchant_record",
  89. "style": {
  90. "navigationBarTitleText": "%mall.pages.member.merchant_record%"
  91. },
  92. "needLogin": true
  93. },
  94. {
  95. "path": "pages/goods/search",
  96. "style": {
  97. "navigationBarTitleText": "%mall.pages.goods.search%"
  98. }
  99. },
  100. {
  101. "path": "pages/goods/list",
  102. "style": {
  103. "navigationBarTitleText": "%mall.pages.goods.list%"
  104. }
  105. },
  106. {
  107. "path": "pages/goods/rank",
  108. "style": {
  109. // #ifndef H5
  110. "navigationStyle": "custom",
  111. // #endif
  112. "navigationBarTitleText": "%shop.pages.goods.rank%"
  113. }
  114. },
  115. {
  116. "path": "pages/goods/detail",
  117. "style": {
  118. "navigationBarTitleText": "%mall.pages.goods.detail%",
  119. "navigationStyle": "custom"
  120. }
  121. },
  122. {
  123. "path": "pages/goods/cart",
  124. "style": {
  125. "navigationBarTitleText": "%mall.pages.goods.cart%"
  126. }
  127. },
  128. {
  129. "path": "pages/goods/category",
  130. "style": {
  131. "navigationBarTitleText": "%mall.pages.goods.category%"
  132. }
  133. },
  134. {
  135. "path": "pages/collect/goods",
  136. "style": {
  137. "navigationBarTitleText": "%mall.pages.collect.goods%"
  138. },
  139. "needLogin": true
  140. },
  141. {
  142. "path": "pages/collect/shop",
  143. "style": {
  144. "navigationBarTitleText": "%mall.pages.collect.shop%"
  145. },
  146. "needLogin": true
  147. },
  148. {
  149. "path": "pages/invoice/list",
  150. "style": {
  151. "navigationBarTitleText": "%mall.pages.invoice.list%"
  152. },
  153. "needLogin": true
  154. },
  155. {
  156. "path": "pages/invoice/detail",
  157. "style": {
  158. "navigationBarTitleText": "%mall.pages.invoice.detail%"
  159. },
  160. "needLogin": true
  161. },
  162. {
  163. "path": "pages/shop/list",
  164. "style": {
  165. "navigationBarTitleText": "%mall.pages.shop.list%"
  166. }
  167. },
  168. {
  169. "path": "pages/shop/detail",
  170. "style": {
  171. "navigationBarTitleText": "%mall.pages.shop.detail%"
  172. }
  173. },
  174. {
  175. "path": "pages/order/detail",
  176. "style": {
  177. // #ifndef H5
  178. "navigationStyle": "custom",
  179. // #endif
  180. "navigationBarTitleText": "%mall.pages.order.detail%"
  181. },
  182. "needLogin": true
  183. },
  184. {
  185. "path": "pages/order/list",
  186. "style": {
  187. "navigationBarTitleText": "%mall.pages.order.list%"
  188. },
  189. "needLogin": true
  190. },
  191. {
  192. "path": "pages/order/payment",
  193. "style": {
  194. "navigationBarTitleText": "%mall.pages.order.payment%"
  195. },
  196. "needLogin": true
  197. },
  198. {
  199. "path": "pages/refund/apply",
  200. "style": {
  201. "navigationBarTitleText": "%mall.pages.refund.apply%"
  202. },
  203. "needLogin": true
  204. },
  205. {
  206. "path": "pages/refund/edit_apply",
  207. "style": {
  208. "navigationBarTitleText": "%mall.pages.refund.edit_apply%"
  209. },
  210. "needLogin": true
  211. },
  212. {
  213. "path": "pages/refund/list",
  214. "style": {
  215. "navigationBarTitleText": "%mall.pages.refund.list%"
  216. },
  217. "needLogin": true
  218. },
  219. {
  220. "path": "pages/refund/detail",
  221. "style": {
  222. "navigationBarTitleText": "%mall.pages.refund.detail%"
  223. },
  224. "needLogin": true
  225. },
  226. {
  227. "path": "pages/refund/log",
  228. "style": {
  229. "navigationBarTitleText": "%mall.pages.refund.log%"
  230. },
  231. "needLogin": true
  232. }
  233. ]
  234. },
  235. // PAGE_END
  236. EOT
  237. ];