diff --git a/pages.json b/pages.json index 87a52fb..6e55aad 100644 --- a/pages.json +++ b/pages.json @@ -5,152 +5,164 @@ // } // }, "pages": [{ - "path": "pages/login", - "style": { - "navigationBarTitleText": "登录", - "navigationStyle": "custom" - } - }, { - "path": "pages/work/land/index", - "style": { - "navigationBarTitleText": "地块管理", - "enablePullDownRefresh": false, - "app-plus": { - "titleNView": { - "buttons": [{ - "text": "\ue67b", - "color": "#333", - "fontSrc": "/static/font/uniicons.ttf", - "fontSize": "24px" - }] + "path": "pages/login", + "style": { + "navigationBarTitleText": "登录", + "navigationStyle": "custom" + } + }, { + "path": "pages/index", + "style": { + "navigationBarTitleText": "田间", + "navigationStyle": "custom" + } + }, { + "path": "pages/map/index", + "style": { + "navigationBarTitleText": "地图" + } + }, { + "path": "pages/irrigation/index", + "style": { + "navigationBarTitleText": "轮灌" + } + }, { + "path": "pages/work/index", + "style": { + "navigationBarTitleText": "首部" + } + }, { + "path": "pages/mine/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom" + } + }, + + + + + + { + "path": "pages/work/land/index", + "style": { + "navigationBarTitleText": "地块管理", + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "\ue67b", + "color": "#333", + "fontSrc": "/static/font/uniicons.ttf", + "fontSize": "24px" + }] + } } } - } - }, { - "path": "pages/work/land/create-new", - "style": { - "navigationBarTitleText": "新增地块", - "enablePullDownRefresh": false - } - }, { - "path": "pages/work/land/index-detail", - "style": { - "navigationBarTitleText": "地块详情", - "enablePullDownRefresh": false - } - }, { - "path": "pages/work/user/index", - "style": { - "navigationBarTitleText": "用户管理", - "enablePullDownRefresh": false, - "app-plus": { - "titleNView": { - "buttons": [{ - "text": "\ue67b", - "color": "#333", - "fontSrc": "/static/font/uniicons.ttf", - "fontSize": "24px" - }] + }, { + "path": "pages/work/land/create-new", + "style": { + "navigationBarTitleText": "新增地块", + "enablePullDownRefresh": false + } + }, { + "path": "pages/work/land/index-detail", + "style": { + "navigationBarTitleText": "地块详情", + "enablePullDownRefresh": false + } + }, { + "path": "pages/work/user/index", + "style": { + "navigationBarTitleText": "用户管理", + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "\ue67b", + "color": "#333", + "fontSrc": "/static/font/uniicons.ttf", + "fontSize": "24px" + }] + } } } + }, + + + + + { + "path": "pages/work/user/create-user", + "style": { + "navigationBarTitleText": "新增用户", + "enablePullDownRefresh": false + } + }, { + "path": "pages/work/user/ground", + "style": { + "navigationBarTitleText": "用户地块", + "enablePullDownRefresh": false + } + }, { + "path": "pages/work/user/device", + "style": { + "navigationBarTitleText": "设备权限", + "enablePullDownRefresh": false + } + }, { + "path": "pages/index-list", + "style": { + "navigationBarTitleText": "列表", + "navigationStyle": "custom" + } + }, { + "path": "pages/mine/avatar/index", + "style": { + "navigationBarTitleText": "修改头像" + } + }, { + "path": "pages/mine/info/index", + "style": { + "navigationBarTitleText": "个人信息" + } + }, { + "path": "pages/mine/info/edit", + "style": { + "navigationBarTitleText": "编辑资料" + } + }, { + "path": "pages/mine/pwd/index", + "style": { + "navigationBarTitleText": "修改密码" + } + }, { + "path": "pages/mine/setting/index", + "style": { + "navigationBarTitleText": "应用设置" + } + }, { + "path": "pages/mine/help/index", + "style": { + "navigationBarTitleText": "常见问题" + } + }, { + "path": "pages/mine/about/index", + "style": { + "navigationBarTitleText": "关于我们" + } + }, { + "path": "pages/common/webview/index", + "style": { + "navigationBarTitleText": "浏览网页" + } + }, { + "path": "pages/common/textview/index", + "style": { + "navigationBarTitleText": "浏览文本" + } } - }, { - "path": "pages/work/user/create-user", - "style": { - "navigationBarTitleText": "新增用户", - "enablePullDownRefresh": false - } - }, { - "path": "pages/work/user/ground", - "style": { - "navigationBarTitleText": "用户地块", - "enablePullDownRefresh": false - } - }, { - "path": "pages/work/user/device", - "style": { - "navigationBarTitleText": "设备权限", - "enablePullDownRefresh": false - } - }, { - "path": "pages/index", - "style": { - "navigationBarTitleText": "田间", - "navigationStyle": "custom" - } - }, { - "path": "pages/irrigation/index", - "style": { - "navigationBarTitleText": "轮灌" - } - }, { - "path": "pages/agricultural/index", - "style": { - "navigationBarTitleText": "农情" - } - }, { - "path": "pages/work/index", - "style": { - "navigationBarTitleText": "首部" - } - }, { - "path": "pages/mine/index", - "style": { - "navigationBarTitleText": "我的", - "navigationStyle": "custom" - } - }, { - "path": "pages/index-list", - "style": { - "navigationBarTitleText": "列表", - "navigationStyle": "custom" - } - }, { - "path": "pages/mine/avatar/index", - "style": { - "navigationBarTitleText": "修改头像" - } - }, { - "path": "pages/mine/info/index", - "style": { - "navigationBarTitleText": "个人信息" - } - }, { - "path": "pages/mine/info/edit", - "style": { - "navigationBarTitleText": "编辑资料" - } - }, { - "path": "pages/mine/pwd/index", - "style": { - "navigationBarTitleText": "修改密码" - } - }, { - "path": "pages/mine/setting/index", - "style": { - "navigationBarTitleText": "应用设置" - } - }, { - "path": "pages/mine/help/index", - "style": { - "navigationBarTitleText": "常见问题" - } - }, { - "path": "pages/mine/about/index", - "style": { - "navigationBarTitleText": "关于我们" - } - }, { - "path": "pages/common/webview/index", - "style": { - "navigationBarTitleText": "浏览网页" - } - }, { - "path": "pages/common/textview/index", - "style": { - "navigationBarTitleText": "浏览文本" - } - }], + ], "tabBar": { "color": "#000000", "selectedColor": "#39ac4f", @@ -162,9 +174,9 @@ "selectedIconPath": "static/images/tabbar/home_.png", "text": "田间" }, { - "pagePath": "pages/agricultural/index", - "iconPath": "static/images/tabbar/agricultural.png", - "selectedIconPath": "static/images/tabbar/agricultural_.png", + "pagePath": "pages/map/index", + "iconPath": "static/images/tabbar/map.png", + "selectedIconPath": "static/images/tabbar/map_.png", "text": "地图" }, { "pagePath": "pages/irrigation/index", diff --git a/pages/agricultural/index.vue b/pages/map/index.vue similarity index 100% rename from pages/agricultural/index.vue rename to pages/map/index.vue diff --git a/static/images/tabbar/map.png b/static/images/tabbar/map.png new file mode 100644 index 0000000..c5f8b81 Binary files /dev/null and b/static/images/tabbar/map.png differ diff --git a/static/images/tabbar/map_.png b/static/images/tabbar/map_.png new file mode 100644 index 0000000..7f00bb4 Binary files /dev/null and b/static/images/tabbar/map_.png differ