Commit b0f3fecf authored by leon's avatar leon

fix:daily

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