Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

322 wiersze
7.2 KiB

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