diff --git a/pages.json b/pages.json
index 925fd37..cc9f6f5 100644
--- a/pages.json
+++ b/pages.json
@@ -3,87 +3,70 @@
"^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/taskReturn/taskReturn",
- "style" :
- {
- "navigationBarTitleText": "退回原因",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path" : "pages/Completedwork/Completedwork",
- "style" :
- {
- "navigationBarTitleText": "已完成工单",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path" : "pages/Changepassword/Changepassword",
- "style" :
- {
- "navigationBarTitleText": "修改密码",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path" : "pages/Modifyphonenumber/Modifyphonenumber",
- "style" :
- {
- "navigationBarTitleText": "修改手机号",
- "enablePullDownRefresh": false
- }
-
- },
-
- {
- "path": "pages/myinformation/myinformation",
- "style": {
- "navigationBarTitleText": "我的",
- "enablePullDownRefresh": false
-
- }
- },
+ {
+ "path": "pages/login/login",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/taskReturn/taskReturn",
+ "style": {
+ "navigationBarTitleText": "退回原因",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/Changepassword/Changepassword",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/Modifyphonenumber/Modifyphonenumber",
+ "style": {
+ "navigationBarTitleText": "修改手机号",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/myinformation/myinformation",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/ServiceSchedule/ServiceSchedule",
"style": {
"navigationBarTitleText": "服务时间表",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#4ac4ab"
+ "enablePullDownRefresh": false
}
- },
-
-
-
+ },
{
"path": "pages/homepage/homepage",
"style": {
- "enablePullDownRefresh": false,
- "navigationBarTitleText": "工单"
+ "navigationBarTitleText": "工单",
+ "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "enablePullDownRefresh": true //设置参数为true
}
- }
- , {
+ },
+ {
+ "path": "pages/taskDetails/taskDetails",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "工单详情"
+ }
+ },
+ {
"path": "pages/Personalinfo/Personalinfo",
"style": {
"navigationBarTitleText": "个人信息",
"enablePullDownRefresh": false
}
-
}
-
-
- ],
+ ],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
@@ -111,4 +94,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/pages/Completedwork/Completedwork.vue b/pages/Completedwork/Completedwork.vue
deleted file mode 100644
index 58fa2d9..0000000
--- a/pages/Completedwork/Completedwork.vue
+++ /dev/null
@@ -1,197 +0,0 @@
-
-
-
-
- 肚子不舒服
-
-
- ¥200
-
-
-
-
-
- 时间
-
-
- 2023-09-21 13:30-14:00
-
-
-
-
-
- 患者信息
-
-
- 姓名:万鹏
-
-
- 性别:男
-
-
- 身份证号:372401199705254567
-
-
- 手机号码:13454678907
-
-
- 家庭住址:北京市昌平区振兴街幸福里
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/Modifyphonenumber/Modifyphonenumber.vue b/pages/Modifyphonenumber/Modifyphonenumber.vue
index df1f93f..f19004c 100644
--- a/pages/Modifyphonenumber/Modifyphonenumber.vue
+++ b/pages/Modifyphonenumber/Modifyphonenumber.vue
@@ -57,7 +57,8 @@
\ No newline at end of file
+
diff --git a/pages/taskDetails/taskDetails.vue b/pages/taskDetails/taskDetails.vue
index 2ee7bb6..74fab0c 100644
--- a/pages/taskDetails/taskDetails.vue
+++ b/pages/taskDetails/taskDetails.vue
@@ -61,11 +61,23 @@
list: null,
baseurl: null,
fileUrls: [],
+ title: '',
};
},
onLoad(options) {
this.baseurl = baseurl
this.info(options.id)
+ this.title = options.title
+ if (options.title == 'COMPLETED') {
+ this.title = '已完成工单'
+ } else {
+ this.title = '工单详情'
+ }
+ },
+ onReady() { //更改导航栏文字
+ uni.setNavigationBarTitle({
+ title: this.title,
+ });
},
methods: {
previewImage(index) {
diff --git a/pages/taskReturn/taskReturn.vue b/pages/taskReturn/taskReturn.vue
index 90550b2..1f6c039 100644
--- a/pages/taskReturn/taskReturn.vue
+++ b/pages/taskReturn/taskReturn.vue
@@ -3,29 +3,23 @@
- 1111
-
+ 专家咨询({{tasklist.patientName}})
-
- ¥200
+ ¥0
+
- 时间:111
-
+ 时间:{{tasklist.appointmentDate}}{{' '+tasklist.appointmentStartTime}}{{'-'+tasklist.appointmentEndTime}}
-
- 地点:2032
-
+ 地点:{{tasklist.address}}
@@ -38,14 +32,15 @@
- {{item.name}}
+ {{item.name}}
+ :clearable='false' v-if="list[4].checked" />
-
+
立即提交
@@ -54,17 +49,15 @@
@@ -155,12 +128,13 @@
::v-deep .u-checkbox {
height: 80rpx !important;
}
- ::v-deep .u-checkbox__label{
+
+ ::v-deep .u-checkbox__label {
font-size: 24rpx !important;
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
font-weight: 500 !important;
color: #333333 !important;
-
+
}
.app {
@@ -171,14 +145,14 @@
height: 70rpx;
background: #18CBB3;
border-radius: 50rpx;
-
+
text-align: center;
line-height: 70rpx;
color: #fff;
position: fixed;
- bottom: 60rpx;
- left: 50%;
- transform: translateX(-50%);
+ bottom: 60rpx;
+ left: 50%;
+ transform: translateX(-50%);
}
.checkboxs {
@@ -196,8 +170,8 @@
margin: 30rpx auto 0;
color: #333333;
border-radius: 14rpx;
-
-
+
+
}
.top {
@@ -209,7 +183,7 @@
.time {
line-height: 90rpx;
-
+
font-size: 24rpx;
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
font-weight: 500;
@@ -244,7 +218,7 @@
.text {
line-height: 100rpx;
padding-left: 34rpx;
-
+
font-size: 32rpx;
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
font-weight: 500;