mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 15:29:37 +08:00
描述:首页修改
This commit is contained in:
parent
badc65b020
commit
81f36a6519
BIN
miniprogram/images/tabbar/center.png
Normal file
BIN
miniprogram/images/tabbar/center.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
@ -30,20 +30,20 @@ Page({
|
||||
},
|
||||
// tabBar menu
|
||||
tabBarList: [{
|
||||
"pagePath": "pages/index/index",
|
||||
"pagePath": "/pages/index/index",
|
||||
"iconPath": "/images/tabbar/home.png",
|
||||
"selectedIconPath": "/images/tabbar/home-select.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/meeting/meetingReservation/meetingReservation",
|
||||
"iconPath": "/images/tabbar/openDoor.png",
|
||||
"selectedIconPath": "/images/tabbar/openDoor.png",
|
||||
"text": "预约",
|
||||
"pagePath": "/pages/reportRepair/report/report",
|
||||
"iconPath": "/images/tabbar/center.png",
|
||||
"selectedIconPath": "/images/tabbar/center.png",
|
||||
"text": "报修",
|
||||
"bulge": true,
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/my",
|
||||
"pagePath": "/pages/my/my",
|
||||
"iconPath": "/images/tabbar/my.png",
|
||||
"selectedIconPath": "/images/tabbar/my-select.png",
|
||||
"text": "我的"
|
||||
@ -177,13 +177,13 @@ Page({
|
||||
const data = e.currentTarget.dataset
|
||||
console.log('switchTab', data)
|
||||
const url = data.path
|
||||
if (url == 'pages/meeting/meetingReservation/meetingReservation') {
|
||||
if (url == '/pages/reportRepair/report/report') {
|
||||
wx.navigateTo({
|
||||
url: '/' + url
|
||||
url
|
||||
})
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url: '/' + url
|
||||
url
|
||||
})
|
||||
}
|
||||
},
|
||||
|
@ -34,20 +34,20 @@ Page({
|
||||
},
|
||||
// tabBar menu
|
||||
tabBarList: [{
|
||||
"pagePath": "pages/index/index",
|
||||
"pagePath": "/pages/index/index",
|
||||
"iconPath": "/images/tabbar/home.png",
|
||||
"selectedIconPath": "/images/tabbar/home-select.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/meeting/meetingReservation/meetingReservation",
|
||||
"iconPath": "/images/tabbar/openDoor.png",
|
||||
"selectedIconPath": "/images/tabbar/openDoor.png",
|
||||
"text": "预约",
|
||||
"pagePath": "/pages/reportRepair/report/report",
|
||||
"iconPath": "/images/tabbar/center.png",
|
||||
"selectedIconPath": "/images/tabbar/center.png",
|
||||
"text": "报修",
|
||||
"bulge": true,
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/my",
|
||||
"pagePath": "/pages/my/my",
|
||||
"iconPath": "/images/tabbar/my.png",
|
||||
"selectedIconPath": "/images/tabbar/my-select.png",
|
||||
"text": "我的"
|
||||
@ -90,13 +90,13 @@ Page({
|
||||
const data = e.currentTarget.dataset
|
||||
console.log('switchTab', data)
|
||||
const url = data.path
|
||||
if (url == 'pages/meeting/meetingReservation/meetingReservation') {
|
||||
if (url == '/pages/reportRepair/report/report') {
|
||||
wx.navigateTo({
|
||||
url: '/' + url
|
||||
url
|
||||
})
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url: '/' + url
|
||||
url
|
||||
})
|
||||
}
|
||||
},
|
||||
@ -155,7 +155,7 @@ Page({
|
||||
},
|
||||
|
||||
// 跳转-我的
|
||||
jumpMy(){
|
||||
jumpMy() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/my/personalData/personalData',
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user