Commit 503d5389 by 高淑倩

导购 tabBar

parent 5e04947f
...@@ -32,7 +32,11 @@ ...@@ -32,7 +32,11 @@
"pages/logistics/logistics", "pages/logistics/logistics",
"pages/extendProduct/extendProduct", "pages/extendProduct/extendProduct",
"pages/pointList/pointList", "pages/pointList/pointList",
"pages/pointDetail/pointDetail" "pages/pointDetail/pointDetail",
"pages/shopping/home/home",
"pages/shopping/kpi/kpi",
"pages/shopping/welfare/welfare",
"pages/shopping/performance/performance"
], ],
"subPackages": [ "subPackages": [
{ {
...@@ -58,6 +62,30 @@ ...@@ -58,6 +62,30 @@
"usingComponents": { "usingComponents": {
"authorization-modal": "/component/authorization-modal/authorization-modal" "authorization-modal": "/component/authorization-modal/authorization-modal"
}, },
"tabBar":{
"custom": false,
"color": "#BBBBBB",
"selectedColor": "#333",
"backgroundColor": "#fff",
"list": [
{
"pagePath": "pages/shopping/home/home",
"text": "首页"
},
{
"pagePath": "pages/shopping/kpi/kpi",
"text": "KPI"
},
{
"pagePath": "pages/shopping/welfare/welfare",
"text": "福利"
},
{
"pagePath": "pages/shopping/performance/performance",
"text": "业绩"
}
]
},
"window": { "window": {
"backgroundTextStyle": "dark", "backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
......
// pages/home/home.js
const wxService = require('../../../utils/wxService')
wxService.page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/home/home.wxml-->
<text>pages/home/home.wxml</text>
/* pages/home/home.wxss */
@import '/base/base.wxss';
\ No newline at end of file
// pages/kpi/kpi.js
const wxService = require('../../../utils/wxService')
wxService.page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/kpi/kpi.wxml-->
<text>pages/kpi/kpi.wxml</text>
/* pages/kpi/kpi.wxss */
@import '/base/base.wxss';
\ No newline at end of file
// pages/performance/performance.js
const wxService = require('../../../utils/wxService')
wxService.page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/performance/performance.wxml-->
<text>pages/performance/performance.wxml</text>
/* pages/performance/performance.wxss */
@import '/base/base.wxss';
\ No newline at end of file
// pages/welfare/welfare.js
const wxService = require('../../../utils/wxService')
wxService.page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/welfare/welfare.wxml-->
<text>pages/welfare/welfare.wxml</text>
/* pages/welfare/welfare.wxss */
@import '/base/base.wxss';
\ No newline at end of file
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 16, "current": 45,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -341,6 +341,13 @@ ...@@ -341,6 +341,13 @@
"pathName": "pages/my_11/my", "pathName": "pages/my_11/my",
"query": "", "query": "",
"scene": null "scene": null
},
{
"id": 45,
"name": "导购",
"pathName": "pages/shopping/home/home",
"query": "",
"scene": null
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment