diff --git a/api/pages/homepage/homepage.js b/api/pages/homepage/homepage.js
index 9f1b049..a823ba2 100644
--- a/api/pages/homepage/homepage.js
+++ b/api/pages/homepage/homepage.js
@@ -4,14 +4,31 @@ import request from "../../request.js"
export function getOpenId(code) {
return request({
url: `/applet/register/getOpenId/${code}`,
- method: 'GET'
+ method: 'GET',
+ header: {
+ // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
+ },
})
}
// 获取当前注册居民
-export function getCurrentUser(data) {
+export function getCurrentUser(openid, cityCode) {
return request({
- url: `/applet/register/getCurrentResident/${data.openid}/${data.cityCode}`,
- method: 'GET'
+ url: `/applet/register/getCurrentResident/${openid}/${cityCode}`,
+ method: 'GET',
+ header: {
+ // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
+ },
+ })
+}
+// 获取签约信息
+export function detail(identity,region) {
+ return request({
+ url: `/applet/signinfo/detail/${identity}`,
+ method: 'GET',
+ header: {
+ region: region,
+ // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
+ },
})
}
\ No newline at end of file
diff --git a/api/pages/login/index.js b/api/pages/login/index.js
index 436fb0c..5bde163 100644
--- a/api/pages/login/index.js
+++ b/api/pages/login/index.js
@@ -1,8 +1,8 @@
import request from "../../request.js"
-export function getWeChatUser(loginCode, phoneCode) {
+export function getWeChatUser(code) {
return request({
- url: `/nurseApplet/login/getWeChatUserInfo?loginCode=${loginCode}&phoneCode=${phoneCode}`,
+ url: `/applet/register/getOpenId/${code}`,
method: 'GET'
})
}
diff --git a/api/pages/register/register.js b/api/pages/register/register.js
index 1ffdea0..7ae65cc 100644
--- a/api/pages/register/register.js
+++ b/api/pages/register/register.js
@@ -1,9 +1,9 @@
import request from "../../request.js"
// 注册
-export function register(data) {
+export function registerdata(data) {
return request({
- url: `/applet/register`,
+ url: '/applet/register',
method: 'POST',
data: data
})
diff --git a/api/request.js b/api/request.js
index 84212e3..42b620c 100644
--- a/api/request.js
+++ b/api/request.js
@@ -1,5 +1,6 @@
import baseurl from './baseurl.js'
+ // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
var request = function(config) {
return new Promise((resolve, rejected) => {
uni.showLoading({
@@ -10,9 +11,7 @@ var request = function(config) {
data: config.data,
method: config.method,
timeout: 10000,
- header: {
- Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
- },
+ header:config.header,
success(res) {
uni.hideLoading();
resolve(res.data)
diff --git a/components/ld-select/ld-select.vue b/components/ld-select/ld-select.vue
new file mode 100644
index 0000000..aa60fee
--- /dev/null
+++ b/components/ld-select/ld-select.vue
@@ -0,0 +1,340 @@
+
+
+
+
+
+
+
+
+
+ {{cancelText}}
+ {{confirmText}}
+
+
+
+ {{getLabelKeyValue(item)}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/manifest.json b/manifest.json
index 5f4842e..eecaccc 100644
--- a/manifest.json
+++ b/manifest.json
@@ -50,7 +50,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
- "appid" : "wxdc32268eca6b78f9",
+ "appid" : "wxccb16a452ab5e4b4",
"setting" : {
"urlCheck" : false,
"postcss" : true,
diff --git a/pages.json b/pages.json
index 1c2ac8a..160a666 100644
--- a/pages.json
+++ b/pages.json
@@ -260,24 +260,23 @@
}, {
"path": "ProductList/ProductList", //商品列表
"style": {
- "navigationStyle": "custom", // 隐藏系统导航栏
"navigationBarTitleText": "医路优品",
- "onReachBottomDistance": 20, //距离底部多远时触发 单位为px
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
}
}, {
"path": "nursestation/nursestation",
"style": {
- "navigationBarTitleText": "护理服务详情"
- // "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
- // "enablePullDownRefresh": true //设置参数为true
+ "navigationBarTitleText": "护理机构详情",
+ "onReachBottomDistance": 100, //距离底部多远时触发 单位为px
+ "enablePullDownRefresh": true //设置参数为true
}
}, {
"path": "site/site",
"style": {
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTitleText": "护理服务",
- "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "navigationBarTitleText": "护理机构",
+ "onReachBottomDistance": 100, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
}
}, {
@@ -367,14 +366,12 @@
"navigationBarTitleText": "筛查结果",
"enablePullDownRefresh": false
}
-
}, {
"path": "screeningRecord/screeningRecord",
"style": {
"navigationBarTitleText": "筛查记录",
"enablePullDownRefresh": false
}
-
}, {
"path": "SelectItem/SelectItem",
"style": {
@@ -387,7 +384,26 @@
"navigationBarTitleText": "我的签约",
"enablePullDownRefresh": false
}
+ }, {
+ "path": "myfamilydoctorteam/myfamilydoctorteam",
+ "style": {
+ "navigationBarTitleText": "我的家庭医生团队",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "performancedetails/performancedetails",
+ "style": {
+ "navigationBarTitleText": "履约详情",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "contractsigningprotocol/contractsigningprotocol",
+ "style": {
+ "navigationBarTitleText": "签约协议",
+ "enablePullDownRefresh": false
+ }
}
+
]
}, {
"root": "pagesC",
diff --git a/pages/facecollection/facecollection.vue b/pages/facecollection/facecollection.vue
index d908462..64974f1 100644
--- a/pages/facecollection/facecollection.vue
+++ b/pages/facecollection/facecollection.vue
@@ -9,6 +9,7 @@
请拍摄本人头像
+
@@ -16,6 +17,7 @@
flash="off" resolution='high' />
{{ tipsText }}
+