Commit b0f3fecf authored by leon's avatar leon

fix:daily

parent 23dfc763
{ {
"easycom": { "easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
}, },
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "首页", "navigationBarTitleText": "首页",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, { }, {
"path": "pages/center/index", "path": "pages/center/index",
"style": { "style": {
"navigationBarTitleText": "个人中心" "navigationBarTitleText": "个人中心"
} }
} }, {
,{ "path": "pages/login/login",
"path" : "pages/login/login", "style": {
"style" : "navigationBarTitleText": "",
{ "enablePullDownRefresh": false
"navigationBarTitleText": "", }
"enablePullDownRefresh": false
} }, {
"path": "pages/login/authorized",
} "style": {
,{ "navigationBarTitleText": "",
"path" : "pages/login/authorized", "enablePullDownRefresh": false
"style" : }
{
"navigationBarTitleText": "", }, {
"enablePullDownRefresh": false "path": "pages/center/password",
} "style": {
"navigationBarTitleText": "",
} "enablePullDownRefresh": false
,{ }
"path" : "pages/center/password",
"style" : }, {
{ "path": "pages/customer/customer",
"navigationBarTitleText": "", "style": {
"enablePullDownRefresh": false "navigationBarTitleText": "",
} "enablePullDownRefresh": false
}
}
,{ }, {
"path" : "pages/customer/customer", "path": "pages/webView/webView/webView",
"style" : "style": {
{ "navigationBarTitleText": "",
"navigationBarTitleText": "", "enablePullDownRefresh": false
"enablePullDownRefresh": false }
}
}, {
} "path": "pages/reports/reports",
,{ "style": {
"path" : "pages/webView/webView/webView", "navigationBarTitleText": "小程序报表",
"style" : "enablePullDownRefresh": true,
{ "onReachBottomDistance": 50
"navigationBarTitleText": "", }
"enablePullDownRefresh": false
} }, {
"path": "pages/detail/detail",
} "style": {
,{ "navigationBarTitleText": "",
"path" : "pages/reports/reports", "enablePullDownRefresh": true
"style" : }
{ }
"navigationBarTitleText": "小程序报表", ],
"enablePullDownRefresh": true, "globalStyle": {
"onReachBottomDistance": 50 "navigationBarTextStyle": "black",
} "navigationBarTitleText": "uView",
"navigationBarBackgroundColor": "#F8F8F8",
} "backgroundColor": "#F8F8F8"
,{ },
"path" : "pages/reports/detail", "tabBar": {
"style" : "color": "#333333",
{ "selectedColor": "#2979ff",
"navigationBarTitleText": "", "borderStyle": "black",
"enablePullDownRefresh": true "backgroundColor": "#ffffff",
} "list": [{
"pagePath": "pages/index/index",
} "iconPath": "static/icon/user_report_normal.png",
], "selectedIconPath": "static/icon/user_report_selected.png",
"globalStyle": { "text": "实时数据"
"navigationBarTextStyle": "black", }, {
"navigationBarTitleText": "uView", "pagePath": "pages/reports/reports",
"navigationBarBackgroundColor": "#F8F8F8", "iconPath": "static/icon/admin_normal.png",
"backgroundColor": "#F8F8F8" "selectedIconPath": "static/icon/admin_selected.png",
}, "text": "报表"
"tabBar": { }, {
"color": "#333333", "pagePath": "pages/center/index",
"selectedColor": "#2979ff", "iconPath": "static/icon/admin_normal.png",
"borderStyle": "black", "selectedIconPath": "static/icon/admin_selected.png",
"backgroundColor": "#ffffff", "text": "用户中心"
"list": [{ }]
"pagePath": "pages/index/index", },
"iconPath": "static/icon/user_report_normal.png", "condition": { //模式配置,仅开发期间生效
"selectedIconPath": "static/icon/user_report_selected.png", "current": 0, //当前激活的模式(list 的索引项)
"text": "实时数据" "list": [{
}, { "name": "首页", //模式名称
"pagePath": "pages/reports/reports", "path": "pages/index/index", //启动页面,必选
"iconPath": "static/icon/admin_normal.png", "query": "" //启动参数,在页面的onLoad函数里面得到
"selectedIconPath": "static/icon/admin_selected.png", }]
"text": "报表" }
}, {
"pagePath": "pages/center/index",
"iconPath": "static/icon/admin_normal.png",
"selectedIconPath": "static/icon/admin_selected.png",
"text": "用户中心"
}]
},
"condition" : { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
{
"name": "首页", //模式名称
"path": "pages/index/index", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}
]
}
} }
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
// 点击查看 // 点击查看
onClick(item) { onClick(item) {
const url = "/pages/reports/detail?id=" + item.id const url = "/pages/detail/detail?id=" + item.id
uni.navigateTo({ uni.navigateTo({
url: url url: url
}) })
......
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