From 0712c4a190822d41fa33f16268f6e1f83b4add83 Mon Sep 17 00:00:00 2001 From: houdelin Date: Mon, 21 Nov 2016 18:32:13 +0800 Subject: [PATCH] ignore app.js --- .gitignore | 2 +- app.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 app.json diff --git a/.gitignore b/.gitignore index e2cc731..73b021b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .DS_Store *.sublime-workspace -app.json \ No newline at end of file +app.js \ No newline at end of file diff --git a/app.json b/app.json new file mode 100644 index 0000000..b3a7c83 --- /dev/null +++ b/app.json @@ -0,0 +1,40 @@ +{ + "pages":[ + "pages/index/index", + "pages/show_product/show_product", + "pages/address/address", + "pages/cart/cart", + "pages/mine/mine", + "pages/category/category", + "pages/my_assets/index" + ], + "window":{ + "backgroundColor": "#f2f2f2", + "backgroundTextStyle":"light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "巴爷供销社", + "navigationBarTextStyle":"black" + }, + "tabBar": { + "color": "#dddddd", + "selectedColor": "#BF8600", + "borderStyle": "black", + "backgroundColor": "#323232", + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "images/ba.png", + "selectedIconPath": "images/ba_active.png", + "text": "首页" + },{ + "pagePath": "pages/cart/cart", + "iconPath": "images/cart.png", + "selectedIconPath": "images/cart_active.png", + "text": "购物车" + },{ + "pagePath": "pages/mine/mine", + "iconPath": "images/profile.png", + "selectedIconPath": "images/profile_active.png", + "text": "我的" + }] + } +}