You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

323 lines
7.2 KiB

  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "enablePullDownRefresh": true,
  7. // #ifdef MP
  8. "navigationBarTitleText": "IKEA Internal",
  9. //"navigationStyle": "custom",
  10. // #endif
  11. "app-plus": {
  12. "titleNView": {
  13. "titleText": "IKEA Internal"
  14. //"type": "transparent"
  15. // "searchInput": {
  16. // "backgroundColor": "rgba(231, 231, 231,.7)",
  17. // "borderRadius": "16px",
  18. // "placeholder": "请输入地址 如:大钟寺",
  19. // "disabled": true,
  20. // "placeholderColor": "#606266"
  21. // },
  22. // "buttons": [{
  23. // "fontSrc": "/static/yticon.ttf",
  24. // "text": "\ue60d",
  25. // "fontSize": "26",
  26. // "color": "#303133",
  27. // "float": "left",
  28. // "background": "rgba(0,0,0,0)"
  29. // },
  30. // {
  31. // "fontSrc": "/static/yticon.ttf",
  32. // "text": "\ue744",
  33. // "fontSize": "27",
  34. // "color": "#303133",
  35. // "background": "rgba(0,0,0,0)",
  36. // "redDot": true
  37. // }
  38. // ]
  39. }
  40. }
  41. }
  42. },
  43. {
  44. "path": "pages/product/product",
  45. "style": {
  46. "navigationBarTitleText": "Detail Show",
  47. "enablePullDownRefresh": true,
  48. "app-plus": {
  49. "titleNView": {
  50. "type": "transparent"
  51. }
  52. }
  53. }
  54. }, {
  55. "path": "pages/set/set",
  56. "style": {
  57. "navigationBarTitleText": "Setting"
  58. }
  59. },
  60. {
  61. "path": "pages/userinfo/userinfo",
  62. "style": {
  63. "navigationBarTitleText": "Modify Information"
  64. }
  65. },
  66. {
  67. "path": "pages/cart/cart",
  68. "style": {
  69. "enablePullDownRefresh": true,
  70. "navigationBarTitleText": "Cart"
  71. }
  72. },
  73. {
  74. "path": "pages/public/login",
  75. "style": {
  76. "navigationBarTitleText": "",
  77. "navigationStyle": "custom",
  78. "app-plus": {
  79. "titleNView": false,
  80. "animationType": "slide-in-bottom"
  81. }
  82. }
  83. }, {
  84. "path": "pages/public/register",
  85. "style": {
  86. "navigationBarTitleText": "",
  87. "navigationStyle": "custom",
  88. "app-plus": {
  89. "titleNView": false,
  90. "animationType": "slide-in-bottom"
  91. }
  92. }
  93. }, {
  94. "path": "pages/user/user",
  95. "style": {
  96. "navigationBarTitleText": "My",
  97. // #ifdef MP
  98. "navigationStyle": "custom",
  99. // #endif
  100. "app-plus": {
  101. "bounce": "none",
  102. "titleNView": {
  103. "type": "transparent"
  104. // "buttons": [{
  105. // "fontSrc": "/static/yticon.ttf",
  106. // "text": "\ue60f",
  107. // "fontSize": "24",
  108. // "color": "#303133",
  109. // "width": "46px",
  110. // "background": "rgba(0,0,0,0)"
  111. // },
  112. // {
  113. // "fontSrc": "/static/yticon.ttf",
  114. // "text": "\ue744",
  115. // "fontSize": "28",
  116. // "color": "#303133",
  117. // "background": "rgba(0,0,0,0)",
  118. // "redDot": true
  119. // }
  120. // ]
  121. }
  122. }
  123. }
  124. }, {
  125. "path": "pages/order/order",
  126. "style": {
  127. "navigationBarTitleText": "My Order",
  128. "enablePullDownRefresh": true,
  129. "app-plus": {
  130. "bounce": "none"
  131. }
  132. }
  133. },
  134. {
  135. "path": "pages/order/orderDetail",
  136. "style": {
  137. "enablePullDownRefresh": true,
  138. "navigationBarTitleText": "Order Detail",
  139. "app-plus": {
  140. "bounce": "none",
  141. "titleNView": {
  142. "type": "transparent"
  143. }
  144. }
  145. }
  146. },{
  147. "path": "pages/money/money",
  148. "style": {}
  149. }, {
  150. "path": "pages/order/createOrder",
  151. "style": {
  152. "navigationBarTitleText": "Create Order"
  153. }
  154. }, {
  155. "path": "pages/address/address",
  156. "style": {
  157. "navigationBarTitleText": "Shipping Address"
  158. }
  159. }, {
  160. "path": "pages/address/addressManage",
  161. "style": {
  162. "navigationBarTitleText": ""
  163. }
  164. }, {
  165. "path": "pages/money/pay",
  166. "style": {
  167. "navigationBarTitleText": "Payment"
  168. }
  169. },
  170. {
  171. "path": "pages/money/paySuccess",
  172. "style": {
  173. "navigationBarTitleText": "Pay Success"
  174. }
  175. }
  176. ,{
  177. "path" : "pages/notice/notice",
  178. "style" : {
  179. "navigationBarTitleText": "通知"
  180. }
  181. }
  182. ,{
  183. "path" : "pages/category/category",
  184. "style" : {
  185. "navigationBarTitleText": "Catagory",
  186. "enablePullDownRefresh": true,
  187. "app-plus": {
  188. "bounce": "none"
  189. }
  190. }
  191. }
  192. ,{
  193. "path" : "pages/product/list",
  194. "style" : {
  195. "enablePullDownRefresh": true,
  196. "navigationBarTitleText": "Product List"
  197. }
  198. }
  199. ,{
  200. "path" : "pages/flash/list",
  201. "style" : {
  202. "enablePullDownRefresh": true,
  203. "navigationBarTitleText": "Promotion"
  204. }
  205. },
  206. {
  207. "path" : "pages/favorite/favorite",
  208. "style" : {
  209. "enablePullDownRefresh": true,
  210. "navigationBarTitleText": "My Collection"
  211. }
  212. },
  213. {
  214. "path" : "pages/public/webview",
  215. "style" : {
  216. "enablePullDownRefresh": true,
  217. "navigationBarTitleText": "物流"
  218. }
  219. },
  220. {
  221. "path" : "pages/order/evaluate",
  222. "style" : {
  223. "enablePullDownRefresh": true,
  224. "navigationBarTitleText": "发表评论"
  225. }
  226. },
  227. {
  228. "path" : "pages/order/refund",
  229. "style" : {
  230. "enablePullDownRefresh": true,
  231. "navigationBarTitleText": "申请售后"
  232. }
  233. },
  234. // {
  235. // "path" : "pages/product/evaluate",
  236. // "style" : {
  237. // "enablePullDownRefresh": true,
  238. // "navigationBarTitleText": "评价"
  239. // }
  240. // },
  241. {
  242. "path" : "pages/order/delivery",
  243. "style" : {
  244. "enablePullDownRefresh": false,
  245. "navigationBarTitleText": "运费模板"
  246. }
  247. }
  248. ],
  249. "globalStyle": {
  250. "navigationBarTextStyle": "black",
  251. "navigationBarTitleText": "uni-app",
  252. "navigationBarBackgroundColor": "#FFFFFF",
  253. "backgroundColor": "#f8f8f8"
  254. },
  255. "tabBar": {
  256. "color": "#C0C4CC",
  257. "selectedColor": "#fa436a",
  258. "borderStyle": "black",
  259. "backgroundColor": "#ffffff",
  260. "list": [{
  261. "pagePath": "pages/index/index",
  262. "iconPath": "static/tab-home.png",
  263. "selectedIconPath": "static/tab-home-current.png",
  264. "text": "Home"
  265. },
  266. // {
  267. // "pagePath": "pages/product/list",
  268. // "iconPath": "static/tab-cate.png",
  269. // "selectedIconPath": "static/tab-cate-current.png",
  270. // "text": "Catagory"
  271. // },
  272. {
  273. "pagePath": "pages/cart/cart",
  274. "iconPath": "static/tab-cart.png",
  275. "selectedIconPath": "static/tab-cart-current.png",
  276. "text": "Cart"
  277. },
  278. {
  279. "pagePath": "pages/user/user",
  280. "iconPath": "static/tab-my.png",
  281. "selectedIconPath": "static/tab-my-current.png",
  282. "text": "My"
  283. }
  284. ]
  285. },
  286. "condition" : { //模式配置,仅开发期间生效
  287. "current": 0, //当前激活的模式(list 的索引项)
  288. "list": [
  289. {
  290. "name": "index", //模式名称
  291. "path": "pages/index/index", //启动页面,必选
  292. "query": "" //启动参数,在页面的onLoad函数里面得到
  293. },
  294. {
  295. "name": "comment",
  296. "path": "pages/order/comment",
  297. "query":"order_id=nAyML8YWRXU1O2b&image=/shop/20200315/5507a02e4f1a43c72d8360e4194b42a5.png&title=万里无一万里无一万里无一万里无一万里无一万里无一苹果X&spec=白色"
  298. },
  299. {
  300. "name": "orderDetail",
  301. "path":"pages/order/orderDetail",
  302. "query":"order_id=XDW6kZLJD4ijNEE"
  303. },
  304. {
  305. "name":"orderRefund",
  306. "path":"pages/order/refund",
  307. "query":"order_id=7Rw23P1oW1CyPgO"
  308. },
  309. {
  310. "name":"userinfo",
  311. "path":"pages/userinfo/userinfo",
  312. "query":""
  313. },
  314. {
  315. "name": "deliveryTemplate",
  316. "path":"pages/order/delivery",
  317. "query":""
  318. }
  319. ]
  320. }
  321. }