diff --git a/project.private.config.json b/project.private.config.json
index 9f986e0..5e21393 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -22,13 +22,20 @@
"miniprogram": {
"list": [
{
- "name": "患者-更改手机号",
- "pathName": "pages/changePhone/index",
+ "name": "患者-问题反馈",
+ "pathName": "pages/feedback/index",
"query": "",
"scene": null,
"launchMode": "default"
},
{
+ "name": "患者-更改手机号",
+ "pathName": "pages/changePhone/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
"name": "患者-健康档案",
"pathName": "pages/qaForm/index",
"query": "",
diff --git a/src/app.json b/src/app.json
index 0f4e5e0..d80ceaf 100644
--- a/src/app.json
+++ b/src/app.json
@@ -49,7 +49,8 @@
"pages/interactivePatient/index",
"pages/referral/index",
"pages/qaForm/index",
- "pages/qaFormDetail/index"
+ "pages/qaFormDetail/index",
+ "pages/feedback/index"
],
"subpackages": [
{
diff --git a/src/doctor/pages/d_interactiveDoctor/index.wxml b/src/doctor/pages/d_interactiveDoctor/index.wxml
index 06546fd..cc219cc 100644
--- a/src/doctor/pages/d_interactiveDoctor/index.wxml
+++ b/src/doctor/pages/d_interactiveDoctor/index.wxml
@@ -77,7 +77,7 @@
-
+
{{customMessage || '输入您的问题'}}
diff --git a/src/pages/login/index.scss b/src/pages/login/index.scss
index 35275ec..382afe1 100644
--- a/src/pages/login/index.scss
+++ b/src/pages/login/index.scss
@@ -3,7 +3,8 @@ pgae {
.page {
padding-bottom: 80rpx;
position: relative;
- height: 100vh;
+ height: 114vh;
+ box-sizing: border-box;
.bg {
width: 100%;
}
@@ -84,4 +85,16 @@ pgae {
}
}
}
+
+ .any {
+ position: absolute;
+ top: 105vh;
+ left: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 22rpx;
+ text-align: center;
+ font-size: 28rpx;
+ color: rgba(34, 34, 34, 0.2);
+ }
}
diff --git a/src/pages/login/index.wxml b/src/pages/login/index.wxml
index 6814d00..1fef01a 100644
--- a/src/pages/login/index.wxml
+++ b/src/pages/login/index.wxml
@@ -29,8 +29,10 @@
>
我已阅读并同意
+
《用户协议》
和
+
《隐私政策》
@@ -52,6 +54,7 @@
我同意依照
《隐私政策》
+
《个人信息共享知情同意书》
规定收集和共享我的个人敏感信息
@@ -61,16 +64,19 @@
或者
-
-
- 随便看看
-
我是医生
+ 随便看看
-
+
diff --git a/src/pages/my/index.ts b/src/pages/my/index.ts
index a8a1418..b91b42b 100644
--- a/src/pages/my/index.ts
+++ b/src/pages/my/index.ts
@@ -131,7 +131,9 @@ Page({
})
},
handleFeedback() {
- this.setData({ toastShow: true, toastType: 'feedback', toastParams: { close: true } })
+ wx.navigateTo({
+ url: '/pages/feedback/index',
+ })
},
handleToastClose() {
this.setData({ toastShow: false, toastType: '' })
diff --git a/src/pages/personalInformation/index.json b/src/pages/personalInformation/index.json
index 544d96e..8ac44a4 100644
--- a/src/pages/personalInformation/index.json
+++ b/src/pages/personalInformation/index.json
@@ -2,6 +2,7 @@
"navigationBarTitleText": "个人信息",
"usingComponents": {
"van-icon": "@vant/weapp/icon/index",
- "van-toast": "@vant/weapp/toast/index"
+ "van-toast": "@vant/weapp/toast/index",
+ "pickerArea": "/components/pickerArea/index"
}
}
diff --git a/src/pages/personalInformation/index.scss b/src/pages/personalInformation/index.scss
index 0c0d484..aabb3a6 100644
--- a/src/pages/personalInformation/index.scss
+++ b/src/pages/personalInformation/index.scss
@@ -17,7 +17,7 @@
padding: 40rpx 0 0;
width: 654rpx;
box-sizing: border-box;
- border-radius: 24rpx;
+ border-radius: 16rpx;
.switch {
margin-bottom: 50rpx;
display: flex;
@@ -88,7 +88,7 @@
color: #999999;
background: #f2f2f2;
border: 2rpx solid #cccccc;
- border-radius: 24rpx;
+ border-radius: 16rpx;
.select {
display: flex;
justify-content: space-between;
@@ -110,7 +110,7 @@
font-size: 36rpx;
color: #222222;
background: #f6f6f6;
- border-radius: 24rpx;
+ border-radius: 16rpx;
}
.item {
padding: 12rpx 24rpx;
@@ -151,6 +151,21 @@
border-color: #0eb66d;
}
}
+ .area-text {
+ flex: 1;
+ padding: 0 32rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 96rpx;
+ font-size: 36rpx;
+ color: rgba(34, 34, 34, 0.3);
+ background-color: rgba(246, 246, 246, 1);
+ border-radius: 16rpx;
+ &.area-text-active {
+ color: rgba(34, 34, 34, 0.7);
+ }
+ }
}
}
.bottom-actions {
diff --git a/src/pages/personalInformation/index.ts b/src/pages/personalInformation/index.ts
index 5c049b7..fe1f1f4 100644
--- a/src/pages/personalInformation/index.ts
+++ b/src/pages/personalInformation/index.ts
@@ -67,6 +67,17 @@ Page({
})
},
+ handleAreaSelect(e: WechatMiniprogram.CustomEvent) {
+ const { ProvinceName, ProvinceId, CityName, CityId } = e.detail
+ this.setData({
+ 'userInfo.IntentionalVisitProvinceName': ProvinceName,
+ 'userInfo.IntentionalVisitProvinceId': ProvinceId,
+ 'userInfo.IntentionalVisitCityName': CityName,
+ 'userInfo.IntentionalVisitCityId': CityId,
+ })
+ this.updateUserInfo(true)
+ },
+
handleChaneAge(e) {
const Birth = e.detail.value
this.formatBorn(Birth)
@@ -90,7 +101,7 @@ Page({
updateUserInfo(update = true) {
if (!update) return
- const { PatientName, RelationType, Gender, AgeRange, DiagnosisTimeRange, Birth, DiagnosisTime } = this.data.userInfo
+ const { PatientName, RelationType, Gender, AgeRange, DiagnosisTimeRange, Birth, DiagnosisTime, IntentionalVisitProvinceId, IntentionalVisitCityId } = this.data.userInfo
wx.ajax({
method: 'POST',
url: '?r=igg4/account/update-info',
@@ -102,6 +113,8 @@ Page({
diagnosisTimeRange: DiagnosisTimeRange,
birth: Birth,
diagnosisTime: DiagnosisTime,
+ IntentionalVisitProvinceId,
+ IntentionalVisitCityId,
},
})
.then((_res) => {
diff --git a/src/pages/personalInformation/index.wxml b/src/pages/personalInformation/index.wxml
index 2cb1b4c..1c28987 100644
--- a/src/pages/personalInformation/index.wxml
+++ b/src/pages/personalInformation/index.wxml
@@ -103,11 +103,22 @@
bindblur="updateUserInfo"
/>
-
-
-
-
-
+ 您的意向就医地区
+
+
+
+ {{userInfo.IntentionalVisitProvinceName ? (userInfo.IntentionalVisitProvinceName + ' ' + userInfo.IntentionalVisitCityName) : '请选择省份/城市'}}
+
+
+
+