diff --git a/src/pages.json b/src/pages.json
index 49cfc04..80a9d0a 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1,12 +1,5 @@
{
"pages": [
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "首页",
- "enablePullDownRefresh": true
- }
- },
{
"path": "pages/login/index",
"style": {
@@ -15,10 +8,17 @@
}
},
{
- "path": "pages/register/index",
+ "path": "pages/WorkOrderApproval/index",
"style": {
- "navigationBarTitleText": "注册",
- "navigationStyle": "custom"
+ "navigationBarTitleText": "工单审批",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ProjectList/index",
+ "style": {
+ "navigationBarTitleText": "项目实施",
+ "enablePullDownRefresh": true
}
},
{
@@ -27,13 +27,6 @@
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false
}
- },
- {
- "path": "pages/demo/index",
- "style": {
- "navigationBarTitleText": "组件演示",
- "enablePullDownRefresh": false
- }
}
],
"globalStyle": {
@@ -56,22 +49,22 @@
"iconWidth": "24px",
"list": [
{
- "pagePath": "pages/index/index",
- "text": "首页",
- "iconPath": "static/tabbar/home.png",
- "selectedIconPath": "static/tabbar/home-active.png"
+ "pagePath": "pages/WorkOrderApproval/index",
+ "text": "工单审批",
+ "iconPath": "static/tabbar/gd-icon1.png",
+ "selectedIconPath": "static/tabbar/gd-icon2.png"
},
{
- "pagePath": "pages/demo/index",
- "text": "演示",
- "iconPath": "static/tabbar/demo.png",
- "selectedIconPath": "static/tabbar/demo-active.png"
+ "pagePath": "pages/ProjectList/index",
+ "text": "项目实施",
+ "iconPath": "static/tabbar/xm-icon1.png",
+ "selectedIconPath": "static/tabbar/xm-icon2.png"
},
{
"pagePath": "pages/user/index",
"text": "我的",
- "iconPath": "static/tabbar/user.png",
- "selectedIconPath": "static/tabbar/user-active.png"
+ "iconPath": "static/tabbar/gr-icon1.png",
+ "selectedIconPath": "static/tabbar/gr-icon2.png"
}
]
},
diff --git a/src/pages/ProjectList/index.vue b/src/pages/ProjectList/index.vue
new file mode 100644
index 0000000..ae67a69
--- /dev/null
+++ b/src/pages/ProjectList/index.vue
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/WorkOrderApproval/index.vue b/src/pages/WorkOrderApproval/index.vue
new file mode 100644
index 0000000..b6e38a7
--- /dev/null
+++ b/src/pages/WorkOrderApproval/index.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+ 新建工单
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+ 详情
+
+ 项目编号:{{ item.projectCode }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue
deleted file mode 100644
index 254689a..0000000
--- a/src/pages/demo/index.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 这是一个演示页面
-
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
deleted file mode 100644
index 36676e3..0000000
--- a/src/pages/index/index.vue
+++ /dev/null
@@ -1,12 +0,0 @@
-
- 首页
-
-
-
\ No newline at end of file
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
index 823f7d9..446f1c8 100644
--- a/src/pages/login/index.vue
+++ b/src/pages/login/index.vue
@@ -1,3 +1,4 @@
+
@@ -53,6 +54,7 @@ async function handleLogin() {
try {
// 登录逻辑
uni.showToast({ title: '登录成功', icon: 'success' })
+ uni.switchTab({ url: '/pages/WorkOrderApproval/index' })
} catch (error) {
console.error('登录失败:', error)
} finally {
diff --git a/src/pages/register/index.vue b/src/pages/register/index.vue
deleted file mode 100644
index 3a7b84a..0000000
--- a/src/pages/register/index.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 注册
-
\ No newline at end of file
diff --git a/src/static/tabbar/gd-icon1.png b/src/static/tabbar/gd-icon1.png
new file mode 100644
index 0000000..b09832c
Binary files /dev/null and b/src/static/tabbar/gd-icon1.png differ
diff --git a/src/static/tabbar/gd-icon2.png b/src/static/tabbar/gd-icon2.png
new file mode 100644
index 0000000..af241d3
Binary files /dev/null and b/src/static/tabbar/gd-icon2.png differ
diff --git a/src/static/tabbar/gr-icon1.png b/src/static/tabbar/gr-icon1.png
new file mode 100644
index 0000000..0209990
Binary files /dev/null and b/src/static/tabbar/gr-icon1.png differ
diff --git a/src/static/tabbar/gr-icon2.png b/src/static/tabbar/gr-icon2.png
new file mode 100644
index 0000000..0fd0aca
Binary files /dev/null and b/src/static/tabbar/gr-icon2.png differ
diff --git a/src/static/tabbar/xm-icon1.png b/src/static/tabbar/xm-icon1.png
new file mode 100644
index 0000000..5cd7984
Binary files /dev/null and b/src/static/tabbar/xm-icon1.png differ
diff --git a/src/static/tabbar/xm-icon2.png b/src/static/tabbar/xm-icon2.png
new file mode 100644
index 0000000..8254fa6
Binary files /dev/null and b/src/static/tabbar/xm-icon2.png differ