From 1897b377e86bfc0f3632b90c2150dfd723b8992e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com>
Date: Mon, 23 Oct 2023 17:31:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=97=B6=E9=97=B4=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/utabs/u-tabs.vue | 385 ++++++++++++++++++++++
pages.json | 72 ++--
pages/ServiceSchedule/ServiceSchedule.vue | 18 +-
pages/login/login.vue | 43 +--
pages/myinformation/myinformation.vue | 9 +-
5 files changed, 460 insertions(+), 67 deletions(-)
create mode 100644 components/utabs/u-tabs.vue
diff --git a/components/utabs/u-tabs.vue b/components/utabs/u-tabs.vue
new file mode 100644
index 0000000..197e400
--- /dev/null
+++ b/components/utabs/u-tabs.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+ {{item.dates}}
+
+
+ {{ item[name] || item['name']}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 43c0c9b..2d369c6 100644
--- a/pages.json
+++ b/pages.json
@@ -3,34 +3,31 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/myinformation/myinformation",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
+ {
+ "path": "pages/ServiceSchedule/ServiceSchedule",
+ "style": {
+ "navigationBarTitleText": "服务时间表",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#4ac4ab"
+ }
+ }, {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/myinformation/myinformation",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
- {
- "path": "pages/myinformation/myinformation",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- // "navigationBarBackgroundColor": "#4ac4ab"
- // "navigationStyle": "custom"
- }
- },
{
"path": "pages/homepage/homepage",
"style": {
@@ -46,18 +43,17 @@
// }
// }
-
- ,{
- "path" : "pages/Personalinfo/Personalinfo",
- "style" :
- {
- "navigationBarTitleText": "个人信息",
- "enablePullDownRefresh": false
- }
-
- }
- ],
+
+ , {
+ "path": "pages/Personalinfo/Personalinfo",
+ "style": {
+ "navigationBarTitleText": "个人信息",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
@@ -85,4 +81,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/pages/ServiceSchedule/ServiceSchedule.vue b/pages/ServiceSchedule/ServiceSchedule.vue
index c345baf..f2b63a2 100644
--- a/pages/ServiceSchedule/ServiceSchedule.vue
+++ b/pages/ServiceSchedule/ServiceSchedule.vue
@@ -32,7 +32,7 @@
不可预约
-
+
9:30~10:00
可预约
@@ -65,7 +65,7 @@
不可预约
-
+
9:30~10:00
可预约
@@ -105,16 +105,16 @@
orderStatus: '',
}, {
name: '周一 01-01',
- orderStatus: 'WAIT_PAY',
+ orderStatus: '',
}, {
name: '周二 01-01',
- orderStatus: 'WAIT_RECEIVED_GOODS',
+ orderStatus: '',
}, {
name: '周三 01-01',
- orderStatus: 'RECEIVED_GOODS',
+ orderStatus: '',
}, {
name: '周四 01-01',
- orderStatus: 'EVALUATED',
+ orderStatus: '',
},
{
name: '周五 01-01',
@@ -149,7 +149,7 @@
display: flex;
position: fixed;
right: 2%;
- top: 20%;
+ top: 18%;
flex-wrap: wrap;
width: 400rpx;
@@ -181,6 +181,7 @@
height: 361px;
background: #fff;
border-radius: 0rpx 5rpx 5rpx 0rpx;
+ // margin: 15px 0 15px 0;
}
.morning {
@@ -190,6 +191,7 @@
border-radius: 0rpx 5rpx 5rpx 0rpx;
margin: 20rpx auto;
background-color: #fff;
+ margin: 15px 0 15px 0;
.morningtime {
padding: 15px 27px 62rpx 20rpx;
@@ -266,7 +268,7 @@
}
.content {
- margin: 30rpx auto;
+ // padding-top: 30rpx;
// top: 2%;
background-color: #fff;
width: 100%;
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 6490908..056eb7c 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -14,14 +14,14 @@
-
+
-
-
+
+
-
+
登录
@@ -48,7 +48,11 @@
},
methods: {
-
+ gohomepage() {
+ uni.redirectTo({
+ url: '/pages/homepage/homepage'
+ })
+ },
}
}
@@ -133,14 +137,15 @@
position: relative;
width: 83%;
/* background: red; */
- left: 50%;
- transform: translateX(-50%);
- top: 9%;
+ left: 50%;
+ transform: translateX(-50%);
+ top: 9%;
::v-deep .u-form-item--left {
font-size: 30rpx;
}
- .pwd{
+
+ .pwd {
display: inline-block;
position: absolute;
right: 10%;
@@ -153,17 +158,17 @@
}
- .loginsubmit{
- text-align: center;
- width: 83%;
- height: 88rpx;
- line-height: 88rpx;
- background: #18CBB3;
- /* position: absolute; */
- margin: 177rpx auto;
- color: #fff;
+
+ .loginsubmit {
+ text-align: center;
+ width: 83%;
+ height: 88rpx;
+ line-height: 88rpx;
+ background: #18CBB3;
+ /* position: absolute; */
+ margin: 177rpx auto;
+ color: #fff;
border-radius: 100rpx
-
}
}
diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue
index 30ce16c..17ecd54 100644
--- a/pages/myinformation/myinformation.vue
+++ b/pages/myinformation/myinformation.vue
@@ -68,8 +68,8 @@
张三族
-
-
+
+
个人信息
@@ -120,6 +120,11 @@
})
},
+ gotime(){
+ uni.navigateTo({
+ url:'/pages/ServiceSchedule/ServiceSchedule'
+ })
+ },