智能安全检查移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
safe-check-mobile/pages.json

141 lines
3.0 KiB

{
"pages": [
{
"path": "pages/login",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
}
},
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/index",
"style": {
"navigationBarTitleText": "我的",
"navigationStyle": "custom"
}
},
{
"path": "pages/common/webview/index",
"style": {
"navigationBarTitleText": "浏览网页",
"navigationStyle": "custom"
}
},
{
"path": "pages/common/textview/index",
"style": {
"navigationBarTitleText": "浏览文本"
}
feat(pageIndex/addSafeCheck): 更新隐患描述和整改建议功能 - 将隐患描述标签修改为包含序号的格式 `隐患描述#{{ index + 1 }}` - 增加整改建议输入框,使用 `uni-easyinput` 组件,绑定到 `item.rectificationSuggestion` - 为每个隐患项添加 `id` 属性,用于页面滚动定位 `:id="'hazardItem' + index"` - 在添加新隐患项后,自动滚动到新添加的隐患项位置 - 修改删除隐患项逻辑,增加确认弹窗 - 更新检查图片上传按钮样式,使用 `uni-icons` 组件 - 移除隐患描述和整改建议的显示块 feat(pageIndex/addSafeCheck/readdSafeCheck): 更新隐患描述和整改建议功能 - 将隐患描述标签修改为包含序号的格式 `隐患描述#{{ index + 1 }}` - 增加整改建议输入框,使用 `uni-easyinput` 组件,绑定到 `item.rectificationSuggestion` - 为每个隐患项添加 `id` 属性,用于页面滚动定位 `:id="'hazardItem' + index"` - 在添加新隐患项后,自动滚动到新添加的隐患项位置 - 修改删除隐患项逻辑,增加确认弹窗 - 更新检查图片上传按钮样式,使用 `uni-icons` 组件 - 移除隐患描述和整改建议的显示块 feat(pages/index): 更新首页按钮功能和样式 - 修改“安全复查”按钮功能,点击跳转到 `golaws(6)`,并更新按钮文本和样式 - 修改“记录查询”按钮功能,点击跳转到 `golaws(4)`,并更新按钮文本和样式 - 修改“危险源判定”按钮文本为“历史案例库” - 调整“安全复查”和“记录查询”按钮的样式顺序,并为“安全复查”按钮增加 `margin-top: 20rpx` feat(pages/login): 清空登录表单默认值 - 将 `username` 和 `password` 的默认值从 `"reviewAdmin"` 和 `"admin123"` 修改为空字符串 feat(pages/mine/index): 添加修改密码功能 - 修改显示的菜单项文本为“修改密码” - 更新点击事件,点击后跳转到修改密码页面 `uni.navigateTo({ url: '/pages/mine/pwd/index' })` - 更新图标为 `qianming-2x.png` feat(pages/mine/pwd/index): 新增修改密码页面 - 添加新的修改密码页面,包含旧密码、新密码和确认密码输入框 - 增加提交按钮,点击后调用 `updateUserPwd` API 更新密码 - 添加表单验证,确保旧密码、新密码和确认密码输入有效 docs: 更新 pages.json 添加修改密码页面路径 - 在 `pages.json` 中新增修改密码页面路径 `pages/mine/pwd/index`,并设置导航栏标题为“修改密码”
3 months ago
},
{
"path": "pages/mine/pwd/index",
"style": {
"navigationBarTitleText": "修改密码"
,"navigationStyle": "custom"
}
}
],
"subPackages": [
{
"root": "pageIndex",
"pages": [
{
"path": "knowledge/knowledge",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "laws/laws",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "accident/accident",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "checkHsitory/checkHsitory",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "checkHsitory/recheckHsitory",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "addSafeCheck/addSafeCheck",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "addSafeCheck/readdSafeCheck",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "dangerLibrary/dangerLibrary",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "aiAsk/aiAsk",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "filePage/filePage",
"style": {
"navigationStyle": "custom"
}
}
]
}
],
"tabBar": {
"color": "#000000",
"selectedColor": "#000000",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"custom": true,
"list": [{
"pagePath": "pages/index",
"text": "首页",
"visible": false
},
// {
// "pagePath": "pages/work/index",
// "text": "工作台",
// "visible": false
// },
{
"pagePath": "pages/mine/index",
"text": "我的",
"visible": false
}
]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "智能安全检查",
"navigationBarBackgroundColor": "#FFFFFF"
}
}