diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000..76d12b3
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,5 @@
+{
+ "recommendations": [
+ "ModyQyW.vscode-uni-helper"
+ ]
+}
\ No newline at end of file
diff --git a/App.vue b/App.vue
index a2a7d8e..e44e088 100644
--- a/App.vue
+++ b/App.vue
@@ -44,4 +44,8 @@
diff --git a/components/navbar.vue b/components/cpn-navbar.vue
similarity index 63%
rename from components/navbar.vue
rename to components/cpn-navbar.vue
index 1f83550..db5296c 100644
--- a/components/navbar.vue
+++ b/components/cpn-navbar.vue
@@ -1,17 +1,18 @@
+ :back-text="backText" :back-text-style="backTextStyle" :title="title" :title-color="titleColor"
+ :background="background">
diff --git a/pages.json b/pages.json
index ee15f1c..ad67f88 100644
--- a/pages.json
+++ b/pages.json
@@ -1,9 +1,28 @@
{
"easycom": {
- "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
+ "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
+ "^cpn-(.*)": "@/components/cpn-$1.vue"
},
"pages": [{
- "path": "pages/handle/handle",
+ "path": "pages/home/home",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/list/list",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/todayNursing/todayNursing",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/nursingCalendar/nursingCalendar",
"style": {
"navigationStyle": "custom"
}
@@ -31,22 +50,33 @@
"backgroundColor": "#F8F8F8"
},
"tabBar": {
+ "color": "#ABAEBE",
+ "selectedColor": "#1479FF",
"list": [{
- "pagePath": "pages/handle/handle",
- "text": "今日处理"
+ "iconPath": "/static/tabbar/首页 copy.png",
+ "selectedIconPath": "/static/tabbar/首页.png",
+ "pagePath": "pages/home/home",
+ "text": "首页"
},
{
- "pagePath": "pages/calendar/calendar",
- "text": "今日日历"
+ "iconPath": "/static/tabbar/notification.png",
+ "selectedIconPath": "/static/tabbar/notification 2.png",
+ "pagePath": "pages/todayNursing/todayNursing",
+ "text": "今日护理"
},
{
- "pagePath": "pages/list/list",
- "text": "今日列表"
+ "iconPath": "/static/tabbar/日历@2x.png",
+ "selectedIconPath": "/static/tabbar/日历2@2x.png",
+ "pagePath": "pages/nursingCalendar/nursingCalendar",
+ "text": "护理日历"
},
{
- "pagePath": "pages/my/my",
- "text": "我的"
+ "iconPath": "/static/tabbar/列表@2x.png",
+ "selectedIconPath": "/static/tabbar/列表 2@2x.png",
+ "pagePath": "pages/list/list",
+ "text": "护理列表"
}
+
]
}
}
diff --git a/pages/handle/handle.vue b/pages/handle/handle.vue
deleted file mode 100644
index aae21b8..0000000
--- a/pages/handle/handle.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/home/home.vue b/pages/home/home.vue
new file mode 100644
index 0000000..c27c9f7
--- /dev/null
+++ b/pages/home/home.vue
@@ -0,0 +1,632 @@
+
+
+
+
+
+
+
+
+
+ 您好,XXX
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 四世同堂服务管理
+
+
+ 欢迎使用管理小程序
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 数据展示
+
+ 更多
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ {{item.value}}
+ 位
+ 小时
+
+
+
+
+
+
+
+
+
+ 进行中
+
+
+
+ 1
+ 位
+
+
+
+
+
+
+ 待护理
+
+
+
+ 36
+ 位
+
+
+
+
+
+
+ 已完成
+
+
+
+ 366
+ 位
+
+
+
+
+
+
+
+
+ 信息提醒
+
+ 更多
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ {{item.time}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/list/list.vue b/pages/list/list.vue
new file mode 100644
index 0000000..cdc72a0
--- /dev/null
+++ b/pages/list/list.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
index b3a284a..e16563e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,5 +1,5 @@
-
+
HELLO
欢迎使用四世同堂管理系统
@@ -16,13 +16,20 @@
-
+
+
+
+
记住当前状态
登陆
+
+
+ 2022四世同堂服务有限公司
+
@@ -52,12 +59,11 @@
fontSize: "28rpx",
letterSpacing: "10rpx",
marginTop: "66rpx"
- }
+ },
+ isRemeber: false
}
},
- methods: {
-
- },
+ methods: {},
computed: {}
}
@@ -143,6 +149,9 @@
height: 28rpx;
border-radius: 6rpx;
border: 2rpx solid #FFFFFF;
+ display: flex;
+ justify-content: center;
+ align-items: center;
}
.radio-text {
@@ -157,4 +166,16 @@
margin-left: 30rpx;
}
}
+
+ .bottom {
+ width: 298rpx;
+ height: 34rpx;
+ font-size: 24rpx;
+ font-family: PingFang-SC-Medium, PingFang-SC;
+ font-weight: 500;
+ color: #FFFFFF;
+ line-height: 34rpx;
+
+ margin: 418rpx auto 0 auto;
+ }
diff --git a/pages/nursingCalendar/nursingCalendar.vue b/pages/nursingCalendar/nursingCalendar.vue
new file mode 100644
index 0000000..80355a0
--- /dev/null
+++ b/pages/nursingCalendar/nursingCalendar.vue
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+ {{select.year}}
+
+
+
+
+
+
+
+
+
+
+ {{select.month}}月
+
+
+
+
+
+
+
+
+
+
+
+ {{date.date}}
+
+
+
+
+
+
+
+ 进行中
+
+
+
+ 待护理
+
+
+
+ 已完成
+
+
+
+
+
+
+
+
+
diff --git a/pages/todayNursing/todayNursing.vue b/pages/todayNursing/todayNursing.vue
new file mode 100644
index 0000000..e94b9b4
--- /dev/null
+++ b/pages/todayNursing/todayNursing.vue
@@ -0,0 +1,405 @@
+
+
+
+
+
+
+ 护理地图
+
+
+
+
+
+
+
+
+ {{item.time}}
+
+
+
+ 进行中
+ 待护理
+ 已完成
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+ {{item.tel}}
+
+
+
+
+
+ {{item.address}}
+
+
+
+
+ {{item.sex}}
+
+
+
+
+
+
+
+
+
+ {{item.distance}}
+
+
+ 去那里
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/home/Chat.png b/static/home/Chat.png
new file mode 100644
index 0000000..e572cfe
Binary files /dev/null and b/static/home/Chat.png differ
diff --git a/static/home/Covid - 19 Data.png b/static/home/Covid - 19 Data.png
new file mode 100644
index 0000000..148cdb6
Binary files /dev/null and b/static/home/Covid - 19 Data.png differ
diff --git a/static/login/登录 背景.png b/static/login/登录 背景.png
new file mode 100644
index 0000000..152a728
Binary files /dev/null and b/static/login/登录 背景.png differ
diff --git a/static/tabbar/notification 2.png b/static/tabbar/notification 2.png
new file mode 100644
index 0000000..5589d2e
Binary files /dev/null and b/static/tabbar/notification 2.png differ
diff --git a/static/tabbar/notification.png b/static/tabbar/notification.png
new file mode 100644
index 0000000..b961203
Binary files /dev/null and b/static/tabbar/notification.png differ
diff --git a/static/tabbar/列表 2@2x.png b/static/tabbar/列表 2@2x.png
new file mode 100644
index 0000000..8fa1656
Binary files /dev/null and b/static/tabbar/列表 2@2x.png differ
diff --git a/static/tabbar/列表@2x.png b/static/tabbar/列表@2x.png
new file mode 100644
index 0000000..1d41604
Binary files /dev/null and b/static/tabbar/列表@2x.png differ
diff --git a/static/tabbar/日历2@2x.png b/static/tabbar/日历2@2x.png
new file mode 100644
index 0000000..e8a9a82
Binary files /dev/null and b/static/tabbar/日历2@2x.png differ
diff --git a/static/tabbar/日历@2x.png b/static/tabbar/日历@2x.png
new file mode 100644
index 0000000..86d3426
Binary files /dev/null and b/static/tabbar/日历@2x.png differ
diff --git a/static/tabbar/首页 copy.png b/static/tabbar/首页 copy.png
new file mode 100644
index 0000000..75c26e6
Binary files /dev/null and b/static/tabbar/首页 copy.png differ
diff --git a/static/tabbar/首页.png b/static/tabbar/首页.png
new file mode 100644
index 0000000..e5d0007
Binary files /dev/null and b/static/tabbar/首页.png differ
diff --git a/static/todayNursing/Group 104.png b/static/todayNursing/Group 104.png
new file mode 100644
index 0000000..b220166
Binary files /dev/null and b/static/todayNursing/Group 104.png differ
diff --git a/static/todayNursing/地图.png b/static/todayNursing/地图.png
new file mode 100644
index 0000000..63a58aa
Binary files /dev/null and b/static/todayNursing/地图.png differ
diff --git a/static/todayNursing/距离.png b/static/todayNursing/距离.png
new file mode 100644
index 0000000..c280432
Binary files /dev/null and b/static/todayNursing/距离.png differ