pages.json 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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. "app-plus": {
  85. "popGesture": "none",
  86. "titleNView": {
  87. "autoBackButton": false
  88. }
  89. }
  90. }
  91. }, {
  92. "path": "pages/user/find-pass",
  93. "style": {
  94. "navigationBarTitleText": "找回密码",
  95. "enablePullDownRefresh": false,
  96. "backgroundColor": "#ff5d5b"
  97. }
  98. }, {
  99. "path": "pages/register/step1",
  100. "style": {
  101. "navigationBarTitleText": "第一步",
  102. "enablePullDownRefresh": false,
  103. "backgroundColor": "#ff5d5b"
  104. }
  105. }, {
  106. "path": "pages/register/step2",
  107. "style": {
  108. "navigationBarTitleText": "第二步",
  109. "enablePullDownRefresh": false,
  110. "backgroundColor": "#ff5d5b"
  111. }
  112. }, {
  113. "path": "pages/register/step3",
  114. "style": {
  115. "navigationBarTitleText": "注册",
  116. "enablePullDownRefresh": false,
  117. "backgroundColor": "#ff5d5b"
  118. }
  119. }, {
  120. "path": "pages/user/simple-article",
  121. "style": {
  122. "navigationBarTitleText": "",
  123. "enablePullDownRefresh": false
  124. }
  125. }, {
  126. "path": "pages/user/vcode-login",
  127. "style": {
  128. "navigationBarTitleText": "登录",
  129. "enablePullDownRefresh": false,
  130. "navigationBarBackgroundColor": "#ff5d5b",
  131. "backgroundColor": "#ff5d5b"
  132. }
  133. }, {
  134. "path": "pages/user/setting",
  135. "style": {
  136. "navigationBarTitleText": "设置",
  137. "enablePullDownRefresh": false,
  138. "backgroundColorTop": "#ff5d5b"
  139. }
  140. }, {
  141. "path": "pages/message/message",
  142. "style": {
  143. "navigationBarTitleText": "消息",
  144. "enablePullDownRefresh": false
  145. }
  146. }, {
  147. "path": "pages/product/product-details",
  148. "style": {
  149. "navigationBarTitleText": "商品详情",
  150. "enablePullDownRefresh": false
  151. }
  152. },
  153. {
  154. "path": "pages/product/my-product",
  155. "style": {
  156. "navigationBarTitleText": "我的商品",
  157. "enablePullDownRefresh": true
  158. }
  159. }, {
  160. "path": "pages/product/my-product-tabbar",
  161. "style": {
  162. "navigationBarTitleText": "我的商品",
  163. "enablePullDownRefresh": true
  164. }
  165. }, {
  166. "path": "pages/product/product-edit",
  167. "style": {
  168. "navigationBarTitleText": "发布商品",
  169. "enablePullDownRefresh": false
  170. }
  171. }, {
  172. "path": "pages/order/order-details",
  173. "style": {
  174. "navigationBarTitleText": "订单详情",
  175. "enablePullDownRefresh": false
  176. }
  177. }, {
  178. "path": "pages/user/notice",
  179. "style": {
  180. "navigationBarTitleText": "官方公告",
  181. "enablePullDownRefresh": false
  182. }
  183. }, {
  184. "path": "pages/user/strategy",
  185. "style": {
  186. "navigationBarTitleText": "新手攻略",
  187. "enablePullDownRefresh": false
  188. }
  189. }, {
  190. "path": "pages/user/problem",
  191. "style": {
  192. "navigationBarTitleText": "常见问题",
  193. "enablePullDownRefresh": false
  194. }
  195. }, {
  196. "path": "pages/user/kefu",
  197. "style": {
  198. "navigationBarTitleText": "联系客服",
  199. "backgroundColorTop": "#ff5d5b",
  200. "enablePullDownRefresh": false
  201. }
  202. }, {
  203. "path": "pages/user/feedback",
  204. "style": {
  205. "navigationBarTitleText": "意见反馈",
  206. "enablePullDownRefresh": false,
  207. "backgroundColorTop": "#ff5d5b"
  208. }
  209. }, {
  210. "path": "pages/home/camera",
  211. "style": {
  212. "navigationBarTitleText": "扫一扫",
  213. "enablePullDownRefresh": false
  214. }
  215. }, {
  216. "path": "pages/order/cashier",
  217. "style": {
  218. "navigationBarTitleText": "收银台",
  219. "enablePullDownRefresh": false
  220. }
  221. }, {
  222. "path": "pages/user/withdraw",
  223. "style": {
  224. "navigationBarTitleText": "提现",
  225. "enablePullDownRefresh": false
  226. }
  227. }, {
  228. "path": "pages/user/bind-alipay",
  229. "style": {
  230. "navigationBarTitleText": "绑定支付宝",
  231. "enablePullDownRefresh": false
  232. }
  233. }, {
  234. "path": "pages/user/nickname",
  235. "style": {
  236. "navigationBarTitleText": "修改昵称",
  237. "enablePullDownRefresh": false
  238. }
  239. }, {
  240. "path": "pages/user/collection",
  241. "style": {
  242. "navigationBarTitleText": "我的收藏",
  243. "enablePullDownRefresh": true
  244. }
  245. }, {
  246. "path": "pages/user/safe-pass",
  247. "style": {
  248. "navigationBarTitleText": "设置",
  249. "enablePullDownRefresh": false,
  250. "backgroundColorTop": "#ff5d5b"
  251. }
  252. }, {
  253. "path": "pages/user/reset-pass",
  254. "style": {
  255. "navigationBarTitleText": "设置",
  256. "enablePullDownRefresh": false
  257. }
  258. }, {
  259. "path": "pages/user/money-log",
  260. "style": {
  261. "navigationBarTitleText": "账单明细",
  262. "enablePullDownRefresh": false
  263. }
  264. }, {
  265. "path": "pages/home/search",
  266. "style": {
  267. "navigationBarTitleText": "",
  268. "enablePullDownRefresh": false,
  269. "app-plus": {
  270. "titleNView": {
  271. // "backgroundImage": "./static/images/search.png",
  272. "searchInput": {
  273. "backgroundColor": "rgba(255,255,255,1)",
  274. "borderRadius": "16px", //输入框圆角
  275. "placeholder": "粘贴宝贝标题",
  276. "disabled": false //disable时点击输入框不置焦,可以跳到新页面搜索
  277. },
  278. "buttons": [{
  279. "text": "搜索",
  280. "width": "auto",
  281. "fontSize": "14px"
  282. }]
  283. }
  284. }
  285. }
  286. }, {
  287. "path": "pages/user/agent",
  288. "style": {
  289. "navigationBarTitleText": "代理会员中心",
  290. "enablePullDownRefresh": false
  291. }
  292. }, {
  293. "path": "pages/order/deposit",
  294. "style": {
  295. "navigationBarTitleText": "缴纳保证金",
  296. "enablePullDownRefresh": false
  297. }
  298. }
  299. ,{
  300. "path" : "pages/user/user-profit",
  301. "style" :
  302. {
  303. "navigationBarTitleText": "收益",
  304. "enablePullDownRefresh": false
  305. }
  306. }
  307. ,{
  308. "path" : "pages/user/invitation-list",
  309. "style" :
  310. {
  311. "navigationBarTitleText": "粉丝",
  312. "enablePullDownRefresh": false
  313. }
  314. }
  315. ,{
  316. "path" : "pages/user/invite",
  317. "style" :
  318. {
  319. "navigationBarTitleText": "邀请",
  320. "enablePullDownRefresh": false
  321. }
  322. }
  323. ],
  324. "globalStyle": {
  325. "navigationBarTextStyle": "white",
  326. "navigationBarTitleText": "省心直供",
  327. "navigationBarBackgroundColor": "#ff5d5b",
  328. "backgroundColor": "#F8F8F8"
  329. },
  330. "tabBar": {
  331. "color": "#7A7E83",
  332. "selectedColor": "#ff5d5b",
  333. "borderStyle": "black",
  334. "backgroundColor": "#ffffff",
  335. "height": "44px",
  336. "iconWidth": "20px",
  337. "midButton": {
  338. "iconPath": "static/images/camera.png",
  339. "iconWidth": "36px",
  340. "height": "40px"
  341. },
  342. "list": [{
  343. "pagePath": "pages/home/home",
  344. "iconPath": "static/images/home.png",
  345. "selectedIconPath": "static/images/home_selected.png",
  346. "text": "首页"
  347. }, {
  348. "pagePath": "pages/order/back-order",
  349. "iconPath": "static/images/qiang.png",
  350. "selectedIconPath": "static/images/qiang_selected.png",
  351. "text": "待发货"
  352. }, {
  353. "pagePath": "pages/shopping-cart/shopping-cart",
  354. "iconPath": "static/images/kan.png",
  355. "selectedIconPath": "static/images/kan_selected.png",
  356. "text": "购物车"
  357. }, {
  358. "pagePath": "pages/user/user-center",
  359. "iconPath": "static/images/user.png",
  360. "selectedIconPath": "static/images/user_selected.png",
  361. "text": "我的"
  362. }]
  363. },
  364. "condition": { //模式配置,仅开发期间生效
  365. "current": 0, //当前激活的模式(list 的索引项)
  366. "list": [{
  367. "name": "", //模式名称
  368. "path": "", //启动页面,必选
  369. "query": "" //启动参数,在页面的onLoad函数里面得到
  370. }]
  371. }
  372. }