pages.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/home/home",
  5. "style": {
  6. // "navigationStyle": "custom",
  7. "backgroundColorTop": "#ff5d5b",
  8. "backgroundColorBottom": "#F8F8F8",
  9. // "navigationBarTitleText": "",
  10. "app-plus": {
  11. "titleNView": {
  12. // "backgroundImage": "./static/images/search.png",
  13. "searchInput": {
  14. "backgroundColor": "rgba(255,255,255,1)",
  15. "borderRadius": "16px", //输入框圆角
  16. "placeholder": "粘贴宝贝标题",
  17. "disabled": true //disable时点击输入框不置焦,可以跳到新页面搜索
  18. },
  19. "buttons": [{
  20. "text": "\ue847",
  21. "fontSrc": "/static/uni.ttf",
  22. "width": "auto",
  23. "fontSize": "22px"
  24. }]
  25. }
  26. }
  27. }
  28. }, {
  29. "path": "pages/index/index",
  30. "style": {
  31. "bounce": "none",
  32. "navigationStyle": "custom"
  33. }
  34. },
  35. {
  36. "path": "pages/order/order",
  37. "style": {
  38. "navigationBarTitleText": "订单管理",
  39. "enablePullDownRefresh": false
  40. }
  41. }, {
  42. "path": "pages/order/back-order",
  43. "style": {
  44. "navigationBarTitleText": "待发货",
  45. "enablePullDownRefresh": true
  46. }
  47. }, {
  48. "path": "pages/user/user-center",
  49. "style": {
  50. "navigationBarTitleText": "我的",
  51. "enablePullDownRefresh": false,
  52. "backgroundColorTop": "#ff5d5b",
  53. "app-plus": {
  54. "titleNView": {
  55. "buttons": [{
  56. "text": "\ue532",
  57. "fontSrc": "/static/uni.ttf",
  58. "width": "auto",
  59. "fontSize": "24px"
  60. },
  61. {
  62. "text": "\ue847",
  63. "fontSrc": "/static/uni.ttf",
  64. "width": "auto",
  65. "fontSize": "22px"
  66. }
  67. ]
  68. }
  69. }
  70. }
  71. }, {
  72. "path": "pages/shopping-cart/shopping-cart",
  73. "style": {
  74. "navigationBarTitleText": "购物车",
  75. "enablePullDownRefresh": false
  76. }
  77. }, {
  78. "path": "pages/user/login",
  79. "style": {
  80. "navigationBarTitleText": "登录",
  81. "enablePullDownRefresh": false,
  82. "navigationBarBackgroundColor": "#ff5d5b",
  83. "backgroundColor": "#ff5d5b"
  84. }
  85. }, {
  86. "path": "pages/user/find-pass",
  87. "style": {
  88. "navigationBarTitleText": "找回密码",
  89. "enablePullDownRefresh": false,
  90. "backgroundColor": "#ff5d5b"
  91. }
  92. }, {
  93. "path": "pages/register/step1",
  94. "style": {
  95. "navigationBarTitleText": "第一步",
  96. "enablePullDownRefresh": false,
  97. "backgroundColor": "#ff5d5b"
  98. }
  99. }, {
  100. "path": "pages/register/step2",
  101. "style": {
  102. "navigationBarTitleText": "第二步",
  103. "enablePullDownRefresh": false,
  104. "backgroundColor": "#ff5d5b"
  105. }
  106. }, {
  107. "path": "pages/register/step3",
  108. "style": {
  109. "navigationBarTitleText": "注册",
  110. "enablePullDownRefresh": false,
  111. "backgroundColor": "#ff5d5b"
  112. }
  113. }, {
  114. "path": "pages/user/simple-article",
  115. "style": {
  116. "navigationBarTitleText": "",
  117. "enablePullDownRefresh": false
  118. }
  119. }, {
  120. "path": "pages/user/vcode-login",
  121. "style": {
  122. "navigationBarTitleText": "登录",
  123. "enablePullDownRefresh": false,
  124. "navigationBarBackgroundColor": "#ff5d5b",
  125. "backgroundColor": "#ff5d5b"
  126. }
  127. }, {
  128. "path": "pages/user/setting",
  129. "style": {
  130. "navigationBarTitleText": "设置",
  131. "enablePullDownRefresh": false,
  132. "backgroundColorTop": "#ff5d5b"
  133. }
  134. }, {
  135. "path": "pages/message/message",
  136. "style": {
  137. "navigationBarTitleText": "消息",
  138. "enablePullDownRefresh": false
  139. }
  140. }, {
  141. "path": "pages/product/product-details",
  142. "style": {
  143. "navigationBarTitleText": "商品详情",
  144. "enablePullDownRefresh": false
  145. }
  146. },
  147. {
  148. "path": "pages/product/my-product",
  149. "style": {
  150. "navigationBarTitleText": "我的商品",
  151. "enablePullDownRefresh": true
  152. }
  153. }, {
  154. "path": "pages/product/my-product-tabbar",
  155. "style": {
  156. "navigationBarTitleText": "我的商品",
  157. "enablePullDownRefresh": true
  158. }
  159. }, {
  160. "path": "pages/product/product-edit",
  161. "style": {
  162. "navigationBarTitleText": "发布商品",
  163. "enablePullDownRefresh": false
  164. }
  165. }, {
  166. "path": "pages/order/order-details",
  167. "style": {
  168. "navigationBarTitleText": "订单详情",
  169. "enablePullDownRefresh": false
  170. }
  171. }, {
  172. "path": "pages/user/notice",
  173. "style": {
  174. "navigationBarTitleText": "官方公告",
  175. "enablePullDownRefresh": false
  176. }
  177. }, {
  178. "path": "pages/user/strategy",
  179. "style": {
  180. "navigationBarTitleText": "新手攻略",
  181. "enablePullDownRefresh": false
  182. }
  183. }, {
  184. "path": "pages/user/problem",
  185. "style": {
  186. "navigationBarTitleText": "常见问题",
  187. "enablePullDownRefresh": false
  188. }
  189. }, {
  190. "path": "pages/user/kefu",
  191. "style": {
  192. "navigationBarTitleText": "联系客服",
  193. "backgroundColorTop": "#ff5d5b",
  194. "enablePullDownRefresh": false
  195. }
  196. }, {
  197. "path": "pages/user/feedback",
  198. "style": {
  199. "navigationBarTitleText": "意见反馈",
  200. "enablePullDownRefresh": false,
  201. "backgroundColorTop": "#ff5d5b"
  202. }
  203. }, {
  204. "path": "pages/home/camera",
  205. "style": {
  206. "navigationBarTitleText": "扫一扫",
  207. "enablePullDownRefresh": false
  208. }
  209. }, {
  210. "path": "pages/order/cashier",
  211. "style": {
  212. "navigationBarTitleText": "收银台",
  213. "enablePullDownRefresh": false
  214. }
  215. }, {
  216. "path": "pages/user/withdraw",
  217. "style": {
  218. "navigationBarTitleText": "提现",
  219. "enablePullDownRefresh": false
  220. }
  221. }, {
  222. "path": "pages/user/bind-alipay",
  223. "style": {
  224. "navigationBarTitleText": "绑定支付宝",
  225. "enablePullDownRefresh": false
  226. }
  227. }, {
  228. "path": "pages/user/nickname",
  229. "style": {
  230. "navigationBarTitleText": "修改昵称",
  231. "enablePullDownRefresh": false
  232. }
  233. }, {
  234. "path": "pages/user/collection",
  235. "style": {
  236. "navigationBarTitleText": "我的收藏",
  237. "enablePullDownRefresh": true
  238. }
  239. }, {
  240. "path": "pages/user/safe-pass",
  241. "style": {
  242. "navigationBarTitleText": "设置",
  243. "enablePullDownRefresh": false
  244. }
  245. }, {
  246. "path": "pages/user/reset-pass",
  247. "style": {
  248. "navigationBarTitleText": "设置",
  249. "enablePullDownRefresh": false
  250. }
  251. }, {
  252. "path": "pages/user/money-log",
  253. "style": {
  254. "navigationBarTitleText": "账单明细",
  255. "enablePullDownRefresh": false
  256. }
  257. }, {
  258. "path": "pages/home/search",
  259. "style": {
  260. "navigationBarTitleText": "",
  261. "enablePullDownRefresh": false,
  262. "app-plus": {
  263. "titleNView": {
  264. // "backgroundImage": "./static/images/search.png",
  265. "searchInput": {
  266. "backgroundColor": "rgba(255,255,255,1)",
  267. "borderRadius": "16px", //输入框圆角
  268. "placeholder": "粘贴宝贝标题",
  269. "disabled": false //disable时点击输入框不置焦,可以跳到新页面搜索
  270. },
  271. "buttons": [{
  272. "text": "搜索",
  273. "width": "auto",
  274. "fontSize": "14px"
  275. }]
  276. }
  277. }
  278. }
  279. }
  280. ,{
  281. "path" : "pages/user/agent",
  282. "style" :
  283. {
  284. "navigationBarTitleText": "代理会员中心",
  285. "enablePullDownRefresh": false
  286. }
  287. }
  288. ],
  289. "globalStyle": {
  290. "navigationBarTextStyle": "white",
  291. "navigationBarTitleText": "省心直供",
  292. "navigationBarBackgroundColor": "#ff5d5b",
  293. "backgroundColor": "#F8F8F8"
  294. },
  295. "tabBar": {
  296. "color": "#7A7E83",
  297. "selectedColor": "#ff5d5b",
  298. "borderStyle": "black",
  299. "backgroundColor": "#ffffff",
  300. "height": "44px",
  301. "iconWidth": "20px",
  302. "midButton": {
  303. "iconPath": "static/images/camera.png",
  304. "iconWidth": "36px",
  305. "height": "40px"
  306. },
  307. "list": [{
  308. "pagePath": "pages/home/home",
  309. "iconPath": "static/images/home.png",
  310. "selectedIconPath": "static/images/home_selected.png",
  311. "text": "首页"
  312. }, {
  313. "pagePath": "pages/order/back-order",
  314. "iconPath": "static/images/qiang.png",
  315. "selectedIconPath": "static/images/qiang_selected.png",
  316. "text": "待发货"
  317. }, {
  318. "pagePath": "pages/shopping-cart/shopping-cart",
  319. "iconPath": "static/images/kan.png",
  320. "selectedIconPath": "static/images/kan_selected.png",
  321. "text": "购物车"
  322. }, {
  323. "pagePath": "pages/user/user-center",
  324. "iconPath": "static/images/user.png",
  325. "selectedIconPath": "static/images/user_selected.png",
  326. "text": "我的"
  327. }]
  328. },
  329. "condition": { //模式配置,仅开发期间生效
  330. "current": 0, //当前激活的模式(list 的索引项)
  331. "list": [{
  332. "name": "", //模式名称
  333. "path": "", //启动页面,必选
  334. "query": "" //启动参数,在页面的onLoad函数里面得到
  335. }]
  336. }
  337. }