{ // "condition": { //模式配置,仅开发期间生效 // "current": 0, //当前激活的模式(list 的索引项) // "list": [{ // "name": "test", //模式名称 // "path": "pages/componentsA/test/test", //启动页面,必选 // "query": "" //启动参数,在页面的onLoad函数里面得到 // }] // }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false } },{ "path": "pages/index/index", "style": { "navigationBarTitleText": "汇融云眼贷后监管平台" } }, { "path": "pages/business/inBound", "style": { "navigationBarTitleText": "入库登记", "app-plus": { "titleNView": { // 按钮配置 "buttons": [{ "type": "none", // 按钮样式,默认值为 none // type 的取值范围: // forward 前进按钮 // back 后退按钮 // share 分享按钮 // favorite 收藏按钮 // home 主页按钮 // menu 菜单按钮 // close 关闭按钮 // transparent 透明按钮 // none 无样式,需通过 text 属性设置按钮上显示的内容、通过 fontSrc 属性设置使用的字体库。 // 注意:使用 type 值设置按钮的样式时,会忽略 fontSrc 和 text 属性 "color": "#fff", // 按钮上文字颜色,默认与标题文字颜色一致 "background": "#fff", // 按钮的背景颜色,仅在标题栏type=transparent时生效,默认值为灰色半透明 "colorPressed": "#fff", // 按下状态按钮文字颜色,默认值为 color 属性值自动调整透明度为 0.3 "float": "right", // 按钮在标题栏上的显示位置,可取值"left"、"right",默认值为 right "fontWeight": "normal", // 按钮上文字的粗细。可取值"normal"-标准字体、"bold"-加粗字体。默认值为 normal "fontSize": "15", // 按钮上文字大小 // "fontSrc": "/static/font/iconfont.ttf", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "fontSrc": "", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "select": "false", // 是否显示选择指示图标(向下箭头),常用于城市选择,默认值为 false "text": "保存 ", // 按钮上显示的文字。使用字体图标时 unicode 字符表示必须 '\u' 开头,如 "\ue123"(注意不能写成"\e123")。 "width": "auto", // 按钮的宽度,可取值: "*px" - 逻辑像素值,如"10px"表示10逻辑像素值,不支持rpx。按钮的内容居中显示; "auto" - 自定计算宽度 "redDot": "false", // 是否显示红点,设置为true则显示红点,false则不显示红点。默认值为false。 注意:当设置了角标文本时红点不显示。 "badgeText": "" // 角标文本,最多显示3个字符,超过则显示为... } // , // { // "type": "favorite" // } ] // // 搜索框配置 // "searchInput": { // "backgroundColor": "#fff", // 背景颜色 // "borderRadius": "6px", // 输入框的圆角半径,取值格式为"XXpx",其中XX为像素值(逻辑像素),不支持rpx。,默认值 0px // "placeholder": "请输入...", // 提示文本。 // "placeholderColor": "#CCCCCC", // 提示文本颜色,默认值 #CCCCCC // "disabled": false, // 是否可输入,默认值 false 不输入 // "autoFocus": false, // 是否自动获取焦点,默认值 false 不获取 // "align": center, // 非输入状态下文本的对齐方式。可取值: "left" - 居左对齐; "right" - 居右对齐; "center" - 居中对齐,默认值 center // } } } } }, { "path": "pages/business/outBound", "style": { "navigationBarTitleText": "出库登记", "app-plus": { "titleNView": { // 按钮配置 "buttons": [{ "type": "none", // 按钮样式,默认值为 none // type 的取值范围: // forward 前进按钮 // back 后退按钮 // share 分享按钮 // favorite 收藏按钮 // home 主页按钮 // menu 菜单按钮 // close 关闭按钮 // transparent 透明按钮 // none 无样式,需通过 text 属性设置按钮上显示的内容、通过 fontSrc 属性设置使用的字体库。 // 注意:使用 type 值设置按钮的样式时,会忽略 fontSrc 和 text 属性 "color": "#fff", // 按钮上文字颜色,默认与标题文字颜色一致 "background": "#fff", // 按钮的背景颜色,仅在标题栏type=transparent时生效,默认值为灰色半透明 "colorPressed": "#fff", // 按下状态按钮文字颜色,默认值为 color 属性值自动调整透明度为 0.3 "float": "right", // 按钮在标题栏上的显示位置,可取值"left"、"right",默认值为 right "fontWeight": "normal", // 按钮上文字的粗细。可取值"normal"-标准字体、"bold"-加粗字体。默认值为 normal "fontSize": "15", // 按钮上文字大小 // "fontSrc": "/static/font/iconfont.ttf", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "fontSrc": "", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "select": "false", // 是否显示选择指示图标(向下箭头),常用于城市选择,默认值为 false "text": "保存 ", // 按钮上显示的文字。使用字体图标时 unicode 字符表示必须 '\u' 开头,如 "\ue123"(注意不能写成"\e123")。 "width": "auto", // 按钮的宽度,可取值: "*px" - 逻辑像素值,如"10px"表示10逻辑像素值,不支持rpx。按钮的内容居中显示; "auto" - 自定计算宽度 "redDot": "false", // 是否显示红点,设置为true则显示红点,false则不显示红点。默认值为false。 注意:当设置了角标文本时红点不显示。 "badgeText": "" // 角标文本,最多显示3个字符,超过则显示为... } // , // { // "type": "favorite" // } ] // // 搜索框配置 // "searchInput": { // "backgroundColor": "#fff", // 背景颜色 // "borderRadius": "6px", // 输入框的圆角半径,取值格式为"XXpx",其中XX为像素值(逻辑像素),不支持rpx。,默认值 0px // "placeholder": "请输入...", // 提示文本。 // "placeholderColor": "#CCCCCC", // 提示文本颜色,默认值 #CCCCCC // "disabled": false, // 是否可输入,默认值 false 不输入 // "autoFocus": false, // 是否自动获取焦点,默认值 false 不获取 // "align": center, // 非输入状态下文本的对齐方式。可取值: "left" - 居左对齐; "right" - 居右对齐; "center" - 居中对齐,默认值 center // } } } } }, { "path": "pages/business/inventoryRegistration", "style": { "navigationBarTitleText": "油罐库存登记", "app-plus": { "titleNView": { // 按钮配置 "buttons": [{ "type": "none", // 按钮样式,默认值为 none // type 的取值范围: // forward 前进按钮 // back 后退按钮 // share 分享按钮 // favorite 收藏按钮 // home 主页按钮 // menu 菜单按钮 // close 关闭按钮 // transparent 透明按钮 // none 无样式,需通过 text 属性设置按钮上显示的内容、通过 fontSrc 属性设置使用的字体库。 // 注意:使用 type 值设置按钮的样式时,会忽略 fontSrc 和 text 属性 "color": "#fff", // 按钮上文字颜色,默认与标题文字颜色一致 "background": "#fff", // 按钮的背景颜色,仅在标题栏type=transparent时生效,默认值为灰色半透明 "colorPressed": "#fff", // 按下状态按钮文字颜色,默认值为 color 属性值自动调整透明度为 0.3 "float": "right", // 按钮在标题栏上的显示位置,可取值"left"、"right",默认值为 right "fontWeight": "normal", // 按钮上文字的粗细。可取值"normal"-标准字体、"bold"-加粗字体。默认值为 normal "fontSize": "15", // 按钮上文字大小 // "fontSrc": "/static/font/iconfont.ttf", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "fontSrc": "", // 按钮上文字使用的字体文件路径。不支持网络地址,请统一使用本地地址 "select": "false", // 是否显示选择指示图标(向下箭头),常用于城市选择,默认值为 false "text": "保存 ", // 按钮上显示的文字。使用字体图标时 unicode 字符表示必须 '\u' 开头,如 "\ue123"(注意不能写成"\e123")。 "width": "auto", // 按钮的宽度,可取值: "*px" - 逻辑像素值,如"10px"表示10逻辑像素值,不支持rpx。按钮的内容居中显示; "auto" - 自定计算宽度 "redDot": "false", // 是否显示红点,设置为true则显示红点,false则不显示红点。默认值为false。 注意:当设置了角标文本时红点不显示。 "badgeText": "" // 角标文本,最多显示3个字符,超过则显示为... } // , // { // "type": "favorite" // } ] // // 搜索框配置 // "searchInput": { // "backgroundColor": "#fff", // 背景颜色 // "borderRadius": "6px", // 输入框的圆角半径,取值格式为"XXpx",其中XX为像素值(逻辑像素),不支持rpx。,默认值 0px // "placeholder": "请输入...", // 提示文本。 // "placeholderColor": "#CCCCCC", // 提示文本颜色,默认值 #CCCCCC // "disabled": false, // 是否可输入,默认值 false 不输入 // "autoFocus": false, // 是否自动获取焦点,默认值 false 不获取 // "align": center, // 非输入状态下文本的对齐方式。可取值: "left" - 居左对齐; "right" - 居右对齐; "center" - 居中对齐,默认值 center // } } } } }, { "path": "pages/home/FindFragment", "style": { "navigationBarTitleText": "监管业务" } }, { "path": "pages/home/AddFragment", "style": { "navigationBarTitleText": "操作记录" } }, { "path": "pages/home/UserFragment", "style": { "navigationBarTitleText": "个人中心" } } ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "汇融云眼贷后监管平台", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#007AFF", "backgroundColor": "#F8F8F8", "backgroundColorTop": "#F4F5F6", "backgroundColorBottom": "#F4F5F6", "mp-360": { "navigationStyle": "custom" }, "h5": { "maxWidth": 1190, "navigationBarTextStyle": "black", "navigationBarBackgroundColor": "#F1F1F1" } }, "tabBar": { "color": "#959595", "selectedColor": "#41adf8", "backgroundColor": "#FFFFFF", "borderStyle": "black", "list": [{ "pagePath": "pages/home/FindFragment", "iconPath": "static/bottom-icon/find_normal.png", "selectedIconPath": "static/bottom-icon/find_press.png", "text": "监管业务" }, { "pagePath": "pages/home/AddFragment", "iconPath": "static/bottom-icon/add_normal.png", "selectedIconPath": "static/bottom-icon/add_press.png", "text": "操作记录" }, { "pagePath": "pages/home/UserFragment", "iconPath": "static/bottom-icon/mine_normal.png", "selectedIconPath": "static/bottom-icon/mine_press.png", "text": "我的" }] } }